1 commit 95af6279a9affff5c816db2db53207ff0f19872d
2 Author: Simon Feltman <sfeltman@src.gnome.org>
3 Date: Mon Sep 23 03:17:19 2013 -0700
9 2 files changed, 5 insertions(+), 2 deletions(-)
11 commit c626be6317b610277c95461108573d1ae6f42b6d
12 Author: Martin Pitt <martinpitt@gnome.org>
13 Date: Mon Sep 23 12:06:11 2013 +0200
15 Fix test_gi.TestProjectVersion.test_version_str()
17 In this test case we only do a string comparison, not a proper
19 component" numerical one. So relax the test to also work with 3.10.
21 tests/test_gi.py | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
25 Author: Martin Pitt <martinpitt@gnome.org>
26 Date: Mon Sep 16 10:12:33 2013 -0500
31 1 file changed, 7 insertions(+)
33 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
34 Author: Simon Feltman <sfeltman@src.gnome.org>
35 Date: Mon Sep 16 01:23:49 2013 -0700
37 Update current maintainers list in README
40 1 file changed, 2 insertions(+), 1 deletion(-)
42 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
43 Author: Simon Feltman <sfeltman@src.gnome.org>
44 Date: Tue Sep 10 17:11:21 2013 -0700
46 Fix union argument regression when marshaling from python
48 Check for union members when marshaling boxed types from Python.
49 This is a regression caused by stricter type checking added when
50 merging code from pygi-argument.c.
51 Re-add pyg_boxed_check to the same bit of code in addition to
52 __gtype__ checking to avoid a double regression.
54 https://bugzilla.gnome.org/show_bug.cgi?id=703873
56 gi/pygi-marshal-from-py.c | 53
57 ++++++++++++++++++++++++++---------------------
58 1 file changed, 29 insertions(+), 24 deletions(-)
60 commit 59a2964141e963d2961e55d4b84a777927b4f21b
61 Author: Simon Feltman <sfeltman@src.gnome.org>
62 Date: Wed Sep 11 05:05:33 2013 -0700
64 Fix GLib.Source sub-classing with initializer args
66 Add variable args and keyword args to the GLib.Source.__new__
67 method to support sub-classes which want to implement __init__.
69 https://bugzilla.gnome.org/show_bug.cgi?id=707904
71 gi/overrides/GLib.py | 2 +-
72 tests/test_source.py | 11 +++++++++++
73 2 files changed, 12 insertions(+), 1 deletion(-)
75 commit afa42ab95327da1de0cf86005974cd8ab0d46872
76 Author: Vratislav Podzimek <vpodzime@redhat.com>
77 Date: Wed Sep 4 14:17:31 2013 +0200
79 Copy __doc__ when wrapping function
81 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
82 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
84 gi/overrides/__init__.py | 1 +
85 1 file changed, 1 insertion(+)
87 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
88 Author: Martin Pitt <martinpitt@gnome.org>
89 Date: Mon Sep 2 14:56:24 2013 +0200
91 configure.ac: post-release bump to 3.9.92
94 1 file changed, 1 insertion(+), 1 deletion(-)
96 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
97 Author: Martin Pitt <martinpitt@gnome.org>
98 Date: Mon Sep 2 14:38:41 2013 +0200
103 1 file changed, 10 insertions(+)
105 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
106 Author: Simon Feltman <sfeltman@src.gnome.org>
107 Date: Mon Sep 2 04:19:35 2013 -0700
109 Fix GObject signal methods to work with new annotations
111 Add conditional support for signal methods annotated as gpointer
112 or GObject.Object. This is needed to work with newer versions of
113 glib which changed annotations to GObject.Object (bug #685387).
115 https://bugzilla.gnome.org/show_bug.cgi?id=707280
117 gi/overrides/GObject.py | 106
118 ++++++++++++++++++++++++++++++------------------
119 1 file changed, 66 insertions(+), 40 deletions(-)
121 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
122 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
123 Date: Thu Aug 15 14:41:40 2013 +0800
125 Fix build on C89 Compilers
127 Avoid a variable declaration at the middle of the block
129 https://bugzilla.gnome.org/show_bug.cgi?id=707264
131 gi/pygi-closure.c | 3 ++-
132 1 file changed, 2 insertions(+), 1 deletion(-)
134 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
135 Author: Simon Feltman <sfeltman@src.gnome.org>
136 Date: Sun Sep 1 20:44:26 2013 -0700
138 Change boxed type checking in marshaling to use __gtype__ attribute
140 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
141 pyg_type_from_object. This has the effect of using the __gtype__
142 attribute stashed on object class instead of the PyGBoxed
143 internally held gtype. This fixes type descrepencies for objects
144 marshaled into overridden signal class closures and passed back
145 to functions taking an alias their type.
147 https://bugzilla.gnome.org/show_bug.cgi?id=707140
149 gi/pygi-marshal-from-py.c | 8 +++++++-
150 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
151 2 files changed, 41 insertions(+), 1 deletion(-)
153 commit dab0c09f1996e124ca98334e5aea0852904b44b5
154 Author: Simon Feltman <sfeltman@src.gnome.org>
155 Date: Sun Sep 1 17:49:09 2013 -0700
157 Use G_IS_VALUE for checking return values in closure marshaling
159 Replace return_value argument NULL checks in GClosureMarshal
160 implementations with G_IS_VALUE. This checks both NULL and
161 validity of the value (!= G_TYPE_INVALID). This is needed
162 because GLib can pass either NULL or an invalid value based
163 on whether or not G_ENABLE_DEBUG is set.
164 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
166 https://bugzilla.gnome.org/show_bug.cgi?id=707170
168 gi/_gobject/pygtype.c | 4 ++--
169 gi/pygi-signal-closure.c | 2 +-
170 2 files changed, 3 insertions(+), 3 deletions(-)
172 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
173 Author: Yanko Kaneti <yaneti@declera.com>
174 Date: Wed Aug 21 08:53:07 2013 +0200
176 Fix PEP-8 errors in propertyhelper.py
178 https://bugzilla.gnome.org/show_bug.cgi?id=706319
180 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
182 gi/_gobject/propertyhelper.py | 12 ++++++------
183 1 file changed, 6 insertions(+), 6 deletions(-)
185 commit 6fdd58404103596accb6ab04d4de33846d853c58
186 Author: Martin Pitt <martinpitt@gnome.org>
187 Date: Mon Aug 19 17:13:30 2013 +0200
189 configure.ac: post-release bump to 3.9.91
192 1 file changed, 1 insertion(+), 1 deletion(-)
194 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
195 Author: Martin Pitt <martinpitt@gnome.org>
196 Date: Mon Aug 19 17:10:52 2013 +0200
201 1 file changed, 9 insertions(+)
203 commit a8d5da559ef088b05062681206758d2718946269
204 Author: Martin Pitt <martinpitt@gnome.org>
205 Date: Mon Aug 19 11:38:31 2013 +0200
207 NEWS: retroactively fix last version number
210 1 file changed, 1 insertion(+), 1 deletion(-)
212 commit aba45eb2617c4b35168089bc9028f351732a617f
213 Author: Benjamin Berg <benjamin@sipsolutions.net>
214 Date: Tue Aug 6 00:41:52 2013 +0200
216 Create GLib.Pid in the same way on python 2 and 3
218 https://bugzilla.gnome.org/show_bug.cgi?id=705451
220 gi/_glib/pygspawn.c | 8 --------
221 1 file changed, 8 deletions(-)
223 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
224 Author: Benjamin Berg <benjamin@sipsolutions.net>
225 Date: Mon Aug 5 17:04:15 2013 +0200
227 Use PyLong_Type.tp_new for GLib.Pid
229 For GLib.Pid the original implementation for __new__ needs to be used,
230 as it is able to initialize the integer correctly.
232 https://bugzilla.gnome.org/show_bug.cgi?id=705451
234 gi/_glib/pygspawn.c | 1 +
235 tests/test_subprocess.py | 1 +
236 2 files changed, 2 insertions(+)
238 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
239 Author: Simon Feltman <sfeltman@src.gnome.org>
240 Date: Mon Aug 5 14:40:38 2013 -0700
242 Add accumulator and accu_data arguments to GObject.Signal decorator
244 Update __init__, __call__, and copy methods to accept and pass
245 accumulators and associated user data through them. Update
246 accumulator unittests to use Signal decorators for testing accumulator
247 pass throughs. Verified the __gsignals__ dictionary accepts None
248 as valid values for accumulator and accu_data so specialization
249 for these arguments is not necessary.
251 https://bugzilla.gnome.org/show_bug.cgi?id=705533
253 gi/_gobject/signalhelper.py | 17 ++++++++++-----
254 tests/test_signal.py | 52
255 ++++++++++++++++++++++++---------------------
256 2 files changed, 40 insertions(+), 29 deletions(-)
258 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
259 Author: Simon Feltman <sfeltman@src.gnome.org>
260 Date: Mon Aug 5 14:12:24 2013 -0700
262 Pass return values through the GObject.Signal.emit wrapper
264 Return the result of GObject.emit from the Signal decorators wrapping.
265 Update unittest for decorated return type to use skipUnless for
267 Add test for Signal decorator return type.
269 https://bugzilla.gnome.org/show_bug.cgi?id=705530
271 gi/_gobject/signalhelper.py | 2 +-
272 tests/test_signal.py | 37 +++++++++++++++++++++----------------
273 2 files changed, 22 insertions(+), 17 deletions(-)
275 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
276 Author: Simon Feltman <sfeltman@src.gnome.org>
277 Date: Mon Jul 29 03:33:40 2013 -0700
279 configure.ac: post-release bump to 3.9.90
282 1 file changed, 1 insertion(+), 1 deletion(-)
284 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
285 Author: Simon Feltman <sfeltman@src.gnome.org>
286 Date: Mon Jul 29 02:23:02 2013 -0700
290 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
292 2 files changed, 42 insertions(+), 1 deletion(-)
294 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
295 Author: Simon Feltman <sfeltman@src.gnome.org>
296 Date: Mon Jul 29 01:21:19 2013 -0700
298 Ensure exceptions set in closure out argument marshaling are printed
300 Call PyErr_Print when an exception occurs after marshaling closure
301 out arguments. These exceptions were being ignored and cleared out
302 only to show up in debug builds of Python.
304 https://bugzilla.gnome.org/show_bug.cgi?id=705064
306 gi/pygi-closure.c | 8 ++++++++
307 tests/test_generictreemodel.py | 17 +++++++++++------
308 2 files changed, 19 insertions(+), 6 deletions(-)
310 commit b5dcb1800839f747a052e487643c234668384677
311 Author: Simon Feltman <sfeltman@src.gnome.org>
312 Date: Sun Jul 28 23:00:26 2013 -0700
314 Use Python error messages for marshaling integers from Python
316 Use Pythons default error messages where possible.
317 Change all explicitly raised ValueError to use OverflowError
318 for out of range data.
320 https://bugzilla.gnome.org/show_bug.cgi?id=705057
322 gi/pygi-marshal-from-py.c | 76
323 +++++++++++++++++------------------------------
324 tests/test_everything.py | 52 ++++++++++++++++----------------
325 tests/test_gi.py | 64 +++++++++++++++++++--------------------
326 tests/test_gobject.py | 2 +-
327 4 files changed, 86 insertions(+), 108 deletions(-)
329 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
330 Author: Simon Feltman <sfeltman@src.gnome.org>
331 Date: Sat Jul 27 21:10:07 2013 -0700
333 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
335 gi/pygi-closure.c | 11 ++---------
336 1 file changed, 2 insertions(+), 9 deletions(-)
338 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
339 Author: Simon Feltman <sfeltman@src.gnome.org>
340 Date: Sat Jul 27 15:25:20 2013 -0700
342 Cleanup invoke args and kwargs combiner code
344 Change _py_args_combine_and_check_length use cleaner reference
346 It no longer DECREFs input arguments and always returns a new value
348 Use PyGICallableCache directly as an argument instead of passing
352 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
353 1 file changed, 17 insertions(+), 27 deletions(-)
355 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
356 Author: Simon Feltman <sfeltman@src.gnome.org>
357 Date: Wed Jul 17 16:10:25 2013 -0700
359 Replace Python VFunc descriptor directly with PyGIVFuncInfo
361 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
362 to be used directly as a callable descriptor. This piggy backs
363 off the added support for functions and constructors in previous
366 https://bugzilla.gnome.org/show_bug.cgi?id=704037
368 gi/pygi-info.c | 25 +++++++++++++++++++++++--
369 gi/types.py | 33 ++++-----------------------------
370 2 files changed, 27 insertions(+), 31 deletions(-)
372 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
373 Author: Simon Feltman <sfeltman@src.gnome.org>
374 Date: Tue Jul 16 16:00:14 2013 -0700
376 Add callable and descriptor protocols to PyGICallableInfo
378 Add tp_call (__call__) function to callable info objects.
379 This allows for replacement of wrapped invoke methods directly
380 with the already created callable info object. This has the
381 additional side effect of making doc strings lazily bound
382 (only generated when __doc__ is accessed).
384 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
385 a bound version of itself for methods and constructors.
387 Update various internal type checks to reflect the changes.
388 Update tests to reflect the new callable type being the same
391 This patch gives roughly a %17 speedup for Gtk imports and
392 an %11 speedup for GI method calls.
394 https://bugzilla.gnome.org/show_bug.cgi?id=704037
397 gi/overrides/__init__.py | 10 ++-
399 ++++++++++++++++++++++++++++++++++++++++++--
401 gi/types.py | 35 +--------
402 tests/test_docstring.py | 6 +-
403 tests/test_gi.py | 32 +++-----
404 tests/test_overrides_gtk.py | 4 +-
405 8 files changed, 212 insertions(+), 72 deletions(-)
407 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
408 Author: Simon Feltman <sfeltman@src.gnome.org>
409 Date: Fri Jul 26 19:33:32 2013 -0700
411 Move "from Python" GObject out arg marshaler into specialized function
413 Move hacks specific to out argument marshaling for vfuncs into a
414 a specialized function. This allows standard function call marshaling
415 to continue working correctly when there are no extra references
416 holding the arguments "foo(SomeObject())". This is currently being
417 masked because all GI functions are wrapped by additional layers
418 of Python functions. When these layers are removed, it exposes
419 bugs introduced by reference counting hacks intended for vfunc
422 https://bugzilla.gnome.org/show_bug.cgi?id=704037
424 gi/pygi-argument.c | 2 +-
425 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
426 gi/pygi-marshal-from-py.h | 3 +++
427 3 files changed, 34 insertions(+), 8 deletions(-)
429 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
430 Author: Simon Feltman <sfeltman@src.gnome.org>
431 Date: Fri Jul 26 17:34:01 2013 -0700
433 Add underscore prefix and _cache_adapter suffix to marshaling
436 Add underscores to all _pygi_marshal_* functions. We don't currently
437 export symbols, but we might need to for C unittesting. This will
438 ensure we don't have a "public API".
439 Add _cache_adapter suffix to marshaling functions which are light
440 weight wrappers intended only for cached marshalers.
442 gi/pygi-argument.c | 40 +++++++++++-----------
443 gi/pygi-cache.c | 10 +++---
444 gi/pygi-marshal-from-py.c | 86
445 +++++++++++++++++++++++------------------------
446 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
447 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
448 gi/pygi-marshal-to-py.h | 34 +++++++++----------
449 6 files changed, 131 insertions(+), 131 deletions(-)
451 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
452 Author: Simon Feltman <sfeltman@src.gnome.org>
453 Date: Tue Jul 16 11:13:17 2013 -0700
455 Add common attribute accessors to PyGIBaseInfo
457 Add __name__, __module__, and __doc__ accessors to
458 PyGIBaseInfo object. This is a precursory patch for setting
459 up PyGICallableInfo as a directly callable object with lazy
460 doc string evaluation.
462 https://bugzilla.gnome.org/show_bug.cgi?id=704037
464 gi/_glib/pyglib-python-compat.h | 5 +++
466 +++++++++++++++++++++++++++++++++++++++--
468 3 files changed, 88 insertions(+), 7 deletions(-)
470 commit ea194404843a16555f9a475cc973872a4428bfe1
471 Author: Simon Feltman <sfeltman@src.gnome.org>
472 Date: Sat Jul 13 23:10:31 2013 -0700
474 Merge method and constructor setup
476 Merge _setup_constructors into _setup_methods as they contain same
477 basic logic. This removes an unnecessary call with additional
478 filtering of GIObjectInfo.get_methods() which can be large for
479 objects with many methods.
481 https://bugzilla.gnome.org/show_bug.cgi?id=704037
483 gi/types.py | 15 ++++-----------
484 1 file changed, 4 insertions(+), 11 deletions(-)
486 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
487 Author: Simon Feltman <sfeltman@src.gnome.org>
488 Date: Sat Jul 13 18:11:18 2013 -0700
490 Remove redundant info.get_name calls
492 Remove a number of redundant calls to GIBaseInfo.get_name. Info
493 names are already cached on function objects so re-use them when
494 possible. This gives a small load time improvement by removing over
495 2000 calls when importing Gtk.
497 https://bugzilla.gnome.org/show_bug.cgi?id=704037
500 gi/types.py | 8 +++-----
501 2 files changed, 3 insertions(+), 6 deletions(-)
503 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
504 Author: Simon Feltman <sfeltman@src.gnome.org>
505 Date: Fri Jul 12 12:21:54 2013 -0700
507 Move doc string generator into separate module
509 Move the doc string generator for creating function signatures
510 into "gi.docstring". This includes a new API for getting and
511 setting the doc string creation functions:
513 gi.docstring.get_doc_string_generator
514 gi.docstring.set_doc_string_generator
515 gi.docstring.generate_doc_string
517 Beyond adding the ability for custom doc string generators,
518 this API is a necessary step for adding lazy __doc__
519 attribute access for optimization.
521 https://bugzilla.gnome.org/show_bug.cgi?id=704037
523 gi/Makefile.am | 3 +-
524 gi/docstring.py | 106
525 ++++++++++++++++++++++++++++++++++++++++++++++++
526 gi/types.py | 55 ++-----------------------
527 tests/Makefile.am | 1 +
528 tests/test_docstring.py | 49 ++++++++++++++++++++++
529 tests/test_gi.py | 30 --------------
530 6 files changed, 161 insertions(+), 83 deletions(-)
532 commit f86701b15ee04c717d9c6bf688101606165e4f83
533 Author: Simon Feltman <sfeltman@src.gnome.org>
534 Date: Wed Jul 24 19:36:28 2013 -0700
536 tests: Change GHashTable<string,GValue> marshaling test to use GValue
538 Add test to explicitly use a boxed GStrv GValue in addition to a
539 Python list sub-class.
541 https://bugzilla.gnome.org/show_bug.cgi?id=666636
543 tests/test_everything.py | 21 +++++++++++++++------
544 1 file changed, 15 insertions(+), 6 deletions(-)
546 commit 6ea41b60691e1ba7e21374582d7aea072af71103
547 Author: Simon Feltman <sfeltman@src.gnome.org>
548 Date: Thu Jul 25 18:00:47 2013 -0700
550 gtk-demo: Change demo to use Gtk.Application
552 Replace deriving from Gtk.Window with deriving from Gtk.Application
553 connected to a Gtk.ApplicationWindow instance.
555 https://bugzilla.gnome.org/show_bug.cgi?id=698547
557 demos/gtk-demo/demos/printing.py | 2 +-
558 demos/gtk-demo/gtk-demo.py | 40
559 ++++++++++++++++++++--------------------
560 2 files changed, 21 insertions(+), 21 deletions(-)
562 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
563 Author: Simon Feltman <sfeltman@src.gnome.org>
564 Date: Tue Jul 23 14:25:01 2013 -0700
566 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
568 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
569 and rename to _pygi_marshal_to_py_basic_type.
570 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
573 https://bugzilla.gnome.org/show_bug.cgi?id=693405
575 gi/pygi-argument.c | 73 +-----------------------------
576 gi/pygi-argument.h | 4 --
577 gi/pygi-cache.c | 4 +-
578 gi/pygi-marshal-to-py.c | 115
579 +++++++++++++++++++++++++++++++++++++-----------
580 gi/pygi-marshal-to-py.h | 27 +++---------
581 5 files changed, 99 insertions(+), 124 deletions(-)
583 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
584 Author: Simon Feltman <sfeltman@src.gnome.org>
585 Date: Tue Jul 23 13:06:33 2013 -0700
587 Unify and clean up from Python marshalers for basic types
589 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
590 and filename marshalers.
592 https://bugzilla.gnome.org/show_bug.cgi?id=693405
594 gi/pygi-cache.c | 101
595 ++--------------------------------------------
596 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
597 gi/pygi-marshal-from-py.h | 30 --------------
598 3 files changed, 28 insertions(+), 189 deletions(-)
600 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
601 Author: Simon Feltman <sfeltman@src.gnome.org>
602 Date: Tue Jul 23 12:35:06 2013 -0700
604 Unify from Python int64 and uint64 marshalers
606 Replaced int64 and uint64 cached marshalers with usage of the
607 unified basic type marshaler. Replace a large amount of int64
608 exception formatting code with usage of %S for Python 3 and
609 give a more vague message for Python 2.
611 https://bugzilla.gnome.org/show_bug.cgi?id=693405
613 gi/pygi-cache.c | 36 +--------
614 gi/pygi-marshal-from-py.c | 193
615 ++++++++++------------------------------------
616 gi/pygi-marshal-from-py.h | 10 ---
617 3 files changed, 43 insertions(+), 196 deletions(-)
619 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
620 Author: Simon Feltman <sfeltman@src.gnome.org>
621 Date: Tue Jul 23 11:03:14 2013 -0700
623 Unify from Python int16 and int32 marshalers
625 Add PyNumber_Check to unified basic type marshaler.
626 Add bounds checking to unified int16 and int32 marshalers.
627 Replaced int16 and int32 cached marshalers with usage of
628 unified basic type marshaler.
630 https://bugzilla.gnome.org/show_bug.cgi?id=693405
632 gi/pygi-cache.c | 69 +--------------
633 gi/pygi-marshal-from-py.c | 218
634 ++++++++++------------------------------------
635 gi/pygi-marshal-from-py.h | 20 -----
636 3 files changed, 48 insertions(+), 259 deletions(-)
638 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
639 Author: Simon Feltman <sfeltman@src.gnome.org>
640 Date: Tue Jul 23 00:27:14 2013 -0700
642 Unify from Python boolean, int8, and uint8 marshalers
644 Replaced boolean, int8, and uint8 cached marshalers with usage of
645 unified basic type marshaler. Add bounds checking to unified int8
648 https://bugzilla.gnome.org/show_bug.cgi?id=693405
650 gi/pygi-cache.c | 48 +++------------
651 gi/pygi-marshal-from-py.c | 146
652 +++++++++++-----------------------------------
653 gi/pygi-marshal-from-py.h | 20 ++-----
654 3 files changed, 45 insertions(+), 169 deletions(-)
656 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
657 Author: Simon Feltman <sfeltman@src.gnome.org>
658 Date: Mon Jul 22 23:24:13 2013 -0700
660 Add support for PyBytes with int8 and uint8 from Python marshaler
662 This additional type marshaling is necessary for unifying marhalers
663 due to the same feature being available with cached argument
666 https://bugzilla.gnome.org/show_bug.cgi?id=693405
668 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
669 1 file changed, 14 insertions(+)
671 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
672 Author: Simon Feltman <sfeltman@src.gnome.org>
673 Date: Mon Jul 22 23:23:29 2013 -0700
675 Move from Python integer marshaling into separate function
677 Add _pygi_marshal_from_py_long for marshaling Python objects
678 that can convert to a PyLong type. This allows for better
679 sharing of code amongst marshalers along with unifying
680 them across Python 2.7 and 3.0.
682 https://bugzilla.gnome.org/show_bug.cgi?id=693405
684 gi/pygi-argument.c | 3 +-
685 gi/pygi-marshal-from-py.c | 159
686 ++++++++++++++++++++++++----------------------
687 2 files changed, 84 insertions(+), 78 deletions(-)
689 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
690 Author: Simon Feltman <sfeltman@src.gnome.org>
691 Date: Mon Jul 22 22:19:26 2013 -0700
693 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
695 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
696 and rename to: _pygi_marshal_from_py_basic_type
698 https://bugzilla.gnome.org/show_bug.cgi?id=693405
700 gi/pygi-argument.c | 149
701 +---------------------------------------------
702 gi/pygi-marshal-from-py.c | 147
703 +++++++++++++++++++++++++++++++++++++++++++++
704 gi/pygi-marshal-from-py.h | 4 ++
705 3 files changed, 152 insertions(+), 148 deletions(-)
707 commit 9c9510eec782f242280af24e86adf3561e4fac72
708 Author: Simon Feltman <sfeltman@src.gnome.org>
709 Date: Fri Jul 19 23:37:35 2013 -0700
711 Move basic type marshaling out of _pygi_argument_from_object
713 Move the marshaling of Python objects to GI arguments for basic types
714 into a new function: _pygi_argument_from_object_basic_type
715 This is staging work needed before unifying basic type marshaling
716 of arguments from Python to GI.
718 https://bugzilla.gnome.org/show_bug.cgi?id=693405
720 gi/pygi-argument.c | 73
721 ++++++++++++++++++++++++++++++++++--------------------
722 1 file changed, 46 insertions(+), 27 deletions(-)
724 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
725 Author: Simon Feltman <sfeltman@src.gnome.org>
726 Date: Fri Jul 19 20:16:10 2013 -0700
728 Replace to Python cached marshalers with unified basic type marshaler
730 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
731 unifies functions, vfuncs, signals, and property marshaling for
732 "basic types". Remove all the individual cached arg marshalers
735 https://bugzilla.gnome.org/show_bug.cgi?id=693405
737 gi/pygi-argument.c | 104 +++++++++++------------------------
738 gi/pygi-argument.h | 4 ++
739 gi/pygi-cache.c | 114 +++++++-------------------------------
740 gi/pygi-marshal-to-py.c | 142
741 ++++--------------------------------------------
742 gi/pygi-marshal-to-py.h | 48 ++--------------
743 5 files changed, 73 insertions(+), 339 deletions(-)
745 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
746 Author: Simon Feltman <sfeltman@src.gnome.org>
747 Date: Fri Jul 19 18:00:40 2013 -0700
749 Move to Python basic type marshaling out of _pygi_argument_to_object
751 Move the marshaling of GI arguments to Python objects for basic types
752 into a new function. The required information for this marshaler
753 is a GITypeTag and GITransfer. Argument marshaling matching these
754 requirments are now found in: _pygi_argument_to_object_basic_type.
755 The new marshaler can be used with a generic argument cache marshaler
756 to unify all of the "basic type" marshaling.
758 https://bugzilla.gnome.org/show_bug.cgi?id=693405
760 gi/pygi-argument.c | 86
761 +++++++++++++++++++++++++++++++++++++++---------------
762 1 file changed, 63 insertions(+), 23 deletions(-)
764 commit dd43a1e19440dbe025451d2e4e07a6074086498d
765 Author: Simon Feltman <sfeltman@src.gnome.org>
766 Date: Sat Jul 6 14:16:36 2013 -0700
768 Override GValue.set/get_boxed with static C marshaler
770 Override boxed type get/set methods on GValue to use the static C
771 GValue marshaler. This works around the inability of the introspection
772 version of these methods to know what the held GValue type is.
773 With this, all boxed types will now marshal properly with GValues as
776 https://bugzilla.gnome.org/show_bug.cgi?id=688081
778 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
779 gi/overrides/GObject.py | 9 +++++++++
780 2 files changed, 47 insertions(+)
782 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
783 Author: Simon Feltman <sfeltman@src.gnome.org>
784 Date: Sat Jul 6 14:10:20 2013 -0700
786 Refactor pyg_value_from_pyobject into two functions
788 Break pyg_value_from_pyobject into two functions. One which keeps
789 Python exceptions queued (pyg_value_from_pyobject_with_error) and
790 one which clears them (pyg_value_from_pyobject). This allows for
791 re-use for code which want to keep the errors around
793 https://bugzilla.gnome.org/show_bug.cgi?id=688081
795 gi/_gobject/gobjectmodule.c | 4 ++-
796 gi/_gobject/pygobject-private.h | 1 +
797 gi/_gobject/pygobject.h | 2 ++
798 gi/_gobject/pygtype.c | 67
799 ++++++++++++++++++++++++++++++++---------
800 4 files changed, 59 insertions(+), 15 deletions(-)
802 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
803 Author: Simon Feltman <sfeltman@src.gnome.org>
804 Date: Sat Jul 6 20:41:19 2013 -0700
806 Fix indentation for pyg_value_from_pyobject
808 https://bugzilla.gnome.org/show_bug.cgi?id=688081
810 gi/_gobject/pygtype.c | 744
811 +++++++++++++++++++++++++-------------------------
812 1 file changed, 372 insertions(+), 372 deletions(-)
814 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
815 Author: Simon Feltman <sfeltman@src.gnome.org>
816 Date: Sat Jul 6 13:32:39 2013 -0700
818 Add deprecation warning for marshaling arbitrary objects as pointers
820 Add deprecation warning for marshaling arbitrary objects to/from void
821 pointers with the exception of integers, PyCapsules, and None.
823 https://bugzilla.gnome.org/show_bug.cgi?id=688081
825 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
826 gi/pygi-marshal-to-py.c | 10 ++++++++--
827 2 files changed, 24 insertions(+), 3 deletions(-)
829 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
830 Author: Simon Feltman <sfeltman@src.gnome.org>
831 Date: Sat Jul 6 13:34:53 2013 -0700
833 Move PyGIDeprecationWarning to C for shared Python/C usage
835 https://bugzilla.gnome.org/show_bug.cgi?id=688081
837 gi/__init__.py | 19 ++++---------------
838 gi/gimodule.c | 18 ++++++++++++++++++
840 3 files changed, 24 insertions(+), 15 deletions(-)
842 commit 90427107af36ea3c624b36967ee181ed13b9828f
843 Author: Simon Feltman <sfeltman@src.gnome.org>
844 Date: Thu Jul 18 14:59:55 2013 -0700
846 Replace usage of __import__ with importlib.import_module
848 https://bugzilla.gnome.org/show_bug.cgi?id=682320
850 gi/module.py | 8 ++++----
851 1 file changed, 4 insertions(+), 4 deletions(-)
853 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
854 Author: Mike Gorse <mgorse@suse.com>
855 Date: Wed Jul 10 16:44:23 2013 -0500
857 Always unref the GiTypeInfo when generating an argument cache
859 We were leaking a GiTypeInfo when handling child arguments.
861 https://bugzilla.gnome.org/show_bug.cgi?id=703973
863 gi/pygi-cache.c | 1 +
864 1 file changed, 1 insertion(+)
866 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
867 Author: Mike Gorse <mgorse@suse.com>
868 Date: Wed Jul 10 12:10:16 2013 -0500
870 Unref interface info when fetching enums or flags
872 When calling g_type_info_get_interface, the resulting interface should
873 be dereferenced by calling g_base_info_unref.
875 https://bugzilla.gnome.org/show_bug.cgi?id=703960
877 gi/pygi-marshal-from-py.c | 8 +++++++-
878 gi/pygi-marshal-to-py.c | 3 +++
879 2 files changed, 10 insertions(+), 1 deletion(-)
881 commit a93755ddba9a1761b627583d7b9be63783c2c063
882 Author: Daniel Drake <dsd@laptop.org>
883 Date: Tue Jul 9 13:03:36 2013 -0600
885 Speed up MRO calculation
887 Optimize gi.type.mro() with the following observations and tricks:
889 1. Python prepares all the base classes before trying to calculate the
890 MRO of the current one (it first needs to populate __bases__, for
891 example). So we can assume that the base class MRO is already
893 in __mro__ and this will have been previously calculated (by us,
895 case of gi classes). This avoids repeating a lot of MRO-calculating
897 and also avoids (re)calculating MROs for inheritance chains
899 have any gi classes in them anyway.
901 2. With that simplification in place, we can avoid recursion, which
903 all that great in Python...
905 3. ...except in the uncommon case of a Python2 old-style classes,
907 __mro__ is not available. There doesn't seem to be any existing
908 function to calculate or read MRO of old-style python classes,
910 keep doing as before: calculate the C3 MRO of the old-style
912 recursion. That behaviour is not really correct, and the
914 not desirable, so we print a warning here.
916 This makes the "hello world" Sugar app start up approximately
920 https://bugzilla.gnome.org/show_bug.cgi?id=703829
922 gi/types.py | 30 +++++++++++++++++++++++++++---
923 tests/test_gi.py | 16 ++++++++++++----
924 2 files changed, 39 insertions(+), 7 deletions(-)
926 commit 7aca95781fc76f3e820e63325ccc07d128a60075
927 Author: Daniel Drake <dsd@laptop.org>
928 Date: Wed Jul 10 10:45:47 2013 -0600
930 tests: Add tests for MRO override
932 Add tests for the MRO override to prevent against unintended
935 https://bugzilla.gnome.org/show_bug.cgi?id=703829
937 tests/test_gi.py | 66
938 ++++++++++++++++++++++++++++++++++++++++++--------------
939 1 file changed, 50 insertions(+), 16 deletions(-)
941 commit a15333a36e31b76ea6b80251553840269ec5deb1
942 Author: Simon Feltman <sfeltman@src.gnome.org>
943 Date: Sat Jul 6 13:34:13 2013 -0700
945 Add GIL safety to pyobject_copy for copying boxed PyObjects
947 https://bugzilla.gnome.org/show_bug.cgi?id=688081
949 gi/_gobject/pygobject.c | 3 +++
950 1 file changed, 3 insertions(+)
952 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
953 Author: Simon Feltman <sfeltman@src.gnome.org>
954 Date: Sat Jul 6 09:48:35 2013 -0700
956 testhelper: Fix import requirement for GObject
958 Replace the importing of gi._gobject._gobject with
959 gi.repository.GObject
960 in tests/testhelpermodule.c
962 The testhelper module was only importing the static bindings
963 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
964 This was causing some tests to fail when test_thread was the first
965 test to run in the suite due to it registering new types based on
968 https://bugzilla.gnome.org/show_bug.cgi?id=703647
970 tests/testhelpermodule.c | 2 +-
971 1 file changed, 1 insertion(+), 1 deletion(-)
973 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
974 Author: Simon Feltman <sfeltman@src.gnome.org>
975 Date: Wed Jul 3 05:26:12 2013 -0700
977 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
979 Replace assertion for this case with a simple marshalling of the
980 pointer value to a Python int. While not particularly useful
981 this allows some callbacks in WebKit to function without causing
984 https://bugzilla.gnome.org/show_bug.cgi?id=694233
986 gi/pygi-argument.c | 4 ++--
987 1 file changed, 2 insertions(+), 2 deletions(-)
989 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
990 Author: Cole Robinson <crobinso@redhat.com>
991 Date: Sat Feb 16 17:26:43 2013 -0500
993 GTK overrides: Make connect_signals handle tuple
995 This is used for passing extra arguments to callbacks during
996 signal emission in the form of:
997 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
999 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
1001 https://bugzilla.gnome.org/show_bug.cgi?id=693994
1003 gi/overrides/Gtk.py | 51 ++++++++----
1004 tests/test_overrides_gtk.py | 196
1005 +++++++++++++++++++++++++++++---------------
1006 2 files changed, 165 insertions(+), 82 deletions(-)
1008 commit 466567373289e6f141709f08efa80ba588d3d64a
1009 Author: Simon Feltman <sfeltman@src.gnome.org>
1010 Date: Tue Jul 2 18:06:01 2013 -0700
1012 Re-add support for passing GValue's by reference
1014 Fix special casing when marshaling from a Python held GValue
1015 to a GValue argument intended for a function call.
1016 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
1017 broke this by always making a copy of the GValue. This removed the
1018 ability to retrieve values with functions like
1019 gtk_style_context_get_style_property.
1021 https://bugzilla.gnome.org/show_bug.cgi?id=701058
1023 gi/pygi-argument.c | 2 +-
1024 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
1025 2 files changed, 16 insertions(+), 18 deletions(-)
1027 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
1028 Author: Simon Feltman <sfeltman@src.gnome.org>
1029 Date: Tue Jul 2 19:20:04 2013 -0700
1031 tests: Add test for pass-by-reference GValue
1033 https://bugzilla.gnome.org/show_bug.cgi?id=701058
1035 tests/test_gi.py | 7 +++++++
1036 1 file changed, 7 insertions(+)
1038 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
1039 Author: Simon Feltman <sfeltman@src.gnome.org>
1040 Date: Tue Jul 2 23:02:17 2013 -0700
1042 Clear return value of closures to zero when an exception occures
1044 For return types other than void, set the ffi closure return argument
1045 to 0 when a Python exception occures. This a good default in general
1046 but also has the side affect of fixing failing idle callbacks
1047 by causing them to be removed from main loops (after their stack
1050 https://bugzilla.gnome.org/show_bug.cgi?id=702552
1052 gi/pygi-closure.c | 14 ++++++++++++++
1053 tests/test_gi.py | 8 ++++++++
1054 2 files changed, 22 insertions(+)
1056 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
1057 Author: Martin Pitt <martinpitt@gnome.org>
1058 Date: Wed Jul 3 10:40:28 2013 +0200
1060 Don't use doctest syntax in docstrings for examples
1062 These are not actual doctests, so don't use the >>> syntax there. Just
1066 This fixes pyflakes 0.7 failures.
1068 https://bugzilla.gnome.org/show_bug.cgi?id=701009
1070 gi/_gobject/propertyhelper.py | 11 +++++------
1071 gi/overrides/GObject.py | 8 ++++----
1072 gi/overrides/Gtk.py | 2 +-
1073 3 files changed, 10 insertions(+), 11 deletions(-)
1075 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
1076 Author: Garrett Regier <garrettregier@gmail.com>
1077 Date: Tue Jul 2 06:07:15 2013 -0700
1079 Add support for properties of type GInterface
1081 Add support for G_TYPE_INTERFACE/GInterface to switch
1082 statement which handles G_TYPE_OBJECT based properties.
1084 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
1086 https://bugzilla.gnome.org/show_bug.cgi?id=703456
1088 gi/_gobject/gobjectmodule.c | 1 +
1089 gi/_gobject/propertyhelper.py | 3 ++-
1090 tests/test_properties.py | 16 ++++++++++++++++
1091 3 files changed, 19 insertions(+), 1 deletion(-)
1093 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
1094 Author: Martin Pitt <martinpitt@gnome.org>
1095 Date: Fri Jun 21 07:27:48 2013 +0200
1097 pygtkcompat: Fix for missing methods on Windows
1099 Deal with non-existing Gtk.Clipboard.get() and
1100 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
1102 https://bugzilla.gnome.org/show_bug.cgi?id=702787
1104 pygtkcompat/pygtkcompat.py | 10 ++++++++--
1105 1 file changed, 8 insertions(+), 2 deletions(-)
1107 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
1108 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1109 Date: Fri Jun 21 12:32:33 2013 +0800
1111 gi/pygi-info.c: Avoid C99-style variable declaration
1113 https://bugzilla.gnome.org/show_bug.cgi?id=702786
1115 gi/pygi-info.c | 3 ++-
1116 1 file changed, 2 insertions(+), 1 deletion(-)
1118 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
1119 Author: Martin Pitt <martinpitt@gnome.org>
1120 Date: Wed May 29 11:20:35 2013 +0200
1122 GLib overrides: fix typo in deprecation message
1124 Spotted by Dmitrijs Ledkovs, thanks!
1126 gi/overrides/GLib.py | 2 +-
1127 1 file changed, 1 insertion(+), 1 deletion(-)
1129 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
1130 Author: Martin Pitt <martinpitt@gnome.org>
1131 Date: Tue May 28 17:57:20 2013 +0200
1133 configure.ac: post-release version bump to 3.9.3
1136 1 file changed, 1 insertion(+), 1 deletion(-)
1138 commit 10f703189ed6a7104252907d1b1a114f26d79559
1139 Author: Martin Pitt <martinpitt@gnome.org>
1140 Date: Tue May 28 17:56:07 2013 +0200
1144 NEWS | 15 +++++++++++++++
1145 1 file changed, 15 insertions(+)
1147 commit af8d048442b924c72a1d0ae868ee63ccf292759d
1148 Author: Martin Pitt <martinpitt@gnome.org>
1149 Date: Fri May 24 13:03:07 2013 +0200
1151 examples/option.py: Port to GI and Python 3
1153 examples/option.py | 38 +++++++++++++++++++-------------------
1154 1 file changed, 19 insertions(+), 19 deletions(-)
1156 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
1157 Author: Simon Feltman <sfeltman@src.gnome.org>
1158 Date: Sun May 12 18:58:06 2013 -0700
1160 Fix vfunc info search for classes with multiple inheritance
1162 Ensure the search for vfunc GI info continues recursively even if the
1163 current class being looked at does not contain GI info of type
1164 InterfaceInfo. This more exhaustive search is needed for setups with
1165 multiple sub-classes and multiple inheritance.
1167 https://bugzilla.gnome.org/show_bug.cgi?id=700092
1169 gi/types.py | 12 +++++++-----
1170 tests/test_gi.py | 1 -
1171 2 files changed, 7 insertions(+), 6 deletions(-)
1173 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
1174 Author: Simon Feltman <sfeltman@src.gnome.org>
1175 Date: Sun May 12 22:19:38 2013 -0700
1177 Fix closure argument conversion for enum and flag in args
1179 Replace incorrect cast and assignment of double with uint for flags
1182 gi/pygi-closure.c | 2 +-
1183 1 file changed, 1 insertion(+), 1 deletion(-)
1185 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
1186 Author: Simon Feltman <sfeltman@src.gnome.org>
1187 Date: Sat May 11 21:47:54 2013 -0700
1189 tests: Add tests for overriding vfunc implementations
1191 Add tests for overriding vfuncs for both single inheritance
1192 and multiple inheritance with an interface (currently failing).
1194 https://bugzilla.gnome.org/show_bug.cgi?id=700092
1196 tests/test_gi.py | 23 +++++++++++++++++++++++
1197 1 file changed, 23 insertions(+)
1199 commit c4e1112840004af264b4f2a052f333ea38f95cb6
1200 Author: Simon Feltman <sfeltman@src.gnome.org>
1201 Date: Sat May 11 20:28:22 2013 -0700
1203 Fix marshaling Python to FFI return value for enum and flags
1205 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
1207 assignment of arg.v_pointer to the ffi return arg.
1209 gi/pygi-closure.c | 1 +
1210 1 file changed, 1 insertion(+)
1212 commit a703217eaf4075e9720d4247351e1dfc4f553772
1213 Author: Simon Feltman <sfeltman@src.gnome.org>
1214 Date: Fri Apr 19 06:37:24 2013 -0700
1216 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
1218 Remove half implemented GC tracking from PyGIBaseInfo as it was not
1219 needed (the implemented was also missing usage of
1220 PyObject_GC_New/Track).
1221 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
1224 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
1225 for both PyGIStruct and PyGIBoxed as these types were not being
1226 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
1228 https://bugzilla.gnome.org/show_bug.cgi?id=677091
1230 gi/pygi-boxed.c | 4 ----
1231 gi/pygi-info.c | 20 +++++---------------
1232 gi/pygi-struct.c | 4 ----
1233 3 files changed, 5 insertions(+), 23 deletions(-)
1235 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
1236 Author: Simon Feltman <sfeltman@src.gnome.org>
1237 Date: Fri May 3 02:00:07 2013 -0700
1239 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
1241 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
1242 of Py_BEGIN_ALLOW_THREADS.
1244 https://bugzilla.gnome.org/show_bug.cgi?id=699440
1246 gi/_glib/pyglib.h | 4 ----
1247 gi/_glib/pygoptioncontext.c | 4 ++--
1248 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
1249 gi/gimodule.c | 4 ++--
1250 gi/pygi-invoke.c | 4 ++--
1251 5 files changed, 22 insertions(+), 27 deletions(-)
1253 commit c9e95663d05de98a9abd3d1479554b1f09753382
1254 Author: Simon Feltman <sfeltman@src.gnome.org>
1255 Date: Thu May 2 03:57:05 2013 -0700
1257 Remove and deprecate API for setting of thread blocking functions
1259 Remove pyglib_set_thread_block_funcs and deprecate
1260 pyg_set_thread_block_funcs.
1261 The thread block function APIs are no longer be neccessary because
1263 can use the Python C API directly when working with threads.
1265 https://bugzilla.gnome.org/show_bug.cgi?id=699440
1267 gi/_glib/pyglib.c | 41 -----------------------------------
1268 gi/_glib/pyglib.h | 9 ++++----
1269 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
1270 gi/_gobject/pygobject-private.h | 33 ----------------------------
1271 gi/_gobject/pygobject.h | 48
1272 ++++++++++++++++++++---------------------
1273 gi/gimodule.c | 15 +++++++------
1274 6 files changed, 46 insertions(+), 125 deletions(-)
1276 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
1277 Author: Martin Pitt <martinpitt@gnome.org>
1278 Date: Tue Apr 30 11:51:05 2013 -0700
1280 configure.ac: Post-release bump to 3.9.2
1283 1 file changed, 1 insertion(+), 1 deletion(-)
1285 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
1286 Author: Martin Pitt <martinpitt@gnome.org>
1287 Date: Tue Apr 30 11:49:03 2013 -0700
1291 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1292 1 file changed, 49 insertions(+)
1294 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
1295 Author: Simon Feltman <sfeltman@src.gnome.org>
1296 Date: Sun Apr 28 19:59:35 2013 -0700
1298 gtk-demo: Wrap description strings at 80 characters
1300 Wrap trailing demo description strings so they are easier to read
1301 in a programming editor. The gtk-demo itself re-wraps this using
1302 textwrap and the Gtk.TextView dynamic wrapping.
1304 https://bugzilla.gnome.org/show_bug.cgi?id=698547
1306 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
1307 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
1308 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
1309 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
1310 demos/gtk-demo/demos/images.py | 6 ++++--
1311 demos/gtk-demo/demos/menus.py | 20
1312 ++++++++++++++++----
1313 demos/gtk-demo/demos/pickers.py | 4 ++--
1314 demos/gtk-demo/demos/pixbuf.py | 5 +++--
1315 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
1316 9 files changed, 43 insertions(+), 22 deletions(-)
1318 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
1319 Author: Simon Feltman <sfeltman@src.gnome.org>
1320 Date: Sat Apr 27 22:30:35 2013 -0700
1322 gtk-demo: Use textwrap to reformat description for Gtk.TextView
1324 https://bugzilla.gnome.org/show_bug.cgi?id=698547
1326 demos/gtk-demo/gtk-demo.py | 8 +++++++-
1327 1 file changed, 7 insertions(+), 1 deletion(-)
1329 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
1330 Author: Simon Feltman <sfeltman@src.gnome.org>
1331 Date: Sat Apr 27 21:58:28 2013 -0700
1333 gtk-demo: Use GtkSource.View for showing source code
1335 Replace manual syntax highlighting of Gtk.TextView with usage of
1336 GtkSource.View when available. Fall back to TextView with no
1337 hightlighting when GtkSource is not available.
1339 https://bugzilla.gnome.org/show_bug.cgi?id=698547
1341 demos/gtk-demo/gtk-demo.py | 170
1342 ++++++++++++---------------------------------
1343 1 file changed, 44 insertions(+), 126 deletions(-)
1345 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
1346 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
1347 Date: Sun Apr 28 01:40:34 2013 -0500
1349 Use correct class for GtkEditable's get_selection_bounds() function
1351 https://bugzilla.gnome.org/show_bug.cgi?id=699096
1353 gi/overrides/Gtk.py | 2 +-
1354 1 file changed, 1 insertion(+), 1 deletion(-)
1356 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
1357 Author: Simon Feltman <sfeltman@src.gnome.org>
1358 Date: Thu Apr 25 05:27:35 2013 -0700
1360 Test results of g_base_info_get_name for NULL
1362 Block against potential NULL result when generating type hint with
1363 _g_arg_get_pytype_hint.
1365 https://bugzilla.gnome.org/show_bug.cgi?id=698829
1367 gi/pygi-info.c | 12 ++++++++++--
1368 1 file changed, 10 insertions(+), 2 deletions(-)
1370 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
1371 Author: Jose Rostagno <joserostagno@vijona.com.ar>
1372 Date: Sun Apr 21 19:09:59 2013 -0300
1374 Remove g_type_init conditional call
1376 It's deprecated in the glib version we depend on.
1378 https://bugzilla.gnome.org/show_bug.cgi?id=698763
1380 gi/_gobject/gobjectmodule.c | 3 ---
1381 1 file changed, 3 deletions(-)
1383 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
1384 Author: Jose Rostagno <joserostagno@vijona.com.ar>
1385 Date: Sat Mar 30 20:59:44 2013 -0300
1387 Update deps versions also in README
1389 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
1392 https://bugzilla.gnome.org/show_bug.cgi?id=698763
1395 1 file changed, 2 insertions(+), 2 deletions(-)
1397 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
1398 Author: Jose Rostagno <joserostagno@vijona.com.ar>
1399 Date: Sat Mar 30 20:50:35 2013 -0300
1401 Drop compat code for old python version
1403 https://bugzilla.gnome.org/show_bug.cgi?id=698763
1405 gi/_glib/pyglib-python-compat.h | 12 ------------
1406 1 file changed, 12 deletions(-)
1408 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
1409 Author: Niklas Koep <niklas.koep@gmail.com>
1410 Date: Thu Apr 25 06:14:12 2013 +0200
1412 Remove duplicate call to _gi.Repository.require()
1414 repository.require() was called twice in IntrospectionModule's
1417 https://bugzilla.gnome.org/show_bug.cgi?id=698797
1420 1 file changed, 1 deletion(-)
1422 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
1423 Author: Johan Dahlin <johan@gnome.org>
1424 Date: Mon Oct 1 03:02:10 2012 -0700
1426 Add ObjectInfo.get_class_struct()
1428 https://bugzilla.gnome.org/show_bug.cgi?id=685218
1430 gi/pygi-info.c | 15 +++++++++++++++
1431 tests/test_gi.py | 4 ++++
1432 2 files changed, 19 insertions(+)
1434 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
1435 Author: Simon Feltman <sfeltman@src.gnome.org>
1436 Date: Mon Apr 22 03:43:23 2013 -0700
1438 Change interpretation of NULL pointer field from None to 0
1440 The usage of 0 is needed because these fields should generally
1441 be used to store integer indices or hashes, not necessarily
1442 pointers to actual data.
1444 https://bugzilla.gnome.org/show_bug.cgi?id=698366
1446 gi/pygi-argument.c | 11 +----------
1447 tests/test_everything.py | 5 +++--
1448 2 files changed, 4 insertions(+), 12 deletions(-)
1450 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
1451 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
1452 Date: Fri Mar 8 08:25:58 2013 +0330
1454 Do not build tests until needed
1456 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
1458 https://bugzilla.gnome.org/show_bug.cgi?id=698444
1460 tests/Makefile.am | 12 ++++++------
1461 1 file changed, 6 insertions(+), 6 deletions(-)
1463 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
1464 Author: Kai Willadsen <kai.willadsen@gmail.com>
1465 Date: Sun Apr 14 15:16:40 2013 +1000
1467 pygi-convert: Support toolbar styles
1469 https://bugzilla.gnome.org/show_bug.cgi?id=698477
1471 pygi-convert.sh | 1 +
1472 1 file changed, 1 insertion(+)
1474 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
1475 Author: Kai Willadsen <kai.willadsen@gmail.com>
1476 Date: Sun Apr 14 10:54:04 2013 +1000
1478 pygi-convert: Support new-style constructors for Gio.File
1480 https://bugzilla.gnome.org/show_bug.cgi?id=698477
1482 pygi-convert.sh | 2 ++
1483 1 file changed, 2 insertions(+)
1485 commit 1e8120992dc103ac817351be3c150e6cb25f719f
1486 Author: Kai Willadsen <kai.willadsen@gmail.com>
1487 Date: Sun Apr 14 10:22:55 2013 +1000
1489 pygi-convert: Add some support for recent manager constructs
1491 https://bugzilla.gnome.org/show_bug.cgi?id=698477
1493 pygi-convert.sh | 3 +++
1494 1 file changed, 3 insertions(+)
1496 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
1497 Author: Kai Willadsen <kai.willadsen@gmail.com>
1498 Date: Sun Apr 14 07:37:24 2013 +1000
1500 pygi-convert: Check for double quote in require statement
1502 https://bugzilla.gnome.org/show_bug.cgi?id=698477
1504 pygi-convert.sh | 1 +
1505 1 file changed, 1 insertion(+)
1507 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
1508 Author: Kai Willadsen <kai.willadsen@gmail.com>
1509 Date: Sun Apr 14 07:37:00 2013 +1000
1511 pygi-convert: Don't transform arbitrary keysym imports
1513 https://bugzilla.gnome.org/show_bug.cgi?id=698477
1515 pygi-convert.sh | 2 +-
1516 1 file changed, 1 insertion(+), 1 deletion(-)
1518 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
1519 Author: Simon Feltman <sfeltman@src.gnome.org>
1520 Date: Thu Apr 11 04:09:59 2013 -0700
1522 Remove Python keyword escapement in Repository.find_by_name
1524 Strip trailing underscore from module level items before
1525 calling g_irepository_find_by_name. This fixes a problem
1526 with GI module level items having the same name as a Python
1527 keyword raising an AttributeError during access (Pango.break_).
1529 https://bugzilla.gnome.org/show_bug.cgi?id=697363
1531 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
1532 gi/pygi-info.h | 2 ++
1533 gi/pygi-repository.c | 16 ++++++++++++++++
1534 tests/test_overrides_pango.py | 5 +++++
1535 4 files changed, 45 insertions(+), 10 deletions(-)
1537 commit c07404461b126206e369270b56e613f81369c70a
1538 Author: Daniel Drake <dsd@laptop.org>
1539 Date: Mon Mar 18 16:08:09 2013 -0600
1541 Optimize signal lookup in gi repository
1543 Now that we have GSignalQuery results available to us when connecting
1544 signals, we already know which GType implements the signal in
1547 Therefore there is no need to traverse the class parent hierarchy
1548 looking for this, which takes a considerable amount of CPU time.
1550 There is also no need to canonicalize the signal name; both before
1551 and after this patch, by the time we reach this point we have already
1552 successfully looked up the signal name as presented from Python.
1554 https://bugzilla.gnome.org/show_bug.cgi?id=696143
1556 gi/_gobject/pygobject.c | 5 ++--
1557 gi/pygi-signal-closure.c | 59
1558 +++++++++++++-----------------------------------
1559 gi/pygi-signal-closure.h | 1 +
1561 4 files changed, 23 insertions(+), 46 deletions(-)
1563 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
1564 Author: Daniel Drake <dsd@laptop.org>
1565 Date: Mon Mar 18 15:38:19 2013 -0600
1567 Optimize connection of Python-implemented signals
1569 Like properties, when working with signals we must detect if the
1570 signal is implemented in a Python class or if it originates from the
1571 gi repository, and act accordingly.
1573 Asking the gi repository if it can find a signal that is implemented
1574 in a Python class (it can't) takes a considerable amount of CPU time.
1576 Use g_signal_query() to find out which GType implements the signal.
1577 Then perform a simple test to see if this type is implemented at the
1578 Python level, allowing us to to skip the GI querying in this case.
1580 https://bugzilla.gnome.org/show_bug.cgi?id=696143
1582 gi/_gobject/pygobject.c | 19 +++++++++++++++----
1583 1 file changed, 15 insertions(+), 4 deletions(-)
1585 commit e91b35d72f93678a79623347dce271148d57046f
1586 Author: Daniel Drake <dsd@laptop.org>
1587 Date: Mon Mar 18 15:24:52 2013 -0600
1589 Consolidate signal connection code
1591 This code was repeated 4 times with very little variance;
1592 consolidate it and add simple tests to ensure basic coverage.
1594 https://bugzilla.gnome.org/show_bug.cgi?id=696143
1596 gi/_gobject/pygobject.c | 129
1597 +++++++++++++++--------------------------------
1598 tests/test_everything.py | 33 ++++++++++++
1599 2 files changed, 74 insertions(+), 88 deletions(-)
1601 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
1602 Author: Daniel Drake <dsd@laptop.org>
1603 Date: Mon Mar 18 15:11:16 2013 -0600
1605 Fix setting of struct property values
1607 "goto out" in this context means that an error occurred, but this
1608 particular instance was sitting in the "good" codepath.
1610 Fixes setting of struct property values.
1612 gi/pygi-property.c | 3 ++-
1613 1 file changed, 2 insertions(+), 1 deletion(-)
1615 commit 8981ea0422c6837d488311dafe8937593372e736
1616 Author: Daniel Drake <dsd@laptop.org>
1617 Date: Mon Mar 18 14:25:45 2013 -0600
1619 Optimize property get/set when using GObject.props
1621 Skip GI repository lookup for properties defined on Python
1622 defined GObject types.
1624 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
1626 https://bugzilla.gnome.org/show_bug.cgi?id=696143
1628 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
1629 1 file changed, 19 insertions(+), 18 deletions(-)
1631 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
1632 Author: Christoph Reiter <reiter.christoph@gmail.com>
1633 Date: Sat Apr 13 17:28:26 2013 +0200
1635 configure.ac: Fix PYTHON_SO with Python3.3
1637 https://bugzilla.gnome.org/show_bug.cgi?id=696646
1639 configure.ac | 5 ++++-
1640 1 file changed, 4 insertions(+), 1 deletion(-)
1642 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
1643 Author: Daniel Drake <dsd@laptop.org>
1644 Date: Mon Mar 18 14:13:37 2013 -0600
1646 Simplify registration of custom types
1648 Use custom quark data to track Python created GTypes.
1650 Remove previous mechanism to track registration of python-implemented
1651 GTypes as it was unused (no custom registration was ever tracked).
1653 Leave vtable pointer and set to NULL to avoid an ABI break.
1655 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
1657 https://bugzilla.gnome.org/show_bug.cgi?id=696143
1659 gi/_gobject/gobjectmodule.c | 11 +++++--
1660 gi/_gobject/pygobject-private.h | 8 ++---
1661 gi/_gobject/pygobject.c | 8 ++---
1662 gi/_gobject/pygobject.h | 9 +++---
1663 gi/_gobject/pygtype.c | 69
1664 +++--------------------------------------
1665 5 files changed, 22 insertions(+), 83 deletions(-)
1667 commit 50702a09344825e3a8aa54365d78de807f989d88
1668 Author: Christoph Reiter <reiter.christoph@gmail.com>
1669 Date: Sat Apr 13 16:04:17 2013 +0200
1671 pygi-convert.sh: Add GStreamer rules
1673 https://bugzilla.gnome.org/show_bug.cgi?id=697951
1675 pygi-convert.sh | 17 +++++++++++++++++
1676 1 file changed, 17 insertions(+)
1678 commit b289176e6b37cb2825bd555cea019b85b68d5c57
1679 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
1680 Date: Sun Mar 10 15:04:40 2013 +0200
1682 pygi-convert: Add rule for TreeModelFlags
1684 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
1686 pygi-convert.sh | 1 +
1687 1 file changed, 1 insertion(+)
1689 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
1690 Author: Simon Feltman <sfeltman@src.gnome.org>
1691 Date: Fri Mar 29 03:20:44 2013 -0700
1693 Unify interface struct to Python GI marshaling code
1695 Add pygi_marshal_to_py_interface_struct used for direct gi method
1696 call out args and vfunc in args.
1698 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1700 gi/pygi-argument.c | 72 ++++++-------------------------
1701 gi/pygi-marshal-to-py.c | 112
1702 +++++++++++++++++++++++++++++-------------------
1703 gi/pygi-marshal-to-py.h | 8 ++++
1704 3 files changed, 91 insertions(+), 101 deletions(-)
1706 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
1707 Author: Simon Feltman <sfeltman@src.gnome.org>
1708 Date: Thu Mar 28 22:41:51 2013 -0700
1710 Unify Python interface struct to GI marshaling code
1712 Add pygi_marshal_from_py_interface_struct used for direct gi method
1713 call in args and vfunc out args.
1715 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1717 gi/pygi-argument.c | 75 +++++++--------------
1718 gi/pygi-cache.c | 12 +---
1719 gi/pygi-marshal-from-py.c | 167
1720 +++++++++++++++++++++++++++++-----------------
1721 gi/pygi-marshal-from-py.h | 11 +++
1722 4 files changed, 141 insertions(+), 124 deletions(-)
1724 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
1725 Author: Simon Feltman <sfeltman@src.gnome.org>
1726 Date: Thu Mar 28 06:17:15 2013 -0700
1728 Unify Python float and double to GI marshaling code
1730 Change _pygi_argument_from_object to use the cachers marshalers
1731 (_pygi_marshal_from_py_float/double) directly instead of keeping a
1733 Refactor _pygi_marshal_from_py_float/double to use a common utility
1734 _pygi_py_arg_to_double for initial error checking and conversion.
1736 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1738 gi/pygi-argument.c | 26 ++++----------------------
1739 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
1740 2 files changed, 24 insertions(+), 44 deletions(-)
1742 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
1743 Author: Simon Feltman <sfeltman@src.gnome.org>
1744 Date: Thu Mar 28 05:29:08 2013 -0700
1746 Unify filename to Python GI marshaling code
1748 Change _pygi_argument_to_object to use the cachers marshaler
1749 (_pygi_marshal_to_py_filename) directly instead of keeping a
1752 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1754 gi/pygi-argument.c | 22 ++--------------------
1755 gi/pygi-marshal-to-py.c | 6 ++----
1756 2 files changed, 4 insertions(+), 24 deletions(-)
1758 commit 54aa043d96deb02589e13042a46917405ca53780
1759 Author: Simon Feltman <sfeltman@src.gnome.org>
1760 Date: Thu Mar 28 05:20:00 2013 -0700
1762 Unify utf8 to Python GI marshaling code
1764 Change _pygi_argument_to_object to use the cachers marshaler
1765 (_pygi_marshal_to_py_utf8) directly instead of keeping a
1768 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1770 gi/pygi-argument.c | 11 ++++-------
1771 gi/pygi-marshal-to-py.c | 4 +---
1772 2 files changed, 5 insertions(+), 10 deletions(-)
1774 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
1775 Author: Simon Feltman <sfeltman@src.gnome.org>
1776 Date: Thu Mar 28 05:10:45 2013 -0700
1778 Unify unichar to Python GI marshaling code
1780 Change _pygi_argument_to_object to use the cachers marshaler
1781 (_pygi_marshal_to_py_unichar) directly instead of keeping a
1784 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1786 gi/pygi-argument.c | 19 ++-----------------
1787 1 file changed, 2 insertions(+), 17 deletions(-)
1789 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
1790 Author: Simon Feltman <sfeltman@src.gnome.org>
1791 Date: Sat Feb 16 19:49:59 2013 -0800
1793 Unify Python unicode to filename GI marshaling code
1795 Change _pygi_argument_from_object to use the cachers marshaler
1796 (_pygi_marshal_from_py_filename) directly instead of keeping a
1799 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1801 gi/pygi-argument.c | 30 ++----------------------------
1802 1 file changed, 2 insertions(+), 28 deletions(-)
1804 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
1805 Author: Simon Feltman <sfeltman@src.gnome.org>
1806 Date: Sat Feb 16 19:32:54 2013 -0800
1808 Unify Python unicode to utf8 GI marshaling code
1810 Change _pygi_argument_from_object to use the cachers marshaler
1811 (_pygi_marshal_from_py_utf8) directly instead of keeping a
1814 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1816 gi/pygi-argument.c | 32 ++------------------------------
1817 1 file changed, 2 insertions(+), 30 deletions(-)
1819 commit e253c73335fccabc61e0329f8528a90f79858c67
1820 Author: Simon Feltman <sfeltman@src.gnome.org>
1821 Date: Sat Feb 16 19:16:43 2013 -0800
1823 Unify Python unicode to unichar GI marshaling code
1825 Change _pygi_argument_from_object to use the cachers marshaler
1826 (_pygi_marshal_from_py_unichar) directly instead of keeping a
1829 https://bugzilla.gnome.org/show_bug.cgi?id=693405
1831 gi/pygi-argument.c | 34 ++--------------------------------
1832 gi/pygi-marshal-from-py.c | 9 +++++++++
1833 2 files changed, 11 insertions(+), 32 deletions(-)
1835 commit 216caf590b262fed40d10bb34d020089d1197160
1836 Author: Simon Feltman <sfeltman@src.gnome.org>
1837 Date: Thu Apr 4 15:57:12 2013 -0700
1839 Fix enum and flags marshaling type assumptions
1841 Replace assignments of GFlags and GEnum values to various GIArgument
1842 members with v_uint and v_int respectively.
1844 gi/pygi-argument.c | 6 +++---
1845 gi/pygi-property.c | 4 ++--
1846 2 files changed, 5 insertions(+), 5 deletions(-)
1848 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
1849 Author: Christoph Reiter <reiter.christoph@gmail.com>
1850 Date: Thu Apr 4 10:08:38 2013 +0200
1852 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
1854 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
1856 m4/python.m4 | 4 ++--
1857 1 file changed, 2 insertions(+), 2 deletions(-)
1859 commit f82f755a0f419539c223e4a74e33145726c6e69f
1860 Author: Christoph Reiter <reiter.christoph@gmail.com>
1861 Date: Thu Apr 4 09:05:48 2013 +0200
1863 Use distutils.sysconfig to retrieve the python include path.
1865 https://bugzilla.gnome.org/show_bug.cgi?id=696648
1867 m4/python.m4 | 8 ++------
1868 1 file changed, 2 insertions(+), 6 deletions(-)
1870 commit cf81dd66e6387bf27122a71176e91ca39beb6519
1871 Author: Martin Pitt <martinpitt@gnome.org>
1872 Date: Thu Apr 4 06:47:56 2013 +0200
1874 Use g_strdup() consistently
1876 https://bugzilla.gnome.org/show_bug.cgi?id=696650
1878 gi/pygi-marshal-from-py.c | 2 +-
1879 1 file changed, 1 insertion(+), 1 deletion(-)
1881 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
1882 Author: Christoph Reiter <reiter.christoph@gmail.com>
1883 Date: Tue Mar 26 16:03:59 2013 +0100
1885 Support PEP 3149 (ABI version tagged .so files)
1887 Add a ABI suffix to the shared library retrieved from
1889 instead of hardcoding it. This should also make things more robust
1892 https://bugzilla.gnome.org/show_bug.cgi?id=696646
1894 configure.ac | 3 +++
1895 gi/Makefile.am | 14 +++++++-------
1896 gi/_glib/Makefile.am | 14 +++++++-------
1897 gi/_gobject/Makefile.am | 14 +++++++-------
1898 4 files changed, 24 insertions(+), 21 deletions(-)
1900 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
1901 Author: Simon Feltman <sfeltman@src.gnome.org>
1902 Date: Sun Mar 31 01:32:34 2013 -0700
1904 Fix stack corruption due to incorrect format for argument parser
1906 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
1907 of "l" meaning long (8 bytes) in combination with an output pointer
1908 of guint (4 bytes). Change to use gulong with a format of "k".
1910 https://bugzilla.gnome.org/show_bug.cgi?id=696892
1912 gi/_gobject/pygflags.c | 4 ++--
1913 1 file changed, 2 insertions(+), 2 deletions(-)
1915 commit 48e52210ece0e144b4c959e773ea542a912358e7
1916 Author: Simon Feltman <sfeltman@src.gnome.org>
1917 Date: Thu Mar 7 00:26:37 2013 -0800
1919 Deprecate GLib and GObject threads_init
1921 Remove a handful of Python threading related helper functions
1922 from pyglib and pygobject. The binding internals required
1923 GLib.threads_init to be called for PyGObject to work with
1924 Python threads. This was removed as it should not be a requirement.
1925 Using the Python threading module already initializes threading
1926 for us (PyEval_InitThreads).
1928 https://bugzilla.gnome.org/show_bug.cgi?id=686914
1930 gi/_glib/glibmodule.c | 16 --------
1931 gi/_glib/pyglib.c | 94
1932 ---------------------------------------------
1933 gi/_glib/pyglib.h | 28 +++++++-------
1934 gi/_gobject/gobjectmodule.c | 31 ++++-----------
1935 gi/overrides/GLib.py | 8 +++-
1936 gi/overrides/GObject.py | 2 +-
1937 6 files changed, 28 insertions(+), 151 deletions(-)
1939 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
1940 Author: Martin Pitt <martinpitt@gnome.org>
1941 Date: Mon Mar 25 09:03:51 2013 +0100
1943 Drop support for Python 2.6
1945 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
1947 this unblocks e. g. GNOME #682320.
1949 Drop usage of PyCObject_* (which has been superseded by PyCapsule
1951 and drop Python 2.6 specific workarounds.
1954 gi/_glib/pyglib-python-compat.h | 20 ------------------
1955 gi/_gobject/pygobject.h | 6 ------
1958 tests/runtests.py | 45
1959 +----------------------------------------
1960 tests/test_gobject.py | 1 -
1961 tests/test_signal.py | 4 ----
1962 8 files changed, 3 insertions(+), 81 deletions(-)
1964 commit 56347953abb1e214817186581eaf2b2d8762cf97
1965 Author: Martin Pitt <martinpitt@gnome.org>
1966 Date: Wed Oct 24 16:43:25 2012 +0200
1968 Remove static PollFD bindings
1970 Use the GLib API through GI instead, and provide an override to keep a
1971 backwards compatible constructor syntax.
1973 https://bugzilla.gnome.org/show_bug.cgi?id=686795
1975 gi/_glib/Makefile.am | 2 --
1976 gi/_glib/glibmodule.c | 2 --
1977 gi/_glib/pygsource.c | 98
1978 ---------------------------------------------------
1979 gi/_glib/pygsource.h | 36 -------------------
1980 gi/overrides/GLib.py | 17 +++++++--
1981 5 files changed, 15 insertions(+), 140 deletions(-)
1983 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
1984 Author: Martin Pitt <martinpitt@gnome.org>
1985 Date: Mon Mar 25 08:44:24 2013 +0100
1987 Drop test skipping due to too old g-i
1989 We depend on gobject-introspection 1.35.9 now, which has all this API.
1991 tests/test_gi.py | 24 ------------------------
1992 tests/test_object_marshaling.py | 14 --------------
1993 2 files changed, 38 deletions(-)
1995 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
1996 Author: Martin Pitt <martinpitt@gnome.org>
1997 Date: Mon Mar 25 08:37:37 2013 +0100
1999 Bump glib and g-i dependencies
2001 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
2003 versions. This allows us to drop the conditional test suite skips
2005 static PollFD bindings.
2007 configure.ac | 6 +++---
2008 1 file changed, 3 insertions(+), 3 deletions(-)
2010 commit 252556d044322207429c0d0c269365f48e4d819a
2011 Author: Martin Pitt <martinpitt@gnome.org>
2012 Date: Mon Mar 25 08:43:53 2013 +0100
2014 configure.ac: post-release version bump to 3.9.1
2016 configure.ac | 4 ++--
2017 1 file changed, 2 insertions(+), 2 deletions(-)
2019 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
2020 Author: Martin Pitt <martinpitt@gnome.org>
2021 Date: Mon Mar 25 08:12:10 2013 +0100
2026 1 file changed, 4 insertions(+)
2028 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
2029 Author: Simon Feltman <sfeltman@src.gnome.org>
2030 Date: Wed Mar 20 23:45:01 2013 -0700
2032 tests: Fix incorrect assumption when testing pyglib version
2034 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
2035 value that can be used for a future proof unittest here.
2037 tests/test_glib.py | 4 ++--
2038 1 file changed, 2 insertions(+), 2 deletions(-)
2040 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
2041 Author: Martin Pitt <martinpitt@gnome.org>
2042 Date: Mon Mar 18 14:02:29 2013 +0100
2044 configure.ac: post-release bump to 3.8.0
2046 configure.ac | 4 ++--
2047 1 file changed, 2 insertions(+), 2 deletions(-)
2049 commit defbd63e95faafaa84230f160bc95dad0f55e37d
2050 Author: Martin Pitt <martinpitt@gnome.org>
2051 Date: Mon Mar 18 14:01:05 2013 +0100
2055 NEWS | 18 ++++++++++++++++++
2056 1 file changed, 18 insertions(+)
2058 commit a0844a896603c5c91bed24cf94106765f0ced74e
2059 Author: Simon Feltman <sfeltman@src.gnome.org>
2060 Date: Sun Mar 17 23:22:38 2013 -0700
2062 Fix stack smasher when marshaling enums as a vfunc return value
2064 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
2065 flag types. Default interfaces to marshal as a pointer.
2066 Add explicit cases for GType and Unichar out/return marshaling.
2067 Fix leaking of GIBaseInfo when marshaling interface as out arg.
2069 https://bugzilla.gnome.org/show_bug.cgi?id=637832
2071 gi/pygi-closure.c | 69
2072 ++++++++++++++++++++++++++++++++++++++++++++++---------
2073 tests/test_gi.py | 19 +++++++++++++++
2074 2 files changed, 77 insertions(+), 11 deletions(-)
2076 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
2077 Author: Simon Feltman <sfeltman@src.gnome.org>
2078 Date: Sun Mar 17 15:37:09 2013 -0700
2080 Change base class of PyGIDeprecationWarning based on minor version
2082 Use RuntimeWarning as the base class of PyGIDeprecationWarning
2083 for unstable (odd minor version) and use DeprecationWarning for
2084 stable (even minor version). This is so PyGObject deprecations
2085 behave the same as regular Python deprecations in stable releases.
2087 https://bugzilla.gnome.org/show_bug.cgi?id=696011
2089 gi/__init__.py | 14 +++++++++++---
2090 1 file changed, 11 insertions(+), 3 deletions(-)
2092 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
2093 Author: Alban Browaeys <prahal@yahoo.com>
2094 Date: Thu Feb 28 18:57:21 2013 +0100
2096 autogen.sh: Source gnome-autogen to fix out of source builddir
2098 https://bugzilla.gnome.org/show_bug.cgi?id=694889
2101 1 file changed, 1 insertion(+), 1 deletion(-)
2103 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
2104 Author: Martin Pitt <martinpitt@gnome.org>
2105 Date: Tue Mar 5 12:22:15 2013 +0100
2107 Add 3.7.91.1 NEWS entry
2109 Forgot to push this back then.
2112 1 file changed, 3 insertions(+)
2114 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
2115 Author: Simon Feltman <sfeltman@src.gnome.org>
2116 Date: Sun Mar 17 04:19:57 2013 -0700
2118 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
2120 Make get_geometry return a tuple of (x, y, width, height, depth)
2121 as it did in pygtk 2.
2122 Update pygtkcompat.enable_gtk() to default to version 3.0 because
2123 version 2.0 core dumps trying to use introspection with gtk 2.
2125 pygtkcompat/pygtkcompat.py | 8 +++++++-
2126 1 file changed, 7 insertions(+), 1 deletion(-)
2128 commit 38683f721c33cc35f0260868e58643fd35f04cbe
2129 Author: Simon Feltman <sfeltman@src.gnome.org>
2130 Date: Sun Mar 17 02:08:03 2013 -0700
2132 testhelpermodule: Fix build warning for PyGObject_Type redefinition
2134 Remove dynamic retrieval of PyGObject_Type as it is available
2135 in pygobject.h since commit 2656bc47 (causing this compile warning)
2137 tests/testhelpermodule.c | 14 +-------------
2138 1 file changed, 1 insertion(+), 13 deletions(-)
2140 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
2141 Author: Simon Feltman <sfeltman@src.gnome.org>
2142 Date: Sun Mar 17 01:51:33 2013 -0700
2144 pygtkcompat: Initialize hint to zero in set_geometry_hints
2146 pygtkcompat/pygtkcompat.py | 2 +-
2147 1 file changed, 1 insertion(+), 1 deletion(-)
2149 commit 471204953d6fc93b3d311afd133d40f7d75ec541
2150 Author: Simon Feltman <sfeltman@src.gnome.org>
2151 Date: Fri Mar 15 04:33:22 2013 -0700
2153 Remove incorrect bounds check with property helper flags
2155 Remove bounds check for flags as it is not necessary for the
2156 helper to make these kind of judgement calls in general.
2157 e.g. leave it to marshaling/internals to complain about potential
2158 problems. The flags were being bounds checked to a maximum
2159 value of 32 (the intention was most likely to limit it to 32 bits).
2161 gi/_gobject/propertyhelper.py | 3 ---
2162 tests/test_properties.py | 1 -
2163 2 files changed, 4 deletions(-)
2165 commit 2656bc47ca1219b329066da1c2c58018ae624866
2166 Author: Simon Feltman <sfeltman@src.gnome.org>
2167 Date: Thu Mar 7 18:07:17 2013 -0800
2169 Fix crash when setting property of type object to an incorrect type
2171 Add type check when marshaling an object from Python for GObject
2173 Add PyGObject_Type as part of the pygobject API to check for this.
2175 https://bugzilla.gnome.org/show_bug.cgi?id=695420
2177 gi/_gobject/gobjectmodule.c | 3 ++-
2178 gi/_gobject/pygobject.h | 2 ++
2179 gi/pygi-marshal-from-py.c | 8 ++++++++
2180 tests/test_object_marshaling.py | 4 ++++
2181 4 files changed, 16 insertions(+), 1 deletion(-)
2183 commit 44587f42224a44a480629223c8d78a426bc32a12
2184 Author: Simon Feltman <sfeltman@src.gnome.org>
2185 Date: Thu Mar 7 17:59:02 2013 -0800
2187 Remove skipping of object property tests
2189 These were showing up as unexpected successes now that bug 675726
2192 https://bugzilla.gnome.org/show_bug.cgi?id=695420
2194 tests/test_object_marshaling.py | 7 ++-----
2195 1 file changed, 2 insertions(+), 5 deletions(-)
2197 commit 10214ba2d96fd6d66eeea159219f585abff8632a
2198 Author: Simon Feltman <sfeltman@src.gnome.org>
2199 Date: Thu Mar 7 15:34:49 2013 -0800
2201 Give more informative error when setting property to incorrect type
2203 https://bugzilla.gnome.org/show_bug.cgi?id=695420
2205 gi/_gobject/pygobject.c | 10 ++++++++--
2206 1 file changed, 8 insertions(+), 2 deletions(-)
2208 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
2209 Author: Martin Pitt <martinpitt@gnome.org>
2210 Date: Tue Mar 5 12:04:55 2013 +0100
2212 Revert "Drop gi.overrides.overridefunc()"
2214 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
2216 like GEdit plugins use @overrides for functions as well, we must
2220 https://bugzilla.gnome.org/show_bug.cgi?id=695199
2222 gi/overrides/Gtk.py | 7 ++++---
2223 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
2224 2 files changed, 26 insertions(+), 5 deletions(-)
2226 commit 862de794bf01a66aa6d796c674bce375cad37ba7
2227 Author: Martin Pitt <martinpitt@gnome.org>
2228 Date: Mon Mar 4 17:33:51 2013 +0100
2230 configure.ac: Post-release bump to 3.7.92
2233 1 file changed, 1 insertion(+), 1 deletion(-)
2235 commit bb12e652d661cf6ce931b44a89c11951894101bf
2236 Author: Martin Pitt <martinpitt@gnome.org>
2237 Date: Mon Mar 4 17:27:50 2013 +0100
2241 NEWS | 33 +++++++++++++++++++++++++++++++++
2242 1 file changed, 33 insertions(+)
2244 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
2245 Author: Martin Pitt <martinpitt@gnome.org>
2246 Date: Mon Mar 4 17:16:22 2013 +0100
2248 Dot not clobber original Gdk/Gtk functions with overrides
2250 https://bugzilla.gnome.org/show_bug.cgi?id=686835
2252 gi/overrides/Gdk.py | 3 ++-
2253 gi/overrides/Gtk.py | 3 ++-
2254 2 files changed, 4 insertions(+), 2 deletions(-)
2256 commit d50d16428edf42799489fe1befbc4ce56f0fa181
2257 Author: Martin Pitt <martinpitt@gnome.org>
2258 Date: Mon Mar 4 15:30:31 2013 +0100
2260 tests: Reorganize GError and GClosure tests
2262 Split TestGClosure.test_gclosure_in() into its three components.
2264 Merge the various TestGError* classes into one, to match the structure
2268 tests/test_gi.py | 59
2269 +++++++++++++++++++++++++-------------------------------
2270 1 file changed, 26 insertions(+), 33 deletions(-)
2272 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
2273 Author: Martin Pitt <martinpitt@gnome.org>
2274 Date: Mon Mar 4 15:16:25 2013 +0100
2276 Fix memory leaks in property setting/getting
2278 Do not leak GValues and string arrays, free them properly. As we
2280 the intermediate GValues, use g_value_dup_boxed() instead of
2281 g_value_get_boxed() when appropriate.
2283 Detected by test_gi.TestPropertiesObject.test_strv test case.
2285 gi/pygi-property.c | 21 ++++++++++++++++-----
2286 1 file changed, 16 insertions(+), 5 deletions(-)
2288 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
2289 Author: Martin Pitt <martinpitt@gnome.org>
2290 Date: Mon Mar 4 12:43:24 2013 +0100
2292 Fix memory leak in pyg_flags_get_value_nicks()
2294 Discovered by test_gi.TestKeywords.test_uppercase() test.
2296 gi/_gobject/pygflags.c | 7 +++++--
2297 1 file changed, 5 insertions(+), 2 deletions(-)
2299 commit 002a834dd993b82508a4fe262269befcf1a6d341
2300 Author: Martin Pitt <martinpitt@gnome.org>
2301 Date: Mon Mar 4 12:10:03 2013 +0100
2303 Fix memory leak in _pygi_argument_to_array()
2305 Free the originally allocated GArray data before setting it to
2309 Discovered by test_gi.TestStructure.test_boxed_struct_return test
2312 gi/pygi-argument.c | 1 +
2313 1 file changed, 1 insertion(+)
2315 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
2316 Author: Martin Pitt <martinpitt@gnome.org>
2317 Date: Mon Mar 4 10:19:34 2013 +0100
2319 Fix leaking inout C arrays
2321 g_*_info_invoke() changes the original state->in_args and state->args
2323 to the output values for (inout) arguments, thus losing the pointer
2325 originally allocated array. Remember that in state->args_data,
2327 free it in _pygi_marshal_cleanup_from_py_array().
2329 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
2331 gi/pygi-marshal-cleanup.c | 6 ++++++
2332 gi/pygi-marshal-from-py.c | 4 ++++
2333 2 files changed, 10 insertions(+)
2335 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
2336 Author: Martin Pitt <martinpitt@gnome.org>
2337 Date: Fri Mar 1 15:12:31 2013 +0100
2339 Fix leak in _PyGI_ERROR_PREFIX()
2341 Properly clean up our allocated py_error_prefix string.
2343 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
2345 gi/pygi-private.h | 1 +
2346 1 file changed, 1 insertion(+)
2348 commit b388c3e87ce86d26560337c88eb33d0a95647db8
2349 Author: Martin Pitt <martinpitt@gnome.org>
2350 Date: Fri Mar 1 15:01:06 2013 +0100
2352 Fix leaking of boxed array elements
2354 Commit 631d8ef879a copies struct array elements, but this needlessly
2356 and leaks the array element for boxed types. So only do it for
2359 This fixes the memory leak with
2360 test_gi.TestGValue.test_gvalue_flat_array_out.
2362 https://bugzilla.gnome.org/show_bug.cgi?id=693402
2364 gi/pygi-marshal-to-py.c | 3 ++-
2365 1 file changed, 2 insertions(+), 1 deletion(-)
2367 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
2368 Author: Martin Pitt <martinpitt@gnome.org>
2369 Date: Fri Mar 1 14:04:34 2013 +0100
2371 Drop gi.overrides.overridefunc()
2373 This just adds an unnecessary extra function call and is not really
2375 Drop it from the only remaining function which uses this
2377 drop overridefunc().
2379 https://bugzilla.gnome.org/show_bug.cgi?id=686835
2381 gi/overrides/Gtk.py | 7 +++----
2382 gi/overrides/__init__.py | 24 ++----------------------
2383 2 files changed, 5 insertions(+), 26 deletions(-)
2385 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
2386 Author: Martin Pitt <martinpitt@gnome.org>
2387 Date: Fri Mar 1 14:02:02 2013 +0100
2389 Add some tests for overridden Gdk/Gtk functions
2391 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
2393 have overrides for them.
2395 tests/test_overrides_gdk.py | 7 +++++++
2396 tests/test_overrides_gtk.py | 15 +++++++++++++++
2397 2 files changed, 22 insertions(+)
2399 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
2400 Author: Martin Pitt <martinpitt@gnome.org>
2401 Date: Fri Mar 1 11:10:01 2013 +0100
2403 Fix GLib.Source ref leak upon destruction
2405 In GLib.Source.__del__(), manually unref the source if we are a
2407 As we use a static binding to create it, the GI part won't unref it
2409 leading to finalize() method not being called and the GSource
2412 https://bugzilla.gnome.org/show_bug.cgi?id=510511
2414 gi/overrides/GLib.py | 4 ++++
2415 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
2416 2 files changed, 35 insertions(+)
2418 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
2419 Author: Martin Pitt <martinpitt@gnome.org>
2420 Date: Thu Feb 28 15:08:56 2013 +0100
2422 Add performance test for Gtk.ListStore.append
2424 We are going to optimize this in various ways, so let's measure it.
2426 tests/test_overrides_gtk.py | 14 ++++++++++++++
2427 1 file changed, 14 insertions(+)
2429 commit b1ff74b085bdca72c272f019be4dd387073a991a
2430 Author: Simon Feltman <sfeltman@src.gnome.org>
2431 Date: Thu Feb 28 04:32:30 2013 -0800
2433 Optimize GValue.get/set_value by setting GValue.g_type to a local
2435 This increases performance by a factor of 2x for types later
2438 https://bugzilla.gnome.org/show_bug.cgi?id=694857
2440 gi/overrides/GObject.py | 98
2441 +++++++++++++++++++++++++------------------------
2442 1 file changed, 51 insertions(+), 47 deletions(-)
2444 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
2445 Author: Martin Pitt <martinpitt@gnome.org>
2446 Date: Thu Feb 28 11:43:47 2013 +0100
2448 Fix leak of caller-allocated boxed values
2450 Add a new "allocated_slice" argument to _pygi_boxed_new() which
2452 whether its "boxed" pointer was allocated using a slice (by giving
2454 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
2458 Use this in _pygi_marshal_to_py_interface_struct() for
2459 caller-allocated boxed
2460 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
2462 which would otherwise leak.
2464 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
2466 https://bugzilla.gnome.org/show_bug.cgi?id=691501
2468 gi/gimodule.c | 2 +-
2469 gi/pygi-argument.c | 2 +-
2470 gi/pygi-boxed.c | 14 ++++++++++----
2471 gi/pygi-boxed.h | 3 ++-
2472 gi/pygi-marshal-to-py.c | 6 ++++--
2473 gi/pygi-source.c | 3 ++-
2474 6 files changed, 20 insertions(+), 10 deletions(-)
2476 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
2477 Author: Martin Pitt <martinpitt@gnome.org>
2478 Date: Thu Feb 28 10:48:18 2013 +0100
2480 Fix memory handling of caller-allocated boxed types
2482 _pygi_marshal_to_py_interface_struct() and other places treat
2484 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
2485 _caller_alloc() and _cleanup_caller_allocates() to consider
2487 subtypes as well and use the slice allocator instead of malloc()'ing
2489 This avoids trying to free an malloc'ed struct with g_slice_free()
2491 cleans up the boxed values.
2493 The leak was produced with:
2495 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
2496 --leak-check=full --show-possibly-lost=no \
2497 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
2498 (s,e) = b.get_bounds()'
2500 gi/pygi-invoke.c | 2 +-
2501 gi/pygi-marshal-cleanup.c | 2 +-
2502 2 files changed, 2 insertions(+), 2 deletions(-)
2504 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
2505 Author: Martin Pitt <martinpitt@gnome.org>
2506 Date: Wed Feb 27 23:21:34 2013 +0100
2508 Fix cleanup of GValue arrays
2510 Commit bc1fd8 introduced a thinko: We must not change
2511 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
2513 change, and instead put the hack into
2514 _pygi_marshal_cleanup_from_py_array(),
2515 which now short-circuits
2516 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
2517 trying to release a slice which has never been allocated in
2518 _pygi_marshal_from_py_array().
2520 https://bugzilla.gnome.org/show_bug.cgi?id=672224
2522 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
2523 gi/pygi-marshal-from-py.c | 10 +++-------
2524 2 files changed, 13 insertions(+), 8 deletions(-)
2526 commit 70118c3840b10e1585d066a4be485c097cd23e99
2527 Author: Martin Pitt <martinpitt@gnome.org>
2528 Date: Wed Feb 27 21:52:43 2013 +0100
2530 Revert "Mark caller-allocated boxed structures as having a slice
2533 This is wrong after all, as it sets slice_allocated to TRUE, but
2535 corresponding size. Also, poking in internal fields from that place
2537 this should rather be fixed in gi/pygi-marshal-cleanup.c
2538 _cleanup_caller_allocates().
2540 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
2542 gi/pygi-marshal-to-py.c | 4 +---
2543 1 file changed, 1 insertion(+), 3 deletions(-)
2545 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
2546 Author: Martin Pitt <martinpitt@gnome.org>
2547 Date: Wed Feb 27 21:51:30 2013 +0100
2549 Run tests with G_SLICE=debug_blocks
2551 This will help finding regressions in slice management, like in
2552 https://bugzilla.gnome.org/show_bug.cgi?id=691501
2554 tests/Makefile.am | 3 ++-
2555 1 file changed, 2 insertions(+), 1 deletion(-)
2557 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
2558 Author: Martin Pitt <martinpitt@gnome.org>
2559 Date: Wed Feb 27 18:30:23 2013 +0100
2561 Add override helper for stripping boolean returns
2563 Introduce a gi.overrides.strip_boolean_result() helper which checks
2565 return value and if True, return the remaining arguments, otherwise
2567 default. This pattern is being used by a lot of overrides, which get
2568 significantly smaller and more consistent that way.
2570 https://bugzilla.gnome.org/show_bug.cgi?id=694431
2572 gi/overrides/Gdk.py | 27 +-------
2573 gi/overrides/Gtk.py | 156
2574 +++++++++--------------------------------------
2575 gi/overrides/__init__.py | 22 +++++++
2576 3 files changed, 53 insertions(+), 152 deletions(-)
2578 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
2579 Author: Martin Pitt <martinpitt@gnome.org>
2580 Date: Wed Feb 27 15:39:23 2013 +0100
2582 Drop obsolete pygobject_register_sinkfunc() declaration
2584 There is no definition for this any more, nor is it being used
2587 https://bugzilla.gnome.org/show_bug.cgi?id=639849
2589 gi/_gobject/pygobject-private.h | 2 --
2590 1 file changed, 2 deletions(-)
2592 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
2593 Author: Martin Pitt <martinpitt@gnome.org>
2594 Date: Wed Feb 27 13:41:55 2013 +0100
2596 Fix marshalling of C arrays with explicit length in signal arguments
2598 We need _pygi_argument_to_array() from both closure marshalling
2600 the arguments as GIArgument array) and signal closure marshalling
2602 have the arguments in a GValue array). Add an alternative
2604 parameter to _pygi_argument_to_array() so that callers can specify
2606 other depending on which type they have available.
2608 This allows us to pass on the full argument list for signal closures,
2610 _pygi_argument_to_array() can access the explicit length argument
2614 This fixes the GSettings:change-event signal.
2616 https://bugzilla.gnome.org/show_bug.cgi?id=662241
2618 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
2619 gi/pygi-argument.h | 1 +
2620 gi/pygi-closure.c | 2 +-
2621 gi/pygi-info.c | 4 ++--
2622 gi/pygi-signal-closure.c | 3 ++-
2623 tests/test_gio.py | 18 ++++++++++++++++++
2624 6 files changed, 52 insertions(+), 12 deletions(-)
2626 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
2627 Author: Martin Pitt <martinpitt@gnome.org>
2628 Date: Wed Feb 27 08:07:20 2013 +0100
2630 Fix signedness, overflow checking, and 32 bit overflow of GFlags
2632 GFlagsValue.value is a guint, so we must access it as unsigned
2634 new macros PYGLIB_PyLong_FromUnsignedLong() and
2635 PYGLIB_PyLong_AsUnsignedLong()
2636 for that purpose, and consistently use them for handling flag
2638 checked variant of these functions which produce OverflowErrors
2640 of the unchecked PYGLIB_PyLong_AS_LONG().
2642 Insert zero padding after the PyLongObject in PyGFlags and
2644 this, the directly adjacent GType field seems to confuse
2645 PyLong_FromUnsignedLong() and includes the GType into the numeric
2648 https://bugzilla.gnome.org/show_bug.cgi?id=693121
2650 gi/_glib/pyglib-python-compat.h | 8 +++++++
2651 gi/_gobject/gobjectmodule.c | 2 +-
2652 gi/_gobject/pygflags.c | 52
2653 +++++++++++++++++++++++++----------------
2654 gi/_gobject/pygobject-private.h | 10 ++++----
2655 gi/_gobject/pygobject.h | 4 ++--
2656 gi/_gobject/pygtype.c | 6 ++---
2657 tests/test_overrides_gdk.py | 15 ++++++++++++
2658 7 files changed, 67 insertions(+), 30 deletions(-)
2660 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
2661 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
2662 Date: Tue Feb 26 16:15:36 2013 +0800
2664 gi/pygi-marshal-from-py.c: Fix build on Visual C++
2666 Since Visual C++ does not provide the INFINITY and NAN constants
2668 math.h (they are items defined by C99), provide fallback
2670 for it here. The INFINITY constant can be provided with HUGE_VAL,
2672 we are using INFINITY to check the value of a variable of double
2674 we could use a rather simple workaround for NAN.
2676 Also avoid declaring variables in the middle of the block.
2678 https://bugzilla.gnome.org/show_bug.cgi?id=692856
2680 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
2681 1 file changed, 18 insertions(+), 1 deletion(-)
2683 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
2684 Author: Martin Pitt <martinpitt@gnome.org>
2685 Date: Tue Feb 26 16:42:19 2013 +0100
2687 Fix some style issues with previous patch
2689 gi/pygi-cache.c | 6 +++---
2690 1 file changed, 3 insertions(+), 3 deletions(-)
2692 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
2693 Author: Martin Pitt <martinpitt@gnome.org>
2694 Date: Tue Feb 26 10:15:22 2013 +0100
2696 Raise DeprecationWarning on deprecated callables
2698 Check if a callable is marked as deprecated and raise a
2699 DeprecationWarning in
2703 - Python hides DeprecationWarning by default, you need to enable
2705 - The deprecation message is currently not in the typelib (bug
2708 https://bugzilla.gnome.org/show_bug.cgi?id=665084
2710 gi/pygi-cache.c | 14 ++++++++++++++
2711 tests/test_gi.py | 10 ++++++++++
2712 2 files changed, 24 insertions(+)
2714 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
2715 Author: Simon Feltman <sfeltman@src.gnome.org>
2716 Date: Mon Feb 18 00:39:45 2013 -0800
2718 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
2720 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
2721 Add Gtk.Widget.window property which uses get_window()
2722 Add Gtk.TextView.scroll_to_mark with defaults
2723 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
2725 https://bugzilla.gnome.org/show_bug.cgi?id=694067
2727 gi/pygtkcompat.py | 2 ++
2728 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
2729 2 files changed, 16 insertions(+)
2731 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
2732 Author: Simon Feltman <sfeltman@src.gnome.org>
2733 Date: Sun Dec 16 02:56:06 2012 -0800
2735 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
2738 Monkey patch a keyword argument version of set_geometry_hints onto
2740 This version is compatible with pygtk and takes keywords instead of a
2741 Gdk.Geometry and Gdk.GeometryMask.
2743 https://bugzilla.gnome.org/show_bug.cgi?id=694067
2745 pygtkcompat/pygtkcompat.py | 44
2746 ++++++++++++++++++++++++++++++++++++++++++++
2747 1 file changed, 44 insertions(+)
2749 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
2750 Author: Martin Pitt <martinpitt@gnome.org>
2751 Date: Tue Feb 26 10:09:47 2013 +0100
2753 tests: Fix warning behaviour
2755 -Werror::* does not seem to do what it says on the tin, these
2757 ignored entirely apparently. Just keep -Wd to actually show all
2759 including DeprecationWarning, which is hidden by default.
2761 tests/Makefile.am | 2 +-
2762 1 file changed, 1 insertion(+), 1 deletion(-)
2764 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
2765 Author: Martin Pitt <martinpitt@gnome.org>
2766 Date: Tue Feb 26 08:49:10 2013 +0100
2768 Ship pygobject.doap for autogen.sh
2770 https://bugzilla.gnome.org/show_bug.cgi?id=694591
2773 1 file changed, 1 insertion(+)
2775 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
2776 Author: Simon Feltman <sfeltman@src.gnome.org>
2777 Date: Tue Feb 19 03:07:19 2013 -0800
2779 Fix crashes in various GObject signal handler functions
2781 Fix crashes in a large amount of signal handler functions exposed
2782 on the GObject module. This is possible now that the underlying
2783 GObject pointer is exposed to Python as a PyCapsule which marshaling
2784 can handle. The following functions in the GObject module have been
2787 signal_handler_unblock
2788 signal_handler_disconnect
2789 signal_handler_is_connected
2790 signal_stop_emission
2791 signal_stop_emission_by_name
2792 signal_has_handler_pending
2793 signal_connect_closure
2794 signal_connect_closure_by_id
2796 signal_handlers_destroy
2798 https://bugzilla.gnome.org/show_bug.cgi?id=633927
2800 gi/_gobject/gobjectmodule.c | 57 ++--------------
2801 gi/overrides/GObject.py | 158
2802 ++++++++++++++++++++++++++++++++++----------
2803 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
2804 3 files changed, 247 insertions(+), 89 deletions(-)
2806 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
2807 Author: Olivier Crête <olivier.crete@collabora.com>
2808 Date: Fri Sep 14 21:29:53 2012 -0400
2810 pygi-closure: Protect the GSList prepend with the GIL
2812 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
2814 https://bugzilla.gnome.org/show_bug.cgi?id=684060
2816 gi/pygi-closure.c | 4 ++--
2817 1 file changed, 2 insertions(+), 2 deletions(-)
2819 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
2820 Author: Simon Feltman <sfeltman@src.gnome.org>
2821 Date: Wed Feb 20 01:21:32 2013 -0800
2823 generictreemodel: Fix bad default return type for get_column_type
2825 pygtkcompat/generictreemodel.py | 2 +-
2826 1 file changed, 1 insertion(+), 1 deletion(-)
2828 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
2829 Author: Martin Pitt <martinpitt@gnome.org>
2830 Date: Tue Feb 19 12:23:13 2013 +0100
2832 configure.ac: post-release bump to 3.7.91
2835 1 file changed, 1 insertion(+), 1 deletion(-)
2837 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
2838 Author: Martin Pitt <martinpitt@gnome.org>
2839 Date: Tue Feb 19 12:19:35 2013 +0100
2843 NEWS | 17 +++++++++++++++++
2845 2 files changed, 18 insertions(+), 1 deletion(-)
2847 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
2848 Author: Simon Feltman <sfeltman@src.gnome.org>
2849 Date: Mon Feb 18 01:46:22 2013 -0800
2851 overrides: Fix inconsistencies with drag and drop target list API
2853 Add support to Gtk.Widget.drag_dest_set_target_list and
2854 Gtk.Widget.drag_source_set_target_list to accept iterables containing
2855 mixed TargetEntry or a tuple of (target, flags, info).
2856 Add support to Gtk.TreeView.enable_model_drag_source and
2857 Gtk.TreeView.enable_model_drag_dest to accept a list of
2861 https://bugzilla.gnome.org/show_bug.cgi?id=680640
2863 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
2864 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
2865 2 files changed, 61 insertions(+), 11 deletions(-)
2867 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
2868 Author: Simon Feltman <sfeltman@src.gnome.org>
2869 Date: Mon Feb 18 03:19:34 2013 -0800
2871 tests: Add test_marshaling_object to Makefile.am
2873 tests/Makefile.am | 1 +
2874 1 file changed, 1 insertion(+)
2876 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
2877 Author: Simon Feltman <s.feltman@gmail.com>
2878 Date: Wed Aug 29 03:46:23 2012 -0700
2880 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
2882 Add Python implementation of the GenericTreeModel that was
2883 available in pygtk. The implementation attempts a better job
2884 than the original at ref counting by guaranteeing no leaks
2885 upon deletion of the model itself. Or by using the extra "node"
2886 argument to the row_deleted signal. The model is available in
2887 the pygtkcompat package directly as
2888 pygtkcompat.generictreemodel.GenericTreeModel or with as
2889 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
2891 Add file list and tree demos making use of GenericTreeModel
2894 Auto-expand gtk-demo app tree to give a better overview of
2895 the demos available.
2897 https://bugzilla.gnome.org/show_bug.cgi?id=682933
2899 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
2900 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
2901 demos/gtk-demo/gtk-demo.py | 2 +-
2902 gi/pygtkcompat.py | 2 +-
2903 pygtkcompat/Makefile.am | 1 +
2904 pygtkcompat/generictreemodel.py | 420
2905 +++++++++++++++++++++
2906 pygtkcompat/pygtkcompat.py | 3 +
2907 tests/Makefile.am | 1 +
2908 tests/test_generictreemodel.py | 406
2909 ++++++++++++++++++++
2910 9 files changed, 1346 insertions(+), 2 deletions(-)
2912 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
2913 Author: Simon Feltman <sfeltman@src.gnome.org>
2914 Date: Mon Feb 18 02:54:14 2013 -0800
2916 overrides: Add support for iterables besides tuples for TreePath
2919 Allow Gtk.TreePath to accept any iterable for creation of the path.
2921 https://bugzilla.gnome.org/show_bug.cgi?id=682933
2923 gi/overrides/Gtk.py | 2 +-
2924 1 file changed, 1 insertion(+), 1 deletion(-)
2926 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
2927 Author: Simon Feltman <sfeltman@src.gnome.org>
2928 Date: Fri Feb 15 22:56:29 2013 -0800
2930 Unify Python callable to GClosure GI marshaling code
2932 Add pygi_marshal_from_py_gclosure which can be used for direct
2934 call args and vfunc out args.
2936 https://bugzilla.gnome.org/show_bug.cgi?id=693405
2938 gi/pygi-argument.c | 14 +-----------
2939 gi/pygi-marshal-from-py.c | 55
2940 ++++++++++++++++++++++++++++-------------------
2941 gi/pygi-marshal-from-py.h | 3 +++
2942 3 files changed, 37 insertions(+), 35 deletions(-)
2944 commit 9e47afe459df942d9ffc4f71b39f1443976293df
2945 Author: Simon Feltman <sfeltman@src.gnome.org>
2946 Date: Fri Feb 15 20:56:12 2013 -0800
2948 Unify Python object to GValue GI marshaling code
2950 Add pygi_marshal_from_py_g_value which can be used for direct
2952 call args and vfunc out args. The new method also adds an
2954 parameter that will be used to fix leaks in the future.
2956 https://bugzilla.gnome.org/show_bug.cgi?id=693405
2958 gi/pygi-argument.c | 43 +++++++--------------------
2959 gi/pygi-marshal-from-py.c | 74
2960 ++++++++++++++++++++++++++++++++---------------
2961 gi/pygi-marshal-from-py.h | 5 ++++
2962 3 files changed, 65 insertions(+), 57 deletions(-)
2964 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
2965 Author: Simon Feltman <sfeltman@src.gnome.org>
2966 Date: Fri Feb 15 23:07:57 2013 -0800
2968 Rename pygi_marshal_from_py_object to make it more explicit
2970 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
2971 to make it more explicit and give consistency with future refactoring.
2973 https://bugzilla.gnome.org/show_bug.cgi?id=693405
2975 gi/pygi-argument.c | 2 +-
2976 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
2977 gi/pygi-marshal-from-py.h | 6 +++---
2978 3 files changed, 17 insertions(+), 13 deletions(-)
2980 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
2981 Author: Niklas Koep <niklas.koep@gmail.com>
2982 Date: Fri Feb 15 21:23:01 2013 -0800
2984 Prefix __module__ attribute of function objects with gi.repository
2986 This allows gi module methods to work with pydoc and help().
2987 Additionally correct typo in two docstrings of the same module.
2989 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
2991 https://bugzilla.gnome.org/show_bug.cgi?id=693839
2993 gi/overrides/__init__.py | 3 ++-
2994 gi/types.py | 6 +++---
2995 2 files changed, 5 insertions(+), 4 deletions(-)
2997 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
2998 Author: Jonathan Ballet <jon@multani.info>
2999 Date: Thu Feb 14 07:50:02 2013 +0100
3001 configure.ac: only enable code coverage when available
3003 When building with an older gnome-common which does not yet provide
3005 coverage support, disable it instead of breaking the configure script.
3007 https://bugzilla.gnome.org/show_bug.cgi?id=693328
3009 configure.ac | 10 +++++++++-
3010 1 file changed, 9 insertions(+), 1 deletion(-)
3012 commit 42cbff60e2032f715d9be6ab280954211899e03c
3013 Author: Jonathan Ballet <jon@multani.info>
3014 Date: Tue Feb 12 23:03:00 2013 +0100
3016 Correctly set properties on object with statically defined properties
3018 Fix failures in GObject.Object.set_properties() when used with
3019 statically defined properties:
3021 * Calling the method was raising a "SystemError: error return without
3022 exception set" since `result` was (most of the time) still NULL at the
3023 end of pygobject_set_properties()
3025 * Calling the method with several properties would only set one of
3026 the properties, since the function was exiting too early.
3028 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
3030 https://bugzilla.gnome.org/show_bug.cgi?id=693618
3032 gi/_gobject/pygobject.c | 19 +++++++++++--------
3033 tests/test_gi.py | 6 ++++++
3034 2 files changed, 17 insertions(+), 8 deletions(-)
3036 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
3037 Author: Martin Pitt <martinpitt@gnome.org>
3038 Date: Mon Feb 11 18:08:37 2013 +0100
3040 autogen.sh: Use gnome-autogen.sh
3042 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
3044 in a much better error message when gnome-common is not installed,
3047 https://bugzilla.gnome.org/show_bug.cgi?id=693328
3049 autogen.sh | 30 +++++++++++++++++-------------
3050 1 file changed, 17 insertions(+), 13 deletions(-)
3052 commit c107bb1f9275a748b494d3f32818f227e07cadf0
3053 Author: Christoph Reiter <christoph.reiter@gmx.at>
3054 Date: Mon Feb 11 10:07:47 2013 +0100
3056 GTK tests: Add and use context manager for realized widgets
3058 https://bugzilla.gnome.org/show_bug.cgi?id=693377
3060 tests/test_overrides_gtk.py | 91
3061 +++++++++++++++++++++++++--------------------
3062 1 file changed, 50 insertions(+), 41 deletions(-)
3064 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
3065 Author: Martin Pitt <martinpitt@gnome.org>
3066 Date: Mon Feb 11 08:55:19 2013 +0100
3068 _pygi_marshal_from_py_array: Fix uninitialized variable
3070 gi/pygi-marshal-from-py.c | 2 +-
3071 1 file changed, 1 insertion(+), 1 deletion(-)
3073 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
3074 Author: Christoph Reiter <christoph.reiter@gmx.at>
3075 Date: Mon Feb 11 08:34:42 2013 +0100
3077 Skip some vfunc tests with gi 1.34
3079 https://bugzilla.gnome.org/show_bug.cgi?id=693374
3081 tests/test_object_marshaling.py | 14 ++++++++++++++
3082 1 file changed, 14 insertions(+)
3084 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
3085 Author: Simon Feltman <sfeltman@src.gnome.org>
3086 Date: Sun Feb 10 13:40:45 2013 -0800
3088 Remove workaround for g_struct_info_get_size reporting incorrect size
3090 Remove workaround for g_struct_info_get_size reporting incorrect size
3091 for boxed GValues. Verified this now returns the correct size of 24.
3093 https://bugzilla.gnome.org/show_bug.cgi?id=622711
3095 gi/pygi-boxed.c | 31 +++++++++++++------------------
3096 1 file changed, 13 insertions(+), 18 deletions(-)
3098 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
3099 Author: Simon Feltman <sfeltman@src.gnome.org>
3100 Date: Mon Feb 4 20:50:10 2013 -0800
3102 Fix reference leaks with transient floating objects
3104 Unify and refactor caller and callee GObject argument marshalers.
3105 Combine code from the large switch statement used to marshal
3106 arguments to and from vfuncs/closures with the marshalers used
3107 for direct calls to gi functions. This fixes a reference leak
3108 when marshalling GObjects to Python with transfer=full due to
3109 the diverging code paths.
3110 Replace ability in gobject_new_full to optionally sink objects
3111 with ability to optionaly "steal" objects. This fits the premise
3112 that binding layers should always sink objects initially. The
3113 steal argument is then used for marshalling arguments which are
3115 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
3117 https://bugzilla.gnome.org/show_bug.cgi?id=687522
3119 gi/_gobject/gobjectmodule.c | 10 +++++--
3120 gi/_gobject/pygobject-private.h | 2 +-
3121 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
3122 gi/_gobject/pygobject.h | 8 ++++--
3123 gi/pygi-argument.c | 52 +++++++++++++++++------------------
3124 gi/pygi-marshal-from-py.c | 61
3125 +++++++++++++++++++++++++++++++++++++----
3126 gi/pygi-marshal-from-py.h | 6 ++++
3127 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
3128 gi/pygi-marshal-to-py.h | 5 ++++
3129 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
3130 10 files changed, 181 insertions(+), 97 deletions(-)
3132 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
3133 Author: Simon Feltman <sfeltman@src.gnome.org>
3134 Date: Wed Feb 6 12:56:44 2013 -0800
3136 tests: Fix spelling mistakes in new vfunc object marshalling tests
3138 tests/test_object_marshaling.py | 12 ++++++------
3139 1 file changed, 6 insertions(+), 6 deletions(-)
3141 commit cd96fd8b8e10add9890f36ec237bb78548de7002
3142 Author: Martin Pitt <martinpitt@gnome.org>
3143 Date: Tue Feb 5 07:53:38 2013 +0100
3145 configure.ac: post-release bump to 3.7.6
3148 1 file changed, 1 insertion(+), 1 deletion(-)
3150 commit 92b1404e61f46348168f32720eff4a482531e5e3
3151 Author: Martin Pitt <martinpitt@gnome.org>
3152 Date: Tue Feb 5 07:46:46 2013 +0100
3158 2 files changed, 4 insertions(+), 1 deletion(-)
3160 commit a3a30559240077194f23c4651d6f382fa59b7d63
3161 Author: Simon Feltman <sfeltman@src.gnome.org>
3162 Date: Mon Feb 4 15:16:37 2013 -0800
3164 Fix API break with pygobject.h
3166 Move pygobject_new_full after everything in the public API table.
3167 This fixes a break that went in along with bug 675726.
3169 https://bugzilla.gnome.org/show_bug.cgi?id=675726
3171 gi/_gobject/gobjectmodule.c | 5 +++--
3172 gi/_gobject/pygobject.h | 2 +-
3173 2 files changed, 4 insertions(+), 3 deletions(-)
3175 commit b3ca7e27494c35620995840d777037a097082661
3176 Author: Martin Pitt <martinpitt@gnome.org>
3177 Date: Mon Feb 4 19:53:26 2013 +0100
3179 configure.ac: post-release bump to 3.7.6
3182 1 file changed, 1 insertion(+), 1 deletion(-)
3184 commit 77f638411314218748f349b337a36e2864eed1f4
3185 Author: Martin Pitt <martinpitt@gnome.org>
3186 Date: Mon Feb 4 19:37:14 2013 +0100
3190 NEWS | 24 ++++++++++++++++++++++++
3191 1 file changed, 24 insertions(+)
3193 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
3194 Author: Simon Feltman <sfeltman@src.gnome.org>
3195 Date: Sun Feb 3 23:56:14 2013 -0800
3197 Fix pointer cast warning that was missed in bug 675726
3199 https://bugzilla.gnome.org/show_bug.cgi?id=675726
3201 gi/_gobject/pygobject.h | 2 +-
3202 1 file changed, 1 insertion(+), 1 deletion(-)
3204 commit b31d8a952cd57dc92b06a381e054199660a2d570
3205 Author: Simon Feltman <sfeltman@src.gnome.org>
3206 Date: Thu Jan 31 02:35:36 2013 -0800
3208 Move various signal methods from static bindings to gi and python
3210 Move disconnect, handler_is_connected, handler_block, handler_unblock,
3211 and stop_emission from static to gi python overrides.
3213 https://bugzilla.gnome.org/show_bug.cgi?id=692918
3215 gi/_gobject/pygobject.c | 90
3216 -------------------------------------------------
3217 gi/overrides/GObject.py | 44 +++++++++++++++++-------
3218 tests/test_signal.py | 19 ++++++-----
3219 3 files changed, 42 insertions(+), 111 deletions(-)
3221 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
3222 Author: Paolo Borelli <pborelli@gnome.org>
3223 Date: Fri Feb 1 21:09:26 2013 +0100
3225 GLib overrides: Support unpacking 'maybe' variants
3227 Automatically unpack 'maybe' variants to None or to their actual value
3228 as we do for other kind of variants
3230 https://bugzilla.gnome.org/show_bug.cgi?id=693032
3232 gi/overrides/GLib.py | 5 +++++
3233 tests/test_overrides_glib.py | 8 ++++++++
3234 2 files changed, 13 insertions(+)
3236 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
3237 Author: Mike Gorse <mgorse@suse.com>
3238 Date: Mon Jan 21 16:45:52 2013 -0600
3240 Fix ref count leak when creating pygobject wrappers for input args
3242 Only sink input references for closures and vfuncs when transfer is
3243 everything. This fixes cases where incoming floating references for
3244 callbacks need to maintain their floating state throughout the
3245 callback so they don't leak a strong reference. Re-introduce a
3246 working "sink" argument to pygobject_new_full which allows for this.
3247 Change existing callers to always sink in order maintain behavior.
3249 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
3251 https://bugzilla.gnome.org/show_bug.cgi?id=675726
3253 gi/_gobject/gobjectmodule.c | 5 +--
3254 gi/_gobject/pygobject.c | 7 ++--
3255 gi/_gobject/pygobject.h | 2 ++
3256 gi/pygi-argument.c | 13 +++----
3257 tests/test_object_marshaling.py | 76
3258 +++++++++++++++++++++++++++++++++++++----
3259 5 files changed, 85 insertions(+), 18 deletions(-)
3261 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
3262 Author: Simon Feltman <sfeltman@src.gnome.org>
3263 Date: Thu Jan 31 01:50:44 2013 -0800
3265 Add tests for signal stop_emission, disconnect, and
3266 handler_is_connected
3268 Add tests for methods which will be moving from static bindings to gi
3269 by using the new __gpointer__ attribute of GObject.
3271 https://bugzilla.gnome.org/show_bug.cgi?id=692918
3273 tests/test_signal.py | 51
3274 ++++++++++++++++++++++++++++++++++++++++++++++++++-
3275 1 file changed, 50 insertions(+), 1 deletion(-)
3277 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
3278 Author: Simon Feltman <sfeltman@src.gnome.org>
3279 Date: Wed Jan 30 21:37:07 2013 -0800
3281 Add __gpointer__ property to GObject static binding
3283 Add access to the underlying C GObject pointer by wrapping it in a
3284 PyCapsule/PyCPointer and exposing it as __gpointer__.
3285 Add special case marshaling for gi parameters annotated as gpointer
3286 to accept a PyCapsule and extract the underlying pointer as the arg.
3287 This allows usage of methods like GObject.signal_handler_disconnect
3288 which we can start replacing the static bindings with.
3290 https://bugzilla.gnome.org/show_bug.cgi?id=692918
3292 gi/_gobject/pygobject.c | 11 +++++++++--
3293 gi/pygi-marshal-from-py.c | 6 +++++-
3294 2 files changed, 14 insertions(+), 3 deletions(-)
3296 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
3297 Author: Simon Feltman <sfeltman@src.gnome.org>
3298 Date: Sun Jan 27 01:22:37 2013 -0800
3300 Prefix names of typeless enums and flags for GType registration
3302 Prefix names given to g_flags_register_static and
3303 g_enum_register_static
3304 with "Py". This avoids conflicts with GTypes of the same name being
3305 registered later by a library which does not provide a "get-type"
3308 https://bugzilla.gnome.org/show_bug.cgi?id=692515
3310 gi/gimodule.c | 10 ++++++++--
3311 tests/test_gi.py | 4 ++--
3312 2 files changed, 10 insertions(+), 4 deletions(-)
3314 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
3315 Author: Simon Feltman <sfeltman@src.gnome.org>
3316 Date: Wed Jan 30 04:35:32 2013 -0800
3318 Add tests for vfunc object arguments and returns
3320 Add tests which use different combinations of floating, transfer full,
3321 transfer none, and held wrapper as in, out, or return arguments
3323 Most of these are marked as skip or expectedFailure due to various
3327 https://bugzilla.gnome.org/show_bug.cgi?id=687522
3329 gi/overrides/GObject.py | 15 +-
3330 tests/test_object_marshaling.py | 540
3331 ++++++++++++++++++++++++++++++++++++++++
3332 2 files changed, 550 insertions(+), 5 deletions(-)
3334 commit 73a83186329ede7702501d5bc49df269482461e4
3335 Author: Paolo Borelli <pborelli@gnome.org>
3336 Date: Wed Jan 30 17:48:12 2013 +0100
3338 Cosmetic fix to last patch
3340 gi/pygi-argument.c | 7 +++++--
3341 1 file changed, 5 insertions(+), 2 deletions(-)
3343 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
3344 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3345 Date: Fri Jan 25 13:05:18 2013 +0800
3347 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
3349 Drop the array forward static declarations. They are not necessary
3353 Also move declarations of variables to the top of their respective
3356 https://bugzilla.gnome.org/show_bug.cgi?id=692856
3358 gi/pygi-info.c | 18 ++++++++++--------
3359 gi/pygi-repository.c | 2 --
3360 2 files changed, 10 insertions(+), 10 deletions(-)
3362 commit 2e7c458ef6377a872043634b47737ef12eed744a
3363 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3364 Date: Fri Jan 25 13:00:48 2013 +0800
3366 Move variable declaration to top of blocks (C99ism)
3368 Move variable declarations to the top of their respective blocks,
3370 code will build under C89 compilers such as Visual C++.
3372 https://bugzilla.gnome.org/show_bug.cgi?id=692856
3374 gi/pygi-argument.c | 10 ++++++----
3375 gi/pygi-closure.c | 23 +++++++++++++++--------
3376 gi/pygi-invoke.c | 3 ++-
3377 gi/pygi-marshal-cleanup.c | 3 ++-
3378 gi/pygi-property.c | 3 ++-
3379 5 files changed, 27 insertions(+), 15 deletions(-)
3381 commit 20fc5aa7514215fc7807adceb603d17f7943304a
3382 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3383 Date: Fri Jan 25 12:58:26 2013 +0800
3385 gi/pygobject-external.h: Remove GCCism
3387 We can use G_GNUC_UNUSED from GLib that does the same purpose of
3388 __attribute__ ( (unused)) when we are using a GCC that provides this.
3390 The GLib headers that defines that macro should have already been
3392 before this header is included (due to use of gboolean).
3394 https://bugzilla.gnome.org/show_bug.cgi?id=692856
3396 gi/pygobject-external.h | 2 +-
3397 1 file changed, 1 insertion(+), 1 deletion(-)
3399 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
3400 Author: Martin Pitt <martinpitt@gnome.org>
3401 Date: Wed Jan 30 14:59:11 2013 +0100
3403 tests: Update test_double() after e65c1248
3405 Commit e65c1248 introduced support for NaN and ±inf as valid
3407 rendering the "expect ValueError on 2*double" check broken. Just
3410 tests/test_everything.py | 1 -
3411 1 file changed, 1 deletion(-)
3413 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
3414 Author: Martin Pitt <martinpitt@gnome.org>
3415 Date: Wed Jan 23 07:14:16 2013 +0100
3417 Do not immediately initialize Gdk and Gtk on import
3419 Raising an exception if Gdk/Gtk cannot be imported makes it
3421 merely import a module for e. g. nosetests without actually running
3424 Programs who want to provide a proper error message should check
3425 Gtk.initialized explicitly after importing. Check initialized
3427 Window.__init__() instead to provide a reasonably early error message
3431 https://bugzilla.gnome.org/show_bug.cgi?id=692300
3433 gi/overrides/Gdk.py | 2 --
3434 gi/overrides/Gtk.py | 5 +++--
3435 2 files changed, 3 insertions(+), 4 deletions(-)
3437 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
3438 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3439 Date: Fri Jan 25 12:49:18 2013 +0800
3441 gi/overrides/Glib.py: Fix running on Windows/non-Unix
3443 The definition of self._signal_source uses a Unix-specific GLib
3445 does not exist or have a direct equivilant on Windows.
3447 Only define and use that variable when we aren't on Windows.
3449 gi/overrides/GLib.py | 18 ++++++++++--------
3450 1 file changed, 10 insertions(+), 8 deletions(-)
3452 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
3453 Author: Martin Pitt <martinpitt@gnome.org>
3454 Date: Wed Jan 23 14:56:02 2013 +0100
3456 Accept ±inf and NaN as float and double values
3458 Also fix the broken error message when a float value is out of range.
3459 PyErr_Format() does not support float macros.
3461 https://bugzilla.gnome.org/show_bug.cgi?id=692381
3463 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
3464 tests/test_gobject.py | 14 ++++++++++++++
3465 2 files changed, 33 insertions(+), 18 deletions(-)
3467 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
3468 Author: Martin Pitt <martinpitt@gnome.org>
3469 Date: Wed Jan 23 14:28:42 2013 +0100
3471 Fix repr() of GLib.Variant
3473 When using a standard constructor like GLib.Variant.new_*(), the
3475 not have a format_string property, and previously repr() would
3477 to get_type_string() instead.
3479 Also drop the unintended type annotations in repr().
3481 gi/overrides/GLib.py | 6 +++++-
3482 tests/test_overrides_glib.py | 15 ++++++++++++++-
3483 2 files changed, 19 insertions(+), 2 deletions(-)
3485 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
3486 Author: Martin Pitt <martinpitt@gnome.org>
3487 Date: Wed Jan 23 14:14:29 2013 +0100
3489 Fix gtk-demo for Python 3
3491 It was crashing with
3493 package = __import__(packagename, globals(), locals(),
3495 ValueError: level must be >= 0
3497 Using level zero works with both Python 2 and 3.
3499 demos/gtk-demo/gtk-demo.py | 2 +-
3500 1 file changed, 1 insertion(+), 1 deletion(-)
3502 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
3503 Author: Colin Walters <walters@verbum.org>
3504 Date: Tue Jan 22 10:49:57 2013 -0500
3506 build: Add autogen.sh to EXTRA_DIST
3508 So downstreams that patch the autotools can use it.
3511 1 file changed, 1 insertion(+)
3513 commit ed7fb99efa81854d947ae548d41a03f5275c5884
3514 Author: Martin Pitt <martinpitt@gnome.org>
3515 Date: Thu Jan 17 08:23:02 2013 +0100
3517 Define GObject.TYPE_VALUE gtype constant
3519 gi/overrides/GObject.py | 4 +++-
3520 tests/test_gobject.py | 4 ++++
3521 2 files changed, 7 insertions(+), 1 deletion(-)
3523 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
3524 Author: Olivier Crête <olivier.crete@collabora.com>
3525 Date: Mon Sep 17 15:37:04 2012 -0400
3527 gobject: Go through introspection on property setting
3529 Consider introspected properties in object.set_property().
3531 https://bugzilla.gnome.org/show_bug.cgi?id=684062
3533 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
3534 tests/test_properties.py | 13 ++++++++++---
3535 2 files changed, 27 insertions(+), 4 deletions(-)
3537 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
3538 Author: Mike Gorse <mgorse@suse.com>
3539 Date: Tue Jan 15 20:04:46 2013 -0600
3541 Clean up caller-allocated GValues and their memory
3543 When space for a GValue is allocated by the caller (as in
3544 gtk_tree_model_get_value), we need to free the space allocated for the
3545 value along with its contents. The GValue is not needed after
3546 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
3547 have it unset the value and deallocate the memory.
3549 https://bugzilla.gnome.org/show_bug.cgi?id=691820
3551 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
3552 1 file changed, 18 insertions(+), 2 deletions(-)
3554 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
3555 Author: Dmitry Shachnev <mitya57@ubuntu.com>
3556 Date: Wed Jan 16 13:44:42 2013 +0400
3558 tests: define correct unittest.skipIf for python 2.6
3560 tests/runtests.py | 2 +-
3561 1 file changed, 1 insertion(+), 1 deletion(-)
3563 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
3564 Author: Martin Pitt <martinpitt@gnome.org>
3565 Date: Wed Jan 16 09:17:13 2013 +0100
3567 tests: More robust tree view realization
3569 With current GNOME git head, the Gtk.TreeViews were not realized
3571 more to receive property values. Put them into a Gtk.Dialog now and
3573 ensure that they are realized.
3575 tests/test_overrides_gtk.py | 16 ++++++++++------
3576 1 file changed, 10 insertions(+), 6 deletions(-)
3578 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
3579 Author: Martin Pitt <martinpitt@gnome.org>
3580 Date: Tue Jan 15 10:42:49 2013 +0100
3582 Drop deprecated g_thread_create()
3584 Replace with g_thread_new(). This is available with glib >= 2.32,
3586 already require >= 2.34.
3588 tests/test-thread.c | 3 +--
3589 1 file changed, 1 insertion(+), 2 deletions(-)
3591 commit 98504273dead9eade6e53c2297bcaec7bea6265a
3592 Author: Martin Pitt <martinpitt@gnome.org>
3593 Date: Tue Jan 15 10:37:52 2013 +0100
3595 Drop usage of deprecated GStaticPrivate
3597 Replace with GPrivate.
3599 gi/_gobject/gobjectmodule.c | 6 +++---
3600 1 file changed, 3 insertions(+), 3 deletions(-)
3602 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
3603 Author: Martin Pitt <martinpitt@gnome.org>
3604 Date: Tue Jan 15 10:29:47 2013 +0100
3606 Don't call g_type_init() with glib >= 2.35.x
3608 This fixes a deprecation warning.
3610 gi/_gobject/gobjectmodule.c | 2 ++
3611 1 file changed, 2 insertions(+)
3613 commit 206e736380ba798c68de09f661d75c8e27451117
3614 Author: Martin Pitt <martinpitt@gnome.org>
3615 Date: Tue Jan 15 09:47:11 2013 +0100
3617 Use GNOME_COMPILE_WARNINGS from gnome-common
3619 As we are now using gnome-common anyway for the code coverage macro,
3621 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
3625 This also enables -Wstrict-prototypes.
3627 configure.ac | 14 ++++----------
3628 1 file changed, 4 insertions(+), 10 deletions(-)
3630 commit 137679426ff39507e15f08e9e6428d851fee06b7
3631 Author: Martin Pitt <martinpitt@gnome.org>
3632 Date: Tue Jan 15 09:46:01 2013 +0100
3634 Fix function prototypes and static functions
3636 These cause errors/warnings with -Wstrict-prototypes.
3638 gi/_glib/pyglib-python-compat.h | 2 ++
3639 gi/pygi-foreign.c | 2 +-
3640 gi/pygi-marshal-from-py.c | 4 ++--
3641 gi/pygi-marshal-to-py.c | 4 ++--
3642 gi/pygi-source.c | 2 +-
3643 gi/pygi-source.h | 2 +-
3644 6 files changed, 9 insertions(+), 7 deletions(-)
3646 commit d47927f1701a11aec8566425f22688c5df73d7f2
3647 Author: Martin Pitt <martinpitt@gnome.org>
3648 Date: Mon Jan 14 17:38:23 2013 +0100
3650 configure.ac: post-release bump to 3.7.5
3653 1 file changed, 1 insertion(+), 1 deletion(-)
3655 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
3656 Author: Martin Pitt <martinpitt@gnome.org>
3657 Date: Mon Jan 14 17:30:48 2013 +0100
3661 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
3662 1 file changed, 38 insertions(+)
3664 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
3665 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
3666 Date: Tue Dec 4 15:45:00 2012 +0200
3668 Allow setting values through GtkTreeModelFilter
3670 Previously, trying to set a value through filter throwed an exception
3672 model has no set_value() method. You had to first retrieve the
3674 model and set value to it.
3676 https://bugzilla.gnome.org/show_bug.cgi?id=689624
3678 gi/overrides/Gtk.py | 5 +++++
3679 tests/test_overrides_gtk.py | 11 +++++++++++
3680 2 files changed, 16 insertions(+)
3682 commit b092630efc691a6f7ae94ae896193254f5a961a6
3683 Author: Martin Pitt <martinpitt@gnome.org>
3684 Date: Mon Jan 14 12:37:18 2013 +0100
3686 tests: Add (failing) test case for GParamSpec arguments
3689 https://bugzilla.gnome.org/show_bug.cgi?id=682355
3691 tests/test_gi.py | 9 +++++++++
3692 1 file changed, 9 insertions(+)
3694 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
3695 Author: Martin Pitt <martinpitt@gnome.org>
3696 Date: Mon Jan 14 12:20:27 2013 +0100
3698 tests: Skip struct string member tests with g-i 1.34
3700 We still support building against gobject-introspection 1.34, so
3702 which do not work with that version yet.
3704 tests/test_gi.py | 8 ++++++++
3705 1 file changed, 8 insertions(+)
3707 commit f9429192cb1002725a11a75a7b8f9300375b9caf
3708 Author: Martin Pitt <martinpitt@gnome.org>
3709 Date: Mon Jan 14 12:15:27 2013 +0100
3711 Support GParamSpec signal arguments from Python
3713 In pyg_value_from_pyobject(), recognize both the real GI
3714 GObject.ParamSpec type
3715 as well as the statically wrapped _gobject.GParamSpec type.
3717 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
3719 https://bugzilla.gnome.org/show_bug.cgi?id=683099
3721 gi/_gobject/pygtype.c | 6 +++++-
3722 tests/test_signal.py | 12 ++++++++++++
3723 tests/testhelpermodule.c | 13 +++++++++++++
3724 3 files changed, 30 insertions(+), 1 deletion(-)
3726 commit 99f72925c7de76611f7592bce9d8217a9ff46809
3727 Author: Martin Pitt <martinpitt@gnome.org>
3728 Date: Mon Jan 14 11:48:11 2013 +0100
3730 pygobject_emit(): Fix cleanup on error
3732 Dot not try to unset GValues which have not been initialized yet,
3734 conversion fails for a parameter.
3736 gi/_gobject/pygobject.c | 8 ++++----
3737 1 file changed, 4 insertions(+), 4 deletions(-)
3739 commit acef1d3266d11b2465d61185a55526df879a5c62
3740 Author: Simon Feltman <sfeltman@src.gnome.org>
3741 Date: Mon Dec 31 19:01:57 2012 -0800
3743 Add signal emission methods to TreeModel which coerce the path
3746 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
3747 row_deleted, and rows_reordered methods to accept python iterables as
3748 the path parameter. This is for compatibility with pygtk and
3750 with the rest of the TreeModel and TreePath overrides.
3752 https://bugzilla.gnome.org/show_bug.cgi?id=682933
3754 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
3755 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
3756 2 files changed, 55 insertions(+), 3 deletions(-)
3758 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
3759 Author: Martin Pitt <martinpitt@gnome.org>
3760 Date: Mon Jan 14 10:36:36 2013 +0100
3762 Simplify overrides and tests using the new GObject.Value override
3764 The previous commit added support for constructing a GObject.Value
3766 GType and Python object conversion. Use this to simplify the Gtk
3768 the tests that construct GValues.
3770 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
3772 gi/overrides/Gtk.py | 88
3773 +++------------------------------------------
3774 tests/test_gi.py | 26 +++++---------
3775 tests/test_overrides_gtk.py | 2 +-
3776 tests/test_signal.py | 12 ++-----
3777 4 files changed, 17 insertions(+), 111 deletions(-)
3779 commit f62b98398177991bfdbe0b6753342e79e6cf170a
3780 Author: Bastian Winkler <buz@netbuz.org>
3781 Date: Mon Jan 14 10:26:08 2013 +0100
3783 Add override for GValue
3785 Override GValue with a custom constructor and set_value()/get_value()
3786 methods. This allows you to call
3788 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
3792 >>> value = GObject.Value()
3793 >>> value.init(GObject.TYPE_FLOAT)
3794 >>> value.set_float(42.23)
3796 This is especially useful for overrides that need to convert a Python
3797 value to a expected type like G_TYPE_FLOAT.
3799 https://bugzilla.gnome.org/show_bug.cgi?id=677473
3801 gi/overrides/GObject.py | 127
3802 +++++++++++++++++++++++++++++++++++++++++++++++-
3803 tests/test_gobject.py | 47 +++++++++++++++++-
3804 2 files changed, 172 insertions(+), 2 deletions(-)
3806 commit dc3d21173b75232f7ea0b9913f7309486456a69d
3807 Author: Mike Gorse <mgorse@suse.com>
3808 Date: Thu Jan 10 15:48:30 2013 -0600
3810 Mark caller-allocated boxed structures as having a slice allocated
3812 When a C function takes a pointer and fills it with a boxed structure
3814 gtk_tree_store_insert_with_values), pygi should deallocate the slice
3816 box is no longer being used.
3818 https://bugzilla.gnome.org/show_bug.cgi?id=699501
3820 gi/pygi-marshal-to-py.c | 4 +++-
3821 1 file changed, 3 insertions(+), 1 deletion(-)
3823 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
3824 Author: Olivier Crête <olivier.crete@collabora.com>
3825 Date: Fri Sep 14 21:31:32 2012 -0400
3827 pygi-property: Support boxed GSList/GList types
3829 Note that this does not yet work for construct properties.
3831 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
3833 https://bugzilla.gnome.org/show_bug.cgi?id=684059
3835 gi/pygi-property.c | 10 ++++++++--
3836 tests/test_gi.py | 21 +++++++++++++++++++++
3837 2 files changed, 29 insertions(+), 2 deletions(-)
3839 commit 074f10d815453e58f4bee2f440c5db799add3876
3840 Author: Martin Pitt <martinpitt@gnome.org>
3841 Date: Mon Jan 14 07:48:31 2013 +0100
3843 test_gio: Fix for Python 2
3845 Python 2 does not yet take an "encoding" argument for str(), while
3847 requires it. Use a less fancy static test string instead.
3849 tests/test_gio.py | 2 +-
3850 1 file changed, 1 insertion(+), 1 deletion(-)
3852 commit 734979d0c8317201148a7e94a323225fba2d1635
3853 Author: Martin Pitt <martinpitt@gnome.org>
3854 Date: Mon Jan 14 07:40:10 2013 +0100
3856 tests: Add missing backwards compat methods for Python 2.6
3858 Define skipIf(), assertLess(), and assertLessEqual() for running
3862 https://bugzilla.gnome.org/show_bug.cgi?id=691646
3864 tests/runtests.py | 17 +++++++++++++++++
3865 1 file changed, 17 insertions(+)
3867 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
3868 Author: Martin Pitt <martinpitt@gnome.org>
3869 Date: Mon Jan 14 07:34:46 2013 +0100
3871 tests: Stop using assertSequenceEqual()
3873 assertSequenceEqual() does not yet exist in Python 2.6, and is
3875 either as assertEqual() on sequences automatically does list
3878 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
3880 tests/test_gtype.py | 6 ++----
3881 tests/test_signal.py | 6 ++----
3882 2 files changed, 4 insertions(+), 8 deletions(-)
3884 commit 0a5587b6a56d417a6703e342f153596f08cd5889
3885 Author: Simon Feltman <sfeltman@src.gnome.org>
3886 Date: Sun Jan 13 18:19:51 2013 -0800
3888 Allow setting TreeModel values to None
3890 Change TreeModel.set_value to use an empty but initialized GValue when
3891 None is used as the value argument. This allows clearing of cell data
3892 which was not accessible due to auto-coercion.
3894 https://bugzilla.gnome.org/show_bug.cgi?id=684094
3896 gi/overrides/Gtk.py | 11 ++++++++---
3897 tests/test_overrides_gtk.py | 8 ++++++++
3898 2 files changed, 16 insertions(+), 3 deletions(-)
3900 commit 5ae129da436793478750f0dc9427a174a980e10b
3901 Author: Mike Gorse <mgorse@suse.com>
3902 Date: Thu Jan 10 16:42:17 2013 -0600
3904 Set clean-up handler for marshalled arrays
3906 Arrays did not have a cleanup handler set in some cases, resulting
3909 https://bugzilla.gnome.org/show_bug.cgi?id=691509
3911 gi/pygi-cache.c | 1 +
3912 1 file changed, 1 insertion(+)
3914 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
3915 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
3916 Date: Fri Jan 11 15:41:27 2013 +0100
3918 Support setting string fields in structs
3920 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
3922 https://bugzilla.gnome.org/show_bug.cgi?id=678401
3924 gi/pygi-info.c | 3 ++-
3925 tests/test_gi.py | 16 ++++++++++++++++
3926 2 files changed, 18 insertions(+), 1 deletion(-)
3928 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
3929 Author: Martin Pitt <martinpitt@gnome.org>
3930 Date: Fri Jan 11 14:58:44 2013 +0100
3932 Re-enable test_gi.TestPropertiesObject.test_char test
3934 The gobject-introspection bug got fixed:
3935 https://bugzilla.gnome.org/show_bug.cgi?id=691524
3937 tests/test_gi.py | 14 +++-----------
3938 1 file changed, 3 insertions(+), 11 deletions(-)
3940 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
3941 Author: Martin Pitt <martinpitt@gnome.org>
3942 Date: Fri Jan 11 09:46:56 2013 +0100
3944 tests: Re-enable test_callback_scope_call_array() check
3946 Drop the expected failure from test_callback_scope_call_array()
3948 the explicit array length arguments. While it would look cleaner to
3950 them, it is probably not worth breaking the API for this.
3952 tests/test_everything.py | 9 +++------
3953 1 file changed, 3 insertions(+), 6 deletions(-)
3955 commit 609636424b5f9b659e99a4bb53a48c165187c430
3956 Author: Martin Pitt <martinpitt@gnome.org>
3957 Date: Fri Jan 11 09:13:36 2013 +0100
3959 Permit plain integers for "gchar" values
3961 Similar to guchar/guint8, allow plain integers (withing correct
3963 values for gchar/gint8 types.
3965 This is covered by the test_gi.TestPropertiesObject.test_char
3967 removing the "expected failure" flag.
3969 gi/_gobject/pygtype.c | 16 ++++++++++++----
3970 1 file changed, 12 insertions(+), 4 deletions(-)
3972 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
3973 Author: Martin Pitt <martinpitt@gnome.org>
3974 Date: Fri Jan 11 09:09:41 2013 +0100
3976 Allow single byte values for int8 types
3978 When fixing gobject-introspection to consider "gchar" as signed (see
3979 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
3981 single-element "bytes" array as a valid value for int8, not just
3984 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
3987 gi/pygi-argument.c | 4 ++--
3988 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
3989 2 files changed, 23 insertions(+), 15 deletions(-)
3991 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
3992 Author: Mike Gorse <mgorse@suse.com>
3993 Date: Thu Jan 10 14:11:56 2013 -0600
3995 Fix invalid memory access handling errors when registering an
3998 Don't free the name until we are done with it.
4000 gi/gimodule.c | 8 ++++----
4001 1 file changed, 4 insertions(+), 4 deletions(-)
4003 commit ecd235959317d39b6d598662c00829e0ec717b17
4004 Author: Martin Pitt <martinpitt@gnome.org>
4005 Date: Thu Jan 10 16:42:46 2013 +0100
4007 Fix (out) arguments in callbacks
4009 Do not ignore the first argument in _pygi_closure_set_out_arguments().
4010 Presumably that has been done to skip over "self", but callbacks
4012 required to have a self argument. As self is never (out), we can
4016 gi/pygi-closure.c | 2 +-
4017 tests/test_gi.py | 4 ----
4018 2 files changed, 1 insertion(+), 5 deletions(-)
4020 commit d8e241e24a816691acbd592775b73defd9aa4f44
4021 Author: Martin Pitt <martinpitt@gnome.org>
4022 Date: Thu Jan 10 15:14:05 2013 +0100
4024 Fix C to Python marshalling of struct pointer arrays
4026 Do not treat an array of pointers to values like an array of values on
4027 marshalling from C. This makes the test_array_boxed_struct_return()
4031 gi/pygi-marshal-to-py.c | 5 +++--
4032 tests/test_gi.py | 2 --
4033 2 files changed, 3 insertions(+), 4 deletions(-)
4035 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
4036 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
4037 Date: Tue Jan 8 23:22:54 2013 +0200
4041 Most notably this commit contains a test for
4042 Gio.File.replace_contents_async(),
4043 which currently fails. Disable the tests for now as it breaks the
4046 https://bugzilla.gnome.org/show_bug.cgi?id=690525
4048 tests/test_gio.py | 64
4049 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
4050 1 file changed, 64 insertions(+)
4052 commit 118c5eaad045580455515876ba73b9537a8468b4
4053 Author: Martin Pitt <martinpitt@gnome.org>
4054 Date: Thu Jan 10 13:56:11 2013 +0100
4056 Rename test_overrides_gio.py to test_gio.py
4058 As we want to add more tests for non-overridden API.
4060 tests/Makefile.am | 2 +-
4061 tests/test_gio.py | 121
4062 ++++++++++++++++++++++++++++++++++++++++++++
4063 tests/test_overrides_gio.py | 121
4064 --------------------------------------------
4065 3 files changed, 122 insertions(+), 122 deletions(-)
4067 commit 8117e6bce73581e89211371708ff7d5de7d870d4
4068 Author: Martin Pitt <martinpitt@gnome.org>
4069 Date: Thu Jan 10 12:13:16 2013 +0100
4071 Don't let Property.setter() method names define property names
4073 Defining property names in install_properties() is too late when using
4074 @propname.setter decorators; their method names don't define a
4076 nor are they even required to be a valid property identifier.
4078 So change the logic to already fix the property name when using
4080 decorator and use that instead of the member name in
4081 install_properties().
4083 https://bugzilla.gnome.org/show_bug.cgi?id=688971
4085 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
4086 tests/test_properties.py | 18 ++++++++++++++++++
4087 2 files changed, 40 insertions(+), 7 deletions(-)
4089 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
4090 Author: Martin Pitt <martinpitt@gnome.org>
4091 Date: Wed Jan 9 10:39:36 2013 +0100
4093 tests: Force UTF-8 file name encoding
4095 The test_gi.TestFilename tests fail if the environment specifies
4097 file name encoding. Force it to "UTF-8" for the tests.
4099 https://bugzilla.gnome.org/show_bug.cgi?id=691355
4101 tests/runtests.py | 1 +
4102 1 file changed, 1 insertion(+)
4104 commit c02a00ae9599a661076630b21b7e24e78fb88c29
4105 Author: Martin Pitt <martinpitt@gnome.org>
4106 Date: Tue Jan 8 16:56:40 2013 +0100
4108 Use g-i stack allocation API
4110 Where possible, i. e. when not keeping references across functions,
4112 _load_() methods instead of the _get_() ones from
4113 gobject-introspection, which
4114 is faster and less prone to memory leaks:
4116 g_callable_info_get_arg () → g_callable_info_load_arg ()
4117 g_callable_info_get_return_type() →
4118 g_callable_info_load_return_type ()
4119 g_arg_info_get_type() → g_arg_info_load_type ()
4121 https://bugzilla.gnome.org/show_bug.cgi?id=615982
4123 gi/pygi-argument.c | 16 ++++------
4124 gi/pygi-closure.c | 88
4125 ++++++++++++++++++++++++------------------------------
4126 2 files changed, 45 insertions(+), 59 deletions(-)
4128 commit 23d1f14f553069740465c82eaa937b877c41e0cb
4129 Author: Ray Strode <rstrode@redhat.com>
4130 Date: Wed Dec 19 13:04:32 2012 -0500
4132 pyg_value_from_pyobject: support GArray
4134 This commit adds support for marshalling a python list (or other
4136 returned from signal handlers to GArray, if necessary.
4138 This parallels the implementation written to marshal to (the now
4142 This fixes a crash in rhythmbox as seen downstream here:
4143 https://bugzilla.redhat.com/show_bug.cgi?id=872851
4145 https://bugzilla.gnome.org/show_bug.cgi?id=690514
4147 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
4149 gi/_gobject/pygtype.c | 60
4150 ++++++++++++++++++++++++++++++++++++++++++++++++
4151 tests/test_everything.py | 22 ++++++++++++++++++
4152 2 files changed, 82 insertions(+)
4154 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
4155 Author: Marko Lindqvist <cazfi74@gmail.com>
4156 Date: Fri Jan 4 07:01:29 2013 +0100
4158 Fix obsolete automake macros
4160 https://bugzilla.gnome.org/show_bug.cgi?id=691101
4162 configure.ac | 3 +--
4163 1 file changed, 1 insertion(+), 2 deletions(-)
4165 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
4166 Author: Simon Feltman <sfeltman@src.gnome.org>
4167 Date: Mon Dec 31 02:53:07 2012 -0800
4169 Change dynamic enum and flag gtype creation to use namespaced naming
4171 Use the combination of g_base_info_get_namespace and
4172 g_base_info_get_name
4173 as the name for registering enum and flag types with glib through
4174 g_enum_register_static and g_flags_register_static. This avoids
4176 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
4177 and memory cleanup for invalid registration problems.
4179 https://bugzilla.gnome.org/show_bug.cgi?id=690455
4181 gi/_gobject/pygenum.c | 6 ++--
4183 ++++++++++++++++++++++++++++++++++++++++++++-------
4184 tests/test_gi.py | 35 +++++++++++++++++++++++
4185 3 files changed, 106 insertions(+), 13 deletions(-)
4187 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
4188 Author: Dan Horák <dan@danny.cz>
4189 Date: Fri Dec 28 22:12:32 2012 +0100
4191 Fix test for GBytes.compare()
4193 The result of the compare method is defined as equal, less than or
4195 and the test must match to that. The underlaying memcmp() function
4197 values than -1, 0 and 1. For example on architectures where it is
4198 implemented directly
4199 via a CPU instruction like on s390(x) where I can see -2 as a result
4203 https://bugzilla.gnome.org/show_bug.cgi?id=690837
4205 tests/test_gi.py | 4 ++--
4206 1 file changed, 2 insertions(+), 2 deletions(-)
4208 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
4209 Author: Jonathan Ballet <jon@multani.info>
4210 Date: Thu Dec 27 16:04:51 2012 +0100
4212 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
4214 The length argument is the size of the buffer in bytes, not in
4217 https://bugzilla.gnome.org/show_bug.cgi?id=690329
4219 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
4221 gi/overrides/Gtk.py | 2 +-
4222 tests/test_overrides_gtk.py | 7 +++++++
4223 2 files changed, 8 insertions(+), 1 deletion(-)
4225 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
4226 Author: Mike Gorse <mgorse@suse.com>
4227 Date: Wed Dec 19 20:51:03 2012 -0500
4229 Don't dup strings before passing them to type registration functions
4231 Strings passed to g_enum_register_static and g_flags_register_static
4233 eventually passed to g_quark_from_string, which dups the string
4235 needed and does not take ownership of it, so passing in a
4236 dynamically-allocated
4237 string without freeing it results in a small leak.
4239 https://bugzilla.gnome.org/show_bug.cgi?id=690532
4241 gi/gimodule.c | 2 --
4242 1 file changed, 2 deletions(-)
4244 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
4245 Author: Carlos Garnacho <carlos@lanedo.com>
4246 Date: Tue Dec 18 22:47:09 2012 +0100
4248 Fix marshalling of arrays of boxed struct values
4250 This fixes methods like gtk_selection_set_with_data(). In such cases
4251 data is passed as an array of struct pointers, so it must be converted
4252 to an array of structs.
4254 https://bugzilla.gnome.org/show_bug.cgi?id=656312
4256 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
4258 gi/pygi-marshal-from-py.c | 6 ++++++
4259 tests/test_gi.py | 12 ++++++++++++
4260 2 files changed, 18 insertions(+)
4262 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
4263 Author: Simon Feltman <sfeltman@src.gnome.org>
4264 Date: Tue Dec 18 02:03:41 2012 -0800
4266 Add reference counting tests for Object.bind_property
4268 Add tests which ensure transform callbacks and user_data
4269 are propertly ref-counted.
4271 https://bugzilla.gnome.org/show_bug.cgi?id=690397
4273 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
4274 1 file changed, 36 insertions(+), 4 deletions(-)
4276 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
4277 Author: Martin Pitt <martinpitt@gnome.org>
4278 Date: Tue Dec 18 11:43:04 2012 +0100
4280 testhelpermodule.c: Do not unref called method
4282 In _wrap_test_gerror_exception(), do not unref the method
4284 causes a crash when being run with the stricter refcounting/memory
4286 debug-enabled Python builds.
4288 tests/testhelpermodule.c | 1 -
4289 1 file changed, 1 deletion(-)
4291 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
4292 Author: Martin Pitt <martinpitt@gnome.org>
4293 Date: Mon Dec 17 23:20:50 2012 +0100
4295 configure.ac: post-release bump to 3.7.4
4298 1 file changed, 1 insertion(+), 1 deletion(-)
4300 commit 061b23d14386c0e54d2c3af113554231bbe85f16
4301 Author: Martin Pitt <martinpitt@gnome.org>
4302 Date: Mon Dec 17 23:18:31 2012 +0100
4306 NEWS | 19 +++++++++++++++++++
4307 1 file changed, 19 insertions(+)
4309 commit a242f02823a63c9dca5d0b1ce84b031221053690
4310 Author: Martin Pitt <martinpitt@gnome.org>
4311 Date: Mon Dec 17 23:11:29 2012 +0100
4313 Add (failing) tests for callbacks with out arguments
4315 Most of these fail and need marshalling fixes.
4317 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
4318 1 file changed, 36 insertions(+)
4320 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
4321 Author: Martin Pitt <martinpitt@gnome.org>
4322 Date: Mon Dec 17 22:50:59 2012 +0100
4324 Add tests for internal API
4326 These cover functions like pygobject_new(), pyg_value_from_pyobject()
4328 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
4330 functions can be tested in isolation without the whole GI stack
4333 tests/Makefile.am | 1 +
4334 tests/test_internal_api.py | 73
4335 ++++++++++++++++++++++++++++++++++++++++++++++
4336 2 files changed, 74 insertions(+)
4338 commit e44312139426f51e576ef9e880819542cc224383
4339 Author: Martin Pitt <martinpitt@gnome.org>
4340 Date: Mon Dec 17 18:02:15 2012 +0100
4342 Add support for caller-allocated GArray out arguments
4344 https://bugzilla.gnome.org/show_bug.cgi?id=690041
4346 gi/pygi-cache.c | 2 +-
4347 gi/pygi-invoke.c | 57
4348 ++++++++++++++++++++++++++++++--------------------------
4349 tests/test_gi.py | 5 +++--
4350 3 files changed, 35 insertions(+), 29 deletions(-)
4352 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
4353 Author: Martin Pitt <martinpitt@gnome.org>
4354 Date: Mon Dec 17 16:18:24 2012 +0100
4356 Add (failing) test for caller-allocated GArray return value
4358 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
4360 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
4362 The test is failing and causing a segfault right now, so disable it
4366 tests/test_gi.py | 4 ++++
4367 1 file changed, 4 insertions(+)
4369 commit 1cb4c30c3cf19690210010d39b6272965f489c58
4370 Author: Martin Pitt <martinpitt@gnome.org>
4371 Date: Mon Dec 17 15:56:44 2012 +0100
4373 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
4375 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
4377 available, but fall back to GLib.unix_signal_add_full() until we
4381 gi/overrides/GLib.py | 8 ++++++--
4382 1 file changed, 6 insertions(+), 2 deletions(-)
4384 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
4385 Author: Martin Pitt <martinpitt@gnome.org>
4386 Date: Fri Nov 30 14:17:18 2012 +0100
4388 Re-support calling GLib.io_add_watch with an fd or Python file
4390 This does not strictly adhere to the GLib API, but it's very
4392 unlike the other modes, does not change the number or order of
4394 let's keep support for this and drop the deprecation warning.
4396 gi/overrides/GLib.py | 9 +++------
4397 1 file changed, 3 insertions(+), 6 deletions(-)
4399 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
4400 Author: Martin Pitt <martinpitt@gnome.org>
4401 Date: Fri Nov 30 09:04:20 2012 +0100
4403 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
4405 Use a longer timeout to avoid races on slow architectures, and cut
4407 loop as soon as we received all expected events.
4409 tests/test_glib.py | 5 ++++-
4410 1 file changed, 4 insertions(+), 1 deletion(-)
4412 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
4413 Author: Martin Pitt <martinpitt@gnome.org>
4414 Date: Fri Nov 30 08:44:56 2012 +0100
4416 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
4418 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
4420 unavailable monitor backends in the test environment) to fail
4423 tests/test_overrides_gtk.py | 12 +++++++++---
4424 1 file changed, 9 insertions(+), 3 deletions(-)
4426 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
4427 Author: Martin Pitt <martinpitt@gnome.org>
4428 Date: Thu Nov 29 16:45:49 2012 +0100
4430 pygtkcompat: Work around IndexError on large flags
4432 On 32 bit systems pygtkcompat currently fails with
4434 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
4435 name = flag.value_names[-1].replace(modname + '_', '')
4436 IndexError: cannot fit 'int' into an index-sized integer
4438 on 32 bit systems as some flags in Gdk are too large to fit into a
4440 "long". Work around this crash until this gets fixed properly
4444 pygtkcompat/pygtkcompat.py | 7 ++++++-
4445 1 file changed, 6 insertions(+), 1 deletion(-)
4447 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
4448 Author: Martin Pitt <martinpitt@gnome.org>
4449 Date: Thu Nov 29 14:11:29 2012 +0100
4451 Fix pyg_value_from_pyobject() range check for uint
4453 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
4455 this overflows large uints. Use PyLong_AsLongLong() separately to
4457 negative values, and PyLong_AsUnsignedLong() for the actual
4460 gi/_gobject/pygtype.c | 12 ++++++++----
4461 1 file changed, 8 insertions(+), 4 deletions(-)
4463 commit 05d767a602571805e80099f1db47ad4164575c53
4464 Author: Martin Pitt <martinpitt@gnome.org>
4465 Date: Thu Nov 29 13:30:56 2012 +0100
4467 Fix tests to work with g-i 1.34.2
4469 Do not try to call GIMarshallingTests API which isn't present
4471 against g-i 1.34.2. This can be dropped when the g-i dependency gets
4475 tests/test_gi.py | 8 +++++---
4476 1 file changed, 5 insertions(+), 3 deletions(-)
4478 commit a107c928ef85b4e3b9075a408774b74879586029
4479 Author: Martin Pitt <martinpitt@gnome.org>
4480 Date: Thu Nov 29 13:13:14 2012 +0100
4482 Fix wrong refcount for GVariant property defaults
4484 Drop the bogus DECREF for the GVariant default argument, as we need
4486 around in the class. Otherwise the refcount drops to zero, and
4488 garbage collection run causes segfaults.
4490 https://bugzilla.gnome.org/show_bug.cgi?id=689267
4492 gi/_gobject/gobjectmodule.c | 1 -
4493 1 file changed, 1 deletion(-)
4495 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
4496 Author: Martin Pitt <martinpitt@gnome.org>
4497 Date: Thu Nov 29 11:44:22 2012 +0100
4499 test_gi: Fix TestFilename failure under C locale
4501 tests/test_gi.py | 1 +
4502 1 file changed, 1 insertion(+)
4504 commit 37ab227555ba8628b4fa99aa286bd046208745ed
4505 Author: Martin Pitt <martinpitt@gnome.org>
4506 Date: Thu Nov 29 11:16:26 2012 +0100
4508 Fix array arguments on 32 bit
4510 In _pygi_argument_from_object() we never put the actual element
4512 constructed array. The array contains GIArguments, or bytes in the
4514 passing a string as an array.
4516 This happened to work on 64 bit machines where GIArgument and char*
4518 same size, but not on 32 bit machines
4519 (test_gi.TestPropertiesObject.test_strv
4522 gi/pygi-argument.c | 6 +++++-
4523 1 file changed, 5 insertions(+), 1 deletion(-)
4525 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
4526 Author: Martin Pitt <martinpitt@gnome.org>
4527 Date: Thu Nov 29 10:20:27 2012 +0100
4529 test_gi: Disable failing check in test_module_name()
4531 When calling this under some conditions, such as
4533 TEST_NAMES='test_thread test_gi.TestOverrides'
4535 then the module name of GObject.InitiallyUnowned comes out as
4536 "importlib._bootstrap" instead of "gi.repository.GObject". To be
4538 Add a couple of other tests to ensure that it is not broken in
4541 tests/test_gi.py | 10 +++++++++-
4542 1 file changed, 9 insertions(+), 1 deletion(-)
4544 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
4545 Author: Martin Pitt <martinpitt@gnome.org>
4546 Date: Thu Nov 29 09:40:32 2012 +0100
4548 test_gdbus: Drop failure if timeout=0 works differently
4550 In some test environments we do not actually get a timeout exceptions
4552 timeout=0, but a different error message. So only ensure that we
4556 tests/test_gdbus.py | 4 +++-
4557 1 file changed, 3 insertions(+), 1 deletion(-)
4559 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
4560 Author: Martin Pitt <martinpitt@gnome.org>
4561 Date: Thu Nov 29 09:29:05 2012 +0100
4563 test_glib: Drop some assumptions about XDG dirs
4565 Some directories do not exist in minimal test environments, and this
4567 important for testing that calling these GLib functions works.
4569 tests/test_glib.py | 8 +++++---
4570 1 file changed, 5 insertions(+), 3 deletions(-)
4572 commit e45c690bc83b6d513887649de88965a9752e316d
4573 Author: Martin Pitt <martinpitt@gnome.org>
4574 Date: Wed Nov 28 12:20:31 2012 +0100
4576 Add backwards compatible API for GLib.unix_signal_add_full()
4578 This was renamed to GLib.unix_signal_add() in
4579 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
4581 Provide a backwards compatible shim with a deprecation message.
4583 gi/overrides/GLib.py | 10 ++++++++++
4584 1 file changed, 10 insertions(+)
4586 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
4587 Author: Martin Pitt <martinpitt@gnome.org>
4588 Date: Mon Nov 26 08:11:36 2012 +0100
4590 Drop MININT64/MAXUINT64 workaround
4592 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
4594 properly now. Drop the workaround in the overrides to manually
4598 gi/overrides/GLib.py | 7 -------
4599 1 file changed, 7 deletions(-)
4601 commit d16604f64d25d18409270d7537fc993113b65c19
4602 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
4603 Date: Fri Nov 23 19:57:56 2012 +0200
4605 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
4607 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
4608 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
4609 warnings even tough values are valid.
4611 https://bugzilla.gnome.org/show_bug.cgi?id=688949
4613 gi/_gobject/propertyhelper.py | 6 +++---
4614 tests/test_properties.py | 11 ++++-------
4615 2 files changed, 7 insertions(+), 10 deletions(-)
4617 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
4618 Author: Martin Pitt <martinpitt@gnome.org>
4619 Date: Wed Nov 21 12:58:07 2012 +0100
4621 Test virtual methods with in and out arguments
4623 ... and both caller and callee out argument allocation.
4625 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
4627 tests/test_gi.py | 13 +++++++++++++
4628 1 file changed, 13 insertions(+)
4630 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
4631 Author: Martin Pitt <martinpitt@gnome.org>
4632 Date: Tue Nov 20 07:00:44 2012 +0100
4634 Ship pygi-convert.sh in tarballs
4636 https://bugzilla.gnome.org/show_bug.cgi?id=688697
4639 1 file changed, 1 insertion(+)
4641 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
4642 Author: Martin Pitt <martinpitt@gnome.org>
4643 Date: Mon Nov 19 15:25:38 2012 +0100
4645 Post-release version bump to 3.7.3
4648 1 file changed, 1 insertion(+), 1 deletion(-)
4650 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
4651 Author: Martin Pitt <martinpitt@gnome.org>
4652 Date: Mon Nov 19 15:13:28 2012 +0100
4656 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
4657 1 file changed, 47 insertions(+)
4659 commit 29dc7425dd7584411b52ef07b50f929ed119a000
4660 Author: Martin Pitt <martinpitt@gnome.org>
4661 Date: Mon Nov 19 14:37:02 2012 +0100
4665 Commit e617f76e forgot to rename the file in EXTRA_DIST
4667 tests/Makefile.am | 2 +-
4668 1 file changed, 1 insertion(+), 1 deletion(-)
4670 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
4671 Author: Martin Pitt <martinpitt@gnome.org>
4672 Date: Mon Nov 19 14:34:13 2012 +0100
4674 tests: Fix unicode vs. str issues in Python 2
4676 Some of the tests assumed a system default encoding of UTF-8, which
4678 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
4681 tests/test_gi.py | 8 ++++----
4682 tests/test_iochannel.py | 16 +++++++++-------
4683 2 files changed, 13 insertions(+), 11 deletions(-)
4685 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
4686 Author: Martin Pitt <martinpitt@gnome.org>
4687 Date: Mon Nov 19 14:20:56 2012 +0100
4689 tests: Fix previous commit to fail properly on test failures
4691 tests/Makefile.am | 2 +-
4692 1 file changed, 1 insertion(+), 1 deletion(-)
4694 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
4695 Author: Martin Pitt <martinpitt@gnome.org>
4696 Date: Mon Nov 19 14:09:14 2012 +0100
4698 tests: Run pygtkcompat tests separately
4700 pygtkcompat changes the global namespace, in particular patching
4702 overrides. Run the tests in a separate process so that the main
4704 potentially affected by the pygtkcompat test.
4706 runtests.py runs all tests/test_*.py by default, so rename to
4707 compat_test_pygtk.py and run that explicitly after successfully
4711 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
4713 tests/Makefile.am | 3 +
4714 tests/compat_test_pygtk.py | 147
4715 +++++++++++++++++++++++++++++++++++++++++++++
4716 tests/test_pygtkcompat.py | 147
4717 ---------------------------------------------
4718 3 files changed, 150 insertions(+), 147 deletions(-)
4720 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
4721 Author: Simon Feltman <sfeltman@src.gnome.org>
4722 Date: Thu Nov 15 02:51:52 2012 -0800
4724 Move pygtkcompat into sibling package of gi
4726 Move the pygtkcompat module out of the gi package and into
4727 a sibling package as follows:
4733 This allows for pygtkcompat to grow without affecting the gi package.
4734 Add deprecation message to gi/pygtkcompat.py
4736 https://bugzilla.gnome.org/show_bug.cgi?id=688219
4740 gi/pygtkcompat.py | 524
4741 +++------------------------------------------
4742 pygtkcompat/Makefile.am | 15 ++
4743 pygtkcompat/__init__.py | 20 ++
4744 pygtkcompat/pygtkcompat.py | 501
4745 +++++++++++++++++++++++++++++++++++++++++++
4746 tests/test_pygtkcompat.py | 6 +-
4747 7 files changed, 565 insertions(+), 504 deletions(-)
4749 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
4750 Author: Martin Pitt <martinpitt@gnome.org>
4751 Date: Mon Nov 19 13:59:20 2012 +0100
4753 Bump g-i dependency to >= 1.34.2
4755 We need this for updated GLib annotations and new test API.
4758 1 file changed, 1 insertion(+), 1 deletion(-)
4760 commit f6c994c76cd8010460b76bf455e1a341348d735b
4761 Author: Martin Pitt <martinpitt@gnome.org>
4762 Date: Mon Nov 19 10:39:26 2012 +0100
4764 test_gi: Fix failing tests with g-i 1.34.x
4766 Skip tests which require g-i test API from 1.35.x when building
4770 tests/test_gi.py | 6 ++++++
4771 1 file changed, 6 insertions(+)
4773 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
4774 Author: Martin Pitt <martinpitt@gnome.org>
4775 Date: Wed Nov 14 11:57:21 2012 +0100
4777 test_gi: Add tests for type "filename"
4779 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
4780 1 file changed, 30 insertions(+)
4782 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
4783 Author: Martin Pitt <martinpitt@gnome.org>
4784 Date: Wed Nov 14 11:09:33 2012 +0100
4786 Drop foreign GVariant registration/support
4788 This is dead code. We have tests for GVariant in and out method
4790 callback arguments and return values, properties, etc to ensure that
4794 gi/Makefile.am | 2 --
4795 gi/pygi-foreign-gvariant.c | 63
4796 ----------------------------------------------
4797 gi/pygi-foreign-gvariant.h | 41 ------------------------------
4798 gi/pygi-foreign.c | 8 +-----
4799 4 files changed, 1 insertion(+), 113 deletions(-)
4801 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
4802 Author: Martin Pitt <martinpitt@gnome.org>
4803 Date: Wed Nov 14 10:33:24 2012 +0100
4805 test_properties.py: Fix PEP-8 errors
4807 tests/test_properties.py | 3 +--
4808 1 file changed, 1 insertion(+), 2 deletions(-)
4810 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
4811 Author: Martin Pitt <martinpitt@gnome.org>
4812 Date: Wed Nov 14 10:14:36 2012 +0100
4814 Add support for GVariant properties defined in Python
4816 gi/_gobject/gobjectmodule.c | 13 +++++++
4817 gi/_gobject/propertyhelper.py | 11 ++++--
4818 tests/test_properties.py | 81
4819 +++++++++++++++++++++++++++++++++++++------
4820 3 files changed, 91 insertions(+), 14 deletions(-)
4822 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
4823 Author: Martin Pitt <martinpitt@gnome.org>
4824 Date: Wed Nov 14 09:33:43 2012 +0100
4826 pyg_value_from_pyobject(): Simplify GVariant type check
4828 Use pyg_type_from_object_strict() instead of the much more expensive
4830 pyg_get_gvariant_type().
4832 gi/_gobject/pygtype.c | 23 +----------------------
4833 1 file changed, 1 insertion(+), 22 deletions(-)
4835 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
4836 Author: Martin Pitt <martinpitt@gnome.org>
4837 Date: Wed Nov 14 09:27:42 2012 +0100
4839 test_everything: Add test for callback returning wrong type
4841 This covers the "expected a GVariant, got something else" check in
4842 pyg_value_from_pyobject().
4844 tests/test_everything.py | 16 ++++++++++++++++
4845 1 file changed, 16 insertions(+)
4847 commit 84db7109dfbaf443758a5a4871ee385686d2703d
4848 Author: Martin Pitt <martinpitt@gnome.org>
4849 Date: Wed Nov 14 08:42:53 2012 +0100
4851 Add type checking to GVariant argument assignment
4853 gi/pygi-argument.c | 7 ++++++-
4854 tests/test_gi.py | 5 ++---
4855 2 files changed, 8 insertions(+), 4 deletions(-)
4857 commit e944caf5ff53143a98dd4a5578530996358013ec
4858 Author: Martin Pitt <martinpitt@gnome.org>
4859 Date: Wed Nov 14 08:22:35 2012 +0100
4861 Add support for GVariant properties defined in C
4863 Note that trying to assign a non-GVariant value to a GVariant property
4866 gi/pygi-property.c | 6 +++++-
4867 tests/test_gi.py | 21 +++++++++++++++++++++
4868 2 files changed, 26 insertions(+), 1 deletion(-)
4870 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
4871 Author: Martin Pitt <martinpitt@gnome.org>
4872 Date: Wed Nov 14 07:09:58 2012 +0100
4874 test_unknown.py: Check property interface
4876 NB that the property implementation in test-unknown.c does not
4878 anything, we just want to assert that the properties are properly
4881 tests/test_unknown.py | 10 ++++++++++
4882 1 file changed, 10 insertions(+)
4884 commit 9d7771affcf788d251cced65da56fc2773a278b3
4885 Author: Martin Pitt <martinpitt@gnome.org>
4886 Date: Wed Nov 14 07:01:24 2012 +0100
4888 Fix previous commit for Python 2
4890 gi/pygi-foreign-cairo.c | 2 +-
4891 1 file changed, 1 insertion(+), 1 deletion(-)
4893 commit 997d4e70b2793039d916acf8921087576622152e
4894 Author: Martin Pitt <martinpitt@gnome.org>
4895 Date: Wed Nov 14 06:57:04 2012 +0100
4897 pygi-foreign-cairo.c: Use official py3cairo API
4899 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
4901 instead of our own code.
4903 gi/pygi-foreign-cairo.c | 4 ++--
4904 1 file changed, 2 insertions(+), 2 deletions(-)
4906 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
4907 Author: Martin Pitt <martinpitt@gnome.org>
4908 Date: Wed Nov 14 06:47:23 2012 +0100
4910 Drop dead code from pygi-callbacks.[hc]
4912 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
4914 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
4916 there, and drop pygi-callbacks.[hc] completely.
4918 gi/Makefile.am | 2 -
4919 gi/pygi-callbacks.c | 217
4920 ----------------------------------------------
4921 gi/pygi-callbacks.h | 48 ----------
4922 gi/pygi-marshal-from-py.c | 44 ++++++++++
4923 gi/pygi-private.h | 1 -
4924 5 files changed, 44 insertions(+), 268 deletions(-)
4926 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
4927 Author: Carlos Garnacho <carlos@lanedo.com>
4928 Date: Tue Nov 13 18:24:28 2012 +0100
4930 Fix marshalling of arrays of struct pointers to Python
4932 Fill in the pointer to the struct, not the pointer to the
4933 array position. This makes the GdkAtom** argument in
4934 gtk_clipboard_wait_for_targets() work.
4936 https://bugzilla.gnome.org/show_bug.cgi?id=678620
4938 gi/pygi-marshal-to-py.c | 5 ++++-
4939 1 file changed, 4 insertions(+), 1 deletion(-)
4941 commit fc021516552b1720bacc4afe6b7a610c413194c4
4942 Author: Martin Pitt <martinpitt@gnome.org>
4943 Date: Wed Nov 14 06:27:17 2012 +0100
4945 test_atoms.py: Add test for out array
4947 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
4949 tests/test_atoms.py | 19 +++++++++++++++++++
4950 1 file changed, 19 insertions(+)
4952 commit e2790d22610aae773635d4caef2458082a307283
4953 Author: Martin Pitt <martinpitt@gnome.org>
4954 Date: Tue Nov 13 16:38:36 2012 +0100
4956 Fix Gdk.Atom str()/repr() fallback
4958 Fix regression in commit 6713618: If an atom does not have a name,
4960 recursively call our own str()/repr() methods, but just print
4961 "Gdk.Atom<atom_id>".
4963 gi/overrides/Gdk.py | 6 ++++--
4964 1 file changed, 4 insertions(+), 2 deletions(-)
4966 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
4967 Author: Martin Pitt <martinpitt@gnome.org>
4968 Date: Tue Nov 13 13:16:14 2012 +0100
4970 test_gi: Stop using GLib.bytes.unref_to_array()
4972 This method isn't safe for GI, and should be (skip)ed. Use get_data()
4974 which is safe and works fine.
4976 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
4978 tests/test_gi.py | 6 ------
4979 1 file changed, 6 deletions(-)
4981 commit 671361841de797ef62b59d1d7568fc3d431898c7
4982 Author: Martin Pitt <martinpitt@gnome.org>
4983 Date: Tue Nov 13 12:56:11 2012 +0100
4985 Fix Gdk.Atom to have a proper str() and repr()
4987 Gdk.Atom is not proper GType'd class, so we cannot override the
4989 Just override its __str__() and __repr__() methods so that printing
4991 something sensible. For nameless/invalid atoms, fall back to the old
4992 <void at 0xdeadbeef> output to help with debugging.
4994 https://bugzilla.gnome.org/show_bug.cgi?id=678620
4996 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
4997 tests/test_atoms.py | 12 ++++++++++++
4998 2 files changed, 33 insertions(+)
5000 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
5001 Author: Simon Feltman <sfeltman@src.gnome.org>
5002 Date: Tue Nov 13 02:53:34 2012 -0800
5004 Make sure g_value_set_boxed does not cause a buffer overrun with
5007 Add NULL terminator to gchar** passed to g_value_set_boxed to
5008 make sure it does not overrun memory in pygi_set_property_value_real.
5009 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
5012 https://bugzilla.gnome.org/show_bug.cgi?id=688232
5014 gi/pygi-property.c | 8 ++++++--
5015 tests/Makefile.am | 1 +
5016 2 files changed, 7 insertions(+), 2 deletions(-)
5018 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
5019 Author: Martin Pitt <martinpitt@gnome.org>
5020 Date: Mon Nov 12 08:35:28 2012 +0100
5022 types.py: Fix PEP-8 violation
5025 1 file changed, 1 insertion(+), 1 deletion(-)
5027 commit df589458358d7e7bf178dff4e6ad937a70f806e3
5028 Author: Simon Feltman <sfeltman@src.gnome.org>
5029 Date: Sun Nov 11 22:26:19 2012 -0800
5031 Fix leaks with GValues holding boxed and object types
5033 Expose read access to PyGIBoxed.free_on_dealloc.
5034 Add GObject.Value.__del__ override and call unset() to
5035 correctly free reference counts.
5037 https://bugzilla.gnome.org/show_bug.cgi?id=688137
5039 gi/overrides/GObject.py | 9 +++++++++
5040 gi/pygi-boxed.c | 12 ++++++++++++
5041 tests/test_gi.py | 2 --
5042 3 files changed, 21 insertions(+), 2 deletions(-)
5044 commit c01c95b9fb3d726385efac945f6d1270ae65d109
5045 Author: Simon Feltman <sfeltman@src.gnome.org>
5046 Date: Sun Nov 11 19:46:15 2012 -0800
5048 Add expectantly failing unittests for GValue boxed/object leaks
5050 https://bugzilla.gnome.org/show_bug.cgi?id=688137
5052 tests/test_gi.py | 80
5053 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5054 1 file changed, 80 insertions(+)
5056 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
5057 Author: Simon Feltman <s.feltman@gmail.com>
5058 Date: Thu Aug 16 15:09:08 2012 -0700
5060 Add doc strings showing method signatures for gi methods
5062 Add signature based doc string to all methods pulled in from
5063 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
5064 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
5065 icon_area:cairo.RectangleInt
5067 https://bugzilla.gnome.org/show_bug.cgi?id=681967
5069 gi/overrides/GIMarshallingTests.py | 1 +
5070 gi/pygi-info.c | 103
5071 +++++++++++++++++++++++++++++++++----
5072 gi/pygi-type.c | 60 +++++++++++++++++++++
5073 gi/pygi-type.h | 1 +
5075 ++++++++++++++++++++++++++-------
5076 tests/test_gi.py | 30 +++++++++++
5077 6 files changed, 259 insertions(+), 28 deletions(-)
5079 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
5080 Author: Simon Feltman <sfeltman@src.gnome.org>
5081 Date: Fri Nov 9 19:17:03 2012 -0800
5083 Set Property instance doc string and blurb to getter doc string
5085 Assign Property getter __doc__ strings or explicit blurb parameters
5086 to the Property instances __doc__ attribute. This clobbers the
5087 default Property classes lengthy and unhelpful doc string in the case
5090 https://bugzilla.gnome.org/show_bug.cgi?id=688025
5092 gi/_gobject/propertyhelper.py | 10 +++++++---
5093 tests/test_properties.py | 14 ++++++++++----
5094 2 files changed, 17 insertions(+), 7 deletions(-)
5096 commit c5343d329ebb452d97afac30e4120ebab8477556
5097 Author: Martin Pitt <martinpitt@gnome.org>
5098 Date: Mon Nov 12 07:47:02 2012 +0100
5100 tests: Fix for Python 2
5102 Add quirks for Python 2's string handling, and disable the
5103 Everything.test_array_gint8_in() as there seems to be no way of
5107 tests/test_everything.py | 7 +++++--
5108 1 file changed, 5 insertions(+), 2 deletions(-)
5110 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
5111 Author: Martin Pitt <martinpitt@gnome.org>
5112 Date: Sat Nov 10 15:52:15 2012 +0100
5114 test_everything: Add tests for more Regress data and container types
5116 Add more tests for Regress' data and container type test API.
5118 This detects a number of bugs, which have been marked as expected
5120 disabled completely for the cases where they cause crashes:
5122 * unsigned enums with values >= 0x80000000 do not work
5123 * nested ghashes in return values do not work
5124 * array length arguments in callbacks are passed instead of
5127 tests/test_everything.py | 156
5128 ++++++++++++++++++++++++++++++++++++++++++++++-
5129 1 file changed, 154 insertions(+), 2 deletions(-)
5131 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
5132 Author: Martin Pitt <martinpitt@gnome.org>
5133 Date: Fri Nov 9 18:45:22 2012 +0100
5135 test_everything: Add tests for Regress type tests
5137 Add tests for all the data type handling tests of g-i's Regress
5140 tests/test_everything.py | 183
5141 +++++++++++++++++++++++++++++++++++++++++++++++
5142 1 file changed, 183 insertions(+)
5144 commit 0d7974396e8379b518403983d9d13629066680d7
5145 Author: Martin Pitt <martinpitt@gnome.org>
5146 Date: Fri Nov 9 18:44:50 2012 +0100
5148 Add GObject.G_MINSSIZE
5150 gi/_gobject/gobjectmodule.c | 1 +
5151 gi/overrides/GObject.py | 2 +-
5152 2 files changed, 2 insertions(+), 1 deletion(-)
5154 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
5155 Author: Martin Pitt <martinpitt@gnome.org>
5156 Date: Fri Nov 9 16:02:00 2012 +0100
5158 Fix marshalling of GByteArrays
5160 In _pygi_marshal_from_py_array(), set the array length after copying
5162 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
5164 will always come out as zero length.
5166 Enable the TestGByteArray.test_bytearray_none_in() test case as that
5169 gi/pygi-marshal-from-py.c | 1 +
5170 tests/test_gi.py | 3 +--
5171 2 files changed, 2 insertions(+), 2 deletions(-)
5173 commit fa568949c46dd4b537357f1af74d1f675294b760
5174 Author: Martin Pitt <martinpitt@gnome.org>
5175 Date: Fri Nov 9 15:23:37 2012 +0100
5177 Fix marshalling of ssize_t to smaller ints
5179 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
5180 TestArray.test_array_in test, so drop the expected failure.
5182 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
5183 tests/test_gi.py | 2 --
5184 2 files changed, 29 insertions(+), 3 deletions(-)
5186 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
5187 Author: Martin Pitt <martinpitt@gnome.org>
5188 Date: Fri Nov 9 09:37:00 2012 +0100
5190 test_gi: Enable GByteArray constructor tests
5192 GByteArray annotations have been fixed in GLib now, enable the
5195 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
5197 is the same as disabled_test_bytearray_none_in().
5199 tests/test_gi.py | 16 ++++------------
5200 1 file changed, 4 insertions(+), 12 deletions(-)
5202 commit e2c545896ab08b1f1885b502a8472db83f193d08
5203 Author: Martin Pitt <martinpitt@gnome.org>
5204 Date: Fri Nov 9 09:11:38 2012 +0100
5206 test_gi: Enable GBytes test cases
5208 GBytes annotations are fixed in GLib now, enable the test case and
5210 for g_bytes_new_take() and g_bytes_{compare,equal}().
5212 Please note that calling unref_to_array() on a GBytes object that
5214 ourselves currently causes a double free crash, so disable that part
5217 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
5218 1 file changed, 25 insertions(+), 5 deletions(-)
5220 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
5221 Author: Martin Pitt <martinpitt@gnome.org>
5222 Date: Fri Nov 9 08:26:29 2012 +0100
5224 test_gi: Add missing data type tests from GIMarshallingTests
5226 Add tests for types time_t, GBytes, GByteArray, and various variants
5228 around GValues, flags, enums, arrays, and boxed structs. This tests
5230 is provided by GIMarshallingTests, but which we did not cover yet.
5232 This detects a number of bugs in annotations and our
5233 marshalling. These have
5234 been marked as expected failure, or disabled completely for the
5238 tests/test_gi.py | 152
5239 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
5240 1 file changed, 152 insertions(+)
5242 commit 0456d9c892b76ed79134230a4a8610a23c602964
5243 Author: Martin Pitt <martinpitt@gnome.org>
5244 Date: Fri Nov 9 06:44:46 2012 +0100
5246 autogen.sh: Only enable code coverage if lcov is installed
5248 Otherwise we break minimal build environments.
5250 autogen.sh | 8 +++++++-
5251 1 file changed, 7 insertions(+), 1 deletion(-)
5253 commit 76a3acebf73f930c541d0f30249f67d254f948ab
5254 Author: Martin Pitt <martinpitt@gnome.org>
5255 Date: Fri Nov 9 06:41:58 2012 +0100
5257 Lower autoconf dependency to 2.68 again
5260 1 file changed, 1 insertion(+), 1 deletion(-)
5262 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
5263 Author: Martin Pitt <martinpitt@gnome.org>
5264 Date: Thu Nov 8 14:54:30 2012 +0100
5266 Add support for lcov code coverage
5268 Use gnome-common's new code coverage flags. Default to enabling
5270 in autogen.sh (but not for dist).
5272 To use this, run "make check-code-coverage" after building.
5277 configure.ac | 6 ++++++
5278 4 files changed, 10 insertions(+), 1 deletion(-)
5280 commit e46af4aba220cfaf4b84a9be847f3363da556993
5281 Author: Martin Pitt <martinpitt@gnome.org>
5282 Date: Wed Nov 7 17:14:22 2012 +0100
5284 Update documentation files
5286 Update AUTHORS to have the current maintainers.
5288 Update HACKING to drop Tomeu's GNOME login (this should be set in
5291 Update INSTALL to current upstream version.
5296 +++++++++++++++++++++++++++++++++++++++++++---------------------
5297 3 files changed, 267 insertions(+), 130 deletions(-)
5299 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
5300 Author: Martin Pitt <martinpitt@gnome.org>
5301 Date: Wed Nov 7 17:08:11 2012 +0100
5303 Quiesce automake output
5305 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
5307 existing symlinks on rebuilds.
5309 gi/Makefile.am | 2 +-
5310 gi/_glib/Makefile.am | 2 +-
5311 gi/_gobject/Makefile.am | 2 +-
5312 tests/Makefile.am | 6 +++---
5313 4 files changed, 6 insertions(+), 6 deletions(-)
5315 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
5316 Author: Martin Pitt <martinpitt@gnome.org>
5317 Date: Wed Nov 7 16:50:07 2012 +0100
5319 Drop unused variable, fail builds on those
5321 Build with -Werror=unused-variable, as these could hide programming
5323 incomplete refactoring, and are not platform dependent.
5325 Drop unused variable in pyg_type_add_interfaces().
5328 gi/_gobject/gobjectmodule.c | 1 -
5329 2 files changed, 1 insertion(+), 1 deletion(-)
5331 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
5332 Author: Martin Pitt <martinpitt@gnome.org>
5333 Date: Wed Nov 7 16:37:04 2012 +0100
5335 configure.ac: Drop maintainer mode, modernize libtool declarations
5337 Use all arguments of AC_INIT.
5339 AM_MAINTAINER_MODE is discouraged now, drop it.
5341 Use LT_PREREQ and LT_INIT for libtool initialization instead of
5345 See https://live.gnome.org/GnomeGoals/ModernAutotools
5347 configure.ac | 19 ++++++-------------
5348 1 file changed, 6 insertions(+), 13 deletions(-)
5350 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
5351 Author: Martin Pitt <martinpitt@gnome.org>
5352 Date: Wed Nov 7 16:21:13 2012 +0100
5354 autoupdate configure.ac
5356 Result of "autoupdate", with slight manual beautification.
5358 See https://live.gnome.org/GnomeGoals/ModernAutotools
5360 configure.ac | 21 +++++++++------------
5361 1 file changed, 9 insertions(+), 12 deletions(-)
5363 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
5364 Author: Jose Rostagno <joserostagno@vijona.com.ar>
5365 Date: Mon Nov 5 14:26:05 2012 -0300
5367 pygi-convert: remove deprecated GLib → GObject conversions
5369 Using these functions from the GObject module is deprecated now,
5373 pygi-convert.sh | 5 -----
5374 1 file changed, 5 deletions(-)
5376 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
5377 Author: Simon Feltman <sfeltman@src.gnome.org>
5378 Date: Wed Nov 7 03:49:24 2012 -0800
5380 Use hasattr when testing for __info__ when finding vfuncs
5382 Change gi.types.find_vfunc_info_in_interface to use hasattr
5383 when finding vfuncs. Using '__info__' in __dict__ was skipping
5384 overridden interfaces which don't directly contain the __info__.
5387 1 file changed, 1 insertion(+), 1 deletion(-)
5389 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
5390 Author: Martin Pitt <martinpitt@gnome.org>
5391 Date: Wed Nov 7 12:05:24 2012 +0100
5393 tests: Ensure that the fatal mask is always reset
5395 On test case failures the fatal mask might be left in a wrong state,
5397 with "finally" that it is reset on failed tests as well, to avoid
5401 tests/test_gi.py | 11 ++++++-----
5402 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
5403 tests/test_pygtkcompat.py | 6 ++++--
5404 tests/test_signal.py | 6 ++++--
5405 4 files changed, 33 insertions(+), 23 deletions(-)
5407 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
5408 Author: Simon Feltman <sfeltman@src.gnome.org>
5409 Date: Tue Nov 6 21:34:06 2012 -0800
5411 Replace GObject notify methods with introspection and python
5413 Replace static context managers for freeze_notify and
5414 handler_block with python context managers. Remove notify,
5415 freeze_notify, thaw_notify static methods as the introspection
5418 https://bugzilla.gnome.org/show_bug.cgi?id=672727
5420 gi/_gobject/pygobject.c | 173
5421 ++----------------------------------------------
5422 gi/overrides/GObject.py | 61 +++++++++++++++--
5423 tests/test_gobject.py | 26 ++++++--
5424 tests/test_signal.py | 13 +++-
5425 4 files changed, 91 insertions(+), 182 deletions(-)
5427 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
5428 Author: Simon Feltman <sfeltman@src.gnome.org>
5429 Date: Tue Oct 23 13:56:32 2012 -0700
5431 Add support for overriding GObject.Object
5433 Shift pygi module mechanics so the introspection generated 'Object'
5434 class becomes derived from the static GObject class. Add initial
5435 GObject.Object override which sets all static methods back essentially
5436 leapfrogging the introspection methods. This sets the stage for having
5437 the ability to remove static methods piecemeal in favor of
5438 introspection/python in future commits.
5440 https://bugzilla.gnome.org/show_bug.cgi?id=672727
5442 gi/module.py | 30 +++++++++++---------
5443 gi/overrides/GObject.py | 74
5444 ++++++++++++++++++++++++++++++++++++++++++++++++
5445 gi/pygobject-external.h | 10 +------
5446 gi/types.py | 7 +++++
5447 tests/test_gobject.py | 31 ++++++++++++++++----
5448 tests/testhelpermodule.c | 2 +-
5449 6 files changed, 126 insertions(+), 28 deletions(-)
5451 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
5452 Author: Martin Pitt <martinpitt@gnome.org>
5453 Date: Tue Nov 6 13:55:21 2012 +0100
5455 Bump glib dependency to >= 2.34.2
5457 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
5461 configure.ac | 4 ++--
5462 2 files changed, 3 insertions(+), 3 deletions(-)
5464 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
5465 Author: Martin Pitt <martinpitt@gnome.org>
5466 Date: Tue Nov 6 11:28:42 2012 +0100
5470 Point to python-hackers-list instead of the old pygtk list, update
5472 versions, and point to wiki page and IRC.
5474 README | 19 ++++++++++---------
5475 1 file changed, 10 insertions(+), 9 deletions(-)
5477 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
5478 Author: Martin Pitt <martinpitt@gnome.org>
5479 Date: Tue Nov 6 11:21:32 2012 +0100
5481 Add --with-python configure option
5483 This behaves like setting $PYTHON, but also works in build systems
5485 which do not support setting environment variables.
5487 Update README accordingly.
5489 README | 15 +++++++++------
5490 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
5491 2 files changed, 43 insertions(+), 15 deletions(-)
5493 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
5494 Author: Martin Pitt <martinpitt@gnome.org>
5495 Date: Tue Nov 6 10:39:27 2012 +0100
5497 python.m4: Add python3.3, do not prefer unversioned "python"
5499 Add python 3.3 to the search list.
5501 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
5503 "python", so use that as last fallback if more specific versions do
5508 2 files changed, 2 insertions(+), 2 deletions(-)
5510 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
5511 Author: Martin Pitt <martinpitt@gnome.org>
5512 Date: Tue Nov 6 09:48:50 2012 +0100
5514 m4: Update py-compile to current upstream version
5516 Update py-compile to current versions from automake 1.11.6.
5519 +++++++++++++++++++++++++++++++++++------------------------
5520 1 file changed, 48 insertions(+), 33 deletions(-)
5522 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
5523 Author: Martin Pitt <martinpitt@gnome.org>
5524 Date: Tue Nov 6 09:57:00 2012 +0100
5526 m4: Update introspection.m4 to current upstream version
5528 m4/introspection.m4 | 4 ++++
5529 1 file changed, 4 insertions(+)
5531 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
5532 Author: Martin Pitt <martinpitt@gnome.org>
5533 Date: Tue Nov 6 09:53:15 2012 +0100
5535 option.py: Fix PEP-8 error
5537 gi/_glib/option.py | 2 +-
5538 1 file changed, 1 insertion(+), 1 deletion(-)
5540 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
5541 Author: Simon Feltman <sfeltman@src.gnome.org>
5542 Date: Mon Nov 5 18:27:56 2012 -0800
5544 Remove DynamicGLibModule and DynamicGObjectModule
5546 Move final bits of _glib static binding imports directly into
5547 the GLib override. Change _glib/option use the .so directly
5548 rather than the staged variables in _glib/__init__.py.
5549 Remove DynamicGLibModule and DynamicGObjectModule and update
5552 https://bugzilla.gnome.org/show_bug.cgi?id=687488
5554 gi/_glib/__init__.py | 11 ----------
5555 gi/_glib/option.py | 16 +++++++-------
5556 gi/importer.py | 12 ++---------
5558 ----------------------------------------------------
5559 gi/overrides/GLib.py | 14 ++++++++++++
5560 tests/test_gi.py | 9 ++------
5561 6 files changed, 26 insertions(+), 96 deletions(-)
5563 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
5564 Author: Daniel Drake <dsd@laptop.org>
5565 Date: Thu Nov 1 14:46:22 2012 +0000
5567 Fix property lookup in class hierarchy
5569 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
5570 a Python subclass of a gi-provided base class overrides a property
5574 The new behaviour in the above commit causes pygobject to seek
5576 in the base class and try to read it from there (resulting in
5578 rather than noticing that the property is overridden and present
5580 Python object instance.
5582 To provide a nicer solution here, we can exploit the fact that
5583 g_object_class_find_property() will traverse the hierarchy in order to
5584 find the right GParamSpec, and the returned GParamSpec can tell
5586 which GType introduces the property. The strategy is:
5588 1. Find pspec with g_object_class_find_property()
5589 2. Find the class that owns that property (pspec->owner_type)
5590 3. See if girepository owns that class.
5591 3a. If yes, get property from there.
5592 3b. If not, get property "directly"
5594 And the same for property setting.
5596 Now that _pygi_lookup_property_from_g_type is always passed the
5598 implements the property, it no longer has to go recursing through
5600 classes, which was the original cause of confusion.
5602 https://bugzilla.gnome.org/show_bug.cgi?id=686942
5604 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
5605 gi/pygi-property.c | 130
5606 ++++++++++++++++++++++-------------------------
5607 gi/pygi-property.h | 4 +-
5608 gi/pygi.h | 12 ++---
5609 tests/test_properties.py | 30 +++++++++++
5610 5 files changed, 164 insertions(+), 104 deletions(-)
5612 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
5613 Author: Martin Pitt <martinpitt@gnome.org>
5614 Date: Sat Nov 3 16:14:01 2012 +0100
5616 Move property and signal creation into _class_init()
5618 We must not add class interfaces after g_type_class_ref() has been
5620 first time. Move signal and property creation from pyg_type_register()
5622 pyg_object_class_init(), and drop the hack of registering interfaces
5625 This changed class initialization order now exposes GLib's warning
5627 unknown signals, so adjust
5628 test_signal.TestGSignalsError.test_invalid_name() to
5631 https://bugzilla.gnome.org/show_bug.cgi?id=686149
5633 gi/_gobject/gobjectmodule.c | 177
5634 ++++++++++++++++++--------------------------
5635 tests/test_signal.py | 6 +-
5636 2 files changed, 75 insertions(+), 108 deletions(-)
5638 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
5639 Author: Jose Rostagno <joserostagno@vijona.com.ar>
5640 Date: Sat Nov 3 13:21:52 2012 -0300
5642 Remove unused macro definitions
5644 PYGLIB_*_VERSION are not used anywhere any more, remove those.
5645 (dropped in commit 8d52bceb1)
5647 gi/_glib/glibmodule.c | 5 -----
5648 1 file changed, 5 deletions(-)
5650 commit fa054fd15b8874760bee97d9af168a2969e6ece4
5651 Author: Martin Pitt <martinpitt@gnome.org>
5652 Date: Mon Nov 5 14:38:07 2012 +0100
5654 testhelpermodule.c: Drop obsolete g_thread_init()
5656 We already require a new enough glib version as we dropped
5658 the main code a long time ago. But for formality's sake, bump glib
5662 configure.ac | 4 ++--
5663 tests/testhelpermodule.c | 1 -
5664 2 files changed, 2 insertions(+), 3 deletions(-)
5666 commit 2e57530a27a44e94927d487cf2f2d9e543777654
5667 Author: Martin Pitt <martinpitt@gnome.org>
5668 Date: Mon Nov 5 14:37:11 2012 +0100
5670 pygi-source.c: Drop dead code
5672 gi/pygi-source.c | 2 --
5673 1 file changed, 2 deletions(-)
5675 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
5676 Author: Simon Feltman <sfeltman@src.gnome.org>
5677 Date: Sun Nov 4 22:22:53 2012 -0800
5679 Move TYPE constants from _gobject to GObject
5681 Clear out TYPE constants from _gobject/__init__.py and move them
5683 GObject overrides. Disperse class imports among modules that use
5685 of using _gobject/__init__.py as a staging area (e.g. GInterface).
5687 https://bugzilla.gnome.org/show_bug.cgi?id=687487
5689 gi/_gobject/__init__.py | 30 ------------------------------
5690 gi/_gobject/constants.py | 2 +-
5691 gi/module.py | 38 +++++++++++++++++++++++++-------------
5692 gi/overrides/__init__.py | 9 ++++++---
5693 gi/types.py | 10 ++++++----
5694 5 files changed, 38 insertions(+), 51 deletions(-)
5696 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
5697 Author: Martin Pitt <martinpitt@gnome.org>
5698 Date: Mon Nov 5 13:10:05 2012 +0100
5700 Move G_MIN/MAX constants into GObject overrides
5702 These really ought to come from GLib's typelib, but are not right
5704 need to keep the static bindings for those. But drop them from
5706 move them into the overrides where they belong.
5708 gi/_gobject/__init__.py | 17 -----------------
5709 gi/_gobject/constants.py | 21 ---------------------
5710 gi/_gobject/propertyhelper.py | 2 +-
5711 gi/overrides/GObject.py | 9 +++++++++
5712 tests/test_gi.py | 32 ++++++++++++++++----------------
5713 5 files changed, 26 insertions(+), 55 deletions(-)
5715 commit 12b84727edc36f686a7031b5c4c6bf662838908d
5716 Author: Martin Pitt <martinpitt@gnome.org>
5717 Date: Mon Nov 5 11:04:54 2012 +0100
5719 Replace static OPTION_* constants with GI
5721 Drop static definitions of GLib.OPTION_* constants and use the ones
5725 https://bugzilla.gnome.org/show_bug.cgi?id=686765
5727 gi/_glib/__init__.py | 13 -------------
5728 gi/_glib/glibmodule.c | 32 --------------------------------
5729 gi/_glib/option.py | 46
5730 ++++++++++++++++++++++++----------------------
5731 gi/overrides/GLib.py | 13 +++++++++++++
5732 gi/overrides/GObject.py | 2 +-
5733 5 files changed, 38 insertions(+), 68 deletions(-)
5735 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
5736 Author: Martin Pitt <martinpitt@gnome.org>
5737 Date: Mon Nov 5 10:14:52 2012 +0100
5739 tests: Do not use deprecated assertRaisesRegexp()
5741 Use assertRaisesRegex() instead and provide 2.7 compatibility in
5744 tests/runtests.py | 3 +++
5745 tests/test_signal.py | 8 ++++----
5746 2 files changed, 7 insertions(+), 4 deletions(-)
5748 commit da2106902eb3dabebdff1674743cb3040566a745
5749 Author: Simon Feltman <sfeltman@src.gnome.org>
5750 Date: Sun Nov 4 02:57:29 2012 -0800
5752 Move gobject static functions and constants to gi
5754 Replace the following functions with gi and overrides:
5755 type_children, type_interfaces, signal_list_ids, signal_list_names,
5756 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
5757 PARAM_* from gi SignalFlags and ParamFlags respectively.
5758 Move module level assignments of a number of static functions to
5759 the GObject.py overrides file.
5761 https://bugzilla.gnome.org/show_bug.cgi?id=687487
5763 docs/reference/pygobject-functions.xml | 25 ---
5764 gi/_gobject/__init__.py | 72 +--------
5765 gi/_gobject/gobjectmodule.c | 272
5766 ---------------------------------
5767 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
5768 gi/overrides/__init__.py | 5 +-
5769 tests/test_signal.py | 11 +-
5770 6 files changed, 215 insertions(+), 378 deletions(-)
5772 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
5773 Author: Simon Feltman <sfeltman@src.gnome.org>
5774 Date: Sun Nov 4 02:52:19 2012 -0800
5776 Make unitests for gobject functions moving to gi more strict
5778 Add expected failure test for invalid SystemError's coming from
5779 signal_lookup and signal_list_ids. Remove excessive type_name
5780 tests and type_from_name tests.
5782 https://bugzilla.gnome.org/show_bug.cgi?id=687487
5784 tests/test_gtype.py | 53
5785 ----------------------------------------------------
5786 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
5787 2 files changed, 25 insertions(+), 68 deletions(-)
5789 commit 3267808318b284814e52f2803b17af56fca648ad
5790 Author: Martin Pitt <martinpitt@gnome.org>
5791 Date: Sat Nov 3 14:17:25 2012 +0100
5793 [API change] Remove static filename_from_utf8() binding
5795 Replace static GLib.filename_from_utf8() with GI. The old static
5797 tried to convert the result to an Unicode object, which will fail
5799 is not UTF-8 encoded (which is the whole point of this function
5803 Although the static binding was rather useless before, this is
5807 docs/reference/pyglib-functions.xml | 32 --------------------------------
5808 gi/_glib/__init__.py | 1 -
5809 gi/_glib/glibmodule.c | 26 --------------------------
5810 gi/_gobject/__init__.py | 1 -
5811 gi/overrides/GLib.py | 8 ++++++++
5812 gi/overrides/GObject.py | 3 ++-
5813 tests/test_glib.py | 8 ++++++++
5814 7 files changed, 18 insertions(+), 61 deletions(-)
5816 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
5817 Author: Martin Pitt <martinpitt@gnome.org>
5818 Date: Sat Nov 3 13:14:15 2012 +0100
5820 Drop static glib_version and pyglib_version constants
5822 Use the GLib version from GI instead, and the already existing
5825 docs/reference/pyglib-constants.xml | 50
5826 ----------------------------------
5827 docs/reference/pygobject-constants.xml | 19 -------------
5828 gi/_glib/__init__.py | 2 --
5829 gi/_glib/glibmodule.c | 21 --------------
5830 gi/_gobject/__init__.py | 1 -
5831 gi/overrides/GLib.py | 8 +++++-
5832 gi/overrides/GObject.py | 3 +-
5833 tests/test_glib.py | 12 ++++++++
5834 8 files changed, 21 insertions(+), 95 deletions(-)
5836 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
5837 Author: Martin Pitt <martinpitt@gnome.org>
5838 Date: Sat Nov 3 12:12:44 2012 +0100
5840 Drop static G_MININT8 and related constants
5842 Use the introspected constants from GLib instead.
5844 gi/_gobject/__init__.py | 12 ------------
5845 gi/_gobject/constants.py | 12 ------------
5846 gi/_gobject/gobjectmodule.c | 18 +-----------------
5847 gi/overrides/GObject.py | 17 +++++++++++++++++
5848 tests/test_gobject.py | 4 ++++
5849 5 files changed, 22 insertions(+), 41 deletions(-)
5851 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
5852 Author: Martin Pitt <martinpitt@gnome.org>
5853 Date: Sat Nov 3 11:58:40 2012 +0100
5855 test_gobject: Add test case for min/max int constants
5857 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
5859 tests/test_gobject.py | 9 +++++++++
5860 1 file changed, 9 insertions(+)
5862 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
5863 Author: Jose Rostagno <joserostagno@vijona.com.ar>
5864 Date: Sat Oct 27 15:37:32 2012 -0300
5866 Use g_object_info_find_signal()
5868 Replace our custom code with a call to the corresponding
5869 gobject-instrospection
5872 https://bugzilla.gnome.org/show_bug.cgi?id=687371
5874 gi/pygi-signal-closure.c | 21 ++++-----------------
5875 1 file changed, 4 insertions(+), 17 deletions(-)
5877 commit ae6d0aada9587cd4dca168375527b80785b604a0
5878 Author: Martin Pitt <martinpitt@gnome.org>
5879 Date: Sat Nov 3 11:23:06 2012 +0100
5881 GLib overrides: code cleanup
5883 Factorize the logic to handle zero or multiple user_data arguments
5885 user_data_varargs_shim(), and put code that handles deprecated API
5887 corresponding "then" branches, to improve readability.
5889 gi/overrides/GLib.py | 87
5890 ++++++++++++++++++++++++++++------------------------
5891 1 file changed, 47 insertions(+), 40 deletions(-)
5893 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
5894 Author: Martin Pitt <martinpitt@gnome.org>
5895 Date: Sat Nov 3 09:33:08 2012 +0100
5897 Restore actual GLib API after previous fix
5899 Re-fix the acceptance of priority as first argument for idle_add(),
5900 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
5902 this keeps supporting the backwards compatible API with supplying
5906 https://bugzilla.gnome.org/show_bug.cgi?id=687047
5908 gi/overrides/GLib.py | 117
5909 +++++++++++++++++++++++++-----------------------
5910 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
5911 tests/test_source.py | 30 +++++++++++++
5912 3 files changed, 158 insertions(+), 63 deletions(-)
5914 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
5915 Author: Simon Feltman <sfeltman@src.gnome.org>
5916 Date: Fri Nov 2 21:01:38 2012 -0700
5918 Add unittests for module level type and signal functions
5920 Add tests for the following methods: signal_list_ids,
5921 signal_name, signal_lookup, signal_query, type_children,
5922 type_from_name, type_name, type_is_a, and type_interfaces.
5924 https://bugzilla.gnome.org/show_bug.cgi?id=687487
5926 tests/Makefile.am | 1 +
5927 tests/test_gtype.py | 106
5928 +++++++++++++++++++++++++++++++++++++++++++++++++++
5929 tests/test_signal.py | 43 +++++++++++++++++++++
5930 3 files changed, 150 insertions(+)
5932 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
5933 Author: Simon Feltman <sfeltman@src.gnome.org>
5934 Date: Tue Oct 30 18:33:44 2012 -0700
5936 Fix GLib override incompatibilities with old static API
5938 Change idle_add, timeout_add, timeout_add_seconds, and
5939 io_add_watch to accept *args and **kwargs as arguments
5940 to the callback functions instead of only accepting a single
5941 user_data arg. This ensures the new overridden introspection
5942 methods are backwards compatible with the static versions
5945 https://bugzilla.gnome.org/show_bug.cgi?id=687047
5947 gi/overrides/GLib.py | 98
5948 ++++++++++++++++++++++++++++---------------------
5949 tests/test_iochannel.py | 37 +++++++++++++++++--
5950 2 files changed, 90 insertions(+), 45 deletions(-)
5952 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
5953 Author: Simon Feltman <sfeltman@src.gnome.org>
5954 Date: Tue Oct 30 12:01:44 2012 -0700
5956 Fix IOChannel unittests for python 2.7
5958 Use __future__ unicode_literals to minimize difference
5959 between python 2.7 and 3. Comparisons need to encode arguments as
5960 'UTF-8' for testing readline operations.
5961 Add backwards compatible "next" to support the python 2.7 iteration.
5962 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
5963 support all python versions (and duck typing).
5965 https://bugzilla.gnome.org/show_bug.cgi?id=687047
5967 gi/overrides/GLib.py | 4 +++-
5968 tests/test_iochannel.py | 1 +
5969 2 files changed, 4 insertions(+), 1 deletion(-)
5971 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
5972 Author: Martin Pitt <martinpitt@gnome.org>
5973 Date: Mon Oct 29 23:00:31 2012 +0100
5975 Allow calling io_add_watch with a file object
5977 The old static bindings allowed that, so we need to allow it to
5979 backwards compatibility. Deprecate this mode as well, so that we
5983 https://bugzilla.gnome.org/show_bug.cgi?id=687047
5985 gi/overrides/GLib.py | 7 +++++++
5986 tests/test_glib.py | 26 ++++++++++++++++++++++++++
5987 2 files changed, 33 insertions(+)
5989 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
5990 Author: John Ralls <jralls@ceridwen.us>
5991 Date: Mon Oct 29 14:57:22 2012 -0700
5993 Fix duplicate symbols error on OSX
5995 gi/pygi-source.c | 1 +
5996 1 file changed, 1 insertion(+)
5998 commit 5a367aa067e369f2b1e713199614e3426fecc10e
5999 Author: Martin Pitt <martinpitt@gnome.org>
6000 Date: Sun Oct 28 17:42:34 2012 +0100
6002 Drop removed markup-escape-text() from reference documentation
6004 docs/reference/pyglib-functions.xml | 36
6005 ------------------------------------
6006 1 file changed, 36 deletions(-)
6008 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
6009 Author: Martin Pitt <martinpitt@gnome.org>
6010 Date: Sun Oct 28 17:41:03 2012 +0100
6012 Drop some dead code from gi/_glib/glibmodule.c
6014 gi/_glib/glibmodule.c | 45 ---------------------------------------------
6015 1 file changed, 45 deletions(-)
6017 commit 7b12803bce3418bb487127f497f022c973f35888
6018 Author: Martin Pitt <martinpitt@gnome.org>
6019 Date: Sun Oct 28 17:37:29 2012 +0100
6021 Remove static get_current_time() binding
6023 Use GLib.get_real_time() through GI instead. Deprecate the function,
6025 GLib.get_real_time() should be called directly.
6027 docs/reference/pyglib-functions.xml | 26 --------------------------
6028 gi/_glib/__init__.py | 1 -
6029 gi/_glib/glibmodule.c | 11 -----------
6030 gi/_glib/pyglib.c | 16 ----------------
6031 gi/_glib/pyglib.h | 1 -
6032 gi/_gobject/__init__.py | 1 -
6033 gi/overrides/GLib.py | 8 ++++++++
6034 gi/overrides/GObject.py | 2 +-
6035 tests/test_glib.py | 6 +++++-
6036 9 files changed, 14 insertions(+), 58 deletions(-)
6038 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
6039 Author: Martin Pitt <martinpitt@gnome.org>
6040 Date: Sun Oct 28 17:23:23 2012 +0100
6042 Add more tests for GLib.spawn_async()
6044 Check spawn_async() with getting stdin/out/err pipes and specifying
6047 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
6048 1 file changed, 29 insertions(+)
6050 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
6051 Author: Martin Pitt <martinpitt@gnome.org>
6052 Date: Sun Oct 28 14:15:05 2012 +0100
6054 Remove static child_add_watch() binding
6056 Use the GLib API through GI instead, and provide override to keep
6058 compatible API. Also allow using the actual GLib API, and deprecate
6060 static API of calling without a priority as first argument.
6062 docs/reference/pyglib-functions.xml | 61 ---------------------------
6063 gi/_glib/__init__.py | 1 -
6064 gi/_glib/glibmodule.c | 72 -------------------------------
6065 gi/_gobject/__init__.py | 1 -
6066 gi/overrides/GLib.py | 46 ++++++++++++++++++++
6067 gi/overrides/GObject.py | 2 +-
6068 tests/test_mainloop.py | 2 +-
6069 tests/test_subprocess.py | 84
6070 ++++++++++++++++++++++++++++++++++---
6071 8 files changed, 127 insertions(+), 142 deletions(-)
6073 commit 4b16427714b850e33c6020d8de1833bae19a3b87
6074 Author: Martin Pitt <martinpitt@gnome.org>
6075 Date: Sun Oct 28 13:44:23 2012 +0100
6077 test_subprocess: Cover more child_watch_add() cases
6079 Verify that priority is set correctly, and also test calling without
6082 tests/test_subprocess.py | 24 +++++++++++++++++++-----
6083 1 file changed, 19 insertions(+), 5 deletions(-)
6085 commit 83ff5938612d37d52f112867a472777dd6786d69
6086 Author: Colin Walters <walters@verbum.org>
6087 Date: Sat Oct 27 12:22:53 2012 -0400
6089 gi/__init__.py: Pacify pep8 style checker
6091 It was complaining about finding only 1 blank line. Regression
6092 likely introduced by f976d05b.
6094 https://bugzilla.gnome.org/show_bug.cgi?id=686991
6096 gi/__init__.py | 1 +
6097 1 file changed, 1 insertion(+)
6099 commit f976d05b04f26e733d19988e68989e340eb3a29e
6100 Author: Martin Pitt <martinpitt@gnome.org>
6101 Date: Fri Oct 26 10:39:28 2012 +0200
6103 Use a custom deprecation warning to make them visible by default
6105 DeprecationWarning is not shown by default, and is thus rather
6107 developers. Use a custom PyGIDeprecationWarning class and derive
6109 RuntimeWarning to make it visible.
6111 gi/__init__.py | 5 +++++
6112 gi/overrides/GLib.py | 5 +++--
6113 gi/overrides/Gtk.py | 5 +++--
6114 gi/overrides/__init__.py | 4 ++--
6115 gi/pygtkcompat.py | 4 ++--
6116 tests/Makefile.am | 2 +-
6117 tests/test_glib.py | 5 +++--
6118 tests/test_gobject.py | 3 ++-
6119 tests/test_iochannel.py | 5 +++--
6120 tests/test_source.py | 3 ++-
6121 10 files changed, 26 insertions(+), 15 deletions(-)
6123 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
6124 Author: Martin Pitt <martinpitt@gnome.org>
6125 Date: Fri Oct 26 09:26:17 2012 +0200
6127 Remove static io_add_watch() binding
6129 Use the GLib API through GI instead, and provide override to keep
6131 compatible API. Also allow using the actual GLib API, and deprecate
6134 - calling with an fd as first argument instead of an IOChannel
6135 - calling without a priority as second argument
6137 docs/reference/pyglib-functions.xml | 106
6138 ------------------------------------
6139 gi/_glib/__init__.py | 1 -
6140 gi/_glib/glibmodule.c | 98
6141 ---------------------------------
6142 gi/_gobject/__init__.py | 1 -
6143 gi/overrides/GLib.py | 51 ++++++++++++++---
6144 gi/overrides/GObject.py | 3 +-
6145 tests/test_glib.py | 15 ++++-
6146 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
6147 8 files changed, 126 insertions(+), 219 deletions(-)
6149 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
6150 Author: Martin Pitt <martinpitt@gnome.org>
6151 Date: Fri Oct 26 08:48:35 2012 +0200
6153 Add tests for GLib.io_add_watch()
6155 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
6156 1 file changed, 36 insertions(+)
6158 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
6159 Author: Martin Pitt <martinpitt@gnome.org>
6160 Date: Thu Oct 25 15:55:46 2012 +0200
6162 Remove static GIOChannel bindings
6164 Use the GLib API through GI instead, and provide overrides to keep
6166 compatible API, including its bugs.
6168 We still need to keep a static wrapper around
6169 g_io_channel_read_chars() until
6170 we teach PyGObject to correctly handle caller allocated out array
6173 https://bugzilla.gnome.org/show_bug.cgi?id=686795
6175 gi/_glib/Makefile.am | 2 -
6176 gi/_glib/__init__.py | 1 -
6177 gi/_glib/glibmodule.c | 2 -
6178 gi/_glib/pygiochannel.c | 748
6179 ------------------------------------------------
6180 gi/_glib/pygiochannel.h | 29 --
6181 gi/_gobject/__init__.py | 1 -
6182 gi/gimodule.c | 72 +++++
6183 gi/overrides/GLib.py | 95 +++++-
6184 8 files changed, 161 insertions(+), 789 deletions(-)
6186 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
6187 Author: Martin Pitt <martinpitt@gnome.org>
6188 Date: Thu Oct 25 12:59:46 2012 +0200
6190 test_iochannel.py: Fix data type of IOFlags
6192 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
6194 the result is of type GLib.IOFlags again.
6196 tests/test_iochannel.py | 2 +-
6197 1 file changed, 1 insertion(+), 1 deletion(-)
6199 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
6200 Author: Martin Pitt <martinpitt@gnome.org>
6201 Date: Thu Oct 25 08:24:31 2012 +0200
6203 Add environment variable to disable pep8 checks
6205 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
6207 makes the test/fix turnaround time faster.
6209 tests/Makefile.am | 6 ++++--
6210 1 file changed, 4 insertions(+), 2 deletions(-)
6212 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
6213 Author: Simon Feltman <sfeltman@src.gnome.org>
6214 Date: Wed Oct 24 04:31:26 2012 -0700
6216 [API add] Add get_introspection_module for getting un-overridden
6219 Add gi.module.get_introspection_module to explicitly get a
6220 wrapped module pulled in through introspection without static
6221 and python override handling. This API is intended for python
6222 overrides to use rather than having them access
6223 gi.importer.modules['<name>']._introspection_module directly.
6224 Replace aforementioned usage in all overrides.
6226 https://bugzilla.gnome.org/show_bug.cgi?id=686828
6229 +++++++++++++++++++++++++++++++++++---
6230 gi/overrides/GIMarshallingTests.py | 4 ++--
6231 gi/overrides/GLib.py | 4 ++--
6232 gi/overrides/Gdk.py | 6 +++---
6233 gi/overrides/Gio.py | 4 ++--
6234 gi/overrides/Gtk.py | 5 +++--
6235 gi/overrides/Pango.py | 4 ++--
6236 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
6237 8 files changed, 78 insertions(+), 16 deletions(-)
6239 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
6240 Author: Martin Pitt <martinpitt@gnome.org>
6241 Date: Wed Oct 24 15:16:13 2012 +0200
6243 test_option: Use public API
6245 Use GLib.option, not gi._glib.option.
6247 tests/test_option.py | 42 ++++++++++++++++++++----------------------
6248 1 file changed, 20 insertions(+), 22 deletions(-)
6250 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
6251 Author: Martin Pitt <martinpitt@gnome.org>
6252 Date: Wed Oct 24 14:12:05 2012 +0200
6254 Drop static SPAWN_* constants
6256 Use the introspected constants instead, which are identical. Add
6260 These constants are covered by tests/test_subprocess.py.
6262 https://bugzilla.gnome.org/show_bug.cgi?id=686765
6264 docs/reference/pyglib-constants.xml | 68
6265 ----------------------------------
6266 docs/reference/pyglib-functions.xml | 26 ++++++-------
6267 docs/reference/pygobject-constants.xml | 67
6268 ---------------------------------
6269 gi/_glib/__init__.py | 7 ----
6270 gi/_glib/glibmodule.c | 15 --------
6271 gi/_gobject/__init__.py | 7 ----
6272 gi/overrides/GLib.py | 6 +++
6273 gi/overrides/GObject.py | 6 ++-
6274 tests/test_subprocess.py | 6 ++-
6275 9 files changed, 29 insertions(+), 179 deletions(-)
6277 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
6278 Author: Martin Pitt <martinpitt@gnome.org>
6279 Date: Wed Oct 24 13:59:31 2012 +0200
6281 Drop static IO_* constants
6283 Use the introspected constants instead, which are identical. Add
6287 These constants are covered by tests/test_iochannel.py.
6289 docs/reference/pyglib-constants.xml | 52
6290 -------------------------------------
6291 gi/_glib/__init__.py | 19 --------------
6292 gi/_glib/glibmodule.c | 32 -----------------------
6293 gi/_gobject/__init__.py | 18 -------------
6294 gi/overrides/GLib.py | 18 ++++++++++++-
6295 gi/overrides/GObject.py | 8 +++++-
6296 tests/test_iochannel.py | 1 +
6297 tests/test_source.py | 2 +-
6298 8 files changed, 26 insertions(+), 124 deletions(-)
6300 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
6301 Author: Martin Pitt <martinpitt@gnome.org>
6302 Date: Wed Oct 24 12:50:50 2012 +0200
6304 Fix various bugs in GLib.IOChannel
6306 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
6308 NULL on the last element, instead of raising a StopIteration.
6310 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
6312 stream is being used in binary mode; in that case, we should not
6314 do any automagic conversion to an Unicode object. As this special
6316 inconsistent and has never worked anyway, and the current buggy
6317 implementation breaks binary streams, just drop it without
6319 (Introduced in commit de9eae4dfcce8)
6321 These bugs were uncovered by the previously committed tests.
6323 gi/_glib/pygiochannel.c | 25 +++++--------------------
6324 1 file changed, 5 insertions(+), 20 deletions(-)
6326 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
6327 Author: Martin Pitt <martinpitt@gnome.org>
6328 Date: Wed Oct 24 12:49:04 2012 +0200
6330 Add tests for GLib.IOChannel
6332 This did not have any code coverage at all. The tests uncover a
6334 which will be fixed in the next commit.
6336 tests/Makefile.am | 1 +
6337 tests/test_iochannel.py | 262
6338 ++++++++++++++++++++++++++++++++++++++++++++++++
6339 2 files changed, 263 insertions(+)
6341 commit 1b27432abf6004553e9476d5ffeb2bf603534419
6342 Author: Martin Pitt <martinpitt@gnome.org>
6343 Date: Wed Oct 24 08:50:37 2012 +0200
6345 Remove static idle_add/timeout_add bindings
6347 Use the GLib functions through GI instead. Add overrides to ensure
6349 arguments continue to work as before, and that callbacks are called
6351 userdata argument if it wasn't specified.
6353 docs/reference/pyglib-functions.xml | 165
6354 ------------------------------------
6355 gi/_glib/__init__.py | 3 -
6356 gi/_glib/glibmodule.c | 139 ------------------------------
6357 gi/_gobject/__init__.py | 3 -
6358 gi/overrides/GLib.py | 31 +++++++
6359 gi/overrides/GObject.py | 3 +-
6360 tests/test_source.py | 19 +++++
6361 7 files changed, 52 insertions(+), 311 deletions(-)
6363 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
6364 Author: Martin Pitt <martinpitt@gnome.org>
6365 Date: Wed Oct 24 09:14:57 2012 +0200
6367 Add tests for priority argument of idle_add/timeout_add
6369 There is a potential to treat the priority as user data in a call like
6370 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
6372 using a keyword argument for the priority (but silently ignore it
6374 specify both userdata and priority as a positional argument).
6376 Test the correct handling of priority as well.
6378 tests/test_source.py | 63
6379 ++++++++++++++++++++++++++++++++++++++++++++++++----
6380 1 file changed, 59 insertions(+), 4 deletions(-)
6382 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
6383 Author: Martin Pitt <martinpitt@gnome.org>
6384 Date: Wed Oct 24 08:40:50 2012 +0200
6386 Drop old ChangeLog.pre-2.18
6388 This is ancient by now, quite sizable, and the complete history can
6390 seen in the git log.
6392 ChangeLog.pre-2.18 | 3608
6393 ----------------------------------------------------
6395 2 files changed, 3609 deletions(-)
6397 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
6398 Author: Martin Pitt <martinpitt@gnome.org>
6399 Date: Wed Oct 24 08:39:05 2012 +0200
6401 Fix PEP-8 whitespace in previous commit
6403 tests/test_source.py | 4 ++++
6404 1 file changed, 4 insertions(+)
6406 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
6407 Author: Martin Pitt <martinpitt@gnome.org>
6408 Date: Wed Oct 24 08:33:49 2012 +0200
6410 Add tests for idle_add()/timeout_add with and without user data
6412 This is implicitly spread over various test cases, but let's test
6414 to ensure that the behaviour stays consistent when moving this to GI.
6416 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
6417 1 file changed, 35 insertions(+)
6419 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
6420 Author: Martin Pitt <martinpitt@gnome.org>
6421 Date: Wed Oct 24 08:05:43 2012 +0200
6423 tests: consitent naming style
6425 Stop mixing camel case and underline naming, use the latter
6429 tests/test_gobject.py | 64
6430 +++++++++++++++++++++++------------------------
6431 tests/test_interface.py | 4 +--
6432 tests/test_option.py | 14 +++++------
6433 tests/test_pygtkcompat.py | 32 ++++++++++++------------
6434 tests/test_signal.py | 10 ++++----
6435 tests/test_source.py | 23 ++++++++---------
6436 tests/test_subprocess.py | 2 +-
6437 tests/test_thread.py | 2 +-
6438 tests/test_unknown.py | 2 +-
6439 9 files changed, 76 insertions(+), 77 deletions(-)
6441 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
6442 Author: Martin Pitt <martinpitt@gnome.org>
6443 Date: Wed Oct 24 07:28:10 2012 +0200
6445 Work around wrong 64 bit constants in GLib Gir
6447 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
6449 set them in an override, until this gets fixed properly.
6451 https://bugzilla.gnome.org/show_bug.cgi?id=685022
6453 gi/overrides/GLib.py | 8 ++++++++
6454 tests/test_gi.py | 9 +++++++++
6455 2 files changed, 17 insertions(+)
6457 commit f30efd2619911c89ca873fac6bec06a1b60fab82
6458 Author: Martin Pitt <martinpitt@gnome.org>
6459 Date: Tue Oct 23 13:32:14 2012 +0200
6461 Mark GLib.Source.get_current_time() as deprecated
6463 This method has been deprecated in GLib long ago. We have a workaround
6464 implementation using GLib.get_real_time(), but eventually this should
6467 gi/overrides/GLib.py | 5 ++++-
6468 tests/test_source.py | 8 +++++++-
6469 2 files changed, 11 insertions(+), 2 deletions(-)
6471 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
6472 Author: Martin Pitt <martinpitt@gnome.org>
6473 Date: Tue Oct 23 08:56:19 2012 +0200
6475 Mark GLib API that is exposed in GObject as deprecated
6477 A lot of API in GObject really belongs into GLib and is just there for
6478 historical/backwards compatible reasons. Mark these methods as
6480 that at some point we can drop them.
6482 gi/overrides/GObject.py | 3 ++-
6483 gi/overrides/__init__.py | 13 +++++++++++++
6484 tests/test_gobject.py | 24 ++++++++++++++----------
6485 3 files changed, 29 insertions(+), 11 deletions(-)
6487 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
6488 Author: Martin Pitt <martinpitt@gnome.org>
6489 Date: Fri Oct 19 09:55:05 2012 +0200
6491 Remove static MainLoop, MainContext, and some GSource bindings
6493 glib's MainLoop and MainContext are fully introspectable these days,
6495 our static bindings. This reduces our code, as well enables GLib
6497 hasn't been available through the static bindings before.
6499 This also requires dropping our custom static types for GLib Source,
6501 and Idle. The latter two work fine with introspection and just
6503 overrides for a backwards compatible API. g_source_new() is not
6505 though, so we need to keep our static wrappers for that. Move
6507 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
6510 Note that gi/_glib/pygsource.[hc] is still required for the static
6512 which is used by the static IOChannel binding. Once the latter
6514 PollFD can be dropped as well.
6516 https://bugzilla.gnome.org/show_bug.cgi?id=686443
6518 docs/Makefile.am | 6 +-
6519 docs/reference/pyglib-classes.xml | 2 -
6520 docs/reference/pyglib-constants.xml | 53 ---
6521 docs/reference/pyglib-functions.xml | 58 ---
6522 docs/reference/pyglib-maincontext.xml | 152 --------
6523 docs/reference/pyglib-mainloop.xml | 202 -----------
6524 gi/Makefile.am | 2 +
6525 gi/_glib/Makefile.am | 4 -
6526 gi/_glib/__init__.py | 12 -
6527 gi/_glib/glibmodule.c | 45 +--
6528 gi/_glib/pyglib.c | 15 -
6529 gi/_glib/pyglib.h | 1 -
6530 gi/_glib/pygmaincontext.c | 126 -------
6531 gi/_glib/pygmaincontext.h | 40 ---
6532 gi/_glib/pygmainloop.c | 362 -------------------
6533 gi/_glib/pygmainloop.h | 36 --
6534 gi/_glib/pygsource.c | 640
6535 ----------------------------------
6536 gi/_glib/pygsource.h | 3 -
6537 gi/_gobject/__init__.py | 13 -
6539 gi/overrides/GLib.py | 116 +++++-
6540 gi/overrides/GObject.py | 10 +-
6541 gi/pygi-private.h | 1 +
6542 gi/pygi-source.c | 247 +++++++++++++
6543 gi/pygi-source.h | 31 ++
6544 tests/test_glib.py | 22 +-
6545 tests/test_gobject.py | 2 +
6546 tests/test_source.py | 3 -
6547 28 files changed, 437 insertions(+), 1776 deletions(-)
6549 commit 326218a20681c1f2234a6eea1ed800382be57626
6550 Author: Simon Feltman <s.feltman@gmail.com>
6551 Date: Wed Sep 19 15:37:14 2012 -0700
6553 Deprecate void pointer fields as general PyObject storage.
6555 Complete deprecation of gpointer struct fields as general
6556 PyObject storage. Only int types are now allowed.
6557 Assignment of anything other than an int or None raises
6558 a TypeError stating the error and associated bug URL.
6560 https://bugzilla.gnome.org/show_bug.cgi?id=683599
6562 gi/pygi-argument.c | 25 ++++++++++++++++-----
6563 gi/pygi-info.c | 28 ++++--------------------
6564 tests/test_everything.py | 53
6565 +++++++++++++++++++++++++--------------------
6566 tests/test_overrides_gtk.py | 41 -----------------------------------
6567 4 files changed, 54 insertions(+), 93 deletions(-)
6569 commit 3dba328010a4ffd9259700ffec95871c7341d491
6570 Author: Martin Pitt <martinpitt@gnome.org>
6571 Date: Tue Oct 23 11:59:08 2012 +0200
6573 Add some MainLoop, MainContext, and Source test cases
6575 These cover the remaining static API and behaviour, so that we
6577 regression tests for converting them to GI.
6579 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
6581 tests/test_glib.py | 21 +++++++++++++++++++++
6582 tests/test_gobject.py | 11 +++++++++++
6583 tests/test_mainloop.py | 16 ++++++++++++++++
6584 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
6585 4 files changed, 92 insertions(+)
6587 commit 7635340271df0a135873459e6a2a365fd4b187a2
6588 Author: Steve Frécinaux <code@istique.net>
6589 Date: Wed Feb 9 18:37:33 2011 +0100
6591 [API change] Do not bind gobject_get_data() and gobject_set_data()
6593 They will basically cause a crash if misused, and you can always use a
6594 python member attribute instead.
6596 These methods were marked as deprecated for 3.4 and throwing a
6598 let's remove them for good now.
6600 https://bugzilla.gnome.org/show_bug.cgi?id=641944
6602 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
6604 docs/reference/pygobject.xml | 63
6605 --------------------------------------------
6606 gi/_gobject/pygobject.c | 44 -------------------------------
6607 2 files changed, 107 deletions(-)
6609 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
6610 Author: Martin Pitt <martinpitt@gnome.org>
6611 Date: Tue Oct 23 08:17:40 2012 +0200
6613 Add test for GLib.get_current_time()
6615 This adds a plausibility test, as well as ensuring the documented
6617 This will be useful if/once we drop the static _glib binding.
6619 tests/test_glib.py | 5 +++++
6620 1 file changed, 5 insertions(+)
6622 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
6623 Author: Martin Pitt <martinpitt@gnome.org>
6624 Date: Tue Oct 23 07:48:52 2012 +0200
6626 Drop unnecessary static _glib bindings
6628 Drop static pyglib bindings which have straightforward and working
6630 bindings. Add tests for all dropped functions to ensure they keep
6633 docs/reference/pyglib-constants.xml | 59 -------
6634 docs/reference/pyglib-functions.xml | 270 ------------------------------
6635 gi/_glib/__init__.py | 24 ---
6636 gi/_glib/glibmodule.c | 319
6637 ------------------------------------
6638 gi/_gobject/__init__.py | 9 -
6639 gi/overrides/GLib.py | 16 ++
6640 gi/overrides/GObject.py | 32 ++++
6641 gi/overrides/Makefile.am | 1 +
6642 tests/Makefile.am | 1 -
6643 tests/test_glib.py | 46 ++++++
6644 tests/test_gobject.py | 4 +
6645 tests/test_uris.py | 16 --
6646 12 files changed, 99 insertions(+), 698 deletions(-)
6648 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
6649 Author: Martin Pitt <martinpitt@gnome.org>
6650 Date: Tue Oct 23 06:12:08 2012 +0200
6652 Fix OverflowError in source_remove()
6654 GSource IDs are unsigned, so we must use 'I' for parsing then, not
6657 https://bugzilla.gnome.org/show_bug.cgi?id=684526
6659 gi/_glib/glibmodule.c | 2 +-
6660 tests/test_source.py | 13 ++++++++++++-
6661 2 files changed, 13 insertions(+), 2 deletions(-)
6663 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
6664 Author: Martin Pitt <martinpitt@gnome.org>
6665 Date: Mon Oct 22 13:38:23 2012 +0200
6667 Fix TestSource.testSources() test case
6669 PyGObject has established the assumption that the destruction of
6671 Python object does not destroy the actual GSource, as shown in
6672 TestSource.setup_timeout(), TestTimeout.test504337(), and
6673 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
6675 So we need to explicitly destroy our MySource and Idle objects
6677 them, as their callbacks always return True and we do not want them
6679 over into other tests.
6681 Also fix the assertions to actually verify that MySources' callback
6683 (pos > 0, not pos >= 0), and use the unittest comparison API instead
6685 simple assert statement.
6687 https://bugzilla.gnome.org/show_bug.cgi?id=686627
6689 tests/test_source.py | 8 +++++++-
6690 1 file changed, 7 insertions(+), 1 deletion(-)
6692 commit b984a5fe0d065818a153f259db4dbde79534f084
6693 Author: Martin Pitt <martinpitt@gnome.org>
6694 Date: Mon Oct 22 17:38:56 2012 +0200
6696 configure.ac: post-release bump to 3.7.2
6699 1 file changed, 1 insertion(+), 1 deletion(-)
6701 commit ce0825f58c3eba6084143e430605ffb597622369
6702 Author: Martin Pitt <martinpitt@gnome.org>
6703 Date: Mon Oct 22 17:37:17 2012 +0200
6707 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
6708 1 file changed, 42 insertions(+)
6710 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
6711 Author: Martin Pitt <martinpitt@gnome.org>
6712 Date: Mon Oct 22 17:33:12 2012 +0200
6714 Bump version to 3.7.1
6716 Let's follow the real GNOME versioning from now on.
6719 1 file changed, 1 insertion(+), 1 deletion(-)
6721 commit 3fb13cc05a281970c3a624c2dd152996031b482c
6722 Author: Martin Pitt <martinpitt@gnome.org>
6723 Date: Mon Oct 22 11:36:49 2012 +0200
6725 test_mainloop code cleanup
6727 Ensure that sys.excepthook is always restored, even if the test
6729 assert{True,False,Equal} unittest API instead of simple asserts for
6733 tests/test_mainloop.py | 19 ++++++++++---------
6734 1 file changed, 10 insertions(+), 9 deletions(-)
6736 commit 31061f20083aa60919f6763a12addbf2b052cab7
6737 Author: Simon Feltman <sfeltman@src.gnome.org>
6738 Date: Sun Oct 21 18:55:24 2012 -0700
6740 Change install_properties to not use getattr on classes
6742 The usage of getattr for accessing a classes __gproperties__
6743 variable can be problematic due to the potential of it returning
6744 the parent classes variable when it does not exist on the sub-class.
6745 Similar to the fix for
6746 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
6747 cls.__dict__.get is used to ensure this does not happen.
6749 https://bugzilla.gnome.org/show_bug.cgi?id=686559
6751 gi/_gobject/propertyhelper.py | 2 +-
6752 tests/test_properties.py | 6 ++++--
6753 2 files changed, 5 insertions(+), 3 deletions(-)
6755 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
6756 Author: Simon Feltman <sfeltman@src.gnome.org>
6757 Date: Sat Oct 20 19:56:04 2012 -0700
6759 Move property install function into propertyhelper.py
6761 Move _install_properties() into gi/_gobject/propertyhelper.py
6764 https://bugzilla.gnome.org/show_bug.cgi?id=686559
6766 gi/_gobject/__init__.py | 45 +++----------------------------
6767 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
6768 tests/test_properties.py | 63
6769 +++++++++++++++++++++++++++++++++++++++++++
6770 3 files changed, 111 insertions(+), 42 deletions(-)
6772 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
6773 Author: Simon Feltman <s.feltman@gmail.com>
6774 Date: Sat Oct 20 03:11:07 2012 -0700
6776 Fix Signal decorator to not use base class gsignals dict
6778 Fix install_signals to not use the parent classes __gsignals__
6779 dict if one does not exist on the given class.
6781 https://bugzilla.gnome.org/show_bug.cgi?id=686496
6783 gi/_gobject/signalhelper.py | 2 +-
6784 tests/test_signal.py | 43
6785 +++++++++++++++++++++++++++++++++++++++++++
6786 2 files changed, 44 insertions(+), 1 deletion(-)
6788 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
6789 Author: Martin Pitt <martinpitt@gnome.org>
6790 Date: Fri Oct 19 09:05:01 2012 +0200
6792 tests: Consistently use GLib.MainLoop
6794 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
6796 tests/test_everything.py | 4 ++--
6797 tests/test_gdbus.py | 11 +++++------
6798 2 files changed, 7 insertions(+), 8 deletions(-)
6800 commit ff7e7401b4cf50532fef70263f7559ea513b8333
6801 Author: Kalev Lember <kalevlember@gmail.com>
6802 Date: Wed Oct 17 18:27:14 2012 +0200
6804 Install the .egg-info files into correct multilib directory
6806 This makes sure the .egg-info files end up in the same python
6808 directory as the rest of the gi .py files.
6810 https://bugzilla.gnome.org/show_bug.cgi?id=686315
6812 Makefile.am | 6 +++---
6813 1 file changed, 3 insertions(+), 3 deletions(-)
6815 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
6816 Author: Simon Feltman <s.feltman@gmail.com>
6817 Date: Mon Oct 15 04:03:50 2012 -0700
6819 Fix leaked vfunc return values
6821 Simple fix to dec ref returned values from closures wrapping
6824 https://bugzilla.gnome.org/show_bug.cgi?id=686140
6826 gi/pygi-closure.c | 1 +
6827 tests/test_gi.py | 21 +++++++++++++++++++--
6828 2 files changed, 20 insertions(+), 2 deletions(-)
6830 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
6831 Author: Martin Pitt <martinpitt@gnome.org>
6832 Date: Mon Oct 15 07:42:05 2012 +0200
6834 Skip Regress tests with --disable-cairo
6836 We need cairo to build g-i's Regress library, gir, and typelib. Update
6837 configure.ac to only require cairo if --disable-cairo was not
6839 --disable-cairo, skip building the Regress library and skip all
6843 https://bugzilla.gnome.org/show_bug.cgi?id=685094
6845 configure.ac | 5 ++---
6846 tests/Makefile.am | 45
6847 +++++++++++++++++++++++++++------------------
6848 tests/test_everything.py | 15 +++++++++++----
6849 tests/test_overrides.py | 7 ++++++-
6850 4 files changed, 46 insertions(+), 26 deletions(-)
6852 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
6853 Author: Martin Pitt <martinpitt@gnome.org>
6854 Date: Fri Oct 12 11:05:24 2012 +0200
6856 _pygi_marshal_from_py_uint64: Re-fix check of negative values
6858 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
6862 https://bugzilla.gnome.org/show_bug.cgi?id=685000
6864 gi/pygi-marshal-from-py.c | 6 +++---
6865 1 file changed, 3 insertions(+), 3 deletions(-)
6867 commit 22c22124b787ae67638aff89796d7ce14900ea8e
6868 Author: Simon Feltman <s.feltman@gmail.com>
6869 Date: Mon Oct 8 05:54:30 2012 -0700
6871 Fix leak with python callables as closure argument.
6873 The fix adds an extra args_data list to the PyGIInvokeState
6874 structure. This list is used to track dynamically generated
6875 closures that wrap python callables. This allows the ffi closure
6876 and python callable to be freed when call scope has finished.
6878 https://bugzilla.gnome.org/show_bug.cgi?id=685598
6880 gi/pygi-cache.c | 1 +
6881 gi/pygi-closure.c | 41 +++++++++----
6882 gi/pygi-invoke-state-struct.h | 4 ++
6883 gi/pygi-invoke.c | 7 +++
6884 gi/pygi-marshal-cleanup.c | 14 +++++
6885 gi/pygi-marshal-cleanup.h | 4 ++
6886 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
6887 tests/test_everything.py | 137
6888 +++++++++++++++++++++++++++++++-----------
6889 8 files changed, 206 insertions(+), 59 deletions(-)
6891 commit c0bc69906df2db64560f7c054277ad1956aab57f
6892 Author: Martin Pitt <martinpitt@gnome.org>
6893 Date: Thu Oct 11 17:49:30 2012 +0200
6895 Gio overrides: Handle setting GSettings enum keys
6897 https://bugzilla.gnome.org/show_bug.cgi?id=685947
6899 gi/overrides/Gio.py | 9 ++++++++-
6900 tests/test_overrides_gio.py | 3 +++
6901 2 files changed, 11 insertions(+), 1 deletion(-)
6903 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
6904 Author: Martin Pitt <martinpitt@gnome.org>
6905 Date: Thu Oct 11 17:20:38 2012 +0200
6907 tests: Check reading GSettings enums in Gio overrides
6909 Also split test_override() into several smaller test cases.
6911 tests/org.gnome.test.gschema.xml | 9 +++++++++
6912 tests/test_overrides_gio.py | 14 +++++++++-----
6913 2 files changed, 18 insertions(+), 5 deletions(-)
6915 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
6916 Author: Martin Pitt <martinpitt@gnome.org>
6917 Date: Thu Oct 11 16:08:11 2012 +0200
6919 Fix unsigned values in GArray/GList/GSList/GHash
6921 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
6923 https://bugzilla.gnome.org/show_bug.cgi?id=685860
6925 gi/pygi-argument.c | 9 +++++++++
6926 tests/test_gi.py | 12 ++++++++++++
6927 2 files changed, 21 insertions(+)
6929 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
6930 Author: Colin Walters <walters@verbum.org>
6931 Date: Thu Oct 4 20:13:55 2012 -0400
6933 build: Fix srcdir != builddir
6936 1 file changed, 1 insertion(+), 1 deletion(-)
6938 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
6939 Author: Alban Browaeys <prahal@yahoo.com>
6940 Date: Thu Sep 27 22:44:22 2012 +0200
6942 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
6944 Casting an unsigned to signed and checking if positive was not
6946 unsigned 64 is below G_MAXUINT64 instead.
6948 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
6950 gi/pygi-marshal-from-py.c | 4 ++--
6951 1 file changed, 2 insertions(+), 2 deletions(-)
6953 commit f0870336b9fc7797895f206e0d3ef17a19efe253
6954 Author: Johan Dahlin <johan@gnome.org>
6955 Date: Tue Oct 2 05:30:16 2012 -0700
6957 Install an .egg-info file
6959 This will help easy_install and pip to figure out that PyGObject
6960 is already installed.
6962 https://bugzilla.gnome.org/show_bug.cgi?id=680138
6964 Makefile.am | 13 ++++++++-----
6965 1 file changed, 8 insertions(+), 5 deletions(-)
6967 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
6968 Author: Johan Dahlin <johan@gnome.org>
6969 Date: Thu Oct 4 09:42:41 2012 +0200
6971 PyGProps_getattro(): Fix GObjectClass leak
6973 https://bugzilla.gnome.org/show_bug.cgi?id=685218
6975 gi/_gobject/pygobject.c | 4 +++-
6976 1 file changed, 3 insertions(+), 1 deletion(-)
6978 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
6979 Author: Olivier Crête <olivier.crete@collabora.com>
6980 Date: Mon Sep 17 15:16:32 2012 -0400
6982 pygobject.c: Don't leak GObjectClass reference
6984 https://bugzilla.gnome.org/show_bug.cgi?id=684062
6986 gi/_gobject/pygobject.c | 6 +++++-
6987 1 file changed, 5 insertions(+), 1 deletion(-)
6989 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
6990 Author: Alban Browaeys <prahal@yahoo.com>
6991 Date: Sat Sep 29 01:17:14 2012 +0200
6993 Fix memory leak in _pygi_argument_to_array()
6995 Length arg and type info need to be unref'ed.
6997 https://bugzilla.gnome.org/show_bug.cgi?id=685082
6999 gi/pygi-argument.c | 3 +++
7000 1 file changed, 3 insertions(+)
7002 commit 34270a109d2af20391c80e88874ee7303eaf5c09
7003 Author: Martin Pitt <martinpitt@gnome.org>
7004 Date: Fri Sep 28 07:42:51 2012 +0200
7006 Fix error messages for out of range numbers
7008 PyErr_Format() does not understand %lli and %li, it needs to be %lld
7010 So we cannot use those and G_GINT64_FORMAT.
7012 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
7014 is a gint64 which can't possibly overflow its own data type. It
7016 an unprintable error message.
7018 https://bugzilla.gnome.org/show_bug.cgi?id=684314
7020 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
7021 1 file changed, 8 insertions(+), 13 deletions(-)
7023 commit 7f1422bf929976722edd6144beb0b4c96d74391b
7024 Author: Martin Pitt <martinpitt@gnome.org>
7025 Date: Fri Sep 28 06:59:38 2012 +0200
7027 Kill dbus-daemon after running tests
7029 dbus-launch does not kill the spawned dbus-daemon by itself (see
7030 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
7032 our tests. Take care to preserve the exit code.
7034 https://bugzilla.gnome.org/show_bug.cgi?id=685009
7036 tests/Makefile.am | 5 ++++-
7037 1 file changed, 4 insertions(+), 1 deletion(-)
7039 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
7040 Author: Martin Pitt <martinpitt@gnome.org>
7041 Date: Thu Sep 27 08:18:34 2012 +0200
7043 GVariant overrides: Support empty tuple arrays
7045 Implement the "empty value" branch in _create_tuple(), so that
7047 can call it for parsing the element type for an empty array.
7049 This fixes creating variants such as GLib.Variant('a(ii)', []).
7051 https://bugzilla.gnome.org/show_bug.cgi?id=684928
7053 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
7054 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
7055 2 files changed, 54 insertions(+), 7 deletions(-)
7057 commit 75d452ea5b179c3585adcf95356b4316c9180768
7058 Author: Martin Pitt <martinpitt@gnome.org>
7059 Date: Thu Sep 27 06:50:12 2012 +0200
7061 TestGVariant: Split creation test case into several smaller ones
7063 tests/test_overrides_glib.py | 20 ++++++--------------
7064 1 file changed, 6 insertions(+), 14 deletions(-)
7066 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
7067 Author: Martin Pitt <martinpitt@gnome.org>
7068 Date: Tue Sep 25 09:10:10 2012 +0200
7070 Fix unused variables and results
7072 This gets rid of all warnings except the deprecated symbol ones.
7074 gi/_glib/pygiochannel.c | 9 +++------
7075 gi/pygi-argument.c | 4 +---
7076 gi/pygi-callbacks.c | 4 ----
7077 gi/pygi-ccallback.c | 1 -
7078 gi/pygi-repository.c | 3 +--
7079 5 files changed, 5 insertions(+), 16 deletions(-)
7081 commit 5285f14fee93d2729d4422c40a945adc2be69c14
7082 Author: Martin Pitt <martinpitt@gnome.org>
7083 Date: Tue Sep 25 08:56:20 2012 +0200
7085 tests: Fix wrong return type in test_int64_callback()
7087 https://bugzilla.gnome.org/show_bug.cgi?id=684700
7089 tests/testhelpermodule.c | 2 +-
7090 1 file changed, 1 insertion(+), 1 deletion(-)
7092 commit e14ebab6099d082466ec11ca21d44de0d6017216
7093 Author: Giovanni Campagna <gcampagna@src.gnome.org>
7094 Date: Wed Sep 19 00:10:57 2012 +0200
7096 Fix GValue marshalling of long and unsigned long
7098 long can be equivalent to int64 or int32, depending on the
7100 and GI conflates this distinction in the typelib, but GType does
7102 warns if the wrong accessor is used.
7104 https://bugzilla.gnome.org/show_bug.cgi?id=684331
7106 gi/pygi-argument.c | 25 +++++++++++++++++++++----
7107 1 file changed, 21 insertions(+), 4 deletions(-)
7109 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
7110 Author: Simon Feltman <s.feltman@gmail.com>
7111 Date: Wed Sep 19 19:07:00 2012 -0700
7113 Clean up deprecation message for assigning gpointers to objects.
7115 The previous deprecation message was worded as if the deprecation
7116 had already occurred and it has not.
7118 https://bugzilla.gnome.org/show_bug.cgi?id=683599
7120 gi/pygi-info.c | 4 ++--
7121 1 file changed, 2 insertions(+), 2 deletions(-)
7123 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
7124 Author: Olivier Crête <olivier.crete@collabora.com>
7125 Date: Tue Sep 18 08:52:02 2012 +0200
7127 pygi-property: Lookup property in base classes of non-introspected
7130 Look for introspection data in the base classes of non-introspected
7132 This is necessary to look up introspection data for plugins.
7134 https://bugzilla.gnome.org/show_bug.cgi?id=684058
7136 gi/pygi-property.c | 28 ++++++++++++++--------------
7137 tests/test_everything.py | 12 ++++++++++++
7138 2 files changed, 26 insertions(+), 14 deletions(-)
7140 commit 7aa94cc861082147b9c382b930f3257f0a842c84
7141 Author: Martin Pitt <martinpitt@gnome.org>
7142 Date: Mon Sep 24 09:41:10 2012 +0200
7144 post-release bump to 3.4.1
7147 1 file changed, 1 insertion(+), 1 deletion(-)
7149 commit fcceed3adb8d78baba68861a1408627321b2c1ef
7150 Author: Martin Pitt <martinpitt@gnome.org>
7151 Date: Mon Sep 24 09:35:33 2012 +0200
7156 configure.ac | 4 ++--
7157 2 files changed, 5 insertions(+), 2 deletions(-)
7159 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
7160 Author: Martin Pitt <martinpitt@gnome.org>
7161 Date: Mon Sep 24 09:27:47 2012 +0200
7163 Bump g-i dependency to 1.33.14
7165 To ensure we have all the Regress test APIs that we use.
7168 1 file changed, 1 insertion(+), 1 deletion(-)
7170 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
7171 Author: Martin Pitt <martinpitt@gnome.org>
7172 Date: Mon Sep 17 22:52:49 2012 +0200
7174 post-release bump to 3.3.93
7177 1 file changed, 1 insertion(+), 1 deletion(-)
7179 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
7180 Author: Martin Pitt <martinpitt@gnome.org>
7181 Date: Mon Sep 17 22:48:13 2012 +0200
7185 NEWS | 12 ++++++++++++
7186 1 file changed, 12 insertions(+)
7188 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
7189 Author: Martin Pitt <martinpitt@gnome.org>
7190 Date: Mon Sep 17 22:32:55 2012 +0200
7192 release-news: Generate HTML changelog
7194 In addition to producing a NEWS paragraph from the changelog,
7196 changelog HTML which can be put into blog announcements.
7198 Update HACKING to point this out, too.
7201 Makefile.am | 22 ++++++++++++++++------
7202 2 files changed, 17 insertions(+), 7 deletions(-)
7204 commit be4a0682bdd189ee908ab1961001f759a80e133c
7205 Author: Simon Feltman <s.feltman@gmail.com>
7206 Date: Sun Sep 16 17:27:25 2012 -0700
7208 [API add] Add ObjectInfo.get_abstract method
7210 Adds exposure of g_object_info_get_abstract to python for
7211 helping with analysis of non-constructable objects from
7214 https://bugzilla.gnome.org/show_bug.cgi?id=675581
7216 gi/pygi-info.c | 8 ++++++++
7217 tests/test_gi.py | 12 ++++++++++++
7218 2 files changed, 20 insertions(+)
7220 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
7221 Author: Simon Feltman <s.feltman@gmail.com>
7222 Date: Thu Sep 13 20:53:22 2012 -0700
7224 Add deprecation warning when setting gpointers to anything other
7227 This is a first pass which does not change anything except add
7229 when anything other than an int is set on a gpointer on a boxed type.
7231 https://bugzilla.gnome.org/show_bug.cgi?id=683599
7233 gi/pygi-info.c | 8 ++++++++
7234 1 file changed, 8 insertions(+)
7236 commit a047f61f26d9c78b82d22948199313e5a389e918
7237 Author: Martin Pitt <martinpitt@gnome.org>
7238 Date: Mon Sep 17 09:41:24 2012 +0200
7240 test_properties: Test accessing a property from a superclass
7242 We already cover accessing the superclass' property if that was
7244 Python. Add a corresponding test case for a property defined in C.
7246 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
7248 tests/test_properties.py | 12 ++++++++++++
7249 1 file changed, 12 insertions(+)
7251 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
7252 Author: Martin Pitt <martinpitt@gnome.org>
7253 Date: Mon Sep 17 09:31:05 2012 +0200
7255 test_properties.py: Consistent test names
7257 Use underscore style method/test case names consistently. Also rename
7259 cases to better describe what they do.
7261 tests/test_properties.py | 78
7262 ++++++++++++++++++++++++------------------------
7263 1 file changed, 39 insertions(+), 39 deletions(-)
7265 commit 4069c3d8547f35437e0cee175a5912febe25326d
7266 Author: Martin Pitt <martinpitt@gnome.org>
7267 Date: Wed Sep 12 06:51:24 2012 +0200
7269 test_everything: Ensure TestSignals callback does get called
7271 tests/test_everything.py | 3 +++
7272 1 file changed, 3 insertions(+)
7274 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
7275 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
7276 Date: Fri Sep 7 17:17:09 2012 -0400
7278 argument: Fix 64bit integer convertion from GValue
7280 Trying to get a 64bit integer using the wrong getter was resulting
7282 assertion and 0 being returned.
7284 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7286 https://bugzilla.gnome.org/show_bug.cgi?id=683596
7288 gi/pygi-argument.c | 8 ++++++--
7289 tests/test_everything.py | 52
7290 ++++++++++++++++++++++++++++++++++++++++++++++++
7291 2 files changed, 58 insertions(+), 2 deletions(-)
7293 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
7294 Author: Martin Pitt <martinpitt@gnome.org>
7295 Date: Tue Sep 11 12:32:10 2012 +0200
7297 Add Simon Feltman as a project maintainer
7299 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
7300 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
7302 pygobject.doap | 7 +++++++
7303 1 file changed, 7 insertions(+)
7305 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
7306 Author: Martin Pitt <martinpitt@gnome.org>
7307 Date: Tue Sep 11 10:17:50 2012 +0200
7309 test_signals.py: Drop global type variables
7311 Just use the real types and flags from GObject instead of redefining
7313 for them. They weren't used consistently, make the tests harder to
7315 really do not want global single-letter variables like "f" and "l".
7317 tests/test_signal.py | 38 ++++++++++++++++----------------------
7318 1 file changed, 16 insertions(+), 22 deletions(-)
7320 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
7321 Author: Martin Pitt <martinpitt@gnome.org>
7322 Date: Tue Sep 11 10:11:58 2012 +0200
7324 test_signals.py: Consistent test names
7326 Use underscore style method/test case names consistently.
7328 tests/test_signal.py | 88
7329 ++++++++++++++++++++++++++--------------------------
7330 1 file changed, 44 insertions(+), 44 deletions(-)
7332 commit 4559247553b792db956f69c9674c12344d719c82
7333 Author: Martin Pitt <martinpitt@gnome.org>
7334 Date: Tue Sep 11 09:43:14 2012 +0200
7336 Add test cases for GValue signal arguments
7338 These cover various types, (u)int(64) and string.
7340 Keep the test case for implicit int64 GValues disabled, as this
7342 not work and it is not clear whether it should:
7343 https://bugzilla.gnome.org/show_bug.cgi?id=683775
7345 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
7346 tests/testhelpermodule.c | 17 +++++++++++++++++
7347 2 files changed, 58 insertions(+)
7349 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
7350 Author: Martin Pitt <martinpitt@gnome.org>
7351 Date: Tue Sep 11 09:31:18 2012 +0200
7353 Add test for GValue signal return values
7355 Another attempt to reproduce the reported error in
7356 https://bugzilla.gnome.org/show_bug.cgi?id=683596
7357 but this works already.
7359 tests/test_signal.py | 13 +++++++++++++
7360 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
7361 2 files changed, 49 insertions(+)
7363 commit 4f77c7798563ea436ff5b6306a987f03de50b211
7364 Author: Simon Feltman <s.feltman@gmail.com>
7365 Date: Fri Sep 7 02:32:15 2012 -0700
7367 Improve setting pointer fields/arguments to NULL using None
7369 Setting gi pointers will set them to the address of the python object.
7370 This is good except in the case of None which should be used to NULL
7371 the pointer out as a special case.
7373 Commit 21b1d17d2a already fixed this. This improved patch
7374 does that in a cleaner and safer way and adds more comments.
7376 https://bugzilla.gnome.org/show_bug.cgi?id=683150
7378 gi/pygi-argument.c | 8 +-------
7379 gi/pygi-info.c | 14 +++++++++++++-
7380 2 files changed, 14 insertions(+), 8 deletions(-)
7382 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
7383 Author: Martin Pitt <martinpitt@gnome.org>
7384 Date: Mon Sep 10 16:46:30 2012 +0200
7386 Test gint64 C signal arguments and return values
7388 tests/test_signal.py | 12 ++++++++++++
7389 tests/testhelpermodule.c | 14 ++++++++++++++
7390 2 files changed, 26 insertions(+)
7392 commit 822d9e07a95f706a40f64335765293542787da90
7393 Author: Martin Pitt <martinpitt@gnome.org>
7394 Date: Mon Sep 10 16:29:32 2012 +0200
7396 Test in/out int64 GValue method arguments.
7398 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
7400 tests/test_gi.py | 9 +++++++++
7401 1 file changed, 9 insertions(+)
7403 commit 2d83e52233812618493af4b165615e8741ba41c8
7404 Author: Martin Pitt <martinpitt@gnome.org>
7405 Date: Wed Sep 5 08:54:53 2012 +0200
7407 Bump g-i dependency to 1.33.10
7409 To ensure we have all the Regress test APIs that we use.
7412 1 file changed, 1 insertion(+), 1 deletion(-)
7414 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
7415 Author: Thibault Saunier <thibault.saunier@collabora.com>
7416 Date: Wed Aug 8 12:57:41 2012 -0400
7418 Fix -uninstalled.pc.in file
7420 https://bugzilla.gnome.org/show_bug.cgi?id=683379
7422 pygobject-3.0-uninstalled.pc.in | 6 +++---
7423 1 file changed, 3 insertions(+), 3 deletions(-)
7425 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
7426 Author: Martin Pitt <martinpitt@gnome.org>
7427 Date: Mon Sep 3 22:16:47 2012 +0200
7429 post-release bump to 3.3.92
7432 1 file changed, 1 insertion(+), 1 deletion(-)
7434 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
7435 Author: Martin Pitt <martinpitt@gnome.org>
7436 Date: Mon Sep 3 22:04:01 2012 +0200
7440 NEWS | 32 ++++++++++++++++++++++++++++++++
7441 1 file changed, 32 insertions(+)
7443 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
7444 Author: Martin Pitt <martinpitt@gnome.org>
7445 Date: Mon Sep 3 21:57:00 2012 +0200
7447 Fix exception test case for Python 2
7449 Regression from commit 77844c5 which did not work with Python 2.
7451 tests/test_everything.py | 12 +++++++-----
7452 1 file changed, 7 insertions(+), 5 deletions(-)
7454 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
7455 Author: Martin Pitt <martinpitt@gnome.org>
7456 Date: Mon Sep 3 21:16:01 2012 +0200
7460 Require at least 1.33.9, as we got a couple of bug fixes there which
7462 and for some cases the code, depend on. We actually require 1.33.10
7464 tests to succeed, but that hasn't been released yet.
7467 1 file changed, 1 insertion(+), 1 deletion(-)
7469 commit 77844c571ad0badc189428b93de9f2572051b67e
7470 Author: Martin Pitt <martinpitt@gnome.org>
7471 Date: Mon Sep 3 17:58:38 2012 +0200
7473 Show proper exception when trying to allocate a disguised struct
7475 Instead of a simple "MemoryError" with no details, raise a proper
7476 TypeError with a traceback and an explanation what happened.
7478 https://bugzilla.gnome.org/show_bug.cgi?id=639972
7480 gi/pygi-struct.c | 7 +++++++
7481 tests/test_everything.py | 13 +++++++++++++
7482 2 files changed, 20 insertions(+)
7484 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
7485 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
7486 Date: Mon Sep 3 16:47:22 2012 +0200
7488 Support marshalling GParamSpec signal arguments
7490 Fix marshalling GParamSpec arguments from C to Python.
7492 https://bugzilla.gnome.org/show_bug.cgi?id=683099
7494 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7496 gi/pygi-argument.c | 10 +++++++++-
7497 tests/test_signal.py | 14 ++++++++++++++
7498 2 files changed, 23 insertions(+), 1 deletion(-)
7500 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
7501 Author: Martin Pitt <martinpitt@gnome.org>
7502 Date: Mon Sep 3 16:06:49 2012 +0200
7504 Add test for a signal that returns a GParamSpec
7506 https://bugzilla.gnome.org/show_bug.cgi?id=683265
7508 tests/test_signal.py | 6 ++++++
7509 tests/testhelpermodule.c | 12 ++++++++++++
7510 2 files changed, 18 insertions(+)
7512 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
7513 Author: Simon Feltman <s.feltman@gmail.com>
7514 Date: Tue Mar 20 04:33:50 2012 -0700
7516 [API add] Add Signal class for adding and connecting custom signals.
7518 The Signal class provides easy creation of signals and removes the
7519 need for __gsignals__ in client code. The Signal class can also be
7520 used as a decorator for wrapping up the custom closure. As well as
7521 providing a "BoundSignal" when accessed on an instance for making
7522 connections without specifying a signal name string.
7523 Python3 annotations can also be used to supply closure argument and
7524 return types when Signal is used as a decorator. For example:
7526 class Eggs(GObject.GObject):
7528 def spam(self, count:int):
7531 https://bugzilla.gnome.org/show_bug.cgi?id=434924
7533 examples/signal.py | 34 ++++--
7534 gi/_gobject/Makefile.am | 3 +-
7535 gi/_gobject/__init__.py | 5 +
7536 gi/_gobject/signalhelper.py | 251
7537 ++++++++++++++++++++++++++++++++++++++++++++
7538 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
7539 5 files changed, 482 insertions(+), 19 deletions(-)
7541 commit 96fa22369fd188465559fc904c7f76e73040e6dd
7542 Author: Martin Pitt <martinpitt@gnome.org>
7543 Date: Mon Sep 3 15:32:12 2012 +0200
7545 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
7547 We have a proper implementation for insert_column_with_attributes()
7549 drop pygtkcompat's empty stub for it.
7551 Also improve test case for
7552 Gtk.TreeView.insert_column_with_attributes().
7554 gi/pygtkcompat.py | 6 ------
7555 tests/test_overrides_gtk.py | 16 ++++++++--------
7556 2 files changed, 8 insertions(+), 14 deletions(-)
7558 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
7559 Author: Marta Maria Casetti <mmcasetti@gmail.com>
7560 Date: Mon Sep 3 13:06:22 2012 +0200
7562 Add override for Gtk.TreeView.insert_column_with_attributes()
7564 https://bugzilla.gnome.org/show_bug.cgi?id=679415
7566 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7568 gi/overrides/Gtk.py | 7 +++++++
7569 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
7570 2 files changed, 45 insertions(+)
7572 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
7573 Author: Martin Pitt <martinpitt@gnome.org>
7574 Date: Mon Sep 3 11:09:55 2012 +0200
7576 .gitignore: Add missing built files
7578 .gitignore | 9 +++++++--
7579 1 file changed, 7 insertions(+), 2 deletions(-)
7581 commit 96431f393036a688666dcf67911bf12b9824b264
7582 Author: Martin Pitt <martinpitt@gnome.org>
7583 Date: Mon Sep 3 11:07:32 2012 +0200
7585 Ship tests/gi in tarball
7587 Spotted by distcheck.
7589 tests/Makefile.am | 6 +++++-
7590 1 file changed, 5 insertions(+), 1 deletion(-)
7592 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
7593 Author: Martin Pitt <martinpitt@gnome.org>
7594 Date: Mon Sep 3 10:18:45 2012 +0200
7596 Fix separate build tree and distcheck
7598 Fix regression from c7c95a79: We must set sys.path in runtests.py
7600 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
7602 prepends the directory of the source file to sys.path, but that
7604 source dir, not the build dir. The build dir has to take precedence,
7606 we fail to import the built libraries.
7608 tests/runtests-windows.py | 10 +++++++---
7609 tests/runtests.py | 13 ++++++++-----
7610 2 files changed, 15 insertions(+), 8 deletions(-)
7612 commit 2d8f48f4ff56bb75985136452b50b75895258608
7613 Author: Martin Pitt <martinpitt@gnome.org>
7614 Date: Mon Sep 3 07:57:01 2012 +0200
7616 Split test_overrides.py
7618 Split the huge test_overrides.py into separate files for gdk, gtk,
7620 and pango. Further split the monolithic classes for Gtk and Gio
7624 https://bugzilla.gnome.org/show_bug.cgi?id=683188
7626 tests/Makefile.am | 5 +
7627 tests/test_overrides.py | 2198
7628 +----------------------------------------
7629 tests/test_overrides_gdk.py | 119 +++
7630 tests/test_overrides_gio.py | 114 +++
7631 tests/test_overrides_glib.py | 445 +++++++++
7632 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
7633 tests/test_overrides_pango.py | 32 +
7634 7 files changed, 2234 insertions(+), 2196 deletions(-)
7636 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
7637 Author: Martin Pitt <martinpitt@gnome.org>
7638 Date: Mon Sep 3 07:17:57 2012 +0200
7640 _pygi_argument_to_object(): Clean up array unmarshalling
7642 The NULL case is already handled at the top, so it does not need to be
7645 Emit a critical if we fail to allocate a Python array of the
7648 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
7649 1 file changed, 16 insertions(+), 31 deletions(-)
7651 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
7652 Author: Alban Browaeys <prahal@yahoo.com>
7653 Date: Wed Aug 29 21:24:17 2012 +0200
7655 Fix memory leak in _pygi_argument_to_object()
7657 Avoid leaking the item_type_info when breaking out of the
7658 switch in _pygi_argument_to_object() for unmarshalling arrays.
7660 https://bugzilla.gnome.org/show_bug.cgi?id=682979
7662 gi/pygi-argument.c | 4 ++++
7663 1 file changed, 4 insertions(+)
7665 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
7666 Author: Simon Feltman <s.feltman@gmail.com>
7667 Date: Sat Sep 1 03:40:31 2012 -0700
7669 Fix setting pointer fields/arguments to NULL using None.
7671 Setting gi pointers will set them to the address of the python object.
7672 This is good except in the case of None which should be used to NULL
7673 the pointer out as a special case.
7675 https://bugzilla.gnome.org/show_bug.cgi?id=683150
7677 gi/pygi-argument.c | 8 +++++++-
7678 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
7679 2 files changed, 48 insertions(+), 1 deletion(-)
7681 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
7682 Author: Martin Pitt <martinpitt@gnome.org>
7683 Date: Thu Aug 23 06:44:27 2012 +0200
7685 Fix for python 2.6, drop support for < 2.6
7687 Replace sys.version_info.major access to tuple access which also
7691 When building for Python 2.6, inject some missing unittest API such as
7692 @unittest.skipUnless and assertGreaterEqual() into the unittest
7694 runtests.py, so that the tests have a chance to run.
7696 As building with Python 2.5 has been broken for a long time with
7698 complaining, and 2.5 is ancient, bump minimum Python requirement to
7700 obsolete #ifdef paths which only apply to <= 2.5.
7702 https://bugzilla.gnome.org/show_bug.cgi?id=682422
7705 gi/_glib/pyglib-python-compat.h | 8 --------
7706 gi/_gobject/gobjectmodule.c | 8 --------
7708 tests/runtests.py | 27 +++++++++++++++++++++++++++
7709 tests/test_gi.py | 2 +-
7710 6 files changed, 30 insertions(+), 19 deletions(-)
7712 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
7713 Author: Thibault Saunier <thibault.saunier@collabora.com>
7714 Date: Tue Aug 21 07:54:09 2012 +0200
7716 Allow overrides in other directories than gi itself
7718 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
7719 libraries can install overrides in a path that is different from
7721 pygobject installs itself into. These overrides need to put this
7723 __init__.py at the top:
7725 from pkgutil import extend_path
7726 __path__ = extend_path(__path__, __name__)
7728 and put themselves somewhere into the default PYTHONPATH.
7730 https://bugzilla.gnome.org/show_bug.cgi?id=680913
7732 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7733 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
7735 gi/__init__.py | 4 ++++
7736 gi/overrides/__init__.py | 4 ++++
7737 tests/gi/__init__.py | 2 ++
7738 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
7739 tests/gi/overrides/__init__.py | 2 ++
7740 tests/test_overrides.py | 6 ++++++
7741 6 files changed, 44 insertions(+)
7743 commit c7c95a795eee499373499ea5b771447746317bfb
7744 Author: Simon Feltman <s.feltman@gmail.com>
7745 Date: Thu Aug 23 06:03:09 2012 +0200
7747 Clean up sys.path handling in tests
7749 Only set sys.path once in runtests.py, not in the individual test
7751 reduces hidden dependencies between tests by building up a run
7753 search path, and also makes it easier in the future to run the
7755 the installed system libraries.
7757 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
7759 tests/runtests-windows.py | 6 +++++-
7760 tests/runtests.py | 3 +++
7761 tests/test_everything.py | 1 -
7762 tests/test_gdbus.py | 3 ---
7763 tests/test_overrides.py | 3 ---
7764 tests/test_pygtkcompat.py | 3 ---
7765 6 files changed, 8 insertions(+), 11 deletions(-)
7767 commit 3e3525e93d852cde0f63e835b774a9b004773c69
7768 Author: Simon Feltman <s.feltman@gmail.com>
7769 Date: Sun Aug 19 02:30:39 2012 -0700
7771 Fix dynamic creation of enum and flag gi types for Python 3.3
7773 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
7774 subclasses due to what looks to be an unsupported technique. Change
7775 tp_new() method for classes dynamically derived from PyGEnum_Type and
7776 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
7778 __new__() as a python method. This technique seems to work with all
7779 versions of python so the previous python version checking also became
7782 https://bugzilla.gnome.org/show_bug.cgi?id=682323
7784 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
7785 gi/_gobject/pygflags.c | 21 +++++++++------------
7786 2 files changed, 25 insertions(+), 25 deletions(-)
7788 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
7789 Author: Paolo Borelli <pborelli@gnome.org>
7790 Date: Wed Aug 22 10:45:39 2012 +0200
7792 [API add] Override g_menu_item_set_attribute
7794 This C utility API take a vararg, add a corresponding override that
7795 takes a list of tuples
7797 https://bugzilla.gnome.org/show_bug.cgi?id=682436
7799 gi/overrides/Gio.py | 10 ++++++++++
7800 tests/test_overrides.py | 11 +++++++++++
7801 2 files changed, 21 insertions(+)
7803 commit 836902801373e386d370c44e7487aac3432f19f6
7804 Author: Martin Pitt <martinpitt@gnome.org>
7805 Date: Mon Aug 20 23:37:40 2012 +0200
7807 post-release bump to 3.3.91
7810 1 file changed, 1 insertion(+), 1 deletion(-)
7812 commit 6a629e23ff7b0d6f532184017577c7427d577e28
7813 Author: Martin Pitt <martinpitt@gnome.org>
7814 Date: Mon Aug 20 23:05:49 2012 +0200
7818 NEWS | 13 +++++++++++++
7820 2 files changed, 14 insertions(+), 1 deletion(-)
7822 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
7823 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
7824 Date: Mon Aug 20 22:54:52 2012 +0200
7826 Implement marshalling for GParamSpec
7828 https://bugzilla.gnome.org/show_bug.cgi?id=681565
7830 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7832 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
7833 tests/test_gi.py | 14 ++++++++++++++
7834 2 files changed, 26 insertions(+), 4 deletions(-)
7836 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
7837 Author: Martin Pitt <martinpitt@gnome.org>
7838 Date: Mon Aug 20 15:24:10 2012 +0200
7840 Fix pep8/pyflakes invocation
7842 Fix regression from commit 1e056e4f4a: Do fail the tests if
7846 tests/Makefile.am | 4 ++--
7847 1 file changed, 2 insertions(+), 2 deletions(-)
7849 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
7850 Author: Simon Feltman <s.feltman@gmail.com>
7851 Date: Thu Aug 16 16:05:52 2012 -0700
7853 Fix erronous import statements for Python 3.3
7855 Update pygobject-external.h to use GType (which is what GTypeWrapper
7857 exposed as) instead of GTypeWrapper when attempting import.
7859 Catch ImportError around attempted imports of a typelibs override file
7860 which don't always exist (GObject...). This is a behavioural change in
7861 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
7864 https://bugzilla.gnome.org/show_bug.cgi?id=682051
7866 gi/module.py | 7 +++++--
7867 gi/pygobject-external.h | 2 +-
7868 2 files changed, 6 insertions(+), 3 deletions(-)
7870 commit 1e056e4f4a19fd1139187467677c2592c2722290
7871 Author: Martin Pitt <martinpitt@gnome.org>
7872 Date: Mon Aug 20 11:52:08 2012 +0200
7874 Do not fail tests if pyflakes or pep8 are not installed
7876 These tools might not be desirable in restricted build environments or
7877 backports, and e. g. Fedora patches those out. So let the tests
7881 tests/Makefile.am | 4 ++--
7882 1 file changed, 2 insertions(+), 2 deletions(-)
7884 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
7885 Author: Martin Pitt <martinpitt@gnome.org>
7886 Date: Mon Aug 20 11:42:47 2012 +0200
7888 gtk-demo: Fix some PEP-8 whitespace issues
7890 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
7891 demos/gtk-demo/demos/dialogs.py | 2 +-
7892 demos/gtk-demo/demos/rotatedtext.py | 3 +--
7893 3 files changed, 3 insertions(+), 5 deletions(-)
7895 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
7896 Author: Martin Pitt <martinpitt@gnome.org>
7897 Date: Mon Aug 20 11:38:50 2012 +0200
7899 test_overrides.py: Fix PEP8 whitespacing
7901 tests/test_overrides.py | 48
7902 +++++++++++++++++++++++++-----------------------
7903 1 file changed, 25 insertions(+), 23 deletions(-)
7905 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
7906 Author: Martin Pitt <martinpitt@gnome.org>
7907 Date: Mon Aug 20 11:36:19 2012 +0200
7909 Ignore E124 pep8 error
7911 This is "closing bracket does not match visual indentation" which
7913 stupid. We do want the closing bracket at the same indentation level
7915 opening bracket, not the indentation level of the whole statement.
7917 tests/Makefile.am | 2 +-
7918 1 file changed, 1 insertion(+), 1 deletion(-)
7920 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
7921 Author: David Malcolm <dmalcolm@redhat.com>
7922 Date: Mon Aug 20 11:27:52 2012 +0200
7924 Fix unmarshalling of gssize
7926 Do not assume that the v_int union member always corresponds to a
7928 is not true on big-endian 64 bit machines like ppc64, so add a new
7929 gi_argument_to_gssize() and use it properly.
7931 https://bugzilla.gnome.org/show_bug.cgi?id=680693
7932 https://bugzilla.redhat.com/show_bug.cgi?id=842880
7934 gi/pygi-argument.c | 53
7935 +++++++++++++++++++++++++++++++++++++++++++++---
7936 gi/pygi-argument.h | 1 +
7937 gi/pygi-closure.c | 2 +-
7938 gi/pygi-info.c | 4 ++--
7939 gi/pygi-signal-closure.c | 2 +-
7940 5 files changed, 55 insertions(+), 7 deletions(-)
7942 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
7943 Author: David Malcolm <dmalcolm@redhat.com>
7944 Date: Mon Aug 20 11:19:27 2012 +0200
7946 Fix various endianess errors
7948 Fix code which assumed little endian behaviour when mixing different
7950 ints, putting ints into pointers, etc.
7952 https://bugzilla.gnome.org/show_bug.cgi?id=680692
7953 https://bugzilla.redhat.com/show_bug.cgi?id=841596
7955 gi/pygi-argument.c | 64 +++++++++++++--
7956 gi/pygi-argument.h | 6 ++
7957 gi/pygi-cache.c | 2 +
7958 gi/pygi-closure.c | 57 ++++++++++++-
7959 gi/pygi-marshal-from-py.c | 203
7960 ++++++++++++++++++++++++++++++++++++----------
7961 gi/pygi-marshal-from-py.h | 3 +
7962 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
7963 7 files changed, 391 insertions(+), 81 deletions(-)
7965 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
7966 Author: Paolo Borelli <pborelli@gnome.org>
7967 Date: Wed Aug 15 13:16:11 2012 +0200
7969 Add unit test for the TreeModelSort override
7971 tests/test_overrides.py | 7 +++++++
7972 1 file changed, 7 insertions(+)
7974 commit 9f027daa5737107b5959964b699c0089aec8ab1e
7975 Author: Simon Feltman <s.feltman@gmail.com>
7976 Date: Thu Aug 9 03:33:06 2012 -0700
7978 Gtk overrides: Add TreeModelSort.__init__(self, model)
7980 This adds "model" as a required argument to TreeModelSort
7981 instead of it being a hidden keyword argument. This is needed
7982 because the model property is set to construct only and the
7983 default value of None/NULL makes the object useless anyhow.
7985 https://bugzilla.gnome.org/show_bug.cgi?id=681477
7987 gi/overrides/Gtk.py | 8 ++++++++
7988 1 file changed, 8 insertions(+)
7990 commit c8424c2bb19356679e250e73542682dd5f4c74a5
7991 Author: Manuel Quiñones <manuq@laptop.org>
7992 Date: Fri Aug 10 09:38:24 2012 -0300
7994 Convert Gtk.CellRendererState in the pygi-convert script
7996 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
7998 https://bugzilla.gnome.org/show_bug.cgi?id=681596
8000 pygi-convert.sh | 5 +++++
8001 1 file changed, 5 insertions(+)
8003 commit 54d829b34a0d32d852db370f61cc7f25c149f373
8004 Author: Paolo Borelli <pborelli@gnome.org>
8005 Date: Mon Aug 6 16:19:28 2012 +0200
8007 More updates to the HACKING file
8009 module-install has been replaced with 'ftpadmin install' and other
8013 HACKING | 26 ++++++++++----------------
8014 1 file changed, 10 insertions(+), 16 deletions(-)
8016 commit 0788880c6cf4070d3db09896c165fe470d2ec186
8017 Author: Paolo Borelli <pborelli@gnome.org>
8018 Date: Mon Aug 6 16:00:39 2012 +0200
8020 Post-release version bump to 3.3.6
8023 1 file changed, 1 insertion(+), 1 deletion(-)
8025 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
8026 Author: Paolo Borelli <pborelli@gnome.org>
8027 Date: Mon Aug 6 15:52:22 2012 +0200
8031 NEWS | 29 +++++++++++++++++++++++++++++
8032 1 file changed, 29 insertions(+)
8034 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
8035 Author: Paolo Borelli <pborelli@gnome.org>
8036 Date: Mon Aug 6 15:44:32 2012 +0200
8038 Update HACKING file to mention "make release-news"
8041 1 file changed, 3 insertions(+), 4 deletions(-)
8043 commit 587a0c33901383b891f8eb77351c17f06af20b4f
8044 Author: Paolo Borelli <pborelli@gnome.org>
8045 Date: Mon Aug 6 15:38:23 2012 +0200
8047 pygi-closure: remove unused variables
8049 These variables are assigned but never actually used
8051 gi/pygi-closure.c | 8 --------
8052 1 file changed, 8 deletions(-)
8054 commit dbc6df6aad7197fcf8721ade429baadd749f7069
8055 Author: Martin Pitt <martinpitt@gnome.org>
8056 Date: Fri Aug 3 07:13:55 2012 +0200
8058 tests: Do not break on Pango warnings
8060 In some restricted environments (like chroots) we sometimes get
8062 Pango when it cannot find an appropriate font. Do not make the tests
8066 tests/test_overrides.py | 4 ++++
8067 tests/test_pygtkcompat.py | 6 ++++++
8068 2 files changed, 10 insertions(+)
8070 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
8071 Author: Martin Pitt <martinpitt@gnome.org>
8072 Date: Fri Aug 3 06:45:48 2012 +0200
8074 Fix list marshalling on big-endian machines
8076 On big endian machines we cannot simply set e. g. GIArgument.v_int8
8078 GIArgument.v_pointer to be a correct representation. This needs to use
8079 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
8080 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
8082 to and from GList and GSList, and handle int8 and int16 as well.
8084 Part of porting pygobject to ppc64:
8085 https://bugzilla.redhat.com/show_bug.cgi?id=842880
8086 https://bugzilla.gnome.org/show_bug.cgi?id=680693
8088 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
8089 gi/pygi-marshal-to-py.c | 54
8090 +++++++++++++++++++++++++++--------------------
8091 2 files changed, 60 insertions(+), 42 deletions(-)
8093 commit b5cd13f47309ec26727b7574e33595a357602468
8094 Author: Colin Walters <walters@verbum.org>
8095 Date: Tue Jul 31 11:47:02 2012 -0400
8097 pygi-marshal: One more 32-bit -Werror=format fix
8099 gi/pygi-marshal-from-py.c | 6 +++---
8100 1 file changed, 3 insertions(+), 3 deletions(-)
8102 commit 526bf43691cb6ed908589312b1693a6389eba00c
8103 Author: Martin Pitt <martinpitt@gnome.org>
8104 Date: Tue Jul 31 17:14:37 2012 +0200
8106 Beautify class/interface type mismatch error messages
8108 Avoid saying "<unknown module>.int", just skip the module name
8109 completely if we do not have one.
8111 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
8112 1 file changed, 12 insertions(+), 8 deletions(-)
8114 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
8115 Author: Martin Pitt <martinpitt@gnome.org>
8116 Date: Tue Jul 31 13:13:21 2012 +0200
8118 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
8120 On initial jhbuild bootstrap or restricted environments, the Pango,
8122 and Gtk typelibs might not be available. Skip tests which need these
8124 failing the testsuite.
8126 tests/test_atoms.py | 7 ++++++-
8127 tests/test_everything.py | 9 ++++++++-
8128 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
8129 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
8130 4 files changed, 60 insertions(+), 18 deletions(-)
8132 commit a2e73c109f3ed6080eabc85810e624b9f984317e
8133 Author: Colin Walters <walters@verbum.org>
8134 Date: Tue Jul 31 09:02:24 2012 -0400
8136 pygi-argument: Fix -Wformat warning on 32 bit builds
8138 gi/pygi-argument.c | 4 ++--
8139 1 file changed, 2 insertions(+), 2 deletions(-)
8141 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
8142 Author: Martin Pitt <martinpitt@gnome.org>
8143 Date: Tue Jul 31 11:14:36 2012 +0200
8145 Fix tests for Python 2
8147 In Python 2 we get different error messages for a mismatching self
8149 check after commit 121b14028.
8151 tests/test_gi.py | 32 ++++++++++++++++++++------------
8152 1 file changed, 20 insertions(+), 12 deletions(-)
8154 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
8155 Author: Martin Pitt <martinpitt@gnome.org>
8156 Date: Tue Jul 31 10:30:22 2012 +0200
8158 Build with -Werror=format
8160 This catches format string problems on particular architectures like
8162 dea24f8e12 much more insistently.
8165 1 file changed, 1 insertion(+)
8167 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
8168 Author: Simon Feltman <s.feltman@gmail.com>
8169 Date: Mon Jul 30 02:00:16 2012 -0700
8171 [API add] pygtkcompat: Add more pixbuf creation functions
8173 Add the following functions:
8174 pixbuf_new_from_data
8175 pixbuf_new_from_file_at_scale
8176 pixbuf_new_from_file_at_size
8177 pixbuf_new_from_inline
8178 pixbuf_new_from_stream
8179 pixbuf_new_from_stream_at_scale
8180 pixbuf_new_from_xpm_data
8181 pixbuf_get_file_info
8183 https://bugzilla.gnome.org/show_bug.cgi?id=680814
8185 gi/pygtkcompat.py | 10 +++++++++-
8186 1 file changed, 9 insertions(+), 1 deletion(-)
8188 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
8189 Author: Colin Walters <walters@verbum.org>
8190 Date: Mon Jul 30 22:17:44 2012 -0400
8192 marshal: Fix a lot of format string warnings on 32 bit
8194 G_GUINT64_FORMAT and friends handle "%lld" portably.
8196 https://bugzilla.gnome.org/show_bug.cgi?id=680878
8198 gi/pygi-marshal-from-py.c | 18 +++++++++---------
8199 1 file changed, 9 insertions(+), 9 deletions(-)
8201 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
8202 Author: Colin Walters <walters@verbum.org>
8203 Date: Mon Jul 30 22:30:07 2012 -0400
8205 marshal: Fix build break on Python 2
8207 I *think* using this wrapper function instead is right.
8209 https://bugzilla.gnome.org/show_bug.cgi?id=680879
8211 gi/pygi-marshal-from-py.c | 8 ++++----
8212 1 file changed, 4 insertions(+), 4 deletions(-)
8214 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
8215 Author: Manuel Quiñones <manuq@laptop.org>
8216 Date: Mon Jul 30 12:53:36 2012 -0300
8218 Improve testcase for tree_view_column_set_attributes
8220 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8222 https://bugzilla.gnome.org/show_bug.cgi?id=680320
8224 tests/test_overrides.py | 20 ++++++++++++++++++--
8225 1 file changed, 18 insertions(+), 2 deletions(-)
8227 commit 121b1402860407fe46f7501e42447bf3607872ec
8228 Author: Martin Pitt <martinpitt@gnome.org>
8229 Date: Tue Jul 31 00:37:55 2012 +0200
8231 Fix error messages on interface/class type mismatches
8233 Previously, when you called a function with an argument which was not
8234 compatible with the expected class/interface type, you got an
8238 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
8240 which had the wrong (and useless) class name for the actual type,
8242 tell you which argument caused the problem. With this it says e. g.
8244 TypeError: argument column: Expected Gtk.TreeViewColumn, but
8249 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
8250 tests/test_gi.py | 57
8251 ++++++++++++++++++++++++++++++++++++++++++++++-
8252 2 files changed, 88 insertions(+), 10 deletions(-)
8254 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
8255 Author: Simon Feltman <s.feltman@gmail.com>
8256 Date: Sun Jul 29 23:36:25 2012 -0700
8258 Fix crash when returning (False, None) from
8259 Gtk.TreeModel.do_get_iter()
8261 Add a Py_None check before attempting memcpy().
8263 https://bugzilla.gnome.org/show_bug.cgi?id=680812
8265 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8267 gi/pygi-closure.c | 10 +++++++---
8268 tests/test_overrides.py | 9 +++++++++
8269 2 files changed, 16 insertions(+), 3 deletions(-)
8271 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
8272 Author: Martin Pitt <martinpitt@gnome.org>
8273 Date: Mon Jul 30 11:58:24 2012 +0200
8275 Add test case for Gtk.TextIter.forward_search()
8277 https://bugzilla.gnome.org/show_bug.cgi?id=679415
8279 tests/test_overrides.py | 19 +++++++++++++++++++
8280 1 file changed, 19 insertions(+)
8282 commit aae4e77482c02e21154ab02b159f380f5f0f74be
8283 Author: Martin Pitt <martinpitt@gnome.org>
8284 Date: Fri Jul 27 23:06:39 2012 +0200
8286 Add missing static declarations
8288 This fixes a lot of -Wmissing-prototype warnings.
8290 Also remove _pygi_marshal_cleanup_closure_unref() which is not
8293 gi/_gobject/gobjectmodule.c | 4 ++--
8294 gi/_gobject/pygobject.c | 2 +-
8295 gi/pygi-cache.c | 2 +-
8296 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
8297 gi/pygi-foreign.c | 2 +-
8298 gi/pygi-marshal-cleanup.c | 9 ---------
8299 tests/test-unknown.c | 2 +-
8300 tests/testhelpermodule.c | 4 ++--
8301 8 files changed, 20 insertions(+), 29 deletions(-)
8303 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
8304 Author: Martin Pitt <martinpitt@gnome.org>
8305 Date: Fri Jul 27 23:01:08 2012 +0200
8307 Fix more missing #includes
8309 Add missing includes which caused -Wmissing-prototypes warnings.
8311 gi/_gobject/pygenum.c | 2 ++
8312 gi/_gobject/pyginterface.c | 2 ++
8313 2 files changed, 4 insertions(+)
8315 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
8316 Author: Martin Pitt <martinpitt@gnome.org>
8317 Date: Fri Jul 27 22:59:21 2012 +0200
8319 Make some warnings fatal
8321 Add -Werror for some warnings which are real errors in the source
8323 really want to avoid. This includes -Wmissing-prototypes, but that
8325 breaks on building g-i's regress.c.
8327 configure.ac | 5 +++++
8328 1 file changed, 5 insertions(+)
8330 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
8331 Author: Martin Pitt <martinpitt@gnome.org>
8332 Date: Fri Jul 27 22:08:47 2012 +0200
8334 Fix missing #includes
8336 Add missing includes which caused -Wmissing-prototypes warnings.
8338 gi/_glib/pygiochannel.c | 2 ++
8339 gi/_glib/pygspawn.c | 2 ++
8340 2 files changed, 4 insertions(+)
8342 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
8343 Author: Martin Pitt <martinpitt@gnome.org>
8344 Date: Fri Jul 27 20:52:00 2012 +0200
8346 pygi-info.c: Robustify pointer arithmetic
8348 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
8350 that we are using byte offsets. Fixes warnings:
8352 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
8353 arithmetic [-Werror=pointer-arith]
8355 gi/pygi-info.c | 4 ++--
8356 1 file changed, 2 insertions(+), 2 deletions(-)
8358 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
8359 Author: Martin Pitt <martinpitt@gnome.org>
8360 Date: Fri Jul 27 20:50:30 2012 +0200
8362 pyglib.c: Remove some dead code
8364 Drop unused pyglib_gil_state_ensure_py23() and
8365 pyglib_gil_state_release_py23().
8367 gi/_glib/pyglib.c | 18 ------------------
8368 1 file changed, 18 deletions(-)
8370 commit a46d165d906d0ac7613f4d946542423e979f39d5
8371 Author: Manuel Quiñones <manuq@laptop.org>
8372 Date: Fri Jul 20 10:37:04 2012 -0300
8374 Add set_attributes() override to Gtk.TreeViewColumn
8376 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
8377 gtk_cell_layout_clear_attributes and then
8378 gtk_cell_layout_add_attribute for each (name, value) passed. This
8379 patch makes the same in the overrides.
8381 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8382 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8384 gi/overrides/Gtk.py | 7 +++++++
8385 tests/test_overrides.py | 6 ++++++
8386 2 files changed, 13 insertions(+)
8388 commit 4df676e10a5ea595a0d491af10268f557dd722d7
8389 Author: Daniel Narvaez <dwnarvaez@gmail.com>
8390 Date: Tue Jul 24 13:49:15 2012 +0200
8394 The autogenerated gitignores was missing several files. So we
8395 was using a manual .gitignore at the root. But since it's
8396 enough to add a couple of entries to it to cover the whole
8397 tree, there is no much point in using git.mk at all.
8399 https://bugzilla.gnome.org/show_bug.cgi?id=678192
8402 docs/Makefile.am | 2 -
8403 examples/Makefile.am | 3 -
8404 gi/Makefile.am | 3 -
8405 gi/_glib/Makefile.am | 3 -
8406 gi/_gobject/Makefile.am | 2 -
8407 gi/overrides/Makefile.am | 2 -
8408 gi/repository/Makefile.am | 2 -
8410 ----------------------------------------------
8411 tests/Makefile.am | 2 -
8412 10 files changed, 222 deletions(-)
8414 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
8415 Author: Simon Feltman <s.feltman@gmail.com>
8416 Date: Fri Jul 20 19:55:46 2012 -0700
8418 Gtk overrides: Add TreePath.__getitem__()
8420 Use pythons sub-script operator for indexing into TreePaths
8421 as was the case in PyGtk. Also changed __iter__ to use
8422 TreePath.get_indices as opposed to formatting and re-parsing
8423 a string for getting an index list.
8425 https://bugzilla.gnome.org/show_bug.cgi?id=680353
8427 gi/overrides/Gtk.py | 5 ++++-
8428 tests/test_overrides.py | 4 ++++
8429 2 files changed, 8 insertions(+), 1 deletion(-)
8431 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
8432 Author: Simon Feltman <s.feltman@gmail.com>
8433 Date: Fri Jul 20 21:34:33 2012 -0700
8435 Fix property type mapping from int to TYPE_INT for python3.
8437 Python3 does not have a long type, however, propertyhelper.py was
8438 using long_ = int; to get things working. Type mapping code
8439 was then checking for long_ first and always returning TYPE_LONG.
8440 Additional refactoring was done to move large if/elif statements
8441 into dictionary lookups and usage of tuples instead of lists
8442 for simple 'in' list of items tests.
8444 https://bugzilla.gnome.org/show_bug.cgi?id=679939
8446 gi/_gobject/propertyhelper.py | 117
8447 +++++++++++++++++++-----------------------
8448 tests/test_properties.py | 55 +++++++++++++++-----
8449 2 files changed, 96 insertions(+), 76 deletions(-)
8451 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
8452 Author: Manuel Quiñones <manuq@laptop.org>
8453 Date: Thu Jul 19 12:11:34 2012 -0300
8455 Convert Gtk.DestDefaults constants in pygi-convert.sh script
8457 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8459 https://bugzilla.gnome.org/show_bug.cgi?id=680259
8461 pygi-convert.sh | 1 +
8462 1 file changed, 1 insertion(+)
8464 commit d58c3553062fd8704a81a8233b4a1563a6611718
8465 Author: Manuel Quiñones <manuq@laptop.org>
8466 Date: Thu Jul 19 12:04:03 2012 -0300
8468 Convert all Gdk.WindowState constants in pygi-convert.sh
8470 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8472 https://bugzilla.gnome.org/show_bug.cgi?id=680257
8474 pygi-convert.sh | 1 +
8475 1 file changed, 1 insertion(+)
8477 commit a3aae2e152c0b955037b7b85e16d14d00881d870
8478 Author: Joe R. Nassimian <placidrage@gmail.com>
8479 Date: Thu Jul 19 15:48:20 2012 +0200
8481 [API add] Add API for checking pygobject's version
8483 Add a gi.__version__ attribute for the textual version, and
8485 a version triple similar to sys.version_info.
8487 Also add a gi.require_version(<minimum_version>) which raises an
8489 the pygobject version is older.
8491 https://bugzilla.gnome.org/show_bug.cgi?id=680176
8493 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8495 gi/__init__.py | 16 ++++++++++++++++
8496 tests/test_gi.py | 16 ++++++++++++++++
8497 2 files changed, 32 insertions(+)
8499 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
8500 Author: Manuel Quiñones <manuq@laptop.org>
8501 Date: Mon Jul 16 17:14:46 2012 -0300
8503 pygi-convert.sh: Add some missing Gdk.CursorTypes
8505 This patch adds WATCH, ARROW and CLOCK.
8507 https://bugzilla.gnome.org/show_bug.cgi?id=680050
8509 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8510 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8512 pygi-convert.sh | 3 +++
8513 1 file changed, 3 insertions(+)
8515 commit 0b08c01414ac73a4604acd9a846e7af09574929f
8516 Author: Manuel Kaufmann <humitos@gmail.com>
8517 Date: Tue Jul 17 09:05:27 2012 -0300
8519 pygi-convert.sh: convert rsvg.Handle(data=...)
8521 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
8523 https://bugzilla.gnome.org/show_bug.cgi?id=680092
8525 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
8526 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8528 pygi-convert.sh | 2 ++
8529 1 file changed, 2 insertions(+)
8531 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
8532 Author: Martin Pitt <martinpitt@gnome.org>
8533 Date: Mon Jul 16 17:35:38 2012 +0200
8535 configure.ac: post-release bump to 3.3.5
8538 1 file changed, 1 insertion(+), 1 deletion(-)
8540 commit 126842b7227fcc1381dc158acdc5a96d0a465515
8541 Author: Martin Pitt <martinpitt@gnome.org>
8542 Date: Mon Jul 16 17:33:08 2012 +0200
8546 NEWS | 28 ++++++++++++++++++++++++++++
8547 1 file changed, 28 insertions(+)
8549 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
8550 Author: Martin Pitt <martinpitt@gnome.org>
8551 Date: Mon Jul 16 17:29:22 2012 +0200
8553 test_gi: Fix for Python 2
8555 tests/test_gi.py | 7 +++++--
8556 1 file changed, 5 insertions(+), 2 deletions(-)
8558 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
8559 Author: Martin Pitt <martinpitt@gnome.org>
8560 Date: Mon Jul 16 16:35:33 2012 +0200
8562 pygi-convert.sh: Drop bogus filter_new() conversion
8564 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
8565 constructor, so do not try to convert it to a constructor call.
8567 https://bugzilla.gnome.org/show_bug.cgi?id=679999
8569 pygi-convert.sh | 1 -
8570 1 file changed, 1 deletion(-)
8572 commit c0607d970fc59528ca27d518282cf2871b92e909
8573 Author: Martin Pitt <martinpitt@gnome.org>
8574 Date: Mon Jul 16 16:00:40 2012 +0200
8576 Fix help() for GI modules
8578 Derive DynamicModule from types.ModuleType, so that the inspect
8580 ismodule() actually succeeds on those and generates useful help on
8584 https://bugzilla.gnome.org/show_bug.cgi?id=679804
8586 gi/module.py | 3 ++-
8587 tests/test_gi.py | 15 +++++++++++++++
8588 2 files changed, 17 insertions(+), 1 deletion(-)
8590 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
8591 Author: Martin Pitt <martinpitt@gnome.org>
8592 Date: Mon Jul 16 15:53:31 2012 +0200
8594 Skip gi.CallbackInfo objects from a module's dir()
8596 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
8598 implement __getattr__ for those.
8600 Add a test case that dir() works on GI modules, contain expected
8602 and that all identifiers in dir() can actually be retrieved.
8604 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
8606 gi/module.py | 7 +++++--
8607 tests/test_gi.py | 14 ++++++++++++++
8608 2 files changed, 19 insertions(+), 2 deletions(-)
8610 commit f6cc039e014448a553d626aac4020ee69717edab
8611 Author: Martin Pitt <martinpitt@gnome.org>
8612 Date: Mon Jul 16 15:38:05 2012 +0200
8614 Fix __path__ module attribute
8616 get_typelib_path() returns bytes, not strings, so in Python 3 we
8618 it to get a proper __path__ attribute.
8620 gi/module.py | 17 +++++++++++++++++
8621 tests/test_gi.py | 10 ++++++++++
8622 2 files changed, 27 insertions(+)
8624 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
8625 Author: Joe R. Nassimian <placidrage@gmail.com>
8626 Date: Mon Jul 16 15:02:10 2012 +0200
8628 pygi-convert.sh: Fix some child → getChild() false positives
8630 https://bugzilla.gnome.org/show_bug.cgi?id=680004
8632 pygi-convert.sh | 2 +-
8633 1 file changed, 1 insertion(+), 1 deletion(-)
8635 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
8636 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
8637 Date: Thu Jul 12 09:19:42 2012 +0200
8639 Fix array handling for interfaces, properties, and signals
8641 Fix lots of corner cases where arrays are not handled properly.
8642 _pygi_argument_to_object() now has the documented expectation of
8644 packed in GArrays. This was implicit before and not correctly done
8648 The helper _pygi_argument_to_array() has been improved to work on
8650 array. Fix all call sites of _pygi_argument_to_object() to do the
8651 array conversion appropriately before calling
8652 _pygi_argument_to_object().
8654 Adds a test case that implements a GInterface with a method that
8656 of variants as input.
8658 https://bugzilla.gnome.org/show_bug.cgi?id=667244
8660 gi/pygi-argument.c | 156
8661 ++++++++++++++++++++++++++++++++---------------
8662 gi/pygi-argument.h | 4 +-
8663 gi/pygi-closure.c | 11 ++++
8664 gi/pygi-info.c | 20 ++++--
8665 gi/pygi-property.c | 1 +
8666 gi/pygi-signal-closure.c | 14 ++++-
8667 tests/test_gi.py | 18 ++++++
8668 7 files changed, 167 insertions(+), 57 deletions(-)
8670 commit bb80d124269ee2389c04d03a478475868fd9ff7b
8671 Author: Manuel Quiñones <manuq@laptop.org>
8672 Date: Wed Jul 11 22:05:41 2012 -0300
8674 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
8676 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8678 https://bugzilla.gnome.org/show_bug.cgi?id=679775
8680 pygi-convert.sh | 3 +++
8681 1 file changed, 3 insertions(+)
8683 commit e3a63eefa5fb2abeabd210790e12642e577363c8
8684 Author: Manuel Quiñones <manuq@laptop.org>
8685 Date: Wed Jul 11 13:18:16 2012 -0300
8687 Add the same rules for pack_start to convert pack_end
8689 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8691 https://bugzilla.gnome.org/show_bug.cgi?id=679760
8693 pygi-convert.sh | 5 +++++
8694 1 file changed, 5 insertions(+)
8696 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
8697 Author: Dave Malcolm <dmalcolm@redhat.com>
8698 Date: Wed Jul 11 08:21:27 2012 +0200
8700 Add error-checking for the case where _arg_cache_new() fails
8702 This can happen when a typelib and its underlying library are
8704 converts the segfault into a more helpful traceback.
8706 https://bugzilla.gnome.org/show_bug.cgi?id=678914
8708 gi/pygi-cache.c | 2 ++
8709 1 file changed, 2 insertions(+)
8711 commit 41287d8a439c656e4ac60361fddec643c713234c
8712 Author: Manuel Quiñones <manuq@laptop.org>
8713 Date: Wed Jul 11 11:13:38 2012 -0300
8715 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
8718 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
8720 https://bugzilla.gnome.org/show_bug.cgi?id=679754
8722 pygi-convert.sh | 6 ++++++
8723 1 file changed, 6 insertions(+)
8725 commit 5403149b900d1b73cbc78767dc43be2eb344c836
8726 Author: Simon Feltman <s.feltman@gmail.com>
8727 Date: Tue Jul 10 19:07:32 2012 -0700
8729 Fix PyObject_Repr and PyObject_Str reference leaks
8731 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
8734 https://bugzilla.gnome.org/show_bug.cgi?id=675857
8736 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8738 gi/_glib/glibmodule.c | 10 +++++++--
8739 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
8740 gi/_gobject/pygobject.c | 53
8741 ++++++++++++++++++++++++++++++---------------
8742 gi/pygi-marshal-from-py.c | 9 +++++---
8743 4 files changed, 62 insertions(+), 27 deletions(-)
8745 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
8746 Author: Martin Pitt <martinpitt@gnome.org>
8747 Date: Wed Jul 4 08:46:30 2012 +0200
8749 [API add] Gtk overrides: Add TreePath.__len__()
8751 Use the path depth as length of a Gtk.TreePath object.
8753 https://bugzilla.gnome.org/show_bug.cgi?id=679199
8755 gi/overrides/Gtk.py | 3 +++
8756 tests/test_overrides.py | 4 ++++
8757 2 files changed, 7 insertions(+)
8759 commit e1e849d1a9af77c29ee35971db8d439bac60d573
8760 Author: Martin Pitt <martinpitt@gnome.org>
8761 Date: Wed Jul 4 08:35:16 2012 +0200
8763 GLib.Variant: Fix repr(), add proper str()
8765 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
8767 proper __str__() method, and tests for both.
8769 Thanks to Rul Matos for spotting this!
8771 https://bugzilla.gnome.org/show_bug.cgi?id=679336
8773 gi/overrides/GLib.py | 6 +++++-
8774 tests/test_overrides.py | 5 +++++
8775 2 files changed, 10 insertions(+), 1 deletion(-)
8777 commit af20d7c929b9c1888454b52932a308d346e1c12b
8778 Author: Martin Pitt <martinpitt@gnome.org>
8779 Date: Thu Jun 28 06:51:22 2012 +0200
8781 m4/python.m4: Update Python version list
8783 Thanks to Dieter Verfaillie for pointing this out.
8785 m4/python.m4 | 3 +--
8786 1 file changed, 1 insertion(+), 2 deletions(-)
8788 commit a96a26234e2aaa157837d26094864e3ad9b63edf
8789 Author: Micah Carrick <micah@quixotix.com>
8790 Date: Mon Jun 25 09:05:59 2012 -0700
8792 Remove "label" property from Gtk.MenuItem if it is not set
8794 The Gtk.MenuItem will not render as a separator if the "label" or
8795 "user-underline" properties have been accessed. The constructor
8796 for Gtk.MenuItem override should not pass the "label" property
8797 as an argument if it is None since that will still result in an
8798 empty label widget which breaks Gtk.SeparatorMenuItem.
8800 https://bugzilla.gnome.org/show_bug.cgi?id=670575
8802 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8804 gi/overrides/Gtk.py | 5 ++++-
8805 1 file changed, 4 insertions(+), 1 deletion(-)
8807 commit afa12faf339efb4f7780168e884ecf49b630644a
8808 Author: Martin Pitt <martinpitt@gnome.org>
8809 Date: Mon Jun 25 16:36:31 2012 +0200
8811 configure.ac: Post-release bump to 3.3.4.
8814 1 file changed, 1 insertion(+), 1 deletion(-)
8816 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
8817 Author: Martin Pitt <martinpitt@gnome.org>
8818 Date: Mon Jun 25 16:35:49 2012 +0200
8824 2 files changed, 4 insertions(+), 1 deletion(-)
8826 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
8827 Author: Martin Pitt <martinpitt@gnome.org>
8828 Date: Mon Jun 25 16:32:45 2012 +0200
8830 Do not escape enum and flag names that are Python keywords
8832 These are translated to upper case, and thus can never be
8833 keywords. This broke
8834 existing API such as Gtk.ShadowType.IN.
8837 gi/pygi-info.c | 7 +++++++
8838 tests/test_gi.py | 3 +++
8839 3 files changed, 11 insertions(+), 1 deletion(-)
8841 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
8842 Author: Martin Pitt <martinpitt@gnome.org>
8843 Date: Mon Jun 25 15:39:50 2012 +0200
8845 configure.ac: Post-release version bump to 3.3.4
8848 1 file changed, 1 insertion(+), 1 deletion(-)
8850 commit fe56faa346c8e8f9fd5915602424778d458a776d
8851 Author: Martin Pitt <martinpitt@gnome.org>
8852 Date: Mon Jun 25 15:36:37 2012 +0200
8856 NEWS | 15 +++++++++++++++
8857 1 file changed, 15 insertions(+)
8859 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
8860 Author: Martin Pitt <martinpitt@gnome.org>
8861 Date: Mon Jun 25 15:35:19 2012 +0200
8863 Bring back ChangeLog make target
8865 This is being used by "make dist".
8867 Makefile.am | 15 +++++++++++++++
8868 1 file changed, 15 insertions(+)
8870 commit 760118e4ed73de2f022706ef897fcc848e90c005
8871 Author: Martin Pitt <martinpitt@gnome.org>
8872 Date: Mon Jun 25 15:31:14 2012 +0200
8874 Remove obsolete ChangeLog and release-tag make targets
8876 Makefile.am | 23 -----------------------
8877 1 file changed, 23 deletions(-)
8879 commit e92278692bb51679d6e957c2ac36db64498a7c73
8880 Author: Simon Schampijer <simon@schampijer.de>
8881 Date: Fri Jun 15 16:11:21 2012 +0200
8883 Do not do any python calls when GObjects are destroyed after the
8884 python interpreter has been finalized
8886 This happens when pygobject_data_free () function is called after
8888 interpreter shuts down, we can't do python calls after that.
8890 Benzea did the findings because of a bug in Sugar, and commented
8892 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
8894 https://bugzilla.gnome.org/show_bug.cgi?id=678046
8896 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
8897 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
8899 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
8900 1 file changed, 22 insertions(+), 5 deletions(-)
8902 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
8903 Author: Martin Pitt <martinpitt@gnome.org>
8904 Date: Mon Jun 25 15:06:47 2012 +0200
8906 Do not change constructor-only "type" Window property
8908 When reading a Gtk.Window subclass from a GtkBuilder object,
8910 properties are already set at __init__ time. Do not try to set it
8914 https://bugzilla.gnome.org/show_bug.cgi?id=678510
8916 gi/overrides/Gtk.py | 8 +++++++-
8917 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
8918 2 files changed, 43 insertions(+), 1 deletion(-)
8920 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
8921 Author: Martin Pitt <martinpitt@gnome.org>
8922 Date: Mon Jun 25 09:40:38 2012 +0200
8924 Escape identifiers which are Python keywords
8926 Add a trailing underscore to identifiers which are Python keywords.
8928 We use a per-major-version static identifier list derived from
8930 instead of calling out to Python's keyword.iskeyword(). This is
8932 and also allows us to tweak the result. For example, Python 3 dropped
8934 as a keyword, but we still want to escape that to avoid breaking
8936 between different Python versions.
8938 Error out when building with a major Python version not covered yet,
8940 do not forget to update the list in the future.
8942 https://bugzilla.gnome.org/show_bug.cgi?id=676746
8944 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
8945 tests/test_gi.py | 17 +++++++++++++++++
8946 2 files changed, 54 insertions(+), 1 deletion(-)
8948 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
8949 Author: Martin Pitt <martinpitt@gnome.org>
8950 Date: Fri Jun 22 13:13:37 2012 +0200
8952 Ignore E123 in pep8 tests
8954 This is "closing bracket does not match indentation of opening
8956 but it really looks better to have the closing bracket on the
8958 of the opening bracket instead of the indentation level of the
8960 contains the opening bracket.
8962 tests/Makefile.am | 2 +-
8963 1 file changed, 1 insertion(+), 1 deletion(-)
8965 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
8966 Author: Martin Pitt <martinpitt@gnome.org>
8967 Date: Fri Jun 22 13:08:34 2012 +0200
8969 PEP8: Fix indentation
8971 Spotted by current pep8 checker.
8973 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
8974 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
8975 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
8976 demos/gtk-demo/demos/appwindow.py | 2 +-
8977 demos/gtk-demo/demos/clipboard.py | 8 +--
8978 demos/gtk-demo/demos/colorselector.py | 6 +--
8979 demos/gtk-demo/demos/rotatedtext.py | 8 +--
8980 demos/gtk-demo/gtk-demo.py | 6 +--
8981 examples/option.py | 29 ++++++-----
8982 examples/signal.py | 3 +-
8983 gi/_glib/option.py | 6 +--
8984 gi/_gobject/propertyhelper.py | 18 +++----
8985 gi/module.py | 14 +++---
8986 gi/overrides/GLib.py | 2 +-
8987 gi/overrides/Gio.py | 11 +++--
8988 gi/overrides/Gtk.py | 16 +++---
8989 gi/pygtkcompat.py | 7 ++-
8990 gi/types.py | 17 ++++---
8991 tests/runtests.py | 2 +-
8992 tests/test_gdbus.py | 55 +++++++++++----------
8993 tests/test_gi.py | 15 +++---
8994 tests/test_gobject.py | 18 +++----
8995 tests/test_option.py | 26 +++++-----
8996 tests/test_overrides.py | 67
8997 +++++++++++++-------------
8998 tests/test_properties.py | 30 ++++++------
8999 tests/test_signal.py | 2 +-
9000 tests/test_uris.py | 9 ++--
9001 27 files changed, 200 insertions(+), 193 deletions(-)
9003 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
9004 Author: Martin Pitt <martinpitt@gnome.org>
9005 Date: Fri Jun 22 12:36:54 2012 +0200
9007 PEP8: Use isinstance() instead of direct type comparisons
9009 Spotted by current pep8 checker.
9011 gi/overrides/GLib.py | 2 +-
9012 gi/overrides/__init__.py | 2 +-
9013 2 files changed, 2 insertions(+), 2 deletions(-)
9015 commit 50e45a624e6301e65c150e137aad6d092f203f3f
9016 Author: Martin Pitt <martinpitt@gnome.org>
9017 Date: Fri Jun 22 12:30:10 2012 +0200
9019 PEP8: Fix continuation lines
9021 Spotted by current pep8 checker.
9023 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
9024 gi/__init__.py | 6 +++---
9025 gi/_gobject/__init__.py | 6 ++----
9026 gi/module.py | 6 +++---
9027 tests/test_overrides.py | 11 +++--------
9028 5 files changed, 14 insertions(+), 21 deletions(-)
9030 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
9031 Author: Martin Pitt <martinpitt@gnome.org>
9032 Date: Fri Jun 22 12:24:32 2012 +0200
9034 PEP8: Consistent comparisons against True, False, and None
9036 Spotted by current pep8 checker.
9038 demos/gtk-demo/demos/clipboard.py | 4 ++--
9039 demos/gtk-demo/demos/drawingarea.py | 4 ++--
9040 demos/gtk-demo/gtk-demo.py | 8 ++++----
9041 gi/overrides/Gdk.py | 2 +-
9042 gi/overrides/Gtk.py | 2 +-
9043 tests/test_gi.py | 4 ++--
9044 tests/test_overrides.py | 3 +--
9045 7 files changed, 13 insertions(+), 14 deletions(-)
9047 commit 379c1474a071292a1e8da413af2f5438cff09fc8
9048 Author: Martin Pitt <martinpitt@gnome.org>
9049 Date: Wed Jun 20 12:23:12 2012 +0200
9051 Fix crash in GLib.find_program_in_path()
9053 We need to handle a NULL return value properly.
9055 https://bugzilla.gnome.org/show_bug.cgi?id=678119
9057 gi/_glib/glibmodule.c | 10 ++++++++--
9058 tests/Makefile.am | 1 +
9059 tests/test_glib.py | 15 +++++++++++++++
9060 3 files changed, 24 insertions(+), 2 deletions(-)
9062 commit 73531fd7820bd1922347bd856298d68205a27877
9063 Author: Martin Pitt <martinpitt@gnome.org>
9064 Date: Wed Jun 20 11:16:39 2012 +0200
9066 Revert "Do not bind gobject_get_data() and gobject_set_data()"
9068 We should have some deprecation period for this, so bring back
9070 methods and add deprecation warnings.
9072 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
9074 https://bugzilla.gnome.org/show_bug.cgi?id=641944
9076 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
9077 1 file changed, 44 insertions(+)
9079 commit a0daa843801658929ffee5bcb9eb67d955dc7921
9080 Author: David Keijser <keijser@gmail.com>
9081 Date: Mon Jun 18 15:09:34 2012 +0200
9083 GVariant: Raise proper TypeError on invalid tuple input
9085 https://bugzilla.gnome.org/show_bug.cgi?id=678317
9087 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9089 gi/overrides/GLib.py | 4 ++--
9090 tests/test_overrides.py | 1 +
9091 2 files changed, 3 insertions(+), 2 deletions(-)
9093 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
9094 Author: Martin Pitt <martinpitt@gnome.org>
9095 Date: Tue Jun 5 19:11:38 2012 +0200
9097 configure.ac: Post-release bump to 3.3.3
9100 1 file changed, 1 insertion(+), 1 deletion(-)
9102 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
9103 Author: Martin Pitt <martinpitt@gnome.org>
9104 Date: Tue Jun 5 19:09:12 2012 +0200
9108 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
9109 1 file changed, 44 insertions(+)
9111 commit 8209c1ae1632c77768699481e574d5d378956e71
9112 Author: Martin Pitt <martinpitt@gnome.org>
9113 Date: Tue Jun 5 19:04:49 2012 +0200
9115 Fix "release-news" make target
9117 Actually list changes since the previous release, not since 3.1.92.
9120 1 file changed, 1 insertion(+), 1 deletion(-)
9122 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
9123 Author: Bastian Winkler <buz@netbuz.org>
9124 Date: Wed May 9 19:04:01 2012 +0200
9126 foreign: Register cairo.Path and cairo.FontOptions foreign structs
9128 They are rarely used, but they are used at least by Gdk, PangoCairo
9132 clutter.Path is not used by any API that the test suite uses, so
9134 without a test for now.
9136 https://bugzilla.gnome.org/show_bug.cgi?id=677388
9138 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9140 gi/pygi-foreign-cairo.c | 85
9141 ++++++++++++++++++++++++++++++++++++++++++++++++
9142 tests/test_everything.py | 8 +++++
9143 2 files changed, 93 insertions(+)
9145 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
9146 Author: Marien Zwart <marien.zwart@gmail.com>
9147 Date: Wed May 23 01:51:46 2012 +0200
9149 Check types in GBoxed assignments
9151 Check if the Python value is GBoxed instead of assuming it is.
9152 Without this, the following segfaults:
9154 from gi.repository import Soup
9156 msg = Soup.Message()
9157 msg.props.uri = 'http://www.gnome.org'
9159 as we assume the new property is a GBoxed while it is actually a
9162 https://bugzilla.gnome.org/show_bug.cgi?id=676603
9164 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
9165 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9167 gi/pygi-argument.c | 10 +++++++---
9168 tests/test_gi.py | 19 +++++++++++++++++++
9169 2 files changed, 26 insertions(+), 3 deletions(-)
9171 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
9172 Author: Bastian Winkler <buz@netbuz.org>
9173 Date: Sat May 12 14:08:51 2012 +0200
9175 [API add] Gtk overrides: Add TreeModelRow.get_previous()
9177 TreeModelRow has get_next() and a next property, it should also have
9178 get_previous() and previous.
9180 https://bugzilla.gnome.org/show_bug.cgi?id=677389
9182 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9184 gi/overrides/Gtk.py | 9 +++++++++
9185 1 file changed, 9 insertions(+)
9187 commit 5501fba534696974899f2591929bff9e1b6ecd65
9188 Author: Bastian Winkler <buz@netbuz.org>
9189 Date: Sat May 12 13:50:02 2012 +0200
9191 [API add] Add missing GObject.TYPE_VARIANT
9193 Add TYPE_VARIANT to constants to make it accessible as
9194 GObject.TYPE_VARIANT.
9196 https://bugzilla.gnome.org/show_bug.cgi?id=677387
9198 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9200 gi/_gobject/__init__.py | 1 +
9201 gi/_gobject/constants.py | 1 +
9202 2 files changed, 2 insertions(+)
9204 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
9205 Author: Jasper St. Pierre <jstpierre@mecheye.net>
9206 Date: Fri Jun 1 02:53:13 2012 -0400
9208 Fix boxed type equality
9210 Each boxed type has its own Python type, not PyGBoxed_Type. Use
9211 PyObject_IsInstance instead of comparing against PyGBoxed_Type
9214 https://bugzilla.gnome.org/show_bug.cgi?id=677249
9216 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9218 gi/_gobject/pygboxed.c | 3 ++-
9219 tests/test_everything.py | 8 ++++++++
9220 2 files changed, 10 insertions(+), 1 deletion(-)
9222 commit dc8eef26906753fcb3ce057b23ca110137897fa5
9223 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9224 Date: Fri Jun 1 13:43:38 2012 +0200
9226 Fix TestProperties.testBoxed test
9228 A typo was preventing the test from being run.
9230 https://bugzilla.gnome.org/show_bug.cgi?id=676644
9232 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9234 tests/test_properties.py | 4 ++--
9235 1 file changed, 2 insertions(+), 2 deletions(-)
9237 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
9238 Author: Carlos Garnacho <carlos@lanedo.com>
9239 Date: Thu May 17 17:09:15 2012 +0200
9241 Fix handling of by-reference structs as out parameters
9243 When marshalling back from python, copy the result of by-reference
9244 structs into the memory expected by the native caller, instead of
9245 attempting to handle it as a pointer.
9247 https://bugzilla.gnome.org/show_bug.cgi?id=653151
9249 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9251 gi/pygi-closure.c | 17 +++++++++++++++++
9252 tests/test_gi.py | 5 +++++
9253 2 files changed, 22 insertions(+)
9255 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
9256 Author: Martin Pitt <martinpitt@gnome.org>
9257 Date: Fri Jun 1 12:28:53 2012 +0200
9259 tests: Add more vfunc checks for GIMarshallingTestsObject
9261 tests/test_gi.py | 25 +++++++++++++++++++++++++
9262 1 file changed, 25 insertions(+)
9264 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
9265 Author: Martin Pitt <martinpitt@gnome.org>
9266 Date: Fri Jun 1 12:02:55 2012 +0200
9268 Test caller-allocated GValue out parameter
9270 This came up as a side issue in
9271 https://bugzilla.gnome.org/show_bug.cgi?id=653151
9273 tests/test_gi.py | 3 +++
9274 1 file changed, 3 insertions(+)
9276 commit edc17e703e1a05e20545d3df9167ceb076450443
9277 Author: Bastian Winkler <buz@netbuz.org>
9278 Date: Wed May 16 11:13:05 2012 +0200
9280 GObject.bind_property: Support transform functions
9282 Add support for optional transformation functions to
9283 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
9284 return value correctly.
9286 https://bugzilla.gnome.org/show_bug.cgi?id=676169
9288 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9290 gi/_gobject/pygobject.c | 130
9291 +++++++++++++++++++++++++++++++++++++++++++++---
9292 tests/test_gobject.py | 59 ++++++++++++++++++++++
9293 2 files changed, 181 insertions(+), 8 deletions(-)
9295 commit 07a08b49aae83a297e2f91240448314e4663f724
9296 Author: Carlos Garnacho <carlos@lanedo.com>
9297 Date: Mon May 14 15:31:14 2012 +0200
9299 Fix lookup of vfuncs in parent classes
9301 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
9303 As subclasses implemented in python override the attribute for the
9304 vfunc, __mro__ has to be used so subclasses of the subclass overriding
9305 methods may find the corresponding VFuncInfo.
9307 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
9309 gi/types.py | 6 +++---
9310 tests/test_gi.py | 27 +++++++++++++++++++++++++++
9311 2 files changed, 30 insertions(+), 3 deletions(-)
9313 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
9314 Author: Martin Pitt <martinpitt@gnome.org>
9315 Date: Fri Jun 1 08:18:40 2012 +0200
9317 tests/test_properties.py: Fix whitespace
9319 The pep8 check failed on this.
9321 tests/test_properties.py | 2 +-
9322 1 file changed, 1 insertion(+), 1 deletion(-)
9324 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
9325 Author: Jasper St. Pierre <jstpierre@mecheye.net>
9326 Date: Wed May 30 16:45:53 2012 -0400
9328 gi: Support zero-terminated arrays with length arguments
9330 Sometimes, you may see (array zero-terminated=1 length=length)
9332 Don't expose the length argument to the user in this case.
9334 https://bugzilla.gnome.org/show_bug.cgi?id=677124
9336 gi/pygi-cache.c | 13 ++++---------
9337 tests/test_gi.py | 3 +++
9338 2 files changed, 7 insertions(+), 9 deletions(-)
9340 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
9341 Author: Jasper St. Pierre <jstpierre@mecheye.net>
9342 Date: Fri May 25 17:09:55 2012 -0400
9346 libregress now needs cairo-gobject
9349 1 file changed, 1 insertion(+), 1 deletion(-)
9351 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
9352 Author: Martin Pitt <martinpitt@gnome.org>
9353 Date: Mon May 14 15:48:34 2012 +0200
9355 Fix comment in previous commit
9357 tests/test_gobject.py | 2 +-
9358 1 file changed, 1 insertion(+), 1 deletion(-)
9360 commit 6610428394d0c65987de5021bf2c38641cdb7116
9361 Author: Simon Feltman <s.feltman@gmail.com>
9362 Date: Tue May 8 20:04:09 2012 -0700
9364 [API add] Add GObject.bind_property method
9366 This adds the "bind_property" method for binding two gobject
9368 together. The method returns a weak reference to a GBinding object.
9369 The BindingWeakRef object is used to manage GBinding objects within
9371 created through GObject.bind_property. It is a sub-class
9373 that we can maintain the same reference counting semantics between
9375 and GObject Binding objects. This gives explicit direct control of the
9376 binding lifetime by using the "unbind" method on the BindingWeakRef
9378 along with implicit management based on the lifetime of the source or
9381 Note this does not yet include support for converter closures. This
9383 later after the initial implementation is accepted.
9385 https://bugzilla.gnome.org/show_bug.cgi?id=675582
9387 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9389 gi/_gobject/pygobject.c | 104
9390 +++++++++++++++++++++++++++++++++++++++++++++++-
9391 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
9392 2 files changed, 193 insertions(+), 1 deletion(-)
9394 commit 88babe7377402f6e6f912a8b83615aab848eae81
9395 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9396 Date: Fri May 11 19:08:47 2012 -0300
9398 pygtkcompat: Correctly set flags
9400 https://bugzilla.gnome.org/show_bug.cgi?id=675911
9402 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9404 gi/pygtkcompat.py | 5 ++---
9405 tests/test_pygtkcompat.py | 1 +
9406 2 files changed, 3 insertions(+), 3 deletions(-)
9408 commit 3f712b56397296bca2f5358cd52977b1a2011964
9409 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9410 Date: Fri May 11 12:39:05 2012 -0300
9412 Gtk overrides: Implement __delitem__ on TreeModel
9414 https://bugzilla.gnome.org/show_bug.cgi?id=675892
9416 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9418 gi/overrides/Gtk.py | 16 ++++++++++++----
9419 tests/test_overrides.py | 9 +++++++++
9420 2 files changed, 21 insertions(+), 4 deletions(-)
9422 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
9423 Author: Simon Feltman <s.feltman@gmail.com>
9424 Date: Sun May 6 18:10:39 2012 -0700
9426 Gdk Color override should support red/green/blue_float properties
9428 Added red_float, green_float, and blue_float properties to Color.
9429 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
9431 https://bugzilla.gnome.org/show_bug.cgi?id=675579
9433 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9435 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
9436 tests/Makefile.am | 2 +-
9437 tests/test_overrides.py | 17 +++++++++++++++++
9438 3 files changed, 62 insertions(+), 1 deletion(-)
9440 commit d9608c332d9592f03545b110cfac8105453ea035
9441 Author: Martin Pitt <martinpitt@gnome.org>
9442 Date: Sat May 5 12:42:42 2012 -0700
9444 Support marshalling of GVariants for closures
9446 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
9448 be called with GVariant arguments and return GVariant.
9450 Unmark the corresponding test case as "expected failure", and also
9452 for None values and type mismatches.
9454 https://bugzilla.gnome.org/show_bug.cgi?id=656554
9456 gi/_gobject/pygtype.c | 47
9457 +++++++++++++++++++++++++++++++++++++++++++++--
9458 tests/test_everything.py | 16 ++++++++++++----
9459 2 files changed, 57 insertions(+), 6 deletions(-)
9461 commit e7a909c16dc1c625ab11e270f23d540f15c71767
9462 Author: Johan Dahlin <johan@gnome.org>
9463 Date: Mon May 7 10:33:40 2012 -0300
9465 Require gobject-introspection 1.33.0
9468 1 file changed, 1 insertion(+), 1 deletion(-)
9470 commit 9e8239684433631e0d1650d25416e4d7bf92a058
9471 Author: Martin Pitt <martinpitt@gnome.org>
9472 Date: Sun May 6 18:28:23 2012 -0700
9474 NEWS: Add API additions since 3.2.0
9477 1 file changed, 4 insertions(+), 3 deletions(-)
9479 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
9480 Author: Martin Pitt <martinpitt@gnome.org>
9481 Date: Sun May 6 18:25:23 2012 -0700
9483 NEWS: Mark API changes since 3.2.0
9486 1 file changed, 3 insertions(+), 3 deletions(-)
9488 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
9489 Author: Martin Pitt <martinpitt@gnome.org>
9490 Date: Sun May 6 18:19:35 2012 -0700
9492 Fix commit 168a087 for Python 3
9494 Simplify the type check and use the already existing one. Fix the
9496 to work with both Python 2 and 3.
9498 gi/pygi-argument.c | 42 +++++++++---------------------------------
9499 1 file changed, 9 insertions(+), 33 deletions(-)
9501 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
9502 Author: Martin Pitt <martinpitt@gnome.org>
9503 Date: Sun May 6 18:08:57 2012 -0700
9505 pygtkcompat.py: Typo fix
9507 Was missing a space around operator, causing the PEP8 check to fail.
9509 gi/pygtkcompat.py | 2 +-
9510 1 file changed, 1 insertion(+), 1 deletion(-)
9512 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
9513 Author: Martin Pitt <martinpitt@gnome.org>
9514 Date: Sun May 6 18:02:04 2012 -0700
9516 _pygi_argument_from_object(): Check for compatible data type
9518 Verify that the passed PyObject actually matches the expected type
9520 argument. With this, trying to assign a wrong type to a property
9524 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
9525 gi/pygi-property.c | 3 +++
9526 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
9527 3 files changed, 82 insertions(+)
9529 commit 5948b62ba3e08ea943e6965ee38c94c363186226
9530 Author: Martin Pitt <martinpitt@gnome.org>
9531 Date: Sun May 6 17:59:57 2012 -0700
9533 pygtkcompat: Fix color conversion
9535 gtk_style_context_get_background_color() returns a GdkRGBA value,
9537 float values between 0 and 1. However, we construct a GdkColor
9539 that, so we need to scale to 0..65535 and round to int.
9541 gi/pygtkcompat.py | 6 +++---
9542 1 file changed, 3 insertions(+), 3 deletions(-)
9544 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
9545 Author: Martin Pitt <martinpitt@gnome.org>
9546 Date: Sun May 6 06:02:31 2012 -0700
9548 test_gi: Check setting properties in constructor
9550 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
9551 1 file changed, 33 insertions(+)
9553 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
9554 Author: Martin Pitt <martinpitt@gnome.org>
9555 Date: Sun May 6 05:50:00 2012 -0700
9557 Support getting and setting GStrv properties
9559 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
9560 tests/test_gi.py | 11 +++++++++++
9561 2 files changed, 47 insertions(+)
9563 commit 8321af2c7df499291e664c676376f149a0c3dcac
9564 Author: Martin Pitt <martinpitt@gnome.org>
9565 Date: Sat May 5 13:58:29 2012 -0700
9567 Support defining GStrv properties from Python
9569 gi/_gobject/propertyhelper.py | 10 ++++++--
9570 tests/test_properties.py | 58
9571 +++++++++++++++++++++++++++++++++++++++++--
9572 2 files changed, 64 insertions(+), 4 deletions(-)
9574 commit f2494526e1c579c41babfe7ff67deef0f6966adf
9575 Author: Martin Pitt <martinpitt@gnome.org>
9576 Date: Sat May 5 13:21:20 2012 -0700
9578 Add GObject.TYPE_STRV constant
9580 gi/_gobject/__init__.py | 1 +
9581 gi/_gobject/constants.py | 1 +
9582 tests/test_everything.py | 2 +-
9583 tests/test_signal.py | 2 +-
9584 4 files changed, 4 insertions(+), 2 deletions(-)
9586 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
9587 Author: Martin Pitt <martinpitt@gnome.org>
9588 Date: Sat May 5 09:28:36 2012 +0200
9590 Unref GVariants when destroying the wrapper
9592 https://bugzilla.gnome.org/show_bug.cgi?id=675472
9594 gi/overrides/GLib.py | 3 +++
9595 1 file changed, 3 insertions(+)
9597 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
9598 Author: Martin Pitt <martinpitt@gnome.org>
9599 Date: Sat May 5 09:23:55 2012 +0200
9601 Fix TestArrayGVariant test cases
9603 test_array_gvariant_container_in() and test_array_gvariant_full_in()
9605 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
9607 Actually do what they mean to do now and call the corresponding
9608 GIMarshallingTests methods.
9610 tests/test_gi.py | 4 ++--
9611 1 file changed, 2 insertions(+), 2 deletions(-)
9613 commit fda8a069d503e63c76a6b1ba285a181822549059
9614 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9615 Date: Sat May 5 08:52:41 2012 +0200
9617 pygtkcompat: Add gdk.pixbuf_get_formats compat code
9619 https://bugzilla.gnome.org/show_bug.cgi?id=675489
9621 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9623 gi/pygtkcompat.py | 20 ++++++++++++++++++++
9624 tests/test_pygtkcompat.py | 8 ++++++++
9625 2 files changed, 28 insertions(+)
9627 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
9628 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9629 Date: Mon Apr 30 13:44:19 2012 -0300
9631 pygtkcompat: Add some more compat functions
9633 https://bugzilla.gnome.org/show_bug.cgi?id=675489
9635 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9637 gi/pygtkcompat.py | 14 ++++++++++++++
9638 1 file changed, 14 insertions(+)
9640 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
9641 Author: Martin Pitt <martinpitt@gnome.org>
9642 Date: Thu May 3 12:25:04 2012 +0200
9644 Fix tests for Python 3
9646 cmp() does not exist any more in Python 3, replace with comparison
9649 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
9651 can't pass a str (which is an Unicode object in Python 3). Pass a
9655 tests/test_gi.py | 2 +-
9656 tests/test_overrides.py | 2 +-
9657 2 files changed, 2 insertions(+), 2 deletions(-)
9659 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
9660 Author: Martin Pitt <martinpitt@gnome.org>
9661 Date: Thu May 3 09:38:56 2012 +0200
9663 Fix building with --disable-cairo
9665 Build gobject-introspection's regress.c against cairo, not
9666 pycairo/py3cairo. We
9667 always need cairo to build, so unconditionally check for this in
9670 In test_everything.py, gracefully handle the absence of the "cairo"
9672 module, which we do not have when building without cairo support.
9674 configure.ac | 3 +++
9675 tests/Makefile.am | 4 ++--
9676 tests/test_everything.py | 8 +++++++-
9677 3 files changed, 12 insertions(+), 3 deletions(-)
9679 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
9680 Author: Martin Pitt <martinpitt@gnome.org>
9681 Date: Thu May 3 09:28:51 2012 +0200
9683 tests: Fix deprecated assertions
9685 assertAlmostEquals → assertAlmostEqual
9686 assertNotEquals → assertNotEqual
9688 tests/test_everything.py | 4 ++--
9689 tests/test_gi.py | 12 ++++++------
9690 tests/test_overrides.py | 10 +++++-----
9691 3 files changed, 13 insertions(+), 13 deletions(-)
9693 commit 07f312e66c07357168098d3f96813d2c997e8dc7
9694 Author: Martin Pitt <martinpitt@gnome.org>
9695 Date: Wed May 2 12:08:19 2012 +0200
9697 Run tests with MALLOC_PERTURB_
9699 We mostly use the glib allocation functions, but this might
9700 help to uncover access to already freed or uninitialized memory in
9704 tests/Makefile.am | 1 +
9705 1 file changed, 1 insertion(+)
9707 commit b0740d386c2cbbd153878209b584b568968e4d98
9708 Author: Martin Pitt <martinpitt@gnome.org>
9709 Date: Mon Apr 30 16:26:57 2012 +0200
9711 configure.ac: Post-release bump to 3.3.2
9714 1 file changed, 1 insertion(+), 1 deletion(-)
9716 commit d3977266faadacd3d05705497c1cf51a01a6606f
9717 Author: Martin Pitt <martinpitt@gnome.org>
9718 Date: Mon Apr 30 16:08:09 2012 +0200
9723 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9724 1 file changed, 66 insertions(+)
9726 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
9727 Author: Giovanni Campagna <gcampagna@src.gnome.org>
9728 Date: Sun Apr 29 23:55:15 2012 +0200
9730 GSettings: allow extra keyword arguments
9732 All GObject constructors are expected to accept any construct
9733 property as keyword argument, and overrides should respect that.
9734 In particular, not doing this for GSettings prevents using a custom
9737 https://bugzilla.gnome.org/show_bug.cgi?id=675105
9739 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9741 gi/overrides/Gio.py | 4 ++--
9742 1 file changed, 2 insertions(+), 2 deletions(-)
9744 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
9745 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9746 Date: Sun Apr 29 12:56:50 2012 -0300
9748 pygtkcompat: Correct Userlist module use
9750 https://bugzilla.gnome.org/show_bug.cgi?id=675084
9752 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9754 gi/pygtkcompat.py | 2 +-
9755 tests/test_pygtkcompat.py | 4 ++++
9756 2 files changed, 5 insertions(+), 1 deletion(-)
9758 commit 3551462a429ef30274fa01fc8111da5025f9c342
9759 Author: Martin Pitt <martinpitt@gnome.org>
9760 Date: Sun Apr 29 20:17:47 2012 +0200
9762 Add release-news make rule
9764 This produces a commit log since the previous release in our
9766 format. This does not currently wrap long lines automatically, though.
9768 Do include bug numbers from now on, as they are very useful.
9770 Makefile.am | 12 ++++++++++--
9771 1 file changed, 10 insertions(+), 2 deletions(-)
9773 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
9774 Author: Martin Pitt <martinpitt@gnome.org>
9775 Date: Wed Apr 25 13:07:59 2012 +0200
9777 Add "make check.nemiver" target
9779 Similar to "check.gdb", but invokes nemiver.
9782 tests/Makefile.am | 3 +++
9783 2 files changed, 6 insertions(+)
9785 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
9786 Author: Martin Pitt <martinpitt@gnome.org>
9787 Date: Tue Apr 24 13:24:00 2012 +0200
9789 Test flags and enums in GHash values
9791 https://bugzilla.gnome.org/show_bug.cgi?id=637466
9793 tests/test_everything.py | 18 ++++++++++++------
9794 1 file changed, 12 insertions(+), 6 deletions(-)
9796 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
9797 Author: Martin Pitt <martinpitt@gnome.org>
9798 Date: Tue Apr 24 13:03:36 2012 +0200
9800 tests: Activate test_hash_in and apply workaround
9802 Work around pygobject's current inability to produce a GStrv object
9804 string array by explicitly producing a GStrV object, and reactivate
9807 https://bugzilla.gnome.org/show_bug.cgi?id=666636
9809 tests/test_everything.py | 24 +++++++++++++-----------
9810 1 file changed, 13 insertions(+), 11 deletions(-)
9812 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
9813 Author: Martin Pitt <martinpitt@gnome.org>
9814 Date: Mon Apr 23 12:33:09 2012 +0200
9816 Add special case for Gdk.Atom array entries from Python
9818 Gdk.Atom pretends to be a struct pointer, but is really just an
9820 into a pointer. So we must not dereference it directly, nor free
9822 instead just copy the pointer value.
9824 Also add a few other test cases for "single Atom return", "single
9826 in", and Atom GList return", which already work fine.
9828 https://bugzilla.gnome.org/show_bug.cgi?id=661709
9830 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
9831 tests/Makefile.am | 1 +
9832 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
9833 3 files changed, 56 insertions(+), 4 deletions(-)
9835 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
9836 Author: Martin Pitt <martinpitt@gnome.org>
9837 Date: Mon Apr 23 20:09:43 2012 +0200
9839 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
9841 https://bugzilla.gnome.org/show_bug.cgi?id=667954
9843 tests/test_gdbus.py | 2 +-
9844 1 file changed, 1 insertion(+), 1 deletion(-)
9846 commit 3ae38d7519524288a57e5d522954b9d6725f0185
9847 Author: Martin Pitt <martinpitt@gnome.org>
9848 Date: Mon Apr 23 18:47:34 2012 +0200
9850 Add test case for Gtk.ListStore custom sort
9852 This works in Python 2, but crashes in Python 3, another case of
9854 we get when C calls a Python callback in Python 3.
9856 https://bugzilla.gnome.org/show_bug.cgi?id=674475
9858 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
9859 1 file changed, 31 insertions(+)
9861 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
9862 Author: Martin Pitt <martinpitt@gnome.org>
9863 Date: Mon Apr 23 17:40:23 2012 +0200
9865 GTK overrides: Add missing keyword arguments
9867 Add missing **kwargs to overridden __init__() constructors, to
9869 arbitrary widget properties.
9871 https://bugzilla.gnome.org/show_bug.cgi?id=660018
9873 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
9874 tests/test_overrides.py | 6 ++++++
9875 2 files changed, 24 insertions(+), 16 deletions(-)
9877 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
9878 Author: Martin Pitt <martinpitt@gnome.org>
9879 Date: Mon Apr 23 15:24:04 2012 +0200
9881 Add missing override for TreeModel.iter_previous()
9883 This should behave like the override for TreeModel.iter_next().
9885 https://bugzilla.gnome.org/show_bug.cgi?id=660018
9887 gi/overrides/Gtk.py | 6 ++++++
9888 tests/test_overrides.py | 4 ++++
9889 2 files changed, 10 insertions(+)
9891 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
9892 Author: Martin Pitt <martinpitt@gnome.org>
9893 Date: Sun Apr 22 16:45:06 2012 +0200
9895 pygi-convert.py: Drop obsolete drag method conversions
9897 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
9899 fixed a while ago to be proper Widget methods again.
9901 https://bugzilla.gnome.org/show_bug.cgi?id=652860
9903 pygi-convert.sh | 3 ---
9904 1 file changed, 3 deletions(-)
9906 commit f82eca6006dec21624796074af8ffe9b2256f7a4
9907 Author: Martin Pitt <martinpitt@gnome.org>
9908 Date: Sat Apr 21 14:00:50 2012 +0200
9910 tests: Replace deprecated assertEquals() with assertEqual()
9912 tests/test_everything.py | 144 ++++++-------
9913 tests/test_gi.py | 502
9914 +++++++++++++++++++++++-----------------------
9915 tests/test_gobject.py | 58 +++---
9916 tests/test_option.py | 6 +-
9917 tests/test_overrides.py | 352 ++++++++++++++++----------------
9918 tests/test_properties.py | 18 +-
9919 tests/test_pygtkcompat.py | 42 ++--
9920 7 files changed, 561 insertions(+), 561 deletions(-)
9922 commit ddb0bf01e694585d58af52673a21796e7c9578ea
9923 Author: Paolo Borelli <pborelli@gnome.org>
9924 Date: Sat Apr 21 12:02:54 2012 +0200
9926 Plug tiny leak in constant_info_get_value
9928 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
9930 gi/pygi-info.c | 1 +
9931 1 file changed, 1 insertion(+)
9933 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
9934 Author: Bastian Winkler <buz@netbuz.org>
9935 Date: Thu Apr 12 20:30:05 2012 +0200
9937 Fix len_arg_index for array arguments
9939 Don't set len_arg_index for arrays without the length annotation
9941 This fixes methods like Clutter.Texture.set_from_rgb_data() and
9942 Clutter.Image.set_data()
9944 https://bugzilla.gnome.org/show_bug.cgi?id=674271
9946 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9948 gi/pygi-cache.c | 4 +++-
9949 gi/pygi-marshal-cleanup.c | 4 ++--
9950 tests/test_gi.py | 3 +++
9951 3 files changed, 8 insertions(+), 3 deletions(-)
9953 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
9954 Author: Martin Pitt <martinpitt@gnome.org>
9955 Date: Thu Apr 19 13:11:56 2012 +0200
9957 Support defining GType properties from Python
9959 Commit 84e3471 fixed the handling of GType properties for properties
9961 defined in the C library already. Add the missing support for
9963 properties in Python as well.
9965 https://bugzilla.gnome.org/show_bug.cgi?id=674351
9967 gi/_gobject/gobjectmodule.c | 5 ++++-
9968 gi/_gobject/propertyhelper.py | 9 ++++++---
9969 tests/test_properties.py | 42
9970 +++++++++++++++++++++++++++++++++++++++---
9971 3 files changed, 49 insertions(+), 7 deletions(-)
9973 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
9974 Author: Martin Pitt <martinpitt@gnome.org>
9975 Date: Thu Apr 19 16:12:29 2012 +0200
9977 Fix typo in previous commit
9979 In the test case, actually assign the newly created object, so that
9981 properties of the right object.
9983 tests/test_everything.py | 2 +-
9984 1 file changed, 1 insertion(+), 1 deletion(-)
9986 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
9987 Author: Bastian Winkler <buz@netbuz.org>
9988 Date: Wed Apr 18 21:44:08 2012 +0200
9990 Handle GType properties correctly
9992 Fix conversion from/to properties of type G_TYPE_GTYPE
9994 https://bugzilla.gnome.org/show_bug.cgi?id=674351
9996 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9998 gi/_gobject/pygtype.c | 9 +++++++--
9999 tests/test_everything.py | 15 +++++++++++++++
10000 2 files changed, 22 insertions(+), 2 deletions(-)
10002 commit d1362451e070e156d2f49c9cde930cc38befb12b
10003 Author: Martin Pitt <martinpitt@gnome.org>
10004 Date: Thu Apr 19 07:27:10 2012 +0200
10006 Add missing GObject.TYPE_GTYPE
10008 gi/_gobject/__init__.py | 1 +
10009 gi/_gobject/constants.py | 1 +
10010 2 files changed, 2 insertions(+)
10012 commit d3225f1540e09719caa73e52d402e946da3add24
10013 Author: Martin Pitt <martinpitt@gnome.org>
10014 Date: Tue Apr 10 12:44:00 2012 +0200
10016 Fix test_mainloop.py for Python 3
10018 tests/test_mainloop.py | 9 +++++++--
10019 1 file changed, 7 insertions(+), 2 deletions(-)
10021 commit 903283119896f3e054694484da4147788b02ce60
10022 Author: Martin Pitt <martinpitt@gnome.org>
10023 Date: Mon Apr 9 15:20:39 2012 +0200
10025 Make callback exception propagation test stricter
10027 Propagating Python exceptions from callbacks through the C context
10029 original caller does not currently happen, is nontrivial/unsafe
10031 and not desirable at this point any more as by now we have established
10033 current behaviour. So remove the catching of ZeroDivisionError in
10036 https://bugzilla.gnome.org/show_bug.cgi?id=616279
10038 tests/test_everything.py | 16 ++++++++--------
10039 1 file changed, 8 insertions(+), 8 deletions(-)
10041 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
10042 Author: Simon Feltman <s.feltman@gmail.com>
10043 Date: Sun Mar 18 15:59:58 2012 -0700
10045 Add context management to freeze_notify() and handler_block().
10047 These methods now return a context manager object. Within the
10049 thaw_notify() and handler_unblock() are called respectively. This
10051 statements like the following:
10053 with obj.freeze_notify():
10054 obj.props.width = 100
10055 obj.props.height = 100
10056 obj.props.opacity = 0.5
10058 This does not affect standard usage of these methods.
10060 https://bugzilla.gnome.org/show_bug.cgi?id=672324
10062 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
10064 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
10065 tests/test_gobject.py | 158
10066 ++++++++++++++++++++++++++++++++++++++++++++++++
10067 2 files changed, 288 insertions(+), 8 deletions(-)
10069 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
10070 Author: Martin Pitt <martinpitt@gnome.org>
10071 Date: Wed Apr 4 19:08:54 2012 +0200
10073 Add support for GFlags properties
10075 https://bugzilla.gnome.org/show_bug.cgi?id=620943
10077 gi/_gobject/propertyhelper.py | 9 +++++++--
10078 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
10079 2 files changed, 34 insertions(+), 3 deletions(-)
10081 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
10082 Author: Martin Pitt <martinpitt@gnome.org>
10083 Date: Wed Apr 4 17:54:52 2012 +0200
10085 Wrap GLib.Source.is_destroyed() method
10087 Based on original patch from Bryan Silverthorn.
10089 https://bugzilla.gnome.org/show_bug.cgi?id=524719
10091 gi/_glib/pygsource.c | 15 +++++++++++++++
10092 tests/test_source.py | 24 ++++++++++++++++++++++++
10093 2 files changed, 39 insertions(+)
10095 commit 05030a95a4d3090162ed5f510a26d69bbb152942
10096 Author: Martin Pitt <martinpitt@gnome.org>
10097 Date: Wed Apr 4 15:59:24 2012 +0200
10099 Fix error message when trying to override a non-GI class
10101 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
10103 https://bugzilla.gnome.org/show_bug.cgi?id=646667
10105 gi/overrides/__init__.py | 7 ++++---
10106 tests/test_overrides.py | 13 +++++++++++++
10107 2 files changed, 17 insertions(+), 3 deletions(-)
10109 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
10110 Author: Steve Frécinaux <code@istique.net>
10111 Date: Wed Apr 4 15:30:55 2012 +0200
10113 Fix segfault when accessing __grefcount__ before creating the GObject
10115 When creating a new instance using Type() and trying to access
10116 __grefcount__ before calling the subclass's __init__ function, there
10117 used to be a segmentation fault because we were trying to access the
10118 not yet created object. Now raise a proper exception instead.
10120 https://bugzilla.gnome.org/show_bug.cgi?id=640434
10122 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
10124 gi/_gobject/pygobject.c | 4 ++++
10125 tests/test_gobject.py | 11 +++++++++++
10126 2 files changed, 15 insertions(+)
10128 commit 24cc09a7105299805fcc5bc151f53ac69958d728
10129 Author: Steve Frécinaux <code@istique.net>
10130 Date: Wed Feb 9 18:37:33 2011 +0100
10132 Do not bind gobject_get_data() and gobject_set_data()
10134 They will basically cause a crash if misused, and you can always use a
10135 python member attribute instead.
10137 https://bugzilla.gnome.org/show_bug.cgi?id=641944
10139 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
10141 gi/_gobject/pygobject.c | 40 ----------------------------------------
10142 1 file changed, 40 deletions(-)
10144 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
10145 Author: Martin Pitt <martinpitt@gnome.org>
10146 Date: Tue Apr 3 22:26:34 2012 +0200
10148 Add test case for multiple GLib.MainLoop instances
10150 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
10154 https://bugzilla.gnome.org/show_bug.cgi?id=663068
10156 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
10157 1 file changed, 24 insertions(+), 1 deletion(-)
10159 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
10160 Author: John (J5) Palmieri <johnp@redhat.com>
10161 Date: Tue Feb 21 15:13:42 2012 +0100
10163 Add a ccallback type which is used to invoke callbacks passed to
10166 Used when overriding methods like gtk_container_forall wich pass in a
10167 callback that needs to be executed on internal children:
10168 def do_forall(self, callback, userdata):
10169 callback(self.custom_child, userdata)
10171 https://bugzilla.gnome.org/show_bug.cgi?id=644926
10173 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
10174 Co-authored-by: Simon Schampijer <simon@laptop.org>
10176 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
10178 gi/Makefile.am | 2 +
10179 gi/gimodule.c | 1 +
10180 gi/module.py | 5 +++
10181 gi/pygi-argument.c | 12 +----
10182 gi/pygi-cache.c | 28 ++++++++++--
10183 gi/pygi-cache.h | 9 ++--
10184 gi/pygi-ccallback.c | 100
10185 ++++++++++++++++++++++++++++++++++++++++++
10186 gi/pygi-ccallback.h | 41 +++++++++++++++++
10187 gi/pygi-closure.c | 50 ++++++++++++++++++++-
10188 gi/pygi-invoke-state-struct.h | 2 +
10189 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
10190 gi/pygi-invoke.h | 3 ++
10191 gi/pygi-private.h | 1 +
10192 gi/pygi.h | 10 +++++
10193 tests/test_gi.py | 16 +++++++
10194 15 files changed, 312 insertions(+), 41 deletions(-)
10196 commit db7e1d078db16b6f11dee51aa97525c451346632
10197 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
10198 Date: Tue Mar 27 17:34:48 2012 +0200
10200 Regression test: marshalling GValues in GHashTable
10202 https://bugzilla.gnome.org/show_bug.cgi?id=668903
10204 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
10206 tests/test_everything.py | 19 +++++++++++++++++++
10207 1 file changed, 19 insertions(+)
10209 commit 7c0017c30129a8db391f902ed592782200d69c64
10210 Author: Martin Pitt <martin.pitt@ubuntu.com>
10211 Date: Mon Mar 26 17:55:41 2012 +0200
10213 Bump version to 3.3.1
10215 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
10217 continue with 3.3.x on master.
10219 configure.ac | 4 ++--
10220 1 file changed, 2 insertions(+), 2 deletions(-)
10222 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
10223 Author: Martin Pitt <martin.pitt@ubuntu.com>
10224 Date: Mon Mar 26 17:51:37 2012 +0200
10228 - Ignore *.o, backup files, and generated Makefiles in all
10230 - Ignore *.pyc files.
10231 - Do not ignore .gitignore, we actually want to track this.
10234 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10235 1 file changed, 61 insertions(+)
10237 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
10238 Author: Martin Pitt <martin.pitt@ubuntu.com>
10239 Date: Mon Mar 26 17:45:08 2012 +0200
10241 Fix "distcheck" and tests with out-of-tree builds
10243 - Symlink *.py files from srcdir into builddir during build, as
10245 accept the extensions and modules in different paths.
10246 - "make clean" should remove *.pyc files
10247 - tests/runtests.py: Look for tests in srcdir, not in builddir
10249 Makefile.am | 6 ++++--
10250 gi/Makefile.am | 13 +++++++++++--
10251 gi/_glib/Makefile.am | 12 ++++++++++--
10252 gi/_gobject/Makefile.am | 12 ++++++++++--
10253 gi/overrides/Makefile.am | 10 ++++++++++
10254 gi/repository/Makefile.am | 11 +++++++++++
10255 tests/runtests.py | 6 ++++--
10256 7 files changed, 60 insertions(+), 10 deletions(-)
10258 commit f83d95e6fff572bda659a48e309b4524dafa4e83
10259 Author: Johan Dahlin <johan@gnome.org>
10260 Date: Thu Mar 22 11:14:03 2012 -0300
10262 Add a pep8 check to the makefile
10264 Also reorganize the pyflakes check, since target dependencies do not
10265 take the exit status of the shell command into account.
10267 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10269 tests/Makefile.am | 9 ++++-----
10270 1 file changed, 4 insertions(+), 5 deletions(-)
10272 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
10273 Author: Johan Dahlin <johan@gnome.org>
10274 Date: Thu Mar 22 10:56:59 2012 -0300
10276 PEP8: Remaining whitespace fixes
10278 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10280 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
10281 demos/gtk-demo/demos/Tree View/liststore.py | 28
10282 +++++++++++++-------------
10283 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
10284 demos/gtk-demo/demos/rotatedtext.py | 2 +-
10285 examples/cairo-demo.py | 4 ++--
10286 tests/test_gi.py | 12 +++++------
10287 tests/test_overrides.py | 2 +-
10288 7 files changed, 32 insertions(+), 33 deletions(-)
10290 commit 032fcce2bf6070a9001cbb780e90403051e303b1
10291 Author: Johan Dahlin <johan@gnome.org>
10292 Date: Thu Mar 22 10:56:03 2012 -0300
10294 PEP8: Add spaces before #
10296 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10298 demos/gtk-demo/demos/drawingarea.py | 6 +++---
10299 demos/gtk-demo/demos/images.py | 10 +++++-----
10300 demos/gtk-demo/demos/rotatedtext.py | 2 +-
10301 gi/__init__.py | 2 +-
10302 gi/_glib/option.py | 2 +-
10303 gi/_gobject/__init__.py | 2 +-
10304 gi/overrides/GLib.py | 12 ++++++------
10305 gi/types.py | 4 ++--
10306 tests/runtests.py | 2 +-
10307 tests/test_gdbus.py | 4 ++--
10308 10 files changed, 23 insertions(+), 23 deletions(-)
10310 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
10311 Author: Johan Dahlin <johan@gnome.org>
10312 Date: Thu Mar 22 10:52:05 2012 -0300
10314 PEP8: Add missing whitespace after : and ,
10316 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10318 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
10319 demos/gtk-demo/demos/appwindow.py | 2 +-
10320 tests/test_everything.py | 23 +++++++++--------------
10321 tests/test_gi.py | 2 +-
10322 tests/test_overrides.py | 2 +-
10323 5 files changed, 13 insertions(+), 18 deletions(-)
10325 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
10326 Author: Johan Dahlin <johan@gnome.org>
10327 Date: Thu Mar 22 10:49:52 2012 -0300
10329 PEP8: Remove too whitespace before }
10331 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10333 tests/test_overrides.py | 2 +-
10334 1 file changed, 1 insertion(+), 1 deletion(-)
10336 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
10337 Author: Johan Dahlin <johan@gnome.org>
10338 Date: Thu Mar 22 10:49:27 2012 -0300
10340 PEP8: Remove too many blank lines
10342 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10344 demos/gtk-demo/demos/rotatedtext.py | 1 -
10345 tests/test_overrides.py | 1 -
10346 2 files changed, 2 deletions(-)
10348 commit 03e597cb8f3b075efae556ee51a598695a883ad3
10349 Author: Johan Dahlin <johan@gnome.org>
10350 Date: Thu Mar 22 10:48:59 2012 -0300
10352 PEP8: Fix whitespace around operators
10354 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10356 demos/gtk-demo/demos/images.py | 2 +-
10357 examples/cairo-demo.py | 8 ++++----
10358 tests/test_gi.py | 4 ++--
10359 tests/test_overrides.py | 8 ++++----
10360 tests/test_properties.py | 14 +++++++-------
10361 tests/test_signal.py | 2 +-
10362 6 files changed, 19 insertions(+), 19 deletions(-)
10364 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
10365 Author: Johan Dahlin <johan@gnome.org>
10366 Date: Thu Mar 22 10:46:17 2012 -0300
10368 PEP8: Remove whitespace before (
10370 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10372 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
10373 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
10374 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
10375 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
10376 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
10377 demos/gtk-demo/demos/dialogs.py | 12 ++---
10378 demos/gtk-demo/demos/pickers.py | 8 ++--
10379 demos/gtk-demo/demos/pixbuf.py | 4 +-
10380 demos/gtk-demo/demos/printing.py | 8 ++--
10381 demos/gtk-demo/demos/rotatedtext.py | 2 +-
10382 demos/gtk-demo/gtk-demo.py | 4 +-
10383 gi/module.py | 4 +-
10384 gi/overrides/Pango.py | 2 +-
10385 gi/pygtkcompat.py | 4 +-
10386 tests/test_everything.py | 4 +-
10387 tests/test_overrides.py | 62
10388 +++++++++++++-------------
10389 16 files changed, 68 insertions(+), 68 deletions(-)
10391 commit b04d209930ab01bae6563b0d714aec829739bdc6
10392 Author: Johan Dahlin <johan@gnome.org>
10393 Date: Thu Mar 22 10:40:46 2012 -0300
10395 PEP8: Remove whitespace around {}
10397 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10399 tests/test_signal.py | 20 ++++++++++----------
10400 1 file changed, 10 insertions(+), 10 deletions(-)
10402 commit 725483a5dc36739dc7836716b5d6d48091564bf8
10403 Author: Johan Dahlin <johan@gnome.org>
10404 Date: Thu Mar 22 10:38:59 2012 -0300
10406 PEP8: run via --fix from craigds fork
10408 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10410 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
10411 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
10412 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
10413 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
10414 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
10415 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
10416 demos/gtk-demo/demos/appwindow.py | 13 +++++-
10417 demos/gtk-demo/demos/assistant.py | 1 +
10418 demos/gtk-demo/demos/builder.py | 1 +
10419 demos/gtk-demo/demos/button_box.py | 1 +
10420 demos/gtk-demo/demos/clipboard.py | 2 +-
10421 demos/gtk-demo/demos/colorselector.py | 1 +
10422 demos/gtk-demo/demos/combobox.py | 4 +-
10423 demos/gtk-demo/demos/dialogs.py | 2 +
10424 demos/gtk-demo/demos/drawingarea.py | 1 +
10425 demos/gtk-demo/demos/expander.py | 4 +-
10426 demos/gtk-demo/demos/images.py | 10 +++--
10427 demos/gtk-demo/demos/infobars.py | 2 +
10428 demos/gtk-demo/demos/links.py | 2 +
10429 demos/gtk-demo/demos/menus.py | 2 +
10430 demos/gtk-demo/demos/pickers.py | 2 +
10431 demos/gtk-demo/demos/pixbuf.py | 2 +
10432 demos/gtk-demo/demos/printing.py | 5 ++-
10433 demos/gtk-demo/demos/rotatedtext.py | 4 +-
10434 demos/gtk-demo/demos/test.py | 1 +
10435 demos/gtk-demo/gtk-demo.py | 9 ++--
10436 examples/cairo-demo.py | 57
10437 ++++++++++++++----------
10438 examples/option.py | 1 -
10439 examples/properties.py | 1 +
10440 examples/signal.py | 4 ++
10441 gi/__init__.py | 2 +
10442 gi/_glib/option.py | 4 +-
10443 gi/_gobject/__init__.py | 1 +
10444 gi/_gobject/propertyhelper.py | 5 ++-
10445 gi/module.py | 3 ++
10446 gi/overrides/GIMarshallingTests.py | 2 +
10447 gi/overrides/GLib.py | 12 +++--
10448 gi/overrides/Gdk.py | 9 ++++
10449 gi/overrides/Gio.py | 4 ++
10450 gi/overrides/Gtk.py | 56
10451 ++++++++++++++++++++---
10452 gi/overrides/Pango.py | 2 +
10453 gi/overrides/__init__.py | 5 ++-
10454 gi/pygtkcompat.py | 16 +++++--
10456 tests/test_everything.py | 30 +++++++++----
10457 tests/test_gdbus.py | 1 +
10458 tests/test_gi.py | 30 +++++++------
10459 tests/test_gobject.py | 3 +-
10460 tests/test_mainloop.py | 1 +
10461 tests/test_option.py | 1 +
10462 tests/test_overrides.py | 55
10463 ++++++++++++-----------
10464 tests/test_properties.py | 11 ++++-
10465 tests/test_signal.py | 32 ++++++++++++-
10466 tests/test_source.py | 1 +
10467 tests/test_subprocess.py | 1 +
10468 tests/test_thread.py | 1 +
10469 tests/test_uris.py | 1 +
10470 tests/testmodule.py | 1 +
10471 58 files changed, 326 insertions(+), 111 deletions(-)
10473 commit 917275d4aa81db39ccaca34fa514032fb80a3187
10474 Author: Johan Dahlin <johan@gnome.org>
10475 Date: Thu Mar 22 10:33:29 2012 -0300
10477 PEP8: Remove spaces around = for keyword arguments
10479 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10481 demos/gtk-demo/demos/appwindow.py | 8 ++++----
10482 demos/gtk-demo/demos/colorselector.py | 4 ++--
10483 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
10484 examples/option.py | 4 ++--
10485 gi/_glib/option.py | 2 +-
10486 gi/overrides/Gtk.py | 2 +-
10487 tests/test_gi.py | 26 +++++++++++++-------------
10488 tests/test_option.py | 2 +-
10489 tests/test_overrides.py | 8 ++++----
10490 9 files changed, 40 insertions(+), 40 deletions(-)
10492 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
10493 Author: Johan Dahlin <johan@gnome.org>
10494 Date: Thu Mar 22 10:28:28 2012 -0300
10496 PEP8: Remove trailing ;
10498 https://bugzilla.gnome.org/show_bug.cgi?id=672627
10500 demos/gtk-demo/demos/appwindow.py | 4 ++--
10501 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
10502 demos/gtk-demo/demos/links.py | 2 +-
10503 demos/gtk-demo/demos/pixbuf.py | 2 +-
10504 demos/gtk-demo/demos/printing.py | 8 ++++----
10505 gi/overrides/Gtk.py | 4 ++--
10506 tests/test_everything.py | 22 +++++++++++-----------
10507 tests/test_gi.py | 2 +-
10508 tests/test_overrides.py | 8 ++++----
10509 9 files changed, 41 insertions(+), 41 deletions(-)
10511 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
10512 Author: Johan Dahlin <johan@gnome.org>
10513 Date: Thu Mar 22 10:24:40 2012 -0300
10515 Remove all tabs and fix indentation
10517 By running the whole source tree via the indent.py script found
10518 in the Python distribution.
10520 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
10521 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
10522 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
10523 demos/gtk-demo/demos/appwindow.py | 18 +--
10524 demos/gtk-demo/demos/dialogs.py | 26 ++---
10525 demos/gtk-demo/demos/expander.py | 6 +-
10526 demos/gtk-demo/demos/images.py | 2 +-
10527 demos/gtk-demo/demos/links.py | 2 +-
10528 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
10529 gi/_glib/option.py | 2 +-
10530 gi/_gobject/constants.py | 1 -
10531 gi/importer.py | 1 -
10532 gi/module.py | 10 +-
10533 gi/overrides/GLib.py | 11 +-
10534 gi/overrides/Gdk.py | 30 ++---
10535 gi/overrides/Gio.py | 4 +-
10536 gi/overrides/Gtk.py | 150
10537 ++++++++++++-------------
10538 gi/overrides/Pango.py | 1 -
10539 gi/overrides/__init__.py | 10 +-
10540 gi/pygtkcompat.py | 2 +-
10541 tests/compathelper.py | 2 +-
10542 tests/runtests.py | 19 ++--
10543 tests/test_everything.py | 22 ++--
10544 tests/test_gdbus.py | 11 +-
10545 tests/test_gi.py | 38 +++----
10546 tests/test_gobject.py | 2 +-
10547 tests/test_interface.py | 1 -
10548 tests/test_option.py | 1 -
10549 tests/test_overrides.py | 78 ++++++-------
10550 tests/test_properties.py | 2 +-
10551 tests/test_uris.py | 1 -
10552 31 files changed, 255 insertions(+), 271 deletions(-)
10554 commit c375e3136f0f48eb8a6717c0053155db088b329d
10555 Author: Martin Pitt <martin.pitt@ubuntu.com>
10556 Date: Thu Mar 22 10:32:43 2012 +0100
10558 tests: Replace deprecated Python API
10560 failIf → assertFalse, failUnless → assertTrue
10562 Caught by the previous commit of making deprecations fatal.
10564 tests/test_option.py | 10 +++----
10565 tests/test_overrides.py | 66
10566 +++++++++++++++++++++++------------------------
10567 tests/test_properties.py | 14 +++++-----
10568 tests/test_pygtkcompat.py | 18 ++++++-------
10569 tests/test_signal.py | 4 +--
10570 5 files changed, 56 insertions(+), 56 deletions(-)
10572 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
10573 Author: Martin Pitt <martin.pitt@ubuntu.com>
10574 Date: Thu Mar 22 10:31:22 2012 +0100
10576 Fail tests if they use or encounter deprecations
10578 tests/Makefile.am | 2 +-
10579 1 file changed, 1 insertion(+), 1 deletion(-)
10581 commit 65762243a34af014950527c323a51a29d40fb3e1
10582 Author: Martin Pitt <martin.pitt@ubuntu.com>
10583 Date: Thu Mar 22 10:15:16 2012 +0100
10585 Do not run tests in two phases any more
10587 As we dropped the static bindings a while ago, there is no need any
10589 the tests in two phases (static/GI). Now just run them all in one go,
10590 simplifying tests/Makefile.am.
10592 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
10594 needs to happen even further, so move it from tests/test_overrides.py
10598 tests/Makefile.am | 33 ++++++++++++---------------------
10599 tests/runtests.py | 7 +++++++
10600 tests/test_overrides.py | 6 ------
10601 3 files changed, 19 insertions(+), 27 deletions(-)
10603 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
10604 Author: Martin Pitt <martin.pitt@ubuntu.com>
10605 Date: Thu Mar 22 09:58:21 2012 +0100
10607 test_overrides: Find local gsettings schema with current glib
10609 With current glib, gsettings now fails to find the gschemas.compiled
10611 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
10613 which makes this work again.
10615 tests/test_overrides.py | 9 +++++----
10616 1 file changed, 5 insertions(+), 4 deletions(-)
10618 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
10619 Author: Paolo Borelli <pborelli@gnome.org>
10620 Date: Wed Mar 21 21:09:24 2012 +0100
10622 Add GtkComboBoxEntry compatibility
10624 This widget has been removed in Gtk+ 3, add a small wrapper to the
10625 compat module to make at least basic pygtk programs that use it work.
10627 https://bugzilla.gnome.org/show_bug.cgi?id=672589
10629 gi/pygtkcompat.py | 19 +++++++++++++++++++
10630 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
10631 2 files changed, 41 insertions(+)
10633 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
10634 Author: Johan Dahlin <johan@gnome.org>
10635 Date: Wed Mar 21 16:01:35 2012 -0300
10637 Correct review comments from Martin
10639 https://bugzilla.gnome.org/show_bug.cgi?id=672578
10641 tests/test_everything.py | 4 ++--
10642 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
10643 2 files changed, 20 insertions(+), 2 deletions(-)
10645 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
10646 Author: Johan Dahlin <johan@gnome.org>
10647 Date: Wed Mar 21 14:45:53 2012 -0300
10649 Correct pyflakes warnings/errors
10651 And add a target to make check that runs pyflakes.
10653 https://bugzilla.gnome.org/show_bug.cgi?id=672578
10655 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
10656 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
10657 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
10658 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
10659 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
10660 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
10661 demos/gtk-demo/demos/appwindow.py | 13 +-
10662 demos/gtk-demo/demos/assistant.py | 4 +-
10663 demos/gtk-demo/demos/builder.py | 4 +-
10664 demos/gtk-demo/demos/button_box.py | 2 +-
10665 demos/gtk-demo/demos/clipboard.py | 2 +-
10666 demos/gtk-demo/demos/colorselector.py | 2 +-
10667 demos/gtk-demo/demos/combobox.py | 4 +-
10668 demos/gtk-demo/demos/dialogs.py | 4 +-
10669 demos/gtk-demo/demos/drawingarea.py | 2 +-
10670 demos/gtk-demo/demos/expander.py | 4 +-
10671 demos/gtk-demo/demos/images.py | 8 +-
10672 demos/gtk-demo/demos/infobars.py | 2 +-
10673 demos/gtk-demo/demos/links.py | 2 +-
10674 demos/gtk-demo/demos/menus.py | 5 +-
10675 demos/gtk-demo/demos/pickers.py | 2 +-
10676 demos/gtk-demo/demos/pixbuf.py | 2 +-
10677 demos/gtk-demo/demos/printing.py | 3 +-
10678 demos/gtk-demo/demos/rotatedtext.py | 6 +-
10679 demos/gtk-demo/gtk-demo.py | 9 +-
10680 examples/cairo-demo.py | 2 +-
10681 gi/__init__.py | 4 +
10682 gi/_glib/__init__.py | 101 ++++++++++-
10683 gi/_glib/option.py | 1 +
10684 gi/_gobject/__init__.py | 203
10685 ++++++++++++++++++++---
10686 gi/_gobject/constants.py | 2 -
10687 gi/_gobject/propertyhelper.py | 4 +-
10688 gi/importer.py | 2 +-
10690 gi/overrides/Gtk.py | 1 -
10691 gi/overrides/__init__.py | 1 -
10692 gi/pygtkcompat.py | 2 +
10694 tests/Makefile.am | 5 +
10695 tests/test_everything.py | 6 +-
10696 tests/test_gi.py | 8 +-
10697 tests/test_option.py | 10 +-
10698 tests/test_overrides.py | 30 ++--
10699 tests/test_properties.py | 12 +-
10700 tests/test_pygtkcompat.py | 4 -
10701 tests/test_signal.py | 4 +-
10702 tests/test_source.py | 6 +-
10703 47 files changed, 377 insertions(+), 138 deletions(-)
10705 commit 39650906559fcc39b4be406fa7e25c4788d349a3
10706 Author: Martin Pitt <martin.pitt@ubuntu.com>
10707 Date: Wed Mar 21 16:59:33 2012 +0100
10709 Make tests fail on CRITICAL logs, too, and apply to all tests
10711 Instead of setting warnings/criticals to fatal in individual test
10713 it in runtests.py, so that it applies to all tests.
10715 We currently have some tests which are known to generate CRITICALs
10717 with FIXME), and some WARNINGs (as they test behaviour with known-bad
10719 For these, warnings/criticals are now explicitly permitted.
10721 tests/runtests.py | 1 +
10722 tests/test_gi.py | 7 ++++++-
10723 tests/test_overrides.py | 14 +++++++-------
10724 tests/test_properties.py | 36 +++++++++++++++++++++---------------
10725 4 files changed, 35 insertions(+), 23 deletions(-)
10727 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
10728 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
10729 Date: Tue Mar 20 14:55:07 2012 +0400
10731 Support marshalling GI_TYPE_TAG_INTERFACE
10733 Marshalling of interfaces got broken with commit
10734 7746d2188ac4933c2c9011d84525d1e62fc18953.
10736 Also, do not abort on unsupported types, but log a critical failure
10740 https://bugzilla.gnome.org/show_bug.cgi?id=668903
10742 gi/pygi-marshal-from-py.c | 3 ++-
10743 gi/pygi-marshal-to-py.c | 3 ++-
10744 2 files changed, 4 insertions(+), 2 deletions(-)
10746 commit 8d85d6639778ec6364235071d272d67e7aae49ae
10747 Author: Martin Pitt <martin.pitt@ubuntu.com>
10748 Date: Wed Mar 21 14:34:36 2012 +0100
10750 Fix warnings on None values in added tree/list store rows
10752 Commit bf8c95836e1c changed the List/TreeStore overrides to use
10753 insert_with_valuesv(), but supplied all columns instead of just
10755 not None. With this, None values cause warnings like
10757 (runtests.py:12375): Gtk-WARNING **:
10758 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
10759 convert from (null) to gboolean
10761 Update the tests to make warnings fatal, to catch this better.
10763 Change _convert_row() to skip the None entries and return the list
10765 columns, and use the latter instead of a simple range(n_columns). This
10767 the behaviour before bf8c95836e1c, where columns with None values
10771 https://bugzilla.gnome.org/show_bug.cgi?id=672463
10773 gi/overrides/Gtk.py | 26 ++++++++++++++------------
10774 tests/test_overrides.py | 5 +++++
10775 2 files changed, 19 insertions(+), 12 deletions(-)
10777 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
10778 Author: Martin Pitt <martin.pitt@ubuntu.com>
10779 Date: Wed Mar 21 15:21:02 2012 +0100
10781 pygtkcompat test: Properly clean up PixbufLoader
10783 Tests currently give
10785 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
10786 without calling gdk_pixbuf_loader_close() - this is not allowed. You
10787 must explicitly end the data stream to the loader before dropping
10788 the last reference.
10790 Fix this by calling close().
10792 tests/test_pygtkcompat.py | 3 ++-
10793 1 file changed, 2 insertions(+), 1 deletion(-)
10795 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
10796 Author: Martin Pitt <martin.pitt@ubuntu.com>
10797 Date: Mon Mar 19 16:58:22 2012 +0100
10801 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
10803 configure.ac | 2 +-
10804 1 file changed, 1 insertion(+), 1 deletion(-)
10806 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
10807 Author: Martin Pitt <martin.pitt@ubuntu.com>
10808 Date: Mon Mar 19 16:41:17 2012 +0100
10812 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
10813 1 file changed, 46 insertions(+)
10815 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
10816 Author: Martin Pitt <martin.pitt@ubuntu.com>
10817 Date: Mon Mar 19 16:14:54 2012 +0100
10819 README: Update current maintainers
10821 Also update Martin's email address.
10823 README | 10 ++++++----
10824 pygobject.doap | 2 +-
10825 2 files changed, 7 insertions(+), 5 deletions(-)
10827 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
10828 Author: Martin Pitt <martin.pitt@ubuntu.com>
10829 Date: Mon Mar 19 16:11:22 2012 +0100
10831 Bump version to 3.1.92, in sync with GNOME
10833 configure.ac | 2 +-
10834 1 file changed, 1 insertion(+), 1 deletion(-)
10836 commit 77d358f8c5f524259249ea686899e3a4da05562e
10837 Author: Johan Dahlin <johan@gnome.org>
10838 Date: Mon Mar 19 11:54:07 2012 -0300
10840 Correct Gtk.TreePath.__iter__ to work with Python 3
10842 gi/overrides/Gtk.py | 2 +-
10843 1 file changed, 1 insertion(+), 1 deletion(-)
10845 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
10846 Author: Martin Pitt <martin.pitt@ubuntu.com>
10847 Date: Mon Mar 19 15:54:13 2012 +0100
10849 Fix pygtkcompat.py to work with Python 3
10851 gi/pygtkcompat.py | 20 +++++++++++++++-----
10852 1 file changed, 15 insertions(+), 5 deletions(-)
10854 commit 96a9f92da801989464fbcedf6d849819f6dbea64
10855 Author: Martin Pitt <martin.pitt@ubuntu.com>
10856 Date: Mon Mar 19 15:32:22 2012 +0100
10858 Fix test_everything.TestSignals.test_object_param_signal test case
10860 The callback gets two arguments, not one. This short-circuited
10862 assertions. Fix the arguments and update the refcount check, as it
10864 exactly two at the moment.
10866 tests/test_everything.py | 4 ++--
10867 1 file changed, 2 insertions(+), 2 deletions(-)
10869 commit ba00afb1e50759b2b321f16e05a15946053cdafa
10870 Author: Johan Dahlin <johan@gnome.org>
10871 Date: Mon Mar 19 10:58:09 2012 -0300
10873 pygtkcompat: Remove first argument for get_origin()
10875 gi/pygtkcompat.py | 5 +++++
10876 tests/test_pygtkcompat.py | 5 +++++
10877 2 files changed, 10 insertions(+)
10879 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
10880 Author: Johan Dahlin <johan@gnome.org>
10881 Date: Fri Mar 16 16:08:44 2012 -0300
10883 GtkViewport: Add a default values for the adjustment constructor
10886 https://bugzilla.gnome.org/show_bug.cgi?id=672260
10888 gi/overrides/Gtk.py | 10 ++++++++++
10889 tests/test_overrides.py | 11 +++++++++++
10890 2 files changed, 21 insertions(+)
10892 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
10893 Author: Johan Dahlin <johan@gnome.org>
10894 Date: Fri Mar 16 16:08:23 2012 -0300
10896 GtkIconSet: Add a default value for the pixbuf constructor parameter
10898 https://bugzilla.gnome.org/show_bug.cgi?id=672260
10900 gi/overrides/Gtk.py | 11 +++++++++++
10901 tests/test_overrides.py | 6 ++++++
10902 2 files changed, 17 insertions(+)
10904 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
10905 Author: Johan Dahlin <johan@gnome.org>
10906 Date: Fri Mar 16 16:07:30 2012 -0300
10908 PangoLayout: Add a default value for set_markup()
10910 https://bugzilla.gnome.org/show_bug.cgi?id=672260
10912 gi/overrides/Pango.py | 3 +++
10913 tests/test_overrides.py | 4 ++++
10914 2 files changed, 7 insertions(+)
10916 commit a3ca47b086b7fcf084282be788c5d737dde847ac
10917 Author: Johan Dahlin <johan@gnome.org>
10918 Date: Fri Mar 16 16:06:37 2012 -0300
10920 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
10923 https://bugzilla.gnome.org/show_bug.cgi?id=672260
10925 gi/overrides/Gtk.py | 15 +++++++++++++++
10926 tests/test_overrides.py | 14 ++++++++++++++
10927 2 files changed, 29 insertions(+)
10929 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
10930 Author: Johan Dahlin <johan@gnome.org>
10931 Date: Fri Mar 16 16:06:12 2012 -0300
10933 GtkToolButton: Add a default value for the stock_id constructor
10936 https://bugzilla.gnome.org/show_bug.cgi?id=672260
10938 gi/overrides/Gtk.py | 10 ++++++++++
10939 tests/test_overrides.py | 9 ++++++++-
10940 2 files changed, 18 insertions(+), 1 deletion(-)
10942 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
10943 Author: Johan Dahlin <johan@gnome.org>
10944 Date: Fri Mar 16 16:05:55 2012 -0300
10946 GtkIconView: Add a default value for the model constructor parameter
10948 https://bugzilla.gnome.org/show_bug.cgi?id=672260
10950 gi/overrides/Gtk.py | 3 +++
10951 tests/test_overrides.py | 11 +++++++++++
10952 2 files changed, 14 insertions(+)
10954 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
10955 Author: Johan Dahlin <johan@gnome.org>
10956 Date: Thu Mar 15 15:22:46 2012 -0300
10958 Add a default value for column in Gtk.TreeView.get_cell_area()
10960 https://bugzilla.gnome.org/show_bug.cgi?id=672260
10962 gi/overrides/Gtk.py | 5 +++++
10963 tests/test_overrides.py | 3 +++
10964 2 files changed, 8 insertions(+)
10966 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
10967 Author: Martin Pitt <martin.pitt@ubuntu.com>
10968 Date: Thu Mar 15 09:48:10 2012 +0100
10970 Atomic inserts in Gtk.{List,Tree}Store overrides
10972 Gtk.{List,Tree}Store's overrides provide append(), insert()
10974 take an optional data row array. If this is given, use
10975 insert_with_valuesv()
10976 instead of creating a new iter and then filling it with data. The
10978 row-added signal, at which time the row was still empty, and a
10980 row-changed signal. With this we only get a single row-added
10984 Note that this does not change insert_{before,after}(), as there is no
10985 counterpart of insert_with_valuesv() which takes a TreeIter instead
10987 position. For those you will still get two signals, and have to deal
10991 https://bugzilla.gnome.org/show_bug.cgi?id=671610
10993 gi/overrides/Gtk.py | 81
10994 ++++++++++++++++++++++++++++++-------------------
10995 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
10996 2 files changed, 124 insertions(+), 31 deletions(-)
10998 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
10999 Author: Martin Pitt <martin.pitt@ubuntu.com>
11000 Date: Sun Mar 18 16:07:26 2012 +0100
11002 Fix Gtk.Button constructor to accept use_stock parameter
11004 Thanks to kalanzun@googlemail.com!
11006 https://bugzilla.gnome.org/show_bug.cgi?id=672318
11008 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11010 gi/overrides/Gtk.py | 4 +---
11011 tests/test_overrides.py | 6 ++++++
11012 2 files changed, 7 insertions(+), 3 deletions(-)
11014 commit 466337cf2fd091738eeab12c10d250a9d0827284
11015 Author: Johan Dahlin <johan@gnome.org>
11016 Date: Fri Mar 16 16:55:47 2012 -0300
11018 Correct bad rebase, remove duplicate Window
11020 gi/overrides/Gtk.py | 7 -------
11021 1 file changed, 7 deletions(-)
11023 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
11024 Author: Johan Dahlin <johan@gnome.org>
11025 Date: Thu Mar 15 15:42:28 2012 -0300
11027 Add a PyGTK compatibility layer
11029 This module tries quite a bit harder to maintain compatibility
11030 with PyGTK, module names, enums, flags and some API.
11032 https://bugzilla.gnome.org/show_bug.cgi?id=653462
11034 gi/Makefile.am | 3 +-
11035 gi/pygtkcompat.py | 421
11036 ++++++++++++++++++++++++++++++++++++++++++++++
11037 tests/Makefile.am | 3 +-
11038 tests/test_pygtkcompat.py | 77 +++++++++
11039 4 files changed, 502 insertions(+), 2 deletions(-)
11041 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
11042 Author: Johan Dahlin <johan@gnome.org>
11043 Date: Wed Mar 14 15:20:53 2012 -0300
11045 Add bw-compatible arguments to Gtk.Adjustment
11047 The argument used to be called page/step_incr, if they
11048 are found map them to the existing properties for extra
11051 https://bugzilla.gnome.org/show_bug.cgi?id=672087
11053 gi/overrides/Gtk.py | 8 +++++++-
11054 1 file changed, 7 insertions(+), 1 deletion(-)
11056 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
11057 Author: Johan Dahlin <johan@gnome.org>
11058 Date: Wed Mar 14 17:13:04 2012 -0300
11060 GtkTreePath: make it iterable
11062 https://bugzilla.gnome.org/show_bug.cgi?id=672093
11064 gi/overrides/Gtk.py | 3 +++
11065 tests/test_overrides.py | 2 ++
11066 2 files changed, 5 insertions(+)
11068 commit a7b08cb75541612c78d123b1d968be7874e3c481
11069 Author: Johan Dahlin <johan@gnome.org>
11070 Date: Wed Mar 14 13:32:31 2012 -0300
11072 Add a default argument to TreeModelFilter.set_visible_func()
11074 https://bugzilla.gnome.org/show_bug.cgi?id=672081
11076 gi/overrides/Gtk.py | 14 ++++++++++++++
11077 1 file changed, 14 insertions(+)
11079 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
11080 Author: Johan Dahlin <johan@gnome.org>
11081 Date: Wed Mar 14 13:31:41 2012 -0300
11083 Add a default argument to Gtk.TreeView.set_cursor
11085 And also make sure that the path is a Gtk.TreePath.
11087 https://bugzilla.gnome.org/show_bug.cgi?id=672081
11089 gi/overrides/Gtk.py | 4 ++++
11090 tests/test_overrides.py | 10 ++++++++++
11091 2 files changed, 14 insertions(+)
11093 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
11094 Author: Johan Dahlin <johan@gnome.org>
11095 Date: Wed Mar 14 13:31:06 2012 -0300
11097 Add a default argument to Pango.Context.get_metrics()
11099 https://bugzilla.gnome.org/show_bug.cgi?id=672081
11101 gi/overrides/Pango.py | 9 +++++++++
11102 1 file changed, 9 insertions(+)
11104 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
11105 Author: Martin Pitt <martin.pitt@ubuntu.com>
11106 Date: Fri Mar 16 13:27:56 2012 +0100
11108 Fix double-freeing GValues in arrays
11110 When marshalling a GValue array to C, the GValue items are copied
11112 GValue array, not a C GValue pointer
11113 array. _pygi_marshal_from_py_array()
11114 already calls the cleanup_func for the original item;
11115 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
11117 to g_slice_free the array item.
11119 https://bugzilla.gnome.org/show_bug.cgi?id=672224
11121 gi/pygi-marshal-from-py.c | 7 ++++++-
11122 1 file changed, 6 insertions(+), 1 deletion(-)
11124 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
11125 Author: Simon Feltman <s.feltman@gmail.com>
11126 Date: Fri Mar 16 00:29:31 2012 -0700
11128 Renamed "property" class to "Property"
11130 Renamed to match the rest of the class names in GObject and also
11131 not clobber the builtin python property.
11133 Keep the old "property" identifier for backwards compatibility
11136 https://bugzilla.gnome.org/show_bug.cgi?id=672168
11138 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11140 examples/properties.py | 6 +--
11141 gi/_gobject/__init__.py | 7 ++--
11142 gi/_gobject/propertyhelper.py | 12 +++---
11143 tests/test_interface.py | 4 +-
11144 tests/test_properties.py | 94
11145 +++++++++++++++++++++----------------------
11146 5 files changed, 62 insertions(+), 61 deletions(-)
11148 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
11149 Author: Martin Pitt <martin.pitt@ubuntu.com>
11150 Date: Wed Mar 14 22:52:47 2012 +0100
11152 Fix Python to C marshalling of GValue arrays
11154 For GValues we cannot just copy the GValue memory in
11155 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
11157 releases the GValue and with it its v_pointer. Use g_value_copy()
11161 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
11163 assumed that C arrays contained pointers, but this is not the case
11165 arrays: these are actual struct arrays, not struct pointer arrays
11167 construction in _pygi_marshal_from_py_array()). Check if an array
11169 pointers or values and compute the correct array item pointer for
11172 Also add a corresponding test case for marshalling GValue arrays
11174 Python, which works fine.
11176 https://bugzilla.gnome.org/show_bug.cgi?id=672065
11178 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
11179 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
11180 tests/test_gi.py | 8 ++++++++
11181 3 files changed, 34 insertions(+), 6 deletions(-)
11183 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
11184 Author: Johan Dahlin <johan@gnome.org>
11185 Date: Fri Mar 16 09:59:57 2012 +0100
11187 Correct the Gtk.Window hierarchy
11189 We need to make sure that all Gtk.Dialog subclasses inherit from
11190 the overridden Window class. For that to be done automaticly we need
11191 to create the Window class before the Dialog class.
11193 Now when it's inherited properly we need to avoid calling the Window
11194 constructor twice as it passes in a construct-only parameter. So add
11195 **kwargs to the Window constructor to allow us to pass in any kind
11196 of GObject property to it and refactor the Dialog subclasses to pass
11197 in all properties to the same constructor.
11199 Also adds a bunch of tests to make sure that the hiearchy is correct.
11201 https://bugzilla.gnome.org/show_bug.cgi?id=672158
11203 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11205 gi/overrides/Gtk.py | 56
11206 ++++++++++++++++++++++++-------------------------
11207 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
11208 2 files changed, 61 insertions(+), 30 deletions(-)
11210 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
11211 Author: simon <simon@gerty>
11212 Date: Tue Mar 13 01:41:53 2012 -0700
11214 Renamed getter/setter instance attributes to fget/fset respectively.
11216 The python 'property' class allows for decoration of methods using
11217 .getter and .setter. These were added as methods to the
11219 class to match that of the python property class and allow for
11223 In addition, __call__ was added to allow an instantiated decorator
11225 args to also decorate a method:
11227 class C(GObject.GObject):
11229 @GObject.property(type=int, default=0)
11233 def propInt(self, value):
11234 self._value = value
11236 https://bugzilla.gnome.org/show_bug.cgi?id=586181
11238 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11240 gi/_gobject/__init__.py | 10 ++++----
11241 gi/_gobject/propertyhelper.py | 59
11242 +++++++++++++++++++++++++++++++------------
11243 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
11244 3 files changed, 89 insertions(+), 21 deletions(-)
11246 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
11247 Author: Johan Dahlin <johan@gnome.org>
11248 Date: Tue Mar 13 17:10:13 2012 -0300
11250 Add Gtk.Arrow/Gtk.Window constructor override
11252 Adds argument that makes them compatible with PyGTK.
11254 https://bugzilla.gnome.org/show_bug.cgi?id=672045
11256 gi/overrides/Gtk.py | 17 +++++++++++++++++
11257 1 file changed, 17 insertions(+)
11259 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
11260 Author: Michel Dänzer <michel@daenzer.net>
11261 Date: Fri Mar 9 12:26:53 2012 +0100
11263 Fix marshalling to/from Python to work on big endian machines.
11265 https://bugzilla.gnome.org/show_bug.cgi?id=668903
11267 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11269 gi/pygi-argument.c | 25 ++++++++++++++++---------
11270 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
11271 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
11272 3 files changed, 60 insertions(+), 16 deletions(-)
11274 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
11275 Author: Michel Dänzer <michel@daenzer.net>
11276 Date: Thu Mar 8 12:21:28 2012 +0100
11278 Use gi_cclosure_marshal_generic instead of duplicating it.
11280 Bump gobject-introspection dependency to ensure that we have the
11284 https://bugzilla.gnome.org/show_bug.cgi?id=668903
11286 Signed-off-by: Michel Dänzer <michel@daenzer.net>
11287 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11289 configure.ac | 3 +-
11290 gi/_gobject/Makefile.am | 7 +-
11291 gi/_gobject/ffi-marshaller.c | 194
11292 -------------------------------------------
11293 gi/_gobject/ffi-marshaller.h | 31 -------
11294 gi/_gobject/gobjectmodule.c | 12 +--
11295 5 files changed, 4 insertions(+), 243 deletions(-)
11297 commit 8ca828825a2c47080055c5f986979aac8da9a93f
11298 Author: René Stadler <rene.stadler@collabora.co.uk>
11299 Date: Mon Mar 5 21:10:55 2012 +0100
11301 Override Gtk.TreeView.get_visible_range to fix return
11303 Just like IconView.
11305 https://bugzilla.gnome.org/show_bug.cgi?id=671409
11307 gi/overrides/Gtk.py | 5 +++++
11308 1 file changed, 5 insertions(+)
11310 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
11311 Author: Paolo Borelli <pborelli@gnome.org>
11312 Date: Sun Mar 4 16:41:18 2012 +0100
11314 Plug memory leak in _is_union_member
11316 When we found the member, unref the objects before breaking out of the
11319 gi/pygi-marshal-from-py.c | 9 +++------
11320 1 file changed, 3 insertions(+), 6 deletions(-)
11322 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
11323 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11324 Date: Tue Feb 21 15:37:18 2012 +0100
11326 tests: Split TestInterfaces into separate tests
11328 tests/test_gi.py | 36 +++++++++++++++++++-----------------
11329 1 file changed, 19 insertions(+), 17 deletions(-)
11331 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
11332 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11333 Date: Mon Feb 20 19:37:32 2012 +0100
11335 Post release version bump to 3.1.2
11337 configure.ac | 2 +-
11338 1 file changed, 1 insertion(+), 1 deletion(-)
11340 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
11341 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11342 Date: Mon Feb 20 19:33:56 2012 +0100
11344 Prepare 3.1.1 release
11346 NEWS | 18 ++++++++++++++++++
11347 1 file changed, 18 insertions(+)
11349 commit 99485d96811667ef7a7a393b68b7361733157d61
11350 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11351 Date: Sat Feb 18 00:38:05 2012 +0100
11353 Don't use C99 style
11355 gi/pygi-cache.c | 3 ++-
11356 1 file changed, 2 insertions(+), 1 deletion(-)
11358 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
11359 Author: Martin Pitt <martin.pitt@ubuntu.com>
11360 Date: Thu Feb 16 16:42:53 2012 +0100
11362 Add test for GPtrArray with transfer full
11364 This complements the already existing test for a "transfer container"
11366 array. We can't verify the internal refcount as these arrays get
11368 internally, but at least we can verify that it does not crash due to
11371 tests/test_everything.py | 10 +++++++++-
11372 1 file changed, 9 insertions(+), 1 deletion(-)
11374 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
11375 Author: Martin Pitt <martin.pitt@ubuntu.com>
11376 Date: Wed Feb 15 13:36:39 2012 +0100
11378 Drop obsolete g_thread_init()
11380 Not necessary any more since glib 2.24, and we depend on 2.31.
11382 gi/_glib/pyglib.c | 3 ---
11383 1 file changed, 3 deletions(-)
11385 commit 66fb610e45912a7def29e5848577d280ef55643a
11386 Author: Martin Pitt <martin.pitt@ubuntu.com>
11387 Date: Wed Feb 15 13:35:33 2012 +0100
11389 Fix deprecated g_source_get_current_time()
11391 Use g_get_real_time() instead as recommended by the
11392 documentation. This also
11393 simplifies the code.
11395 gi/_glib/pygsource.c | 4 +---
11396 1 file changed, 1 insertion(+), 3 deletions(-)
11398 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
11399 Author: Martin Pitt <martin.pitt@ubuntu.com>
11400 Date: Wed Feb 15 13:31:23 2012 +0100
11402 Fix deprecated g_value_[gs]et_char()
11404 Replace with _schar(). We depend on glib >= 2.31 already.
11406 gi/_gobject/ffi-marshaller.c | 2 +-
11407 gi/_gobject/pygtype.c | 6 +++---
11408 gi/pygi-argument.c | 2 +-
11409 3 files changed, 5 insertions(+), 5 deletions(-)
11411 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
11412 Author: Simon Schampijer <simon@schampijer.de>
11413 Date: Thu Feb 2 19:06:01 2012 +0100
11415 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
11417 Looking at the gir file gtk.gdk.x11_* should get converted to
11418 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
11420 pygi-convert.sh | 2 +-
11421 1 file changed, 1 insertion(+), 1 deletion(-)
11423 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
11424 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11425 Date: Fri Feb 10 13:29:41 2012 +0100
11427 Raise required glib version to 2.31 because of g_value_(get|set)_schar
11429 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
11431 configure.ac | 6 +++---
11432 1 file changed, 3 insertions(+), 3 deletions(-)
11434 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
11435 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
11436 Date: Fri Feb 10 09:28:36 2012 +0100
11438 Fix cset_first typo
11440 https://bugzilla.gnome.org/show_bug.cgi?id=649267
11442 gi/_gobject/pygparamspec.c | 2 +-
11443 1 file changed, 1 insertion(+), 1 deletion(-)
11445 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
11446 Author: Bastian Winkler <buz@netbuz.org>
11447 Date: Mon Nov 14 14:41:08 2011 +0100
11449 pygi-convert: Handle Clutter and Cogl
11451 https://bugzilla.gnome.org/show_bug.cgi?id=664496
11453 pygi-convert.sh | 76
11454 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11455 1 file changed, 76 insertions(+)
11457 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
11458 Author: Cédric Krier <cedric.krier@b2ck.com>
11459 Date: Fri Feb 10 09:04:18 2012 +0100
11461 Provide access to gpointer struct values
11463 https://bugzilla.gnome.org/show_bug.cgi?id=668356
11465 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11467 gi/pygi-argument.c | 3 ++-
11468 gi/pygi-info.c | 13 +++++++++++++
11469 tests/test_everything.py | 21 +++++++++++++++++++++
11470 3 files changed, 36 insertions(+), 1 deletion(-)
11472 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
11473 Author: Paolo Borelli <pborelli@gnome.org>
11474 Date: Thu Feb 9 18:15:42 2012 +0100
11476 Add some GType tests
11478 Use what was recently added in g-i
11480 tests/test_gi.py | 17 +++++++++++++++--
11481 1 file changed, 15 insertions(+), 2 deletions(-)
11483 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
11484 Author: Paolo Borelli <pborelli@gnome.org>
11485 Date: Thu Feb 9 18:14:52 2012 +0100
11487 Split GStrv and array variant tests in their own classes
11489 Also tidy up the spacing a bit
11491 tests/test_gi.py | 29 +++++++++++++++++++++++------
11492 1 file changed, 23 insertions(+), 6 deletions(-)
11494 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
11495 Author: Paolo Borelli <pborelli@gnome.org>
11496 Date: Wed Feb 8 22:23:30 2012 +0100
11498 Add unit test for builder's connect_after
11500 tests/test_overrides.py | 8 ++++++++
11501 1 file changed, 8 insertions(+)
11503 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
11504 Author: Ryan Lortie <desrt@desrt.ca>
11505 Date: Wed Feb 8 16:06:22 2012 -0500
11507 fix GtkBuilder signal connection 'after' logic
11509 All GtkBuilder signals are presently being connected 'after', ignoring
11510 what is specified in the builder XML. This is due to an obvious logic
11513 https://bugzilla.gnome.org/show_bug.cgi?id=669705
11515 gi/overrides/Gtk.py | 2 +-
11516 1 file changed, 1 insertion(+), 1 deletion(-)
11518 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
11519 Author: Patrick Welche <prlw1@cam.ac.uk>
11520 Date: Tue Feb 7 11:49:58 2012 +0000
11522 test(1) uses '=' to test if strings are identical
11524 https://bugzilla.gnome.org/show_bug.cgi?id=669598
11526 m4/python.m4 | 6 +++---
11527 1 file changed, 3 insertions(+), 3 deletions(-)
11529 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
11530 Author: Ryan Lortie <desrt@desrt.ca>
11531 Date: Tue Feb 7 13:42:19 2012 -0500
11533 pygspawn: improve error checking
11535 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
11536 is enforced by checking that the passed argument is a sequence
11538 each item returned from it is a string.
11540 We do now, however, verify that each item can be successfully
11542 the sequence. 'os.environ' is an example of an object that passes
11543 PySequence_Check() but fails to return objects from PySequence_ITEM().
11545 Add a simple NULL check to avoid the crash.
11547 https://bugzilla.gnome.org/show_bug.cgi?id=669594
11549 gi/_glib/pygspawn.c | 4 ++--
11550 1 file changed, 2 insertions(+), 2 deletions(-)
11552 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
11553 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11554 Date: Mon Feb 6 19:15:53 2012 +0100
11556 Post release version bump to 3.1.1
11558 configure.ac | 2 +-
11559 1 file changed, 1 insertion(+), 1 deletion(-)
11561 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
11562 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11563 Date: Mon Feb 6 19:11:52 2012 +0100
11565 Prepare 3.1.0 release
11567 NEWS | 34 ++++++++++++++++++++++++++++++++++
11568 1 file changed, 34 insertions(+)
11570 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
11571 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11572 Date: Mon Feb 6 19:04:41 2012 +0100
11574 Updated DOAP file to only include people currently actively working
11577 Removed obsolete MAINTAINERS file
11579 MAINTAINERS | 19 -------------------
11580 pygobject.doap | 44 +++++++++++++++-----------------------------
11581 2 files changed, 15 insertions(+), 48 deletions(-)
11583 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
11584 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11585 Date: Mon Feb 6 18:57:01 2012 +0100
11587 Revert "Convert all strings to utf-8 encoding when retrieving from
11590 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
11592 Due to this commit breaking backwards compatability, we decided to
11595 gi/overrides/Gtk.py | 15 ---------------
11596 tests/compathelper.py | 2 --
11597 tests/test_overrides.py | 31 +------------------------------
11598 3 files changed, 1 insertion(+), 47 deletions(-)
11600 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
11601 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11602 Date: Sun Feb 5 13:47:10 2012 +0100
11604 tests: Fixed issues with python3
11606 tests/test_gi.py | 9 ++++++---
11607 1 file changed, 6 insertions(+), 3 deletions(-)
11609 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
11610 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11611 Date: Sun Feb 5 11:59:51 2012 +0100
11613 Properly distinguish between different integer types for properties
11615 https://bugzilla.gnome.org/show_bug.cgi?id=664150
11617 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
11618 tests/test_gi.py | 62
11619 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
11620 2 files changed, 106 insertions(+), 4 deletions(-)
11622 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
11623 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11624 Date: Sun Feb 5 11:46:21 2012 +0100
11626 Distinguish between GArray and GPtrArray when cleaning up
11628 This fixes a crash in test_gi.TestGPtrArray and makes sure
11629 memory is free'd correctly
11631 https://bugzilla.gnome.org/show_bug.cgi?id=669393
11633 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
11634 1 file changed, 23 insertions(+), 9 deletions(-)
11636 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
11637 Author: Paolo Borelli <pborelli@gnome.org>
11638 Date: Sun Feb 5 18:51:53 2012 +0100
11640 Add null_gerror_callback unit test
11642 This models the case where the callback is successful and does not set
11645 https://bugzilla.gnome.org/show_bug.cgi?id=669415
11647 tests/test_everything.py | 9 +++++++++
11648 1 file changed, 9 insertions(+)
11650 commit a41984780ee49dcf02c718ca1be87bba747472e5
11651 Author: Martin Pitt <martin.pitt@ubuntu.com>
11652 Date: Mon Feb 6 09:34:28 2012 +0100
11654 pyglib_error_check: Re-add missing NULL check
11656 Commit adcfe96d49b09bc accidentally dropped the check if *error is
11658 any error is actually set. Due to that, pyglib_error_check()
11660 TRUE. Reintroduce the check.
11662 Thanks to Alberto Mardegan for spotting this!
11664 https://bugzilla.gnome.org/show_bug.cgi?id=669415
11666 gi/_glib/pyglib.c | 2 ++
11667 1 file changed, 2 insertions(+)
11669 commit 2c797c17913999379e277788d5e4cce8d68cebb0
11670 Author: Michael Culbertson <michael.culbertson@gmail.com>
11671 Date: Sat Feb 4 16:11:34 2012 +0100
11673 Add tests/runtests-windows.py to source tarball
11675 https://bugzilla.gnome.org/show_bug.cgi?id=663288
11677 tests/Makefile.am | 1 +
11678 1 file changed, 1 insertion(+)
11680 commit d6a899cdf70e978534326155e3fad75a705f4b20
11681 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11682 Date: Sat Feb 4 15:55:55 2012 +0100
11684 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
11687 https://bugzilla.gnome.org/show_bug.cgi?id=665553
11689 gi/overrides/Gtk.py | 6 ++----
11690 1 file changed, 2 insertions(+), 4 deletions(-)
11692 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
11693 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
11694 Date: Sat Feb 4 15:42:36 2012 +0100
11696 Fix bool() operations on GLib.Variant objects
11698 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
11700 Also adds some tests for boolean comparisons.
11702 https://bugzilla.gnome.org/show_bug.cgi?id=647723
11704 gi/overrides/GLib.py | 18 ++++++++++++++++++
11705 tests/test_overrides.py | 45
11706 +++++++++++++++++++++++++++++++++++++++++++++
11707 2 files changed, 63 insertions(+)
11709 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
11710 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
11711 Date: Sat Feb 4 15:41:08 2012 +0100
11713 Fix hash() and __eq__() for GLib.Variant objects
11715 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
11716 be used in sets, dicts, and can be compared using == and != easily.
11718 Also adds some tests for this.
11720 https://bugzilla.gnome.org/show_bug.cgi?id=647725
11722 gi/overrides/GLib.py | 23 ++++++++++++++++++++
11723 tests/test_overrides.py | 56
11724 +++++++++++++++++++++++++++++++++++++++++++++++++
11725 2 files changed, 79 insertions(+)
11727 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
11728 Author: Martin Pitt <martin.pitt@ubuntu.com>
11729 Date: Wed Jan 25 07:01:06 2012 +0100
11731 Fix method names of callback tests
11733 Change test_everything.TestCallbacks.* test names from camelCase
11735 standard PEP-8 underscore_style. This is now consistent with all
11739 tests/test_everything.py | 30 +++++++++++++++---------------
11740 1 file changed, 15 insertions(+), 15 deletions(-)
11742 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
11743 Author: Will Thompson <will.thompson@collabora.co.uk>
11744 Date: Mon Jan 23 13:10:30 2012 +0000
11746 Cairo: add missing braces around array-of-struct definition
11748 This triggered a -Wmissing-braces warning.
11750 https://bugzilla.gnome.org/show_bug.cgi?id=668497
11752 gi/pygi-foreign-cairo.c | 2 +-
11753 1 file changed, 1 insertion(+), 1 deletion(-)
11755 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
11756 Author: Will Thompson <will.thompson@collabora.co.uk>
11757 Date: Mon Jan 23 13:06:41 2012 +0000
11759 g_instance_init: cast to PyGObject * as needed
11761 This squashes a compiler warning.
11763 https://bugzilla.gnome.org/show_bug.cgi?id=668497
11765 gi/_gobject/gobjectmodule.c | 2 +-
11766 1 file changed, 1 insertion(+), 1 deletion(-)
11768 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
11769 Author: Will Thompson <will.thompson@collabora.co.uk>
11770 Date: Mon Jan 23 13:01:27 2012 +0000
11772 Fix a few set-but-not-used warnings.
11774 In a couple of cases, the variable in question was set to a value
11775 spelled out again later in the function.
11777 The 'sequence_cache' variable is re-declared five lines below.
11779 The return value of 'read' was previously completely ignored. The
11780 'gssize ret' variable was in fact added to squash an unused-result
11783 https://bugzilla.gnome.org/show_bug.cgi?id=668497
11785 gi/_glib/pygiochannel.c | 2 +-
11786 gi/_glib/pygmainloop.c | 3 +--
11787 gi/_gobject/pygobject.c | 2 +-
11788 gi/pygi-marshal-cleanup.c | 2 --
11789 4 files changed, 3 insertions(+), 6 deletions(-)
11791 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
11792 Author: Stefano Facchini <stefano.facchini@gmail.com>
11793 Date: Thu Jan 19 18:09:07 2012 +0100
11795 pygmainloop: allow for extra arguments in 'quit' method
11797 To allow for the common syntax:
11799 object.connect('signal-name', main_loop.quit)
11801 https://bugzilla.gnome.org/show_bug.cgi?id=668288
11803 gi/_glib/pygmainloop.c | 4 ++--
11804 1 file changed, 2 insertions(+), 2 deletions(-)
11806 commit 557a61c12c01137a0d7c679c4b053973df09d445
11807 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
11808 Date: Mon Dec 26 00:44:56 2011 -0500
11810 Fix bytearray test compatibility with python3
11812 https://bugs.gentoo.org/show_bug.cgi?id=321879
11814 https://bugzilla.gnome.org/show_bug.cgi?id=666852
11816 tests/test_gi.py | 4 ++--
11817 1 file changed, 2 insertions(+), 2 deletions(-)
11819 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
11820 Author: Alberto Mardegan <mardy@users.sourceforge.net>
11821 Date: Mon Jan 23 12:37:26 2012 +0200
11823 Respect transfer-type when demarshalling GErrors
11825 The marshaller previously ignored "transfer full" on GError*
11827 crashes due to double-freeing them. This causes the
11828 testCallbackUserdata() test
11829 case to crash after the previous GError/GHashTable marshalling fix.
11831 https://bugzilla.gnome.org/show_bug.cgi?id=666270
11833 gi/pygi-argument.c | 12 +++++++++++-
11834 1 file changed, 11 insertions(+), 1 deletion(-)
11836 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
11837 Author: Alberto Mardegan <mardy@users.sourceforge.net>
11838 Date: Thu Dec 15 16:12:01 2011 +0200
11840 Support GHashTable and GError as callback/closure arguments
11842 Marshalling of these types from C is already implemented, let's
11844 into use for calbacks and closures too.
11846 Add corresponding test cases.
11848 https://bugzilla.gnome.org/show_bug.cgi?id=666270
11850 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11852 gi/pygi-closure.c | 2 ++
11853 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
11854 2 files changed, 37 insertions(+)
11856 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
11857 Author: Will Thompson <will.thompson@collabora.co.uk>
11858 Date: Mon Jan 23 13:56:02 2012 +0000
11860 Don't leak when marshalling GErrors to C
11862 Python-land GLib.GErrors are supposed to have three attributes:
11863 "message", "domain" and "code". If those attributes are missing,
11865 have the wrong types, the C GError is filled in with a message
11866 describing the error. The present-but-ill-typed code paths did not
11867 DECREF the ill-typed values.
11869 https://bugzilla.gnome.org/show_bug.cgi?id=666098
11871 gi/_glib/pyglib.c | 3 +++
11872 1 file changed, 3 insertions(+)
11874 commit adcfe96d49b09bcc550653d73de196610fd5144d
11875 Author: Will Thompson <will.thompson@collabora.co.uk>
11876 Date: Fri Jan 20 16:20:10 2012 +0000
11878 Support functions which return GError
11880 GStreamer has the following method:
11882 void gst_message_parse_error (
11883 GstMessage *message,
11885 gchar **debug_message);
11887 With this patch, we marshal the GError out parameter as a
11889 exception, but return it rather than throwing it. The test cases cover
11890 two variations on the theme of the function above (one with (transfer
11891 full), as in GStreamer, and another with (transfer none)) as well as a
11892 function with return type GError *.
11894 https://bugzilla.gnome.org/show_bug.cgi?id=666098
11896 gi/_glib/pyglib.c | 46
11897 +++++++++++++++++++++++++++++++++++-----------
11898 gi/_glib/pyglib.h | 1 +
11899 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
11900 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
11901 4 files changed, 81 insertions(+), 14 deletions(-)
11903 commit 09f003729eac9d553a208c343c2a14d253b77d9a
11904 Author: Alberto Mardegan <mardy@users.sourceforge.net>
11905 Date: Mon Jan 23 12:42:21 2012 +0200
11907 Fix indentation of _pygi_argument_to_object()
11909 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
11911 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
11913 gi/pygi-argument.c | 26 +++++++++++++-------------
11914 1 file changed, 13 insertions(+), 13 deletions(-)
11916 commit c71c010be01d706f90bc200194325fd82f4071b2
11917 Author: Paolo Borelli <pborelli@gnome.org>
11918 Date: Sat Jan 14 14:24:23 2012 +0100
11922 gi/gimodule.c | 10 ++++++----
11923 1 file changed, 6 insertions(+), 4 deletions(-)
11925 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
11926 Author: Paolo Borelli <pborelli@gnome.org>
11927 Date: Fri Jan 6 13:39:31 2012 +0100
11929 Connect to first action of a radio group.
11931 gi/overrides/Gtk.py | 4 ++--
11932 1 file changed, 2 insertions(+), 2 deletions(-)
11934 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
11935 Author: Paolo Borelli <pborelli@gnome.org>
11936 Date: Wed Jan 4 16:40:51 2012 +0100
11938 Use g_slist_free_full in pygi-closure.
11940 gi/pygi-closure.c | 3 +--
11941 1 file changed, 1 insertion(+), 2 deletions(-)
11943 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
11944 Author: Paolo Borelli <pborelli@gnome.org>
11945 Date: Wed Jan 4 15:24:13 2012 +0100
11947 Avoid O(n^2) behavior when marshalling lists
11949 Appending requires walking the list every time: just prepend and
11951 the list at the end.
11953 https://bugzilla.gnome.org/show_bug.cgi?id=667261
11955 gi/pygi-marshal-from-py.c | 8 ++++----
11956 1 file changed, 4 insertions(+), 4 deletions(-)
11958 commit d68455e99b1a9ebba31209b17a11317b1958678b
11959 Author: Paolo Borelli <pborelli@gnome.org>
11960 Date: Tue Jan 3 16:57:40 2012 +0100
11962 Handle NULL as a valid case of a char** array
11964 Treat NULL as an empty array and add the corresponding testcase
11966 gi/pygi-marshal-to-py.c | 9 +++++----
11967 tests/test_gi.py | 3 +++
11968 2 files changed, 8 insertions(+), 4 deletions(-)
11970 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
11971 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
11972 Date: Fri Dec 23 12:01:43 2011 +0100
11974 Branching, bump version to 3.1.0
11976 configure.ac | 4 ++--
11977 1 file changed, 2 insertions(+), 2 deletions(-)
11979 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
11980 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
11981 Date: Mon Dec 12 18:35:30 2011 +0100
11983 Add notes about branching to HACKING
11985 HACKING | 10 ++++++++++
11986 1 file changed, 10 insertions(+)
11988 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
11989 Author: Sebastian Pölsterl <sebp@k-d-w.org>
11990 Date: Sat Dec 10 12:51:45 2011 +0100
11992 Fixed bug where GObject.property did not respect minimum and maximum
11995 https://bugzilla.gnome.org/show_bug.cgi?id=664864
11997 gi/_gobject/propertyhelper.py | 2 +-
11998 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
11999 2 files changed, 32 insertions(+), 1 deletion(-)
12001 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
12002 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
12003 Date: Mon Dec 12 17:00:24 2011 +0100
12005 Remove mention of removed option --enable-docs
12008 1 file changed, 1 insertion(+), 1 deletion(-)
12010 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
12011 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
12012 Date: Mon Dec 12 17:00:03 2011 +0100
12014 Fix sebp's name in NEWS
12017 1 file changed, 1 insertion(+), 1 deletion(-)
12019 commit 8c95981d0ba224a577f87998030c384b3dae3d80
12020 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
12021 Date: Mon Dec 12 16:20:09 2011 +0100
12025 NEWS | 15 +++++++++++++++
12026 1 file changed, 15 insertions(+)
12028 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
12029 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
12030 Date: Mon Dec 12 16:16:44 2011 +0100
12032 Pre-release version bump
12034 configure.ac | 2 +-
12035 1 file changed, 1 insertion(+), 1 deletion(-)
12037 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
12038 Author: Manuel Quiñones <manuq@laptop.org>
12039 Date: Thu Dec 1 11:50:38 2011 -0300
12041 Convert all modifier constants to Gdk.ModifierType
12043 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12045 pygi-convert.sh | 14 ++++++++++++++
12046 1 file changed, 14 insertions(+)
12048 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
12049 Author: Sebastian Pölsterl <sebp@k-d-w.org>
12050 Date: Tue Nov 8 12:38:12 2011 +0100
12052 Convert all strings to utf-8 encoding when retrieving from TreeModel
12054 https://bugzilla.gnome.org/show_bug.cgi?id=663610
12056 gi/overrides/Gtk.py | 15 +++++++++++++++
12057 tests/compathelper.py | 2 ++
12058 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
12059 3 files changed, 47 insertions(+), 1 deletion(-)
12061 commit 4f637212f13b197a95c824967a58496b9e3b877c
12062 Author: John (J5) Palmieri <johnp@redhat.com>
12063 Date: Wed Nov 2 14:51:24 2011 -0400
12065 add test for bytearray variants
12067 tests/test_gi.py | 4 ++++
12068 1 file changed, 4 insertions(+)
12070 commit 20ca3f129d6cc662285cce8c732b55596016aefa
12071 Author: John (J5) Palmieri <johnp@redhat.com>
12072 Date: Wed Nov 2 14:50:42 2011 -0400
12074 handle NULL arrays correctly for each array type
12076 gi/pygi-marshal-to-py.c | 11 ++++++-----
12077 1 file changed, 6 insertions(+), 5 deletions(-)
12079 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
12080 Author: John (J5) Palmieri <johnp@redhat.com>
12081 Date: Wed Nov 2 14:17:21 2011 -0400
12083 Revert "Revert "Fix array termination and size calculation""
12085 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
12087 gi/pygi-marshal-from-py.c | 6 +++++-
12088 gi/pygi-marshal-to-py.c | 8 +++++++-
12089 2 files changed, 12 insertions(+), 2 deletions(-)
12091 commit 832f16f96815adc22cc3acbeb3fa969631795a29
12092 Author: Owen W. Taylor <otaylor@fishsoup.net>
12093 Date: Sun Oct 30 18:08:57 2011 -0400
12095 pygmainloop: avoid lockups if multiple glib.MainLoop exist
12097 If multiple glib.MainLoop() sources exist, then we will add multiple
12098 watches, and when python writes a byte to the wakeup pipe, all of the
12099 sources will try to read it; only one will succeed and the others
12100 will block. Set both ends of the pipe nonblocking to avoid this.
12102 https://bugzilla.gnome.org/show_bug.cgi?id=663068
12104 gi/_glib/pygmainloop.c | 5 ++++-
12105 1 file changed, 4 insertions(+), 1 deletion(-)
12107 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
12108 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
12109 Date: Sat Oct 29 15:08:03 2011 +0200
12111 Properly chain up to the class that implements a given vfunc.
12113 https://bugzilla.gnome.org/show_bug.cgi?id=662994
12115 gi/types.py | 22 +++++++++++++---------
12116 tests/test_gi.py | 20 ++++++++++----------
12117 2 files changed, 23 insertions(+), 19 deletions(-)
12119 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
12120 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
12121 Date: Wed Nov 2 14:54:21 2011 +0100
12123 Revert "Fix array termination and size calculation"
12125 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
12127 gi/pygi-marshal-from-py.c | 6 +-----
12128 gi/pygi-marshal-to-py.c | 8 +-------
12129 2 files changed, 2 insertions(+), 12 deletions(-)
12131 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
12132 Author: Holger Berndt <hb@gnome.org>
12133 Date: Sun Oct 30 16:36:32 2011 +0100
12135 Fix array termination and size calculation
12137 When creating an array of element type uint8 and setting it directly
12139 memcpy(), make sure that zero-termination is respected.
12141 When calculating the length of a zero-terminated array of type uint8,
12142 fall back to strlen() instead of g_strv_length().
12144 https://bugzilla.gnome.org/show_bug.cgi?id=662550
12146 gi/pygi-marshal-from-py.c | 6 +++++-
12147 gi/pygi-marshal-to-py.c | 8 +++++++-
12148 2 files changed, 12 insertions(+), 2 deletions(-)
12150 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
12151 Author: Daniel Drake <dsd@laptop.org>
12152 Date: Sun Oct 30 09:20:45 2011 +0000
12154 pygi-convert: fix for Pango.Alignment
12156 pygi-convert.sh | 1 +
12157 1 file changed, 1 insertion(+)
12159 commit e3abd76096cc9f335681c7225f452c286b9c59e2
12160 Author: Daniel Drake <dsd@laptop.org>
12161 Date: Sun Oct 30 07:06:57 2011 +0000
12163 pygi-convert: fix for Gtk.Orientation
12165 pygi-convert.sh | 1 +
12166 1 file changed, 1 insertion(+)
12168 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
12169 Author: Martin Pitt <martin.pitt@ubuntu.com>
12170 Date: Thu Oct 27 07:16:24 2011 +0200
12172 Add tests for calling closures
12174 Add checks for correct handling of closure calls.
12175 Regress.test_closure_one_arg() is working fine and should continue
12177 Regress.test_closure_variant() is known to not work yet, so mark
12179 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
12181 tests/test_everything.py | 24 ++++++++++++++++++++++++
12182 1 file changed, 24 insertions(+)
12184 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
12185 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
12186 Date: Tue Oct 4 12:28:26 2011 +0200
12188 fix marshaling of arrays of GVariants
12190 Add unit tests for marshaling of arrays of variants with all
12191 transfer modes. Requires latest gobject-introspection.
12193 Plug potential leaks of GArray data members
12195 Fix calling of wrong cleanup_from_py for arrays
12197 Simplify and fix logic for cleaning up arrays both in from_py()
12198 and to_py() code paths.
12200 https://bugzilla.gnome.org/show_bug.cgi?id=638915
12202 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
12204 gi/pygi-cache.c | 2 +-
12205 gi/pygi-marshal-cleanup.c | 81
12206 ++++++++++++++++++++++++++++++-----------------
12207 gi/pygi-marshal-from-py.c | 10 ++++--
12208 gi/pygi-marshal-to-py.c | 13 ++++++--
12209 tests/test_gi.py | 14 +++++++-
12210 5 files changed, 85 insertions(+), 35 deletions(-)
12212 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
12213 Author: Ignacio Casal Quinteiro <icq@gnome.org>
12214 Date: Sat Oct 22 00:20:57 2011 +0200
12219 1 file changed, 8 insertions(+)
12221 commit 5c24760b797e985721f7fe51d52252e4dd54a417
12222 Author: Martin Pitt <martin.pitt@ubuntu.com>
12223 Date: Fri Oct 21 17:31:41 2011 +0200
12225 Fix "Returns: (skip)" method calls without (out) arguments
12227 When we have a method call with a skipped return value, but no
12229 arguments, we previously returned NULL to Python, which causes
12231 error return without exception set". Return None instead.
12233 https://bugzilla.gnome.org/show_bug.cgi?id=662383
12235 gi/pygi-invoke.c | 10 ++++++++++
12236 tests/test_everything.py | 8 ++++++++
12237 2 files changed, 18 insertions(+)
12239 commit 585222915dc98b0e375de3db4771466278a32e81
12240 Author: John (J5) Palmieri <johnp@redhat.com>
12241 Date: Tue Oct 18 00:39:16 2011 -0400
12243 Do union member checks for unions that are parameters
12245 * before we were only doing checks if the union was an instance
12247 https://bugzilla.gnome.org/show_bug.cgi?id=661673
12249 gi/pygi-marshal-from-py.c | 121
12250 ++++++++++++++++++++++++++--------------------
12251 1 file changed, 68 insertions(+), 53 deletions(-)
12253 commit 8deaec6b9abd87f02060c9feec773d4693e89028
12254 Author: Martin Pitt <martin.pitt@ubuntu.com>
12255 Date: Wed Oct 19 14:35:11 2011 +0200
12257 Gdk overrides: Unbreak for Gdk-2.0
12259 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
12261 only do this for Gdk >= 3.0.
12263 https://launchpad.net/bugs/875399
12265 gi/overrides/Gdk.py | 95
12266 +++++++++++++++++++++++++++--------------------------
12267 1 file changed, 48 insertions(+), 47 deletions(-)
12269 commit f395fb131caf7ca550acd17138d8061926ef4f92
12270 Author: John (J5) Palmieri <johnp@redhat.com>
12271 Date: Fri Oct 14 17:19:45 2011 -0400
12273 unit test for checking ref count of object param in signals
12275 https://bugzilla.gnome.org/show_bug.cgi?id=661359
12277 tests/test_everything.py | 11 +++++++++++
12278 1 file changed, 11 insertions(+)
12280 commit 611f58b99851328653af4930f188c33eccaa9f6f
12281 Author: John (J5) Palmieri <johnp@redhat.com>
12282 Date: Fri Oct 14 16:42:32 2011 -0400
12284 when converting an object with transfer none, make sure the wrapper
12287 https://bugzilla.gnome.org/show_bug.cgi?id=661359
12289 gi/pygi-argument.c | 10 ++++++++++
12290 1 file changed, 10 insertions(+)
12292 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
12293 Author: Timo Vanwynsberghe <timovwb@gmail.com>
12294 Date: Tue Oct 4 11:13:43 2011 +0200
12296 Allow GBoxed types as property
12298 Add the GBoxed type as valid type to the gobject property helper
12299 https://bugzilla.gnome.org/show_bug.cgi?id=660798
12301 gi/_gobject/propertyhelper.py | 5 +++--
12302 1 file changed, 3 insertions(+), 2 deletions(-)
12304 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
12305 Author: Ignacio Casal Quinteiro <icq@gnome.org>
12306 Date: Mon Oct 10 11:24:42 2011 +0200
12308 Add tests for boxed properties.
12310 tests/test_properties.py | 20 ++++++++++++++++++--
12311 1 file changed, 18 insertions(+), 2 deletions(-)
12313 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
12314 Author: Ignacio Casal Quinteiro <icq@gnome.org>
12315 Date: Fri Sep 30 20:21:07 2011 +0200
12317 Post release bump version
12319 configure.ac | 2 +-
12320 1 file changed, 1 insertion(+), 1 deletion(-)
12322 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
12323 Author: Ignacio Casal Quinteiro <icq@gnome.org>
12324 Date: Fri Sep 30 20:19:46 2011 +0200
12329 configure.ac | 2 +-
12330 2 files changed, 6 insertions(+), 1 deletion(-)
12332 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
12333 Author: John (J5) Palmieri <johnp@redhat.com>
12334 Date: Thu Sep 22 19:03:20 2011 -0400
12336 when checking instances union members are same type as parent
12338 * this is so we can support sending Gdk.Event members in place of
12339 the Event union into methods
12340 * we only support this if the union member has a type of GI_INTERFACE
12343 https://bugzilla.gnome.org/show_bug.cgi?id=659879
12345 gi/pygi-marshal-from-py.c | 60
12346 +++++++++++++++++++++++++++++++++++++++++++----
12347 1 file changed, 56 insertions(+), 4 deletions(-)
12349 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
12350 Author: John (J5) Palmieri <johnp@redhat.com>
12351 Date: Wed Sep 21 21:50:48 2011 -0400
12353 add a floating flag to pygobjects
12355 * this allows us to correctly refcount when custom gobjects are
12359 gi/_gobject/gobjectmodule.c | 5 +++++
12360 gi/_gobject/pygobject-private.h | 3 +++
12361 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
12362 gi/_gobject/pygobject.h | 3 ++-
12363 4 files changed, 36 insertions(+), 2 deletions(-)
12365 commit d2d29ae5845217254b9336fd8629f369cb119b25
12366 Author: John (J5) Palmieri <johnp@redhat.com>
12367 Date: Wed Sep 21 21:13:22 2011 -0400
12369 Revert "Fix refcount bug by not creating python wrapper during
12370 gobject init stage"
12372 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
12374 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
12375 1 file changed, 17 insertions(+), 15 deletions(-)
12377 commit a24c10b779f2a1b0425d56d03d59c393389cad98
12378 Author: John (J5) Palmieri <johnp@redhat.com>
12379 Date: Wed Sep 21 21:10:00 2011 -0400
12381 make sure to commit the NEWS file
12384 1 file changed, 4 insertions(+)
12386 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
12387 Author: John (J5) Palmieri <johnp@redhat.com>
12388 Date: Mon Sep 19 13:19:57 2011 -0400
12390 prep for 3.0 release
12392 configure.ac | 6 +++---
12393 1 file changed, 3 insertions(+), 3 deletions(-)
12395 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
12396 Author: John (J5) Palmieri <johnp@redhat.com>
12397 Date: Fri Sep 16 14:19:15 2011 -0400
12399 up version required of gobject-introspection to 1.29.0
12401 configure.ac | 2 +-
12402 1 file changed, 1 insertion(+), 1 deletion(-)
12404 commit 225f21117b6b3546989abe22538c784291e86b2a
12405 Author: John (J5) Palmieri <johnp@redhat.com>
12406 Date: Fri Sep 16 12:26:10 2011 -0400
12410 * remove some unused vars
12411 * correctly cast vars
12412 * handle deprecated enums in switch statments by using default:
12413 * unused wanrings still remain in some places
12415 gi/pygi-argument.c | 2 +-
12416 gi/pygi-cache.c | 7 ++-----
12417 gi/pygi-info.c | 6 ++++++
12418 gi/pygi-invoke.c | 2 +-
12419 gi/pygi-marshal-from-py.c | 17 +++++++++--------
12420 gi/pygi-marshal-to-py.c | 3 +--
12421 6 files changed, 20 insertions(+), 17 deletions(-)
12423 commit 9a70f01288e1b049206d25d67938907f1b38a490
12424 Author: John (J5) Palmieri <johnp@redhat.com>
12425 Date: Fri Sep 16 12:24:38 2011 -0400
12429 configure.ac | 2 +-
12430 1 file changed, 1 insertion(+), 1 deletion(-)
12432 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
12433 Author: John (J5) Palmieri <johnp@redhat.com>
12434 Date: Thu Sep 15 18:12:01 2011 -0400
12436 edit HACKING file to show correct tag format
12439 1 file changed, 1 insertion(+), 1 deletion(-)
12441 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
12442 Author: John (J5) Palmieri <johnp@redhat.com>
12443 Date: Thu Sep 15 18:10:33 2011 -0400
12445 update NEWS file to prep for release
12447 NEWS | 35 +++++++++++++++++++++++++++++++++++
12448 1 file changed, 35 insertions(+)
12450 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
12451 Author: John (J5) Palmieri <johnp@redhat.com>
12452 Date: Thu Sep 15 17:59:31 2011 -0400
12454 fix typo s/lenth/length
12456 gi/overrides/Gtk.py | 2 +-
12457 1 file changed, 1 insertion(+), 1 deletion(-)
12459 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
12460 Author: John (J5) Palmieri <johnp@redhat.com>
12461 Date: Thu Sep 15 17:48:58 2011 -0400
12463 fix typo in docstring
12465 gi/_gobject/propertyhelper.py | 2 +-
12466 1 file changed, 1 insertion(+), 1 deletion(-)
12468 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
12469 Author: John (J5) Palmieri <johnp@redhat.com>
12470 Date: Thu Sep 15 17:46:46 2011 -0400
12472 do not pass in len(str) to the length argument of
12473 gtk_test_buffer_insert* apis
12475 * in python 3 len(str) returns the number of characters while
12477 parameter is expecting the number of bytes. It also excepts -1
12479 terminated string. Since all of our strings are null terminated,
12481 set length to that.
12483 gi/overrides/Gtk.py | 6 ++----
12484 1 file changed, 2 insertions(+), 4 deletions(-)
12486 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
12487 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12488 Date: Mon Sep 12 21:07:20 2011 +0200
12490 Switch tarball compression format to tar.xz only.
12493 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
12494 for more information.
12496 https://bugzilla.gnome.org/show_bug.cgi?id=659140
12498 configure.ac | 2 +-
12499 1 file changed, 1 insertion(+), 1 deletion(-)
12501 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
12502 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12503 Date: Thu Sep 15 14:18:57 2011 +0200
12505 Remove pygtk_version attribute from internal gi._gobject module.
12507 This used to be provided for backwards compatibility with older PyGTK
12508 versions. As PyGObject3 no longer provides support for static bindings
12509 like PyGTK, the pygtk_version attribute has become obsolete.
12511 https://bugzilla.gnome.org/show_bug.cgi?id=659142
12513 gi/_gobject/gobjectmodule.c | 4 ----
12514 gi/_gobject/pygobject.h | 2 --
12515 2 files changed, 6 deletions(-)
12517 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
12518 Author: John (J5) Palmieri <johnp@redhat.com>
12519 Date: Thu Sep 15 15:52:18 2011 -0400
12521 remove overridesdir from the .pc file and add it to the gi module
12523 * having the variable in the .pc file caused issues parallel
12525 for different versions of python
12526 * putting it into the module allows us to give the correct directory
12527 based on which version of python you run the script from
12528 * access the var as such:
12530 installdir = gi._overridesdir
12532 gi/__init__.py | 2 ++
12533 pygobject-3.0.pc.in | 10 +++++++++-
12534 2 files changed, 11 insertions(+), 1 deletion(-)
12536 commit beea7072a5a989be47a755ac46647380d4dbd6b4
12537 Author: John (J5) Palmieri <johnp@redhat.com>
12538 Date: Thu Sep 15 00:11:09 2011 -0400
12540 fix tests to correctly construct a dummy Gtk.TargetEntry
12542 * structs are sometimes a pain in gi. Simply constructing them
12544 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
12546 but not correctly initialize the fields which can cause a crash.
12547 * tests didn't crash before because they were sending in bogus
12549 somehow did not trigger the issue
12550 * now with the C struct array marshallers doing the right thing,
12552 use of TargetEntry was causing a crash
12554 https://bugzilla.gnome.org/show_bug.cgi?id=627236
12556 tests/test_overrides.py | 4 ++--
12557 1 file changed, 2 insertions(+), 2 deletions(-)
12559 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
12560 Author: John (J5) Palmieri <johnp@redhat.com>
12561 Date: Thu Sep 15 00:08:31 2011 -0400
12563 we now assume that C arrays of structs are flat so memcpy them
12566 * there is no way in GI to tell if a C array is flat or an array
12568 so we assume that all arrays of simple structs and gvalues are
12570 all arrays of objects and boxed structs are pointer arrays.
12571 * this will be removed once GI gets the ability to annotate level
12574 https://bugzilla.gnome.org/show_bug.cgi?id=627236
12576 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
12577 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
12578 2 files changed, 61 insertions(+), 3 deletions(-)
12580 commit e30a41592baa942188574e5c9f99572963e2e387
12581 Author: John (J5) Palmieri <johnp@redhat.com>
12582 Date: Thu Sep 15 00:02:34 2011 -0400
12584 only update the arg counts once if child arg comes before parent arg
12586 * if the child arg comes before the parent arg we need to update the
12587 argument counts and take the child arg out of the marshalling lists
12588 since it is handled by the parent
12589 * when two parents reference the same child arg as is the case with
12590 two arrays which have a single length argument we only want
12593 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
12595 and only do the count update if this is set
12596 * APIs should keep in mind that this take extra processing so
12598 should really come after their parents
12600 https://bugzilla.gnome.org/show_bug.cgi?id=627236
12602 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
12603 gi/pygi-cache.h | 9 +++++++--
12604 2 files changed, 27 insertions(+), 12 deletions(-)
12606 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
12607 Author: John (J5) Palmieri <johnp@redhat.com>
12608 Date: Wed Sep 14 20:26:15 2011 -0400
12610 Fix refcount bug by not creating python wrapper during gobject
12613 * This only applys to python subclasses of GObject which are
12616 * Because we were creating the wrapper when the gobject is
12618 and then again calling pygobject_new_full the wrapper would get
12620 * we could not simply Py_DECREF the wrapper due to the fact that
12621 non-subclassed objects (e.g. GObject.Object) instantiated via
12622 new do not run the same initialization code and would not have the
12624 * solution was to simply not create the wrapper during initialization
12625 because if it doesn't exist when pygobject_new_full is called
12626 it gets created and registered there
12627 * move the call to __init__ into pyg_object_new
12629 https://bugzilla.gnome.org/show_bug.cgi?id=657403
12631 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
12632 1 file changed, 15 insertions(+), 17 deletions(-)
12634 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
12635 Author: John (J5) Palmieri <johnp@redhat.com>
12636 Date: Tue Sep 13 18:08:04 2011 -0400
12638 don't destroy just created wrapper when object is created via
12641 https://bugzilla.gnome.org/show_bug.cgi?id=657403
12643 gi/_gobject/gobjectmodule.c | 2 +-
12644 1 file changed, 1 insertion(+), 1 deletion(-)
12646 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
12647 Author: Steve Frécinaux <code@istique.net>
12648 Date: Fri Aug 26 11:22:09 2011 +0200
12650 Remove deprecated API from pygobject.h
12652 https://bugzilla.gnome.org/show_bug.cgi?id=657416
12654 gi/_gobject/pygobject.h | 19 +------------------
12655 1 file changed, 1 insertion(+), 18 deletions(-)
12657 commit e1c71092af6e2cffa36248519adfceac1874051d
12658 Author: Marcin Owsiany <marcin@owsiany.pl>
12659 Date: Wed Aug 31 09:43:28 2011 +0100
12661 Convert gtk.TRUE/FALSE to Python True/False.
12663 https://bugzilla.gnome.org/show_bug.cgi?id=657785
12665 pygi-convert.sh | 2 ++
12666 1 file changed, 2 insertions(+)
12668 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
12669 Author: Steve Frécinaux <code@istique.net>
12670 Date: Fri Sep 2 08:37:15 2011 +0200
12672 Drop legacy __gobject_init__ method of GObject.Object.
12674 This method was used in gobject initialization at some point, but now
12675 using GObject.__init__() is sufficient, so let's not keep this old
12676 method around and let people misuse it.
12678 https://bugzilla.gnome.org/show_bug.cgi?id=658032
12680 examples/signal.py | 2 --
12681 gi/_gobject/pygobject.c | 11 -----------
12682 2 files changed, 13 deletions(-)
12684 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
12685 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12686 Date: Tue Sep 13 12:05:30 2011 +0200
12688 AM_CHECK_PYTHON_LIBS does not work for lib64
12690 But on Windows, Python extension modules need to be explicitly
12691 linked to libpython.
12693 https://bugzilla.gnome.org/show_bug.cgi?id=658856
12695 configure.ac | 4 +++-
12696 gi/Makefile.am | 9 ++++++---
12697 gi/_glib/Makefile.am | 10 ++++++++--
12698 gi/_gobject/Makefile.am | 8 +++++++-
12699 4 files changed, 24 insertions(+), 7 deletions(-)
12701 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
12702 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12703 Date: Mon Sep 12 23:03:05 2011 +0200
12705 Remove common_ldflags from Makefile.am as it is no longer used.
12707 https://bugzilla.gnome.org/show_bug.cgi?id=658856
12709 Makefile.am | 6 ------
12710 1 file changed, 6 deletions(-)
12712 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
12713 Author: John (J5) Palmieri <johnp@redhat.com>
12714 Date: Tue Sep 13 16:20:48 2011 -0400
12716 cast params for PyObject_IsInstance to suppress warnings
12718 gi/_gobject/pygobject-private.h | 4 ++--
12719 1 file changed, 2 insertions(+), 2 deletions(-)
12721 commit 861369ec59b17f67151813dc2e87c6e86126b954
12722 Author: John (J5) Palmieri <johnp@redhat.com>
12723 Date: Tue Sep 13 16:04:31 2011 -0400
12725 check if object is actually a PyGFlag before trying to access g_type
12727 * we are lucky this bit of code worked for as long as it did but when
12728 checking if an object is a PyGFlag we can't just rely on looking
12729 at the g_type field because if a regular gobject is passed in
12730 as is the case when you compare a long to a gflag, the gobject
12731 will not have a g_type field. Accessing a non-existant field
12732 could at best give you a false positive and at worse read
12733 memory beyond the bounds of the actual structure passed in
12735 gi/_gobject/pygobject-private.h | 4 ++--
12736 1 file changed, 2 insertions(+), 2 deletions(-)
12738 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
12739 Author: John (J5) Palmieri <johnp@redhat.com>
12740 Date: Tue Sep 13 16:03:02 2011 -0400
12742 fix regression - add instance type checks since Py3 no longer does
12745 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
12746 1 file changed, 19 insertions(+), 2 deletions(-)
12748 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
12749 Author: John (J5) Palmieri <johnp@redhat.com>
12750 Date: Fri Sep 2 18:39:51 2011 -0400
12752 refactor in/out marshalling to be to_py/from_py
12754 * in/out make sense from a C perspective but when you get to the
12755 python layers it makes more sense to label them as to_py and
12756 from_py to denote which way we are marshalling
12757 * this helps clear up the difference between callbacks which
12758 call into python and invoked functions which call into C
12759 * in the callback case we marshal in values to Python objects
12760 and out values to C types but in the invoke case we do the
12761 reverse. Dealing with to_py/from_py makes the code much more
12762 resuable and consistant
12764 https://bugzilla.gnome.org/show_bug.cgi?id=658362
12766 gi/Makefile.am | 8 +-
12767 gi/pygi-cache.c | 673 ++++++++++-----------
12768 gi/pygi-cache.h | 62 +-
12769 gi/pygi-invoke.c | 144 ++---
12770 gi/pygi-marshal-cleanup.c | 168 +++---
12771 gi/pygi-marshal-cleanup.h | 128 ++--
12772 gi/pygi-marshal-from-py.c | 1412
12773 +++++++++++++++++++++++++++++++++++++++++++++
12774 gi/pygi-marshal-from-py.h | 186 ++++++
12775 gi/pygi-marshal-in.c | 1412
12776 ---------------------------------------------
12777 gi/pygi-marshal-in.h | 186 ------
12778 gi/pygi-marshal-out.c | 768 ------------------------
12779 gi/pygi-marshal-out.h | 144 -----
12780 gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
12781 gi/pygi-marshal-to-py.h | 144 +++++
12782 14 files changed, 3122 insertions(+), 3081 deletions(-)
12784 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
12785 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12786 Date: Fri Sep 9 16:50:25 2011 +0200
12788 Examples: fix cairo-demo.py imports
12790 examples/cairo-demo.py | 6 +++---
12791 1 file changed, 3 insertions(+), 3 deletions(-)
12793 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
12794 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12795 Date: Fri Sep 9 15:08:27 2011 +0200
12797 Fix paths and add missing overridesdir variable used in uninstalled
12800 https://bugzilla.gnome.org/show_bug.cgi?id=658654
12802 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
12803 1 file changed, 7 insertions(+), 7 deletions(-)
12805 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
12806 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12807 Date: Fri Sep 9 15:08:04 2011 +0200
12809 Remove no longer used variables from pkgconfig files
12811 https://bugzilla.gnome.org/show_bug.cgi?id=658654
12813 pygobject-3.0-uninstalled.pc.in | 6 ------
12814 pygobject-3.0.pc.in | 5 +----
12815 2 files changed, 1 insertion(+), 10 deletions(-)
12817 commit 81d388780311311d8dc4a027a59d114edf9a00fc
12818 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12819 Date: Fri Sep 9 14:57:58 2011 +0200
12821 docs/Makefile.am and m4/python.m4: Python3 portability fixes
12823 https://bugzilla.gnome.org/show_bug.cgi?id=658652
12825 docs/Makefile.am | 2 +-
12826 m4/python.m4 | 2 +-
12827 2 files changed, 2 insertions(+), 2 deletions(-)
12829 commit 7e692ee061406e48e4862b98a0829650b1d6d585
12830 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12831 Date: Fri Sep 9 14:57:46 2011 +0200
12833 Refactor and clean Makefile.am files
12835 https://bugzilla.gnome.org/show_bug.cgi?id=658652
12838 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
12839 gi/_glib/Makefile.am | 100
12840 ++++++++++++++++++++++++++++++----------------
12841 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
12842 gi/overrides/Makefile.am | 4 +-
12843 gi/repository/Makefile.am | 4 +-
12844 6 files changed, 162 insertions(+), 114 deletions(-)
12846 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
12847 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12848 Date: Fri Sep 9 14:57:36 2011 +0200
12850 Remove all PLATFORM_VERSION = 2.0 traces
12852 https://bugzilla.gnome.org/show_bug.cgi?id=658652
12854 gi/Makefile.am | 2 --
12855 gi/overrides/Makefile.am | 1 -
12856 gi/repository/Makefile.am | 1 -
12857 3 files changed, 4 deletions(-)
12859 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
12860 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12861 Date: Fri Sep 9 14:57:25 2011 +0200
12863 Remove gi/tests/ directory as all the tests now live in tests/
12865 https://bugzilla.gnome.org/show_bug.cgi?id=658652
12867 gi/tests/Makefile.am | 24 ------------------------
12868 gi/tests/runtests.py | 21 ---------------------
12869 2 files changed, 45 deletions(-)
12871 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
12872 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12873 Date: Fri Sep 9 14:55:25 2011 +0200
12875 autogen.sh: Use autoreconf instead of a custom script and honor
12878 https://bugzilla.gnome.org/show_bug.cgi?id=658652
12882 +++++++------------------------------------------------------
12883 2 files changed, 12 insertions(+), 85 deletions(-)
12885 commit 4671f5397003f376f00830e3fd1c214de594619f
12886 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12887 Date: Fri Sep 9 14:55:01 2011 +0200
12889 use improved python.m4 macros to search for Python headers and libs
12891 https://bugzilla.gnome.org/show_bug.cgi?id=658652
12893 configure.ac | 3 ++-
12894 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
12895 2 files changed, 39 insertions(+), 11 deletions(-)
12897 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
12898 Author: Javier Jardón <jjardon@gnome.org>
12899 Date: Fri Sep 9 15:38:22 2011 +0100
12901 Make maintiner mode enabled by default
12904 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
12906 configure.ac | 2 +-
12907 1 file changed, 1 insertion(+), 1 deletion(-)
12909 commit b24dcb415406668931e02a1f669ef9861bb3a660
12910 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12911 Date: Wed Aug 24 09:58:10 2011 +0200
12913 Disable documentation for now since they are completely wrong for GI.
12915 https://bugzilla.gnome.org/show_bug.cgi?id=657054
12918 configure.ac | 25 -------------------------
12919 2 files changed, 1 insertion(+), 26 deletions(-)
12921 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
12922 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12923 Date: Wed Sep 7 10:38:28 2011 +0200
12925 Fix documentation installation directory
12927 https://bugzilla.gnome.org/show_bug.cgi?id=657054
12929 docs/Makefile.am | 5 +++--
12930 1 file changed, 3 insertions(+), 2 deletions(-)
12932 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
12933 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12934 Date: Tue Sep 6 22:22:11 2011 +0200
12936 Remove distutils based build system.
12938 The only reason this might be brought back to life again is when
12939 the whole stack can be built with Visual Studio (including
12940 gobject-introspection) again. Building with MinGW/MSYS can now
12941 be done with the usual autogen.sh/configure/make/make install dance.
12943 https://bugzilla.gnome.org/show_bug.cgi?id=657054
12946 Makefile.am | 25 +--
12947 README.win32 | 21 --
12949 -----------------------------------------------
12950 pygobject_postinstall.py | 9 -
12951 setup.py | 351 --------------------------------
12952 6 files changed, 7 insertions(+), 915 deletions(-)
12954 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
12955 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
12956 Date: Wed Sep 7 10:40:36 2011 +0200
12958 [gtk-demo] Fix syntax highlighter encoding issue
12960 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
12961 Python 2 however we get a str (not unicode). So with Python 2 the
12962 tokenizer returned bogus data when ran over a demo that contains real
12963 UTF-8 codepoints (like rotatedtext.py for example).
12965 This patch thus fixes the "Gtk-CRITICAL **:
12966 gtk_text_iter_set_line_offset:
12967 assertion `char_on_line <= chars_in_line` failed" assertions when
12969 the rotated text demo in the treeview.
12971 demos/gtk-demo/gtk-demo.py | 3 +++
12972 1 file changed, 3 insertions(+)
12974 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
12975 Author: Ignacio Casal Quinteiro <icq@gnome.org>
12976 Date: Tue Sep 6 22:13:54 2011 +0200
12978 overrides: add constants for atoms
12980 gi/overrides/Gdk.py | 49
12981 +++++++++++++++++++++++++++++++++++++++++++++++++
12982 1 file changed, 49 insertions(+)
12984 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
12985 Author: Steve Frécinaux <code@istique.net>
12986 Date: Wed Aug 31 14:18:56 2011 +0200
12988 Drop pygobject_construct() from public API.
12990 These functions were introduced in 2005 because python objects
12992 "just" be instantiated using g_object_new(), but this is not true
12993 anymore since the introduction of new-style constructors. Hence
12995 has no reason to be there anymore.
12997 Nowadays, people who want to construct GObjects defined in python
12999 just use g_object_new().
13001 https://bugzilla.gnome.org/show_bug.cgi?id=657814
13003 gi/_gobject/gobjectmodule.c | 118
13004 +++++++++-------------------------------
13005 gi/_gobject/pygobject-private.h | 3 -
13006 gi/_gobject/pygobject.h | 8 ---
13007 3 files changed, 26 insertions(+), 103 deletions(-)
13009 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
13010 Author: Ignacio Casal Quinteiro <icq@gnome.org>
13011 Date: Wed Aug 31 18:00:44 2011 +0200
13013 post release version bump
13015 configure.ac | 2 +-
13016 1 file changed, 1 insertion(+), 1 deletion(-)
13018 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
13019 Author: Ignacio Casal Quinteiro <icq@gnome.org>
13020 Date: Wed Aug 31 17:58:37 2011 +0200
13024 NEWS | 12 ++++++++++++
13025 1 file changed, 12 insertions(+)
13027 commit 429569abddada5a3bad554de707ddf35b349936e
13028 Author: John (J5) Palmieri <johnp@redhat.com>
13029 Date: Thu Aug 25 13:57:53 2011 -0400
13031 support skip annotation for return values
13033 * this is used for things like skiping gboolean returns that are
13034 useful is C but useless in python
13036 * cleans up after skipped returns that are also marked transfer
13038 https://bugzilla.gnome.org/show_bug.cgi?id=650135
13040 gi/pygi-cache.c | 1 +
13041 gi/pygi-cache.h | 1 +
13042 gi/pygi-invoke.c | 48
13043 ++++++++++++++++++++++++++++++------------------
13044 tests/test_everything.py | 8 ++++++++
13045 4 files changed, 40 insertions(+), 18 deletions(-)
13047 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
13048 Author: Xavier Claessens <xclaesse@gmail.com>
13049 Date: Tue Aug 2 12:05:12 2011 +0200
13051 Test GPtrArray regression
13053 tests/test_everything.py | 3 +++
13054 1 file changed, 3 insertions(+)
13056 commit 42fc9fa437102c882844a0e70a081ab08de92658
13057 Author: Steve Frécinaux <code@istique.net>
13058 Date: Fri Aug 26 10:53:43 2011 +0200
13060 Drop support for old constructor style.
13062 Bindings don't write their own constructors anymore, and the old style
13063 has been deprecated for ages, so let's just drop them now and make
13066 https://bugzilla.gnome.org/show_bug.cgi?id=657413
13068 gi/_gobject/gobjectmodule.c | 20 --------------------
13069 gi/_gobject/pygobject-private.h | 1 -
13070 gi/_gobject/pygobject.c | 1 -
13071 gi/_gobject/pygobject.h | 2 --
13072 gi/gimodule.c | 28 ----------------------------
13074 tests/testhelpermodule.c | 5 -----
13075 7 files changed, 59 deletions(-)
13077 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
13078 Author: Steve Frécinaux <code@istique.net>
13079 Date: Fri Aug 26 10:45:59 2011 +0200
13081 Drop support for sink functions.
13083 Sink functions were meant to deal with floating references in a custom
13084 way. They are not useful anymore with the dynamic bindings.
13086 https://bugzilla.gnome.org/show_bug.cgi?id=642233
13088 gi/_gobject/gobjectmodule.c | 1 -
13089 gi/_gobject/pygobject.c | 53 ----------------------------------------
13090 gi/_gobject/pygobject.h | 4 ---
13091 tests/test-floating.c | 59
13092 +++++++--------------------------------------
13093 tests/test-floating.h | 42 +++++++++-----------------------
13094 tests/test_gobject.py | 13 +++-------
13095 tests/testhelpermodule.c | 32 +++++++-----------------
13096 7 files changed, 32 insertions(+), 172 deletions(-)
13098 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
13099 Author: Mike Gorse <mgorse@novell.com>
13100 Date: Wed Aug 24 17:30:09 2011 -0500
13102 Reinstate copying of in-line structs in arrays
13104 For arrays of in-line, non-boxed structures with (transfer full),
13105 _pygi_marshal_free_out_array eventually gets called and frees
13107 data, so we should copy it (IE, BGO#653588).
13109 https://bugzilla.gnome.org/show_bug.cgi?id=657120
13111 gi/pygi-marshal-out.c | 8 +++++++-
13112 1 file changed, 7 insertions(+), 1 deletion(-)
13114 commit f38511f251602e18551c04617cc2e2d42e812e1e
13115 Author: John (J5) Palmieri <johnp@redhat.com>
13116 Date: Tue Aug 23 14:18:43 2011 -0400
13118 fix inline struct array handling
13120 * we now assume any non-boxed structs are inline in an array since
13122 no way to check in GI and this is the most common use for an
13126 https://bugzilla.gnome.org/show_bug.cgi?id=657120
13128 gi/pygi-marshal-out.c | 23 +++++++++--------------
13129 tests/test_gi.py | 8 ++++++++
13130 2 files changed, 17 insertions(+), 14 deletions(-)
13132 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
13133 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13134 Date: Tue Aug 23 11:30:41 2011 +0200
13136 [gtk-demo] printing.py: set print and error dialog transient parent
13138 demos/gtk-demo/demos/printing.py | 8 ++++----
13139 1 file changed, 4 insertions(+), 4 deletions(-)
13141 commit 1aebc1565752840075027b9452fe2a67217bf53b
13142 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13143 Date: Tue Aug 23 11:28:05 2011 +0200
13145 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
13146 handle printing errors
13148 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
13149 1 file changed, 10 insertions(+), 4 deletions(-)
13151 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
13152 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13153 Date: Tue Aug 23 08:05:43 2011 +0200
13155 [gtk-demo] show "activated" demo's in italic font in the TreeView
13157 demos/gtk-demo/gtk-demo.py | 7 +++++--
13158 1 file changed, 5 insertions(+), 2 deletions(-)
13160 commit 971d063f7a36e13ef6621db7002b00af52f6292a
13161 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13162 Date: Mon Aug 22 14:52:28 2011 +0200
13164 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
13165 token, so simply remove it
13167 demos/gtk-demo/gtk-demo.py | 5 +----
13168 1 file changed, 1 insertion(+), 4 deletions(-)
13170 commit c2979a37d6d505095b6e55789150a6498d95819d
13171 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13172 Date: Mon Aug 22 14:22:18 2011 +0200
13174 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
13175 but Gtk.TextBuffer.insert expects a string.
13177 Fixed by using codes.open() as hinted in
13178 http://docs.python.org/dev/howto/pyporting.html#text-files
13179 section "If pre-2.6 compatibility is needed" (because configure.ac
13180 is still happy with Python 2.5.2).
13182 demos/gtk-demo/gtk-demo.py | 6 +++++-
13183 1 file changed, 5 insertions(+), 1 deletion(-)
13185 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
13186 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13187 Date: Mon Aug 22 12:30:24 2011 +0200
13189 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
13191 demos/gtk-demo/demos/images.py | 2 +-
13192 1 file changed, 1 insertion(+), 1 deletion(-)
13194 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
13195 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13196 Date: Mon Aug 22 10:38:04 2011 +0200
13198 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
13201 demos/gtk-demo/demos/printing.py | 4 ++--
13202 1 file changed, 2 insertions(+), 2 deletions(-)
13204 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
13205 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13206 Date: Mon Aug 22 10:37:08 2011 +0200
13208 [gtk-demo] printing.py: fix text file loading
13210 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
13211 1 file changed, 16 insertions(+), 16 deletions(-)
13213 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
13214 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13215 Date: Mon Aug 22 10:20:35 2011 +0200
13217 [gtk-demo] pixbuf.py: fix image loading
13219 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
13220 1 file changed, 11 insertions(+), 14 deletions(-)
13222 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
13223 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13224 Date: Mon Aug 22 10:10:02 2011 +0200
13226 [gtk-demo] images.py: fix logo loading
13228 demos/gtk-demo/demos/images.py | 70
13229 +++++++++++++++++-------------------------
13230 1 file changed, 29 insertions(+), 41 deletions(-)
13232 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
13233 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13234 Date: Wed Aug 24 12:19:21 2011 +0200
13236 [gtk-demo] appwindow.py: set AboutDialog parent
13238 demos/gtk-demo/demos/appwindow.py | 7 +++----
13239 1 file changed, 3 insertions(+), 4 deletions(-)
13241 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
13242 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13243 Date: Mon Aug 22 07:58:25 2011 +0200
13245 [gtk-demo] appwindow.py: fix logo loading
13247 demos/gtk-demo/demos/appwindow.py | 10 +++-------
13248 1 file changed, 3 insertions(+), 7 deletions(-)
13250 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
13251 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13252 Date: Mon Aug 22 07:57:31 2011 +0200
13254 [gtk-demo] appwindow.py: fix callback signatures
13256 demos/gtk-demo/demos/appwindow.py | 6 +++---
13257 1 file changed, 3 insertions(+), 3 deletions(-)
13259 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
13260 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13261 Date: Mon Aug 22 07:48:28 2011 +0200
13263 [gtk-demo] fix glib vs GLib usage
13265 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
13266 demos/gtk-demo/demos/appwindow.py | 2 +-
13267 2 files changed, 2 insertions(+), 2 deletions(-)
13269 commit d29cad6976a80862e1fc590d3e7d190e8a234866
13270 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13271 Date: Wed Aug 24 12:19:02 2011 +0200
13273 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
13274 caused by improved GDK overrides
13276 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
13277 1 file changed, 3 insertions(+), 3 deletions(-)
13279 commit f29d3a85a275a39e8481484779264b0dea1160ab
13280 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13281 Date: Mon Aug 22 07:25:32 2011 +0200
13283 [gtk-demo] optimize source colorizer by only preparing iters for
13284 known colorized tokens
13286 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
13287 1 file changed, 15 insertions(+), 5 deletions(-)
13289 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
13290 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13291 Date: Fri Aug 19 18:31:20 2011 +0200
13293 [gtk-demo] small formatting fixes
13295 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
13296 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
13297 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
13298 demos/gtk-demo/demos/assistant.py | 1 +
13299 demos/gtk-demo/demos/builder.py | 4 +++-
13300 demos/gtk-demo/demos/button_box.py | 1 +
13301 demos/gtk-demo/demos/clipboard.py | 1 +
13302 demos/gtk-demo/demos/colorselector.py | 1 +
13303 demos/gtk-demo/demos/combobox.py | 1 +
13304 demos/gtk-demo/demos/drawingarea.py | 4 +++-
13305 demos/gtk-demo/demos/test.py | 2 ++
13306 11 files changed, 19 insertions(+), 6 deletions(-)
13308 commit c42cb4da399ff5732f4ca732b85134de796a60fa
13309 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13310 Date: Fri Aug 19 18:30:50 2011 +0200
13312 [gtk-demo] remove "is_fully_bound" from demos
13314 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
13315 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
13316 demos/gtk-demo/demos/appwindow.py | 3 ---
13317 demos/gtk-demo/demos/assistant.py | 2 --
13318 demos/gtk-demo/demos/builder.py | 2 --
13319 demos/gtk-demo/demos/button_box.py | 2 --
13320 demos/gtk-demo/demos/clipboard.py | 2 --
13321 demos/gtk-demo/demos/colorselector.py | 2 --
13322 demos/gtk-demo/demos/combobox.py | 2 --
13323 demos/gtk-demo/demos/drawingarea.py | 2 --
13324 demos/gtk-demo/demos/test.py | 1 -
13325 11 files changed, 22 deletions(-)
13327 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
13328 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13329 Date: Fri Aug 19 18:26:31 2011 +0200
13331 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
13332 and GTK+'s gtk-demo code
13334 demos/gtk-demo/gtk-demo.py | 116
13335 +++++++++++++++++++++++++++++++++++++++------
13336 1 file changed, 101 insertions(+), 15 deletions(-)
13338 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
13339 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13340 Date: Fri Aug 19 15:08:15 2011 +0200
13342 [gtk-demo] remove C-isms
13344 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
13345 1 file changed, 14 insertions(+), 14 deletions(-)
13347 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
13348 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13349 Date: Fri Aug 19 14:54:39 2011 +0200
13351 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
13353 demos/gtk-demo/gtk-demo.py | 4 ++--
13354 1 file changed, 2 insertions(+), 2 deletions(-)
13356 commit 241827208e25c72a990d8edd95a3b879470d6409
13357 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13358 Date: Fri Aug 19 14:40:56 2011 +0200
13360 [gtk-demo] remove duplicate storage of demos by only storing them
13361 in a TreeStore subclass
13363 This also moves demos loading code into the TreeStore subclass and
13364 demo loading code into the Demo class
13366 demos/gtk-demo/gtk-demo.py | 151
13367 +++++++++++++++++++++------------------------
13368 1 file changed, 70 insertions(+), 81 deletions(-)
13370 commit 58797c355a08a35375988881a17958bb42ad54bb
13371 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13372 Date: Fri Aug 19 14:40:00 2011 +0200
13374 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
13375 to demonstrate the GLib.MainLoop
13377 demos/gtk-demo/gtk-demo.py | 43
13378 ++++++++++++++++++++++++++-----------------
13379 1 file changed, 26 insertions(+), 17 deletions(-)
13381 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
13382 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13383 Date: Fri Aug 19 11:46:17 2011 +0200
13385 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
13387 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
13388 1 file changed, 23 insertions(+), 16 deletions(-)
13390 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
13391 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13392 Date: Fri Aug 19 11:02:35 2011 +0200
13394 [gtk-demo] drawingarea: fix labels
13396 demos/gtk-demo/demos/drawingarea.py | 4 ++--
13397 1 file changed, 2 insertions(+), 2 deletions(-)
13399 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
13400 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13401 Date: Fri Aug 19 09:57:31 2011 +0200
13403 [gtk-demo] fix imports
13405 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
13406 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
13407 demos/gtk-demo/gtk-demo.py | 8 ++++----
13408 3 files changed, 14 insertions(+), 9 deletions(-)
13410 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
13411 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
13412 Date: Fri Aug 19 10:07:14 2011 +0200
13414 [gtk-demo] fix shebang
13416 demos/gtk-demo/gtk-demo.py | 2 +-
13417 1 file changed, 1 insertion(+), 1 deletion(-)
13419 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
13420 Author: Sebastian Pölsterl <sebp@k-d-w.org>
13421 Date: Fri Aug 19 12:27:04 2011 +0200
13423 Added support for __setitem__ to TreeModel and support for slices
13426 https://bugzilla.gnome.org/show_bug.cgi?id=656891
13428 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
13429 tests/test_overrides.py | 57
13430 +++++++++++++++++++++++++++++++++++++++++++++++++
13431 2 files changed, 81 insertions(+), 2 deletions(-)
13433 commit d6da96c65b2ed3cda238886990a624fbc31f6987
13434 Author: Olav Vitters <olav@vitters.nl>
13435 Date: Wed Aug 24 16:31:12 2011 +0200
13437 Convert ACCEL_* constants into Gtk.AccelFlags.
13439 pygi-convert.sh | 1 +
13440 1 file changed, 1 insertion(+)
13442 commit 0841d41698302abb5d987849a5874252564ed428
13443 Author: Olav Vitters <olav@vitters.nl>
13444 Date: Wed Aug 24 16:22:17 2011 +0200
13446 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
13448 pygi-convert.sh | 1 +
13449 1 file changed, 1 insertion(+)
13451 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
13452 Author: John (J5) Palmieri <johnp@redhat.com>
13453 Date: Thu Aug 18 14:06:32 2011 -0400
13455 post commit version bump
13457 configure.ac | 2 +-
13458 1 file changed, 1 insertion(+), 1 deletion(-)
13460 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
13461 Author: John (J5) Palmieri <johnp@redhat.com>
13462 Date: Thu Aug 18 14:02:30 2011 -0400
13466 NEWS | 10 ++++++++++
13467 1 file changed, 10 insertions(+)
13469 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
13470 Author: John (J5) Palmieri <johnp@redhat.com>
13471 Date: Thu Aug 18 13:50:51 2011 -0400
13473 remove tests that were removed from gi
13475 tests/test_gi.py | 11 -----------
13476 1 file changed, 11 deletions(-)
13478 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
13479 Author: John (J5) Palmieri <johnp@redhat.com>
13480 Date: Thu Aug 18 13:48:57 2011 -0400
13482 don't calculate item_size using is_pointer
13484 * is_pointer is poorly defined and cacluating item_size for
13485 arrays causes a crash in the tests because of this
13486 * disregaurd is_pointer when cacluating item sizes
13488 gi/pygi-info.c | 8 ++------
13489 1 file changed, 2 insertions(+), 6 deletions(-)
13491 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
13492 Author: Timo Vanwynsberghe <timovwb@gmail.com>
13493 Date: Wed Jul 6 01:50:31 2011 +0200
13495 Updated signal example to use GObject introspection
13497 https://bugzilla.gnome.org/show_bug.cgi?id=654162
13499 examples/signal.py | 9 ++++-----
13500 1 file changed, 4 insertions(+), 5 deletions(-)
13502 commit 0332010e704e253380e993874eab9dd122e59a7e
13503 Author: Timo Vanwynsberghe <timovwb@gmail.com>
13504 Date: Wed Jul 6 01:54:50 2011 +0200
13506 Updated properties example to use GObject introspection
13508 https://bugzilla.gnome.org/show_bug.cgi?id=654162
13510 examples/properties.py | 14 +++++++-------
13511 1 file changed, 7 insertions(+), 7 deletions(-)
13513 commit c39f4555ebd703651eca6f978ed9870655b737f0
13514 Author: Martin Pitt <martin.pitt@ubuntu.com>
13515 Date: Fri Aug 12 22:55:02 2011 +0200
13517 Add override for GLib.Variant.split_signature()
13519 This is useful for e. g. iterating over method parameters which are
13521 single Variant. In particular we will need it for automatically
13523 introspection XML for exported DBus server objects.
13525 gi/overrides/GLib.py | 50
13526 +++++++++++++++++++++++++++++++++++++++++++++++++
13527 tests/test_overrides.py | 22 ++++++++++++++++++++++
13528 2 files changed, 72 insertions(+)
13530 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
13531 Author: Timo Vanwynsberghe <timovwb@gmail.com>
13532 Date: Mon Aug 15 18:58:31 2011 +0200
13534 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
13536 https://bugzilla.gnome.org/show_bug.cgi?id=654001
13538 pygi-convert.sh | 2 ++
13539 1 file changed, 2 insertions(+)
13541 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
13542 Author: Ignacio Casal Quinteiro <icq@gnome.org>
13543 Date: Mon Aug 15 13:12:49 2011 +0200
13545 Install pygobject.h again.
13547 This is needed by libpeas.
13549 gi/_gobject/Makefile.am | 5 ++++-
13550 pygobject-3.0-uninstalled.pc.in | 4 ++--
13551 pygobject-3.0.pc.in | 6 +++---
13552 3 files changed, 9 insertions(+), 6 deletions(-)
13554 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
13555 Author: John (J5) Palmieri <johnp@redhat.com>
13556 Date: Sun Aug 14 11:20:15 2011 -0400
13558 update the doap file
13560 pygobject.doap | 26 ++++++++++++++------------
13561 1 file changed, 14 insertions(+), 12 deletions(-)
13563 commit 762a36d2343bc39a502507d600fd1b9db9649dae
13564 Author: John (J5) Palmieri <johnp@redhat.com>
13565 Date: Sun Aug 14 11:13:25 2011 -0400
13569 configure.ac | 2 +-
13570 1 file changed, 1 insertion(+), 1 deletion(-)
13572 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
13573 Author: John (J5) Palmieri <johnp@redhat.com>
13574 Date: Sun Aug 14 10:13:37 2011 -0400
13576 get things ready for release
13579 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13580 1 file changed, 194 insertions(+)
13582 commit ffd057649380d4249c1c52e1225e3646f3994bc6
13583 Author: John (J5) Palmieri <johnp@redhat.com>
13584 Date: Sun Aug 14 05:26:18 2011 -0400
13586 pass exta keywords to the Box constructor
13588 gi/overrides/Gtk.py | 4 ++--
13589 1 file changed, 2 insertions(+), 2 deletions(-)
13591 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
13592 Author: John (J5) Palmieri <johnp@redhat.com>
13593 Date: Sat Aug 13 11:03:07 2011 -0400
13595 add (Tree|List)Store set method override
13597 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
13598 tests/test_overrides.py | 102
13599 ++++++++++++++++++++++++++++++++++++++++++++++--
13600 2 files changed, 149 insertions(+), 3 deletions(-)
13602 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
13603 Author: John (J5) Palmieri <johnp@redhat.com>
13604 Date: Sat Aug 13 09:19:29 2011 -0400
13606 add test for object arrays
13608 tests/test_everything.py | 6 ++++++
13609 1 file changed, 6 insertions(+)
13611 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
13612 Author: John (J5) Palmieri <johnp@redhat.com>
13613 Date: Sat Aug 13 08:46:18 2011 -0400
13615 only support C pointer arrays for structs and objects
13617 * There is no way to know if an array of structs or objects are
13619 or flat arrays. Since pointer arrays are the most useful and
13621 it has been decided to only support those arrays
13623 gi/pygi-marshal-out.c | 2 +-
13624 tests/test_gi.py | 8 --------
13625 2 files changed, 1 insertion(+), 9 deletions(-)
13627 commit b12379de1790b72d51883bf7b63c892639a892e7
13628 Author: John (J5) Palmieri <johnp@redhat.com>
13629 Date: Sat Aug 13 06:31:52 2011 -0400
13631 revert Gtk.Window override because it causes issues with subclasses
13633 gi/overrides/Gtk.py | 9 ---------
13634 1 file changed, 9 deletions(-)
13636 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
13637 Author: Jonathan Matthew <jonathan@d14n.org>
13638 Date: Thu Apr 7 21:05:32 2011 +1000
13640 take GIL in _pygi_invoke_closure_free (bug #647016)
13642 gi/pygi-closure.c | 3 +++
13643 1 file changed, 3 insertions(+)
13645 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
13646 Author: Johan Dahlin <jdahlin@litl.com>
13647 Date: Mon Jun 27 00:41:24 2011 -0300
13649 Add a default parameter to GtkTreeModel.filter_new
13651 https://bugzilla.gnome.org/show_bug.cgi?id=653462
13653 gi/overrides/Gtk.py | 3 +++
13654 1 file changed, 3 insertions(+)
13656 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
13657 Author: Johan Dahlin <jdahlin@litl.com>
13658 Date: Mon Jun 27 00:40:12 2011 -0300
13660 Add vbox/action_area properties
13662 Accessing vbox/action_area directly creates segmentation fault,
13663 avoid that by mapping the fields to their getters for PyGTK
13666 https://bugzilla.gnome.org/show_bug.cgi?id=653462
13668 gi/overrides/Gtk.py | 3 +++
13669 1 file changed, 3 insertions(+)
13671 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
13672 Author: Johan Dahlin <jdahlin@litl.com>
13673 Date: Mon Jun 27 00:39:41 2011 -0300
13675 Add a couple of constructors
13677 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
13680 https://bugzilla.gnome.org/show_bug.cgi?id=653462
13682 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
13683 1 file changed, 40 insertions(+)
13685 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
13686 Author: Johan Dahlin <jdahlin@litl.com>
13687 Date: Mon Jun 27 00:38:30 2011 -0300
13689 Do not always pass in user_data to callbacks.
13691 This keeps API compatibility with PyGTK and avoids sending
13692 in user_data if it's None.
13694 https://bugzilla.gnome.org/show_bug.cgi?id=653462
13696 gi/overrides/Gtk.py | 15 ++++++++++++---
13697 1 file changed, 12 insertions(+), 3 deletions(-)
13699 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
13700 Author: Johan Dahlin <jdahlin@litl.com>
13701 Date: Mon Jun 27 00:38:20 2011 -0300
13703 Add a default detail value for Widget.render_icon
13705 https://bugzilla.gnome.org/show_bug.cgi?id=653462
13707 gi/overrides/Gtk.py | 3 +++
13708 1 file changed, 3 insertions(+)
13710 commit 5b1c875269b7979caae97e84919a690a34d92f29
13711 Author: Johan Dahlin <jdahlin@litl.com>
13712 Date: Mon Jun 27 00:36:20 2011 -0300
13714 Add an override for Gdk.color_parse()
13716 Change Gdk.color_parse() to not return a tuple, instead just
13717 return the created color or None if it wasn't possible to parse
13718 the name into a color.
13720 This keeps compatibility with PyGTK but breaks the current API.
13722 https://bugzilla.gnome.org/show_bug.cgi?id=653462
13724 gi/overrides/Gdk.py | 8 ++++++++
13725 1 file changed, 8 insertions(+)
13727 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
13728 Author: Laszlo Pandy <lpandy@src.gnome.org>
13729 Date: Mon Aug 8 12:06:18 2011 +0200
13731 Support function calling with keyword arguments in invoke.
13733 https://bugzilla.gnome.org/show_bug.cgi?id=625596
13735 gi/pygi-cache.c | 39 ++++++++++++
13736 gi/pygi-cache.h | 4 ++
13737 gi/pygi-invoke.c | 162
13738 +++++++++++++++++++++++++++++++++++++++++++++--
13739 gi/types.py | 12 ++--
13740 tests/test_everything.py | 2 +-
13741 tests/test_gi.py | 58 +++++++++++++++++
13742 6 files changed, 265 insertions(+), 12 deletions(-)
13744 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
13745 Author: John (J5) Palmieri <johnp@redhat.com>
13746 Date: Sat Aug 13 04:13:28 2011 -0400
13748 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
13750 gi/pygi-info.c | 5 -----
13751 1 file changed, 5 deletions(-)
13753 commit 745001178fc72be5626c7211366d694f41162987
13754 Author: Martin Pitt <martin.pitt@ubuntu.com>
13755 Date: Thu Aug 11 15:11:42 2011 +0200
13757 Fix gobject vs. gi.repository warning
13759 Check the warning earlier and fix the operator, so that it actually
13761 update the warning to explain how to fix the problem.
13763 gi/_gobject/__init__.py | 8 ++++----
13764 1 file changed, 4 insertions(+), 4 deletions(-)
13766 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
13767 Author: John (J5) Palmieri <johnp@redhat.com>
13768 Date: Fri Jul 22 15:46:31 2011 -0400
13770 make GObject and GLib able to take overrides
13772 * derive directly from DynamicModule instead of InterfaceModule
13774 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13776 gi/importer.py | 11 +++---
13778 ++++++++++++++++++++++++++++-----------------------------
13779 2 files changed, 64 insertions(+), 65 deletions(-)
13781 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
13782 Author: John (J5) Palmieri <johnp@redhat.com>
13783 Date: Fri Jul 22 15:45:09 2011 -0400
13785 avoid dependency issue by importing the internal gobject
13787 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13789 gi/__init__.py | 2 +-
13790 1 file changed, 1 insertion(+), 1 deletion(-)
13792 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
13793 Author: John (J5) Palmieri <johnp@redhat.com>
13794 Date: Fri Jul 22 14:13:02 2011 -0400
13796 fix tests to use the new GLib module
13798 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13800 tests/test_mainloop.py | 7 +++----
13801 tests/test_option.py | 3 ++-
13802 tests/test_source.py | 24 +++++++++++-------------
13803 tests/test_subprocess.py | 12 +++++-------
13804 tests/test_thread.py | 10 ++++------
13805 tests/test_uris.py | 4 ++--
13806 6 files changed, 27 insertions(+), 33 deletions(-)
13808 commit 191ef79315f8a5641699536fde58da18e23ef904
13809 Author: John (J5) Palmieri <johnp@redhat.com>
13810 Date: Fri Jul 22 14:11:53 2011 -0400
13812 add DynamicGLibModule which works like DynamicGObjectModule
13814 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13816 gi/importer.py | 7 +++++--
13817 gi/module.py | 32 +++++++++++++++++++++++++++++---
13818 2 files changed, 34 insertions(+), 5 deletions(-)
13820 commit fbd4a8263260c187211799454c08b1e55e2cb998
13821 Author: John (J5) Palmieri <johnp@redhat.com>
13822 Date: Fri Jul 22 12:27:41 2011 -0400
13824 refactor, add objects and types to the correct internal module
13826 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13828 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
13829 gi/_glib/pygmaincontext.c | 2 +-
13830 gi/_glib/pygmainloop.c | 4 ++--
13831 gi/_glib/pygoptioncontext.c | 4 ++--
13832 gi/_glib/pygoptiongroup.c | 4 ++--
13833 gi/_glib/pygsource.c | 14 +++++++-------
13834 gi/_glib/pygspawn.c | 14 +++++++-------
13835 7 files changed, 40 insertions(+), 40 deletions(-)
13837 commit 7431b49a161df9178c55b814d3adff992ac2d722
13838 Author: John (J5) Palmieri <johnp@redhat.com>
13839 Date: Fri Jul 22 12:26:32 2011 -0400
13841 rename the pyglib shared library so we don't load the old one
13843 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13845 gi/Makefile.am | 2 +-
13846 gi/_glib/Makefile.am | 10 +++++-----
13847 gi/_gobject/Makefile.am | 2 +-
13848 3 files changed, 7 insertions(+), 7 deletions(-)
13850 commit b8700451acd4a19b59b64fc8641fca748d2189e2
13851 Author: John (J5) Palmieri <johnp@redhat.com>
13852 Date: Fri Jul 22 11:20:09 2011 -0400
13854 refactor tests to only use PyGObject 3 syntax
13856 * for PyGObject 3 we want to discourage the use of legacy
13858 * Using interfaces like from gi.repository import GObject makes
13859 sure that the internal _gobject module is loaded and not
13860 PyGObject 2's gobject module which would cause the application
13861 to not work correctly
13863 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13865 tests/runtests-windows.py | 4 +-
13866 tests/test_gdbus.py | 12 ++---
13867 tests/test_gi.py | 4 +-
13868 tests/test_gobject.py | 31 ++++++------
13869 tests/test_interface.py | 16 +++---
13870 tests/test_mainloop.py | 3 +-
13871 tests/test_overrides.py | 8 +--
13872 tests/test_properties.py | 124
13873 +++++++++++++++++++++++-----------------------
13874 tests/test_signal.py | 98 ++++++++++++++++++------------------
13875 tests/test_source.py | 5 +-
13876 tests/test_subprocess.py | 3 +-
13877 tests/test_thread.py | 5 +-
13878 tests/test_unknown.py | 8 +--
13879 tests/testhelpermodule.c | 2 +-
13880 tests/testmodule.py | 10 ++--
13881 15 files changed, 169 insertions(+), 164 deletions(-)
13883 commit c980dae21468fe073cc8782608148c346bb90ad7
13884 Author: John (J5) Palmieri <johnp@redhat.com>
13885 Date: Fri Jul 22 11:16:00 2011 -0400
13887 refactor the internal _glib module to import correct modules
13889 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13891 gi/_glib/__init__.py | 3 ++-
13892 gi/_glib/glibmodule.c | 10 +++++-----
13893 gi/_glib/option.py | 4 ++--
13894 gi/_glib/pyglib.c | 18 +++++++++---------
13895 4 files changed, 18 insertions(+), 17 deletions(-)
13897 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
13898 Author: John (J5) Palmieri <johnp@redhat.com>
13899 Date: Fri Jul 22 11:10:46 2011 -0400
13901 refactor to use the new internal _glib and _gobject modules
13903 * use relative imports instead of aboslute
13904 * fix the C imports to import the internal _gobject libs
13905 * add a check to see if the PyGObject 2 gobject module
13906 was already imported
13908 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13910 gi/_gobject/__init__.py | 20 +++++++++++++-------
13911 gi/_gobject/constants.py | 3 +--
13912 gi/_gobject/gobjectmodule.c | 2 +-
13913 gi/_gobject/propertyhelper.py | 11 +++++------
13914 gi/_gobject/pygobject.c | 16 ++++++++--------
13915 gi/_gobject/pygobject.h | 2 +-
13916 6 files changed, 29 insertions(+), 25 deletions(-)
13918 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
13919 Author: John (J5) Palmieri <johnp@redhat.com>
13920 Date: Fri Jul 22 11:07:10 2011 -0400
13922 refactor gi module to import and use internal _gobject module
13924 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13926 gi/importer.py | 2 --
13927 gi/module.py | 31 ++++++++++++++++---------------
13928 gi/overrides/Gtk.py | 2 +-
13929 gi/overrides/__init__.py | 6 +++---
13930 gi/pygobject-external.h | 2 +-
13931 gi/types.py | 12 ++++++------
13932 6 files changed, 27 insertions(+), 28 deletions(-)
13934 commit 6b9d738d78c6ac45d49f00402c89356887555069
13935 Author: John (J5) Palmieri <johnp@redhat.com>
13936 Date: Fri Jul 22 11:02:49 2011 -0400
13938 move the static bits internal to gi and refactor build files
13940 * the glib module now becomes the gi._glib module
13941 * the gobject module now becomes the gi._gobject module
13942 * we do this so we can install in parallel with PyGObject 2
13944 https://bugzilla.gnome.org/show_bug.cgi?id=642048
13947 configure.ac | 6 +-
13948 gi/Makefile.am | 8 +-
13949 gi/_glib/Makefile.am | 58 +
13950 gi/_glib/__init__.py | 25 +
13951 gi/_glib/glibmodule.c | 969 ++++++++++++++
13952 gi/_glib/option.py | 358 ++++++
13953 gi/_glib/pygiochannel.c | 764 ++++++++++++
13954 gi/_glib/pygiochannel.h | 29 +
13955 gi/_glib/pyglib-private.h | 49 +
13956 gi/_glib/pyglib-python-compat.h | 245 ++++
13957 gi/_glib/pyglib.c | 633 ++++++++++
13958 gi/_glib/pyglib.h | 83 ++
13959 gi/_glib/pygmaincontext.c | 126 ++
13960 gi/_glib/pygmaincontext.h | 40 +
13961 gi/_glib/pygmainloop.c | 360 ++++++
13962 gi/_glib/pygmainloop.h | 36 +
13963 gi/_glib/pygoptioncontext.c | 337 +++++
13964 gi/_glib/pygoptioncontext.h | 39 +
13965 gi/_glib/pygoptiongroup.c | 298 +++++
13966 gi/_glib/pygoptiongroup.h | 42 +
13967 gi/_glib/pygsource.c | 725 +++++++++++
13968 gi/_glib/pygsource.h | 39 +
13969 gi/_glib/pygspawn.c | 264 ++++
13970 gi/_glib/pygspawn.h | 32 +
13971 gi/_gobject/Makefile.am | 71 ++
13972 gi/_gobject/__init__.py | 117 ++
13973 gi/_gobject/constants.py | 83 ++
13974 gi/_gobject/ffi-marshaller.c | 194 +++
13975 gi/_gobject/ffi-marshaller.h | 31 +
13976 gi/_gobject/gobjectmodule.c | 2638
13977 +++++++++++++++++++++++++++++++++++++++
13978 gi/_gobject/propertyhelper.py | 312 +++++
13979 gi/_gobject/pygboxed.c | 234 ++++
13980 gi/_gobject/pygboxed.h | 27 +
13981 gi/_gobject/pygenum.c | 366 ++++++
13982 gi/_gobject/pygenum.h | 27 +
13983 gi/_gobject/pygflags.c | 485 +++++++
13984 gi/_gobject/pygflags.h | 27 +
13985 gi/_gobject/pyginterface.c | 122 ++
13986 gi/_gobject/pyginterface.h | 40 +
13987 gi/_gobject/pygobject-private.h | 241 ++++
13988 gi/_gobject/pygobject.c | 2397
13989 +++++++++++++++++++++++++++++++++++
13990 gi/_gobject/pygobject.h | 667 ++++++++++
13991 gi/_gobject/pygparamspec.c | 404 ++++++
13992 gi/_gobject/pygparamspec.h | 31 +
13993 gi/_gobject/pygpointer.c | 198 +++
13994 gi/_gobject/pygpointer.h | 27 +
13995 gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
13996 gi/_gobject/pygtype.h | 28 +
13997 glib/Makefile.am | 61 -
13998 glib/__init__.py | 25 -
13999 glib/glibmodule.c | 969 --------------
14000 glib/option.py | 358 ------
14001 glib/pygiochannel.c | 764 ------------
14002 glib/pygiochannel.h | 29 -
14003 glib/pyglib-private.h | 49 -
14004 glib/pyglib-python-compat.h | 245 ----
14005 glib/pyglib.c | 633 ----------
14006 glib/pyglib.h | 83 --
14007 glib/pygmaincontext.c | 126 --
14008 glib/pygmaincontext.h | 40 -
14009 glib/pygmainloop.c | 360 ------
14010 glib/pygmainloop.h | 36 -
14011 glib/pygoptioncontext.c | 337 -----
14012 glib/pygoptioncontext.h | 39 -
14013 glib/pygoptiongroup.c | 298 -----
14014 glib/pygoptiongroup.h | 42 -
14015 glib/pygsource.c | 725 -----------
14016 glib/pygsource.h | 39 -
14017 glib/pygspawn.c | 264 ----
14018 glib/pygspawn.h | 32 -
14019 gobject/Makefile.am | 73 --
14020 gobject/__init__.py | 117 --
14021 gobject/constants.py | 83 --
14022 gobject/ffi-marshaller.c | 194 ---
14023 gobject/ffi-marshaller.h | 31 -
14024 gobject/gobjectmodule.c | 2638
14025 ---------------------------------------
14026 gobject/propertyhelper.py | 312 -----
14027 gobject/pygboxed.c | 234 ----
14028 gobject/pygboxed.h | 27 -
14029 gobject/pygenum.c | 366 ------
14030 gobject/pygenum.h | 27 -
14031 gobject/pygflags.c | 485 -------
14032 gobject/pygflags.h | 27 -
14033 gobject/pyginterface.c | 122 --
14034 gobject/pyginterface.h | 40 -
14035 gobject/pygobject-private.h | 241 ----
14036 gobject/pygobject.c | 2397
14037 -----------------------------------
14038 gobject/pygobject.h | 667 ----------
14039 gobject/pygparamspec.c | 404 ------
14040 gobject/pygparamspec.h | 31 -
14041 gobject/pygpointer.c | 198 ---
14042 gobject/pygpointer.h | 27 -
14043 gobject/pygtype.c | 1844 ---------------------------
14044 gobject/pygtype.h | 28 -
14045 tests/Makefile.am | 2 +-
14046 96 files changed, 16172 insertions(+), 16175 deletions(-)
14048 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
14049 Author: John (J5) Palmieri <johnp@redhat.com>
14050 Date: Mon Jul 18 18:46:31 2011 -0400
14054 https://bugzilla.gnome.org/show_bug.cgi?id=642048
14056 Makefile.am | 5 ----
14058 -------------------------------------------------------------
14059 2 files changed, 100 deletions(-)
14061 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
14062 Author: John (J5) Palmieri <johnp@redhat.com>
14063 Date: Mon Jul 18 18:41:41 2011 -0400
14065 introspection is no longer optional
14067 https://bugzilla.gnome.org/show_bug.cgi?id=642048
14069 Makefile.am | 8 +-------
14070 configure.ac | 43 +++++++++++++++++--------------------------
14071 gi/pygi.h | 37 -------------------------------------
14072 gobject/Makefile.am | 5 +----
14073 tests/Makefile.am | 7 +------
14074 5 files changed, 20 insertions(+), 80 deletions(-)
14076 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
14077 Author: John (J5) Palmieri <johnp@redhat.com>
14078 Date: Mon Jul 18 18:28:50 2011 -0400
14080 up platform version to 3.0
14082 https://bugzilla.gnome.org/show_bug.cgi?id=642048
14085 configure.ac | 4 ++--
14086 pygobject-2.0-uninstalled.pc.in | 18 ------------------
14087 pygobject-2.0.pc.in | 22 ----------------------
14088 pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
14089 pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
14090 6 files changed, 43 insertions(+), 43 deletions(-)
14092 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
14093 Author: Martin Pitt <martin.pitt@ubuntu.com>
14094 Date: Thu Aug 11 09:53:15 2011 +0200
14096 [gi] Handle GVariants from callback return values
14098 Callbacks still use GIArgument, add missing GVariant support for
14101 gi/pygi-argument.c | 6 ++++--
14102 1 file changed, 4 insertions(+), 2 deletions(-)
14104 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
14105 Author: Martin Pitt <martin.pitt@ubuntu.com>
14106 Date: Wed Aug 10 14:11:10 2011 +0200
14108 Handle GVariants for callback arguments
14110 Callbacks still use GIArgument, add missing GVariant support. This
14112 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
14114 gi/pygi-argument.c | 7 +++++++
14115 1 file changed, 7 insertions(+)
14117 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
14118 Author: Laszlo Pandy <lpandy@src.gnome.org>
14119 Date: Mon Aug 8 01:58:10 2011 +0200
14121 [gi] Fix crash: check return value of
14122 _invoke_state_init_from_callable_cache() before continuing.
14124 gi/pygi-invoke.c | 4 +++-
14125 1 file changed, 3 insertions(+), 1 deletion(-)
14127 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
14128 Author: Laszlo Pandy <lpandy@src.gnome.org>
14129 Date: Fri Aug 5 21:03:33 2011 +0200
14131 [gi] Pass gtype as first parameter to vfuncs (instead of using
14134 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
14136 2 files changed, 19 insertions(+), 15 deletions(-)
14138 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
14139 Author: John (J5) Palmieri <johnp@redhat.com>
14140 Date: Mon Jul 18 18:21:51 2011 -0400
14145 codegen/Makefile.am | 33 -
14146 codegen/README.defs | 351 --------
14147 codegen/__init__.py | 16 -
14148 codegen/argtypes.py | 1043 -----------------------
14149 codegen/code-coverage.py | 44 -
14150 codegen/codegen.py | 1722
14151 --------------------------------------
14152 codegen/createdefs.py | 17 -
14153 codegen/definitions.py | 575 -------------
14154 codegen/defsconvert.py | 132 ---
14155 codegen/defsgen.py | 737 ----------------
14156 codegen/defsparser.py | 153 ----
14157 codegen/docextract.py | 461 ----------
14158 codegen/docextract_to_xml.py | 142 ----
14159 codegen/docgen.py | 766 -----------------
14160 codegen/h2def.py | 631 --------------
14161 codegen/mergedefs.py | 26 -
14162 codegen/missingdefs.py | 17 -
14163 codegen/mkskel.py | 89 --
14164 codegen/override.py | 285 -------
14165 codegen/pygobject-codegen-2.0.in | 11 -
14166 codegen/reversewrapper.py | 912 --------------------
14167 codegen/scanvirtuals.py | 54 --
14168 codegen/scmexpr.py | 143 ----
14170 pygobject-2.0-uninstalled.pc.in | 1 -
14171 pygobject-2.0.pc.in | 1 -
14172 27 files changed, 1 insertion(+), 8368 deletions(-)
14174 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
14175 Author: John (J5) Palmieri <johnp@redhat.com>
14176 Date: Mon Jul 18 11:04:58 2011 -0400
14178 remove some left over ifdefs to complete merge of the invoke-rewrite
14181 gi/pygi-cache.h | 2 --
14182 gi/pygi-info.c | 2 --
14183 gi/pygi-private.h | 5 +----
14185 4 files changed, 1 insertion(+), 10 deletions(-)
14187 commit 8c653ec3033fab47c4bb4071b5732a349357141f
14188 Author: John (J5) Palmieri <johnp@redhat.com>
14189 Date: Mon Jul 18 10:59:45 2011 -0400
14191 rename pygi-invoke-ng to pygi-invoke
14193 gi/Makefile.am | 3 +-
14194 gi/pygi-invoke-ng.c | 464
14195 ----------------------------------------------------
14196 gi/pygi-invoke.c | 464
14197 ++++++++++++++++++++++++++++++++++++++++++++++++++++
14198 3 files changed, 466 insertions(+), 465 deletions(-)
14200 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
14201 Author: John (J5) Palmieri <johnp@redhat.com>
14202 Date: Mon Jul 18 10:56:36 2011 -0400
14204 make invoke-ng the only invoker
14206 configure.ac | 11 -
14207 gi/Makefile.am | 10 +-
14208 gi/pygi-invoke.c | 1030
14209 ------------------------------------------------------
14210 3 files changed, 1 insertion(+), 1050 deletions(-)
14212 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
14213 Merge: 519e556 917ea2d
14214 Author: John (J5) Palmieri <johnp@redhat.com>
14215 Date: Mon Jul 18 10:45:18 2011 -0400
14217 Merge branch 'master' into invoke-rewrite
14219 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
14220 Merge: bab7e88 38cca3c
14221 Author: John (J5) Palmieri <johnp@redhat.com>
14222 Date: Mon Jul 18 10:37:20 2011 -0400
14224 Merge branch 'master' into invoke-rewrite
14226 commit bab7e88251bffcd360186c6dedc26be8eb077084
14227 Author: John (J5) Palmieri <johnp@redhat.com>
14228 Date: Mon Jul 18 10:35:10 2011 -0400
14230 split the marshalling routines into two source files
14232 * update copy and paste copyright info to list the correct owner
14234 gi/Makefile.am | 6 +-
14235 gi/pygi-cache.c | 3 +-
14236 gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
14237 gi/pygi-marshal-in.h | 186 +++++
14238 gi/pygi-marshal-out.c | 767 ++++++++++++++++++
14239 gi/pygi-marshal-out.h | 144 ++++
14240 gi/pygi-marshal.c | 2145
14241 -------------------------------------------------
14242 gi/pygi-marshal.h | 303 -------
14243 8 files changed, 2515 insertions(+), 2451 deletions(-)
14245 commit 917ea2dfa2d097e563233145003a66b3e4423287
14246 Author: Martin Pitt <martin.pitt@ubuntu.com>
14247 Date: Thu Jul 14 11:21:10 2011 +0200
14249 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
14251 tests/Makefile.am | 1 +
14252 1 file changed, 1 insertion(+)
14254 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
14255 Author: John (J5) Palmieri <johnp@redhat.com>
14256 Date: Wed Jul 13 15:43:02 2011 -0400
14258 [invoke] break out caller_allocates allocating into its own function
14260 gi/pygi-invoke-ng.c | 78
14261 +++++++++++++++++++++++++++++++++--------------------
14262 1 file changed, 49 insertions(+), 29 deletions(-)
14264 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
14265 Author: John (J5) Palmieri <johnp@redhat.com>
14266 Date: Wed Jul 13 15:42:26 2011 -0400
14268 [invoke] missed a bit when removing constructor_class usage
14270 gi/pygi-invoke-ng.c | 2 +-
14271 1 file changed, 1 insertion(+), 1 deletion(-)
14273 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
14274 Author: John (J5) Palmieri <johnp@redhat.com>
14275 Date: Wed Jul 13 15:16:17 2011 -0400
14277 [invoke] don't hold on to the constructor class, just add a TODO
14279 gi/pygi-invoke-ng.c | 11 +++++------
14280 gi/pygi-invoke-state-struct.h | 1 -
14281 2 files changed, 5 insertions(+), 7 deletions(-)
14283 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
14284 Author: Martin Pitt <martin.pitt@ubuntu.com>
14285 Date: Wed Jul 13 10:40:25 2011 +0200
14287 [gi] Port test_properties from static gio to GI Gio
14289 As we ripped out the static gio bindings a while ago, this test case
14291 the system installed gio bindings with Python 2, and now fails
14293 Python 3. Rewrite it to use gi.repository.Gio.
14295 tests/test_properties.py | 38 +++++++++++++++++++-------------------
14296 1 file changed, 19 insertions(+), 19 deletions(-)
14298 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
14299 Author: Martin Pitt <martin.pitt@ubuntu.com>
14300 Date: Wed Jul 13 08:42:22 2011 +0200
14302 [python3] Fix maketrans import
14304 Python3 moved the maketrans() function from the string module to a
14306 This unbreaks gi/module.py for Python 3 again.
14308 gi/module.py | 8 ++++++--
14309 1 file changed, 6 insertions(+), 2 deletions(-)
14311 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
14312 Author: John (J5) Palmieri <johnp@redhat.com>
14313 Date: Fri Jul 8 14:39:22 2011 -0400
14315 [caching] remove all inline compiler flags
14317 gi/pygi-cache.c | 96
14318 ++++++++++++++++++++++++++++-----------------------------
14319 1 file changed, 48 insertions(+), 48 deletions(-)
14321 commit bf7bb79b66ad406063fb443e7452d830c55986ef
14322 Author: John (J5) Palmieri <johnp@redhat.com>
14323 Date: Fri Jul 8 14:35:20 2011 -0400
14325 [caching] refactor function names to be less confusing
14327 gi/pygi-cache.c | 307
14328 +++++++++++++++++++++++++++-----------------------------
14329 1 file changed, 150 insertions(+), 157 deletions(-)
14331 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
14332 Author: John (J5) Palmieri <johnp@redhat.com>
14333 Date: Fri Jul 8 11:24:09 2011 -0400
14335 [overrides] deprecate the use of type keyword MessageDialog
14338 * pygtk used type to determine the "type" of message dialog to
14340 use the proper property name "message_type" since we should not be
14341 overriding a reserved word
14342 * to keep compat with pygtk we check the kwds hash for the key
14344 assign it to message_type while throwing a deprecation warning
14345 * also add a deprication warning when trying to use the depricated
14349 gi/overrides/Gtk.py | 13 ++++++++-----
14350 1 file changed, 8 insertions(+), 5 deletions(-)
14352 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
14353 Author: Martin Pitt <martin.pitt@ubuntu.com>
14354 Date: Fri Jul 8 10:15:53 2011 +0200
14356 gdbus tests: Fix hang if test case fails
14358 In the TestGDBusClient.test_native_calls_async() test case, the main
14360 never quit when the call failed.
14362 tests/test_gdbus.py | 6 ++++--
14363 1 file changed, 4 insertions(+), 2 deletions(-)
14365 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
14366 Author: John (J5) Palmieri <johnp@redhat.com>
14367 Date: Thu Jul 7 19:30:11 2011 -0400
14369 use an enum instead of booleans to denote function type
14371 gi/pygi-cache.c | 85
14372 ++++++++++++++++++++++++++++++-----------------------
14373 gi/pygi-cache.h | 18 +++++++++---
14374 gi/pygi-invoke-ng.c | 8 ++---
14375 3 files changed, 67 insertions(+), 44 deletions(-)
14377 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
14378 Author: John (J5) Palmieri <johnp@redhat.com>
14379 Date: Thu Jul 7 15:18:03 2011 -0400
14381 rename aux arguments to child arguments to make their purpose clearer
14383 gi/pygi-cache.c | 64
14384 ++++++++++++++++++++++++++---------------------------
14385 gi/pygi-cache.h | 29 ++++++++++++++++--------
14386 gi/pygi-invoke-ng.c | 10 ++++-----
14387 gi/pygi-marshal.c | 12 +++++-----
14388 4 files changed, 63 insertions(+), 52 deletions(-)
14390 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
14391 Author: Timo Vanwynsberghe <timovwb@gmail.com>
14392 Date: Thu Jul 7 10:59:08 2011 +0200
14394 Fixed the cairo example
14396 https://bugzilla.gnome.org/show_bug.cgi?id=653844
14398 examples/cairo-demo.py | 6 ++----
14399 1 file changed, 2 insertions(+), 4 deletions(-)
14401 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
14402 Author: Adam Dingle <adam@yorba.org>
14403 Date: Tue Jul 5 14:28:20 2011 -0700
14405 Add override binding for Gtk.ListStore.prepend().
14407 https://bugzilla.gnome.org/show_bug.cgi?id=654056
14409 gi/overrides/Gtk.py | 8 ++++++++
14410 tests/test_overrides.py | 13 ++++++++++++-
14411 2 files changed, 20 insertions(+), 1 deletion(-)
14413 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
14414 Author: Martin Pitt <martin.pitt@ubuntu.com>
14415 Date: Thu Jul 7 13:39:19 2011 +0200
14417 Fix crash in Gtk.TextIter overrides
14419 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
14421 pointers when the search was unsuccessful. Actually check the
14423 value; if it is False return None, just like PyGTK used to.
14425 Thanks to Michael Vogt for discovering this and writing the test case!
14429 -------------- 8< -----------------
14430 from gi.repository import Gtk
14432 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
14433 textview = Gtk.TextView()
14434 buffer = textview.get_buffer()
14435 buffer.set_text("hello world")
14440 iter = buffer.get_start_iter()
14441 end = buffer.get_end_iter()
14442 ret = iter.forward_search("foo",
14443 Gtk.TextSearchFlags.VISIBLE_ONLY,
14445 print "this is my return value"
14447 print "now I crash"
14448 print ret[0].get_offset()
14451 -------------- 8< -----------------
14453 gi/overrides/Gtk.py | 10 ++++++++--
14454 1 file changed, 8 insertions(+), 2 deletions(-)
14456 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
14457 Author: John (J5) Palmieri <johnp@redhat.com>
14458 Date: Tue Jul 5 15:57:23 2011 -0400
14460 use gssize instead of int for arg indexes
14462 gi/pygi-cache.c | 24 ++++++++++++------------
14463 gi/pygi-cache.h | 6 +++---
14464 gi/pygi-invoke-ng.c | 6 +++---
14465 gi/pygi-marshal-cleanup.c | 6 +++---
14466 4 files changed, 21 insertions(+), 21 deletions(-)
14468 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
14469 Author: John (J5) Palmieri <johnp@redhat.com>
14470 Date: Tue Jul 5 14:17:30 2011 -0400
14472 [cache] remove refrence to default value as it is not implemented yet
14474 gi/pygi-cache.h | 1 -
14475 1 file changed, 1 deletion(-)
14477 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
14478 Author: Sebastian Pölsterl <sebp@k-d-w.org>
14479 Date: Thu May 12 18:53:06 2011 +0200
14481 Handle arguments that are flags correctly
14483 https://bugzilla.gnome.org/show_bug.cgi?id=647581
14485 gi/pygi-argument.c | 2 ++
14486 1 file changed, 2 insertions(+)
14488 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
14489 Author: John (J5) Palmieri <johnp@redhat.com>
14490 Date: Fri Jul 1 05:19:15 2011 -0400
14492 correctly initialize the _gi_cairo_functions array to be zero filled
14494 gi/pygi-foreign-cairo.c | 2 +-
14495 1 file changed, 1 insertion(+), 1 deletion(-)
14497 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
14498 Author: John (J5) Palmieri <johnp@redhat.com>
14499 Date: Fri Jul 1 05:19:15 2011 -0400
14501 correctly initialize the _gi_cairo_functions array to be zero filled
14503 gi/pygi-foreign-cairo.c | 2 +-
14504 1 file changed, 1 insertion(+), 1 deletion(-)
14506 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
14507 Author: John (J5) Palmieri <johnp@redhat.com>
14508 Date: Wed Jun 29 18:14:40 2011 -0400
14510 pass in the address of the gerror, not the gerror itself
14512 gi/pygi-argument.c | 2 +-
14513 1 file changed, 1 insertion(+), 1 deletion(-)
14515 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
14516 Author: John (J5) Palmieri <johnp@redhat.com>
14517 Date: Wed Jun 29 18:01:44 2011 -0400
14519 [gi] handle marshalling gerrors arguments for signals
14521 gi/pygi-argument.c | 18 ++++++++++++++++--
14522 1 file changed, 16 insertions(+), 2 deletions(-)
14524 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
14525 Author: John (J5) Palmieri <johnp@redhat.com>
14526 Date: Wed Jun 29 12:12:29 2011 -0400
14528 [gi-invoke-ng] fix NULL check to check before we access the cache
14531 gi/pygi-cache.c | 6 +++---
14532 1 file changed, 3 insertions(+), 3 deletions(-)
14534 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
14535 Author: John (J5) Palmieri <johnp@redhat.com>
14536 Date: Tue Jun 28 18:21:55 2011 -0400
14538 [gi-tests] add test for PyGObject->PyObject TreeModel storage
14540 * make sure we can store a custom GObject as a PyObject inside of
14543 tests/test_overrides.py | 26 +++++++++++++++-----------
14544 1 file changed, 15 insertions(+), 11 deletions(-)
14546 commit b6842e4b2a28733e143d4022864041ca82e91f7a
14547 Author: John (J5) Palmieri <johnp@redhat.com>
14548 Date: Tue Jun 28 18:13:38 2011 -0400
14550 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
14552 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
14555 gi/overrides/Gtk.py | 7 ++++---
14556 gobject/pygtype.c | 7 ++++---
14557 2 files changed, 8 insertions(+), 6 deletions(-)
14559 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
14560 Author: John (J5) Palmieri <johnp@redhat.com>
14561 Date: Tue Jun 28 17:32:29 2011 -0400
14563 [gi-invoke-ng] copy structs when transfer is full for array
14565 gi/pygi-marshal.c | 21 ++++++++++++++++++---
14566 1 file changed, 18 insertions(+), 3 deletions(-)
14568 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
14569 Author: John (J5) Palmieri <johnp@redhat.com>
14570 Date: Tue Jun 28 13:54:48 2011 -0400
14572 [gtk-override] print warning if user imports Gtk 2.0
14574 * this is needed because people file bugs not realizing they are
14576 which is not supported
14578 gi/overrides/Gtk.py | 12 ++++++++++++
14579 1 file changed, 12 insertions(+)
14581 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
14582 Author: John (J5) Palmieri <johnp@redhat.com>
14583 Date: Tue Jun 28 13:08:49 2011 -0400
14585 [gtk-overrides] allow the message_type keyword to be used for
14588 * for pygtk compat we use the type keyword for message type but
14590 the use of message_type because it is more descriptive and does
14592 with a python reserved word
14593 * if you passed message_type into a MessageDialog constructor you
14595 an error because we also convert type to message_type when
14598 * this patch looks to see if message_type was passed in as a
14600 assigns it to type while removing message_type from the keywords
14602 to avoid name clashing
14604 gi/overrides/Gtk.py | 5 +++++
14605 1 file changed, 5 insertions(+)
14607 commit 2aa12267bee91aa696633a0cea2a0accae09250a
14608 Author: Johan Dahlin <jdahlin@litl.com>
14609 Date: Mon Jun 27 10:56:20 2011 -0300
14611 Add support for enums in gobject.property
14613 https://bugzilla.gnome.org/show_bug.cgi?id=653488
14615 gobject/propertyhelper.py | 23 ++++++++++++++++-------
14616 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
14617 2 files changed, 52 insertions(+), 11 deletions(-)
14619 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
14620 Author: Johan Dahlin <jdahlin@litl.com>
14621 Date: Mon Jun 27 10:56:20 2011 -0300
14623 Add support for enums in gobject.property
14625 https://bugzilla.gnome.org/show_bug.cgi?id=653488
14627 gobject/propertyhelper.py | 23 ++++++++++++++++-------
14628 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
14629 2 files changed, 52 insertions(+), 11 deletions(-)
14631 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
14632 Author: John (J5) Palmieri <johnp@redhat.com>
14633 Date: Fri Jun 24 14:17:24 2011 -0400
14635 [gi-invoke-ng] use g_slice for allocating GValues that are caller
14638 gi/pygi-invoke-ng.c | 2 ++
14639 gi/pygi-marshal-cleanup.c | 2 ++
14640 2 files changed, 4 insertions(+)
14642 commit eff65cd2ce490296865441c3c78b7846f380459c
14643 Author: John (J5) Palmieri <johnp@redhat.com>
14644 Date: Fri Jun 24 11:49:05 2011 -0400
14646 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
14649 gi/pygi-marshal.c | 56
14650 +++++++++++++++++++++++++++++++++++++++++++------------
14651 1 file changed, 44 insertions(+), 12 deletions(-)
14653 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
14654 Author: John (J5) Palmieri <johnp@redhat.com>
14655 Date: Wed Jun 22 12:26:39 2011 -0400
14657 [gi-invoke-ng] only cache caller allocates for interfaces as some
14660 gi/pygi-cache.c | 6 ++++--
14661 1 file changed, 4 insertions(+), 2 deletions(-)
14663 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
14664 Author: John (J5) Palmieri <johnp@redhat.com>
14665 Date: Fri Jun 17 17:07:56 2011 -0400
14667 [gi-invoke-ng] handle in pointer array marshalling
14669 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
14670 1 file changed, 22 insertions(+), 6 deletions(-)
14672 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
14673 Author: Alex Eftimie <alex@eftimie.ro>
14674 Date: Fri Jun 10 08:44:04 2011 +0300
14676 Adding GPtrArray tests
14678 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
14679 1 file changed, 42 insertions(+), 1 deletion(-)
14681 commit e32c2be53175014399d89e1e85c9afc6e53c94be
14682 Author: John (J5) Palmieri <johnp@redhat.com>
14683 Date: Fri Jun 17 11:32:28 2011 -0400
14685 [gi-invoke-ng] fix array element offset calculations
14687 * use pointer arithmetic to calculate based on element size instead of
14688 relying on the size of GIArgument
14689 * special case GPtrArrays
14691 gi/pygi-marshal.c | 27 +++++++++------------------
14692 1 file changed, 9 insertions(+), 18 deletions(-)
14694 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
14695 Author: John (J5) Palmieri <johnp@redhat.com>
14696 Date: Wed Jun 15 12:46:03 2011 -0400
14698 [gi] don't clean up arguments that weren't yet processed during in
14701 gi/pygi-marshal-cleanup.c | 2 +-
14702 1 file changed, 1 insertion(+), 1 deletion(-)
14704 commit af7c93ea98b7f492eef265e58c8b3c878805524f
14705 Author: John (J5) Palmieri <johnp@redhat.com>
14706 Date: Wed Jun 15 12:06:47 2011 -0400
14708 [gi-overrides] use new instead of init when constructing a
14709 GLib.VariantBuilder
14711 * init is now skipped in the gir
14713 gi/overrides/GLib.py | 18 ++++++++----------
14714 tests/test_overrides.py | 6 ++----
14715 2 files changed, 10 insertions(+), 14 deletions(-)
14717 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
14718 Author: John (J5) Palmieri <johnp@redhat.com>
14719 Date: Wed Jun 15 11:42:45 2011 -0400
14721 [gi-invoke-ng] actual code to import overrides
14723 gi/pygi-cache.c | 7 +------
14724 1 file changed, 1 insertion(+), 6 deletions(-)
14726 commit 902575d857beffb14e56821ea8a52f705385f6bb
14727 Author: John (J5) Palmieri <johnp@redhat.com>
14728 Date: Wed Jun 15 11:25:10 2011 -0400
14730 [gi-invoke-ng] import pytypes so we get overrides
14732 gi/pygi-marshal.c | 4 +++-
14733 1 file changed, 3 insertions(+), 1 deletion(-)
14735 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
14736 Author: John (J5) Palmieri <johnp@redhat.com>
14737 Date: Tue Jun 14 16:13:37 2011 -0400
14739 [gi-invoke-ng] handle gvariants now that they are not foreign
14741 gi/pygi-marshal.c | 7 ++++++-
14742 1 file changed, 6 insertions(+), 1 deletion(-)
14744 commit c1f5651062687e800a52b5d8d16c88c0acde2934
14745 Author: John (J5) Palmieri <johnp@redhat.com>
14746 Date: Tue Jun 14 16:12:43 2011 -0400
14748 [gi-invoke-ng] do not try to clean up NULL arguments
14750 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
14751 1 file changed, 16 insertions(+), 8 deletions(-)
14753 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
14754 Merge: 499b68d 1491f62
14755 Author: John (J5) Palmieri <johnp@redhat.com>
14756 Date: Mon Jun 13 17:28:23 2011 -0400
14758 Merge branch 'master' into invoke-rewrite
14760 commit 499b68d6c9040cffc6e43dc87789d68446564a92
14761 Merge: 4c9bced 426c710
14762 Author: John (J5) Palmieri <johnp@redhat.com>
14763 Date: Mon Jun 13 17:26:37 2011 -0400
14765 Merge branch 'master' into invoke-rewrite
14767 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
14768 Author: Ignacio Casal Quinteiro <icq@gnome.org>
14769 Date: Fri Jun 10 14:01:32 2011 +0200
14771 closure: avoid double free crash
14773 gi/pygi-closure.c | 12 ++++--------
14774 1 file changed, 4 insertions(+), 8 deletions(-)
14776 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
14777 Author: Jason Siefken <siefkenj@gmail.com>
14778 Date: Fri Jun 3 23:11:17 2011 -0700
14780 Added __eq__ method for Gdk.Color and Gdk.RGBA
14782 Call Gdk.Color.equal and Gdk.RGBA.equal when
14783 == equality testing is used.
14785 gi/overrides/Gdk.py | 6 ++++++
14786 tests/test_overrides.py | 4 ++++
14787 2 files changed, 10 insertions(+)
14789 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
14790 Author: Ignacio Casal Quinteiro <icq@gnome.org>
14791 Date: Wed Jun 8 19:13:48 2011 +0200
14793 closure: Check the out arg is not null. Fixes bug #651812
14795 gi/pygi-closure.c | 3 +++
14796 1 file changed, 3 insertions(+)
14798 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
14799 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
14800 Date: Wed Jun 8 09:47:20 2011 +0200
14802 Use constants instead of literals
14804 tests/test_overrides.py | 8 ++++----
14805 1 file changed, 4 insertions(+), 4 deletions(-)
14807 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
14808 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
14809 Date: Mon Jun 6 19:07:22 2011 +0200
14811 GVariant has now a GType, take that into account
14813 https://bugzilla.gnome.org/show_bug.cgi?id=647509
14815 gi/pygi-argument.c | 8 ++++----
14816 gi/pygi-invoke.c | 20 +++++++++++++-------
14817 2 files changed, 17 insertions(+), 11 deletions(-)
14819 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
14820 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
14821 Date: Mon Jun 6 19:05:07 2011 +0200
14823 GVariantType is a boxed struct
14825 https://bugzilla.gnome.org/show_bug.cgi?id=647509
14827 gi/gimodule.c | 2 +-
14828 1 file changed, 1 insertion(+), 1 deletion(-)
14830 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
14831 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
14832 Date: Mon Jun 6 17:38:21 2011 +0200
14834 Use _gi.Struct to wrap fundamentals
14836 https://bugzilla.gnome.org/show_bug.cgi?id=647509
14838 gi/module.py | 4 +++-
14839 1 file changed, 3 insertions(+), 1 deletion(-)
14841 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
14842 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
14843 Date: Mon Jun 6 17:24:28 2011 +0200
14845 Merge gi/HACKING into /HACKING
14847 HACKING | 16 ++++++++++++++++
14848 gi/HACKING | 26 --------------------------
14849 2 files changed, 16 insertions(+), 26 deletions(-)
14851 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
14852 Author: Daniel Drake <dsd@laptop.org>
14853 Date: Fri Jun 3 16:59:15 2011 +0100
14855 Fix GC-related crash during PyGObject deallocation
14857 Python-2.7.1's GC source has the following comment:
14859 /* Python's cyclic gc should never see an incoming refcount
14860 * of 0: if something decref'ed to 0, it should have been
14861 * deallocated immediately at that time.
14862 * Possible cause (if the assert triggers): a tp_dealloc
14863 * routine left a gc-aware object tracked during its teardown
14864 * phase, and did something-- or allowed something to
14866 * that called back into Python. gc can trigger then, and may
14867 * see the still-tracked dying object. Before this assert
14868 * was added, such mistakes went on to allow gc to try to
14869 * delete the object again. In a debug build, that caused
14870 * a mysterious segfault, when _Py_ForgetReference tried
14871 * to remove the object from the doubly-linked list of all
14872 * objects a second time. In a release build, an actual
14873 * double deallocation occurred, which leads to corruption
14874 * of the allocator's internal bookkeeping pointers. That's
14875 * so serious that maybe this should be a release-build
14876 * check instead of an assert?
14879 As shown in a backtrace at
14880 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
14882 this exact mistake. Before untracking its object, pygobject_dealloc
14883 calls PyObject_ClearWeakRefs() which can call back into python, create
14884 new allocations, and trigger the GC.
14886 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
14888 crash on a regular basis while interacting with widgets or launching
14891 Fix this by untracking the object early. Also fix the same issue
14893 in the GSource wrapper.
14895 Thanks to Bernie Innocenti for initial diagnosis.
14897 glib/pygsource.c | 6 ++++--
14898 gobject/pygobject.c | 8 +++++++-
14899 2 files changed, 11 insertions(+), 3 deletions(-)
14901 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
14902 Author: John (J5) Palmieri <johnp@redhat.com>
14903 Date: Tue May 31 16:59:41 2011 -0400
14905 [gi-invoke-ng] enable invoke-ng by default
14907 configure.ac | 8 ++++----
14908 1 file changed, 4 insertions(+), 4 deletions(-)
14910 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
14911 Author: John (J5) Palmieri <johnp@redhat.com>
14912 Date: Tue May 31 16:37:21 2011 -0400
14914 [gi-invoke-ng] add code to clean up when input values fail to marshal
14916 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
14917 1 file changed, 25 insertions(+), 5 deletions(-)
14919 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
14920 Author: John (J5) Palmieri <johnp@redhat.com>
14921 Date: Tue May 31 16:01:03 2011 -0400
14923 [gi-invoke-ng] add hash cleanup routines
14925 gi/pygi-cache.c | 2 ++
14926 gi/pygi-marshal-cleanup.c | 64
14927 +++++++++++++++++++++++++++++++++++++++++++++++
14928 gi/pygi-marshal-cleanup.h | 10 ++++++--
14929 3 files changed, 74 insertions(+), 2 deletions(-)
14931 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
14932 Author: John (J5) Palmieri <johnp@redhat.com>
14933 Date: Tue May 31 14:47:30 2011 -0400
14935 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
14937 gi/pygi-marshal-cleanup.c | 3 ++-
14938 1 file changed, 2 insertions(+), 1 deletion(-)
14940 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
14941 Author: John (J5) Palmieri <johnp@redhat.com>
14942 Date: Tue May 31 14:40:49 2011 -0400
14944 [gi-invoke-ng] add list cleanup routines
14946 gi/pygi-cache.c | 8 ++---
14947 gi/pygi-marshal-cleanup.c | 84
14948 +++++++++++++++++++++++++++++++++++++++++++++++
14949 gi/pygi-marshal-cleanup.h | 8 +++++
14950 3 files changed, 96 insertions(+), 4 deletions(-)
14952 commit 2e542c327cd52c1f77af28905557dd25c64175d8
14953 Author: John (J5) Palmieri <johnp@redhat.com>
14954 Date: Thu May 26 16:10:13 2011 -0400
14958 gi/pygi-marshal.c | 8 ++++----
14959 1 file changed, 4 insertions(+), 4 deletions(-)
14961 commit 601aec11c49e821fe97dd30a2187fe3c75844712
14962 Author: John (J5) Palmieri <johnp@redhat.com>
14963 Date: Thu May 26 16:09:38 2011 -0400
14965 [gi-invoke-ng] add out array cleanup
14967 gi/pygi-cache.c | 2 +-
14968 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
14969 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
14970 3 files changed, 56 insertions(+), 7 deletions(-)
14972 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
14973 Author: John (J5) Palmieri <johnp@redhat.com>
14974 Date: Thu May 26 13:22:38 2011 -0400
14976 [gi-invoke-ng] do not allocate null terminator for garray
14978 * We are simply setting our own array so we don't want any allocate
14981 gi/pygi-marshal.c | 2 +-
14982 1 file changed, 1 insertion(+), 1 deletion(-)
14984 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
14985 Author: John (J5) Palmieri <johnp@redhat.com>
14986 Date: Thu May 26 13:21:55 2011 -0400
14988 [gi-invoke-ng] add array cleanup for in arrays
14990 gi/pygi-cache.c | 2 +-
14991 gi/pygi-marshal-cleanup.c | 72
14992 ++++++++++++++++++++++++++++++++++++++++++++++-
14993 gi/pygi-marshal-cleanup.h | 9 ++++++
14994 gi/pygi-marshal.c | 13 +++++++--
14995 4 files changed, 91 insertions(+), 5 deletions(-)
14997 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
14998 Author: John (J5) Palmieri <johnp@redhat.com>
14999 Date: Mon May 23 17:06:30 2011 -0400
15001 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
15003 gi/pygi-invoke-ng.c | 7 +------
15004 gi/pygi-invoke-state-struct.h | 14 --------------
15005 2 files changed, 1 insertion(+), 20 deletions(-)
15007 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
15008 Author: John (J5) Palmieri <johnp@redhat.com>
15009 Date: Mon May 23 16:59:57 2011 -0400
15011 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
15014 * cleanup now has symmetry with setup so there are now in and out
15016 for each type that needs to be cleaned up
15017 * no longer use state machine but instead call different cleanup
15019 different stages of invoke, making it easier to understand what
15023 gi/pygi-cache.c | 19 ++-
15024 gi/pygi-cache.h | 7 +-
15025 gi/pygi-invoke-ng.c | 10 +-
15026 gi/pygi-invoke-state-struct.h | 2 +
15027 gi/pygi-marshal-cleanup.c | 301
15028 +++++++++++++++++-------------------------
15029 gi/pygi-marshal-cleanup.h | 45 ++++---
15030 gi/pygi-marshal.c | 15 +--
15031 7 files changed, 174 insertions(+), 225 deletions(-)
15033 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
15034 Author: John (J5) Palmieri <johnp@redhat.com>
15035 Date: Thu May 12 17:29:20 2011 -0400
15037 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
15039 * The state machine concept of cleaning up was getting a bit messy.
15040 It was like we took a big bowl of spaghetti code and dumped it.
15041 * Now we call specific cleanup functions at the point of failure (or
15042 successful completion of a marshalling stage)
15044 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
15045 gi/pygi-marshal-cleanup.c | 72
15046 +++++++++++++++++++++++++++++++++++++++++++++++
15047 gi/pygi-marshal-cleanup.h | 14 +++++++++
15048 3 files changed, 135 insertions(+), 10 deletions(-)
15050 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
15051 Author: José Alburquerque <jaalburqu@svn.gnome.org>
15052 Date: Thu May 12 11:53:40 2011 -0400
15054 Doc Extractor: Correct the logic of the --no-since option.
15056 * codegen/docextract.py (process_final_sections): If the
15058 option has been specified and a "Since:" is encountered during the
15059 processing of the final sections, simply don't append the
15061 instead of reading the next line. This preserves the logical
15065 codegen/docextract.py | 4 ++--
15066 1 file changed, 2 insertions(+), 2 deletions(-)
15068 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
15069 Author: José Alburquerque <jaalburqu@svn.gnome.org>
15070 Date: Mon May 9 17:32:09 2011 -0400
15072 Doc Extractor: Add a --no-since option.
15074 * codegen/docextract.py:
15075 * codegen/docextract_to_xml.py: Modified so that if a --no-since
15076 option is specified at the command line, the "Since: ..." portion
15078 the gtkdoc function block is omitted. This is useful for C++
15080 such as gstreamermm where this information would not be useful
15082 as the C API is still unstable.
15084 codegen/docextract.py | 15 ++++++++++++++-
15085 codegen/docextract_to_xml.py | 9 ++++++---
15086 2 files changed, 20 insertions(+), 4 deletions(-)
15088 commit 4f615c6e300d6f2d7551b640efa301060206ab58
15089 Author: John (J5) Palmieri <johnp@redhat.com>
15090 Date: Thu May 5 14:04:34 2011 -0400
15092 [gi-invoke-ng] tweek cleanup routines
15094 gi/pygi-cache.c | 5 +++
15095 gi/pygi-marshal-cleanup.c | 87
15096 +++++++++++++++++++++++++++++++++++------------
15097 gi/pygi-marshal-cleanup.h | 6 ++--
15098 gi/pygi-marshal.c | 11 ++----
15099 4 files changed, 76 insertions(+), 33 deletions(-)
15101 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
15102 Author: Martin Pitt <martin.pitt@ubuntu.com>
15103 Date: Mon May 2 15:49:52 2011 +0200
15105 Fix symbol names to be locale independent
15107 We currently use upper() to present enum values, which are usually
15109 lower case in the typelib, in upper cases. However, upper() is locale
15110 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
15111 because Turkish has some extra variants of "i".
15113 Use a local ASCII-only translate() call instead to avoid this. Thanks
15115 Philippsen for the idea!
15117 This also adds a test locale "te_ST@nouppera" which defines
15118 toupper('a') == 'a'.
15119 Run the Enum tests under this locale to reproduce the bug and verify
15122 https://bugzilla.gnome.org/show_bug.cgi?id=649165
15124 gi/module.py | 9 ++++++++-
15125 tests/te_ST@nouppera | 50
15126 ++++++++++++++++++++++++++++++++++++++++++++++++++
15127 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
15128 3 files changed, 88 insertions(+), 1 deletion(-)
15130 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
15131 Author: Martin Pitt <martin.pitt@ubuntu.com>
15132 Date: Wed May 4 08:35:27 2011 +0200
15134 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
15136 pygi-convert.sh | 1 +
15137 1 file changed, 1 insertion(+)
15139 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
15140 Author: John (J5) Palmieri <johnp@redhat.com>
15141 Date: Fri Apr 29 17:41:08 2011 -0400
15143 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
15145 gi/pygi-cache.c | 2 ++
15146 1 file changed, 2 insertions(+)
15148 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
15149 Author: John (J5) Palmieri <johnp@redhat.com>
15150 Date: Fri Apr 29 17:40:13 2011 -0400
15152 [gi-invoke-ng] handle caller allocates cleanup
15154 gi/pygi-invoke-ng.c | 5 ++-
15155 gi/pygi-marshal-cleanup.c | 104
15156 ++++++++++++++++++++++++++++++++++++----------
15157 gi/pygi-marshal-cleanup.h | 7 ++--
15158 3 files changed, 90 insertions(+), 26 deletions(-)
15160 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
15161 Author: John (J5) Palmieri <johnp@redhat.com>
15162 Date: Thu Apr 28 19:16:02 2011 -0400
15164 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
15167 gi/pygi-cache.c | 15 ++-----------
15168 gi/pygi-invoke-ng.c | 8 +++----
15169 gi/pygi-invoke-state-struct.h | 2 ++
15170 gi/pygi-marshal-cleanup.c | 51
15171 ++++++++++++++++++++++++++++++++++++++++++-
15172 gi/pygi-marshal-cleanup.h | 3 +++
15173 5 files changed, 60 insertions(+), 19 deletions(-)
15175 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
15176 Author: John (J5) Palmieri <johnp@redhat.com>
15177 Date: Wed Apr 27 15:47:19 2011 -0400
15179 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
15182 * PyCObject is deprecated and pycairo 1.10.0 is first release to
15185 configure.ac | 15 +++++++++++----
15186 gi/pygi-foreign-cairo.c | 2 +-
15187 2 files changed, 12 insertions(+), 5 deletions(-)
15189 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
15190 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15191 Date: Thu Apr 21 16:52:20 2011 +0200
15193 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
15195 gi/pygi-foreign-cairo.c | 7 ++++++-
15196 1 file changed, 6 insertions(+), 1 deletion(-)
15198 commit 3e933784df423757e591d703614cb700adb0bbe0
15199 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15200 Date: Mon Apr 18 18:36:25 2011 +0200
15204 pygobject.doap | 15 +++++++++++++++
15205 1 file changed, 15 insertions(+)
15207 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
15208 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15209 Date: Sat Apr 16 16:02:05 2011 +0200
15211 [gi] Don't create variant twice
15213 gi/overrides/GLib.py | 2 +-
15214 1 file changed, 1 insertion(+), 1 deletion(-)
15216 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
15217 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15218 Date: Fri Apr 15 16:14:43 2011 +0200
15220 pygi-convert.sh: Make sure the uppercase GObject module is imported
15221 instead of the lowercase
15223 https://bugzilla.gnome.org/show_bug.cgi?id=647736
15225 pygi-convert.sh | 1 +
15226 1 file changed, 1 insertion(+)
15228 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
15229 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15230 Date: Fri Apr 15 15:58:53 2011 +0200
15232 [gi] Removed hack to avoid using GLib.Variant.new_variant.
15234 The bug in the annotations of GLib is fixed now.
15235 https://bugzilla.gnome.org/show_bug.cgi?id=639952
15236 https://bugzilla.gnome.org/show_bug.cgi?id=647796
15238 gi/overrides/GLib.py | 14 +-------------
15239 1 file changed, 1 insertion(+), 13 deletions(-)
15241 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
15242 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15243 Date: Fri Apr 15 15:58:31 2011 +0200
15245 [gi] Added additional test case for GVariant handling
15247 tests/test_overrides.py | 15 +++++++++++++++
15248 1 file changed, 15 insertions(+)
15250 commit 138df2778543409752e229a09828a805f68a420d
15251 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15252 Date: Mon Apr 11 18:34:31 2011 +0200
15254 [gi] Added support for GVariant arguments
15256 This is required in order for the "g-signal" signal of GDBusProxy
15257 to work properly and thus to properly receive DBus signals with any
15260 https://bugzilla.gnome.org/show_bug.cgi?id=647477
15262 gi/pygi-argument.c | 2 ++
15263 1 file changed, 2 insertions(+)
15265 commit 985f239d891c7697d76ccecb797b189669ae6ee1
15266 Author: John (J5) Palmieri <johnp@redhat.com>
15267 Date: Tue Mar 22 18:46:28 2011 -0400
15269 fix static ABI for setting string gvalues from python objects
15271 * the static bindings used to be able to set a string gvalue to
15273 object that implemented __str__, for instance when setting a
15275 * this restores that code while still keeping unicode and python 3
15278 gobject/pygtype.c | 28 +++++++++++++++++++---------
15279 tests/test_properties.py | 8 ++++++++
15280 2 files changed, 27 insertions(+), 9 deletions(-)
15282 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
15283 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
15284 Date: Tue Mar 22 20:47:51 2011 +0100
15286 dsextras.py: ensure eol characters are preserved when writing template
15287 files (so \n does not become \r\n)
15290 1 file changed, 1 insertion(+), 1 deletion(-)
15292 commit 629d267478982c426ba61a639d5c9603fed856e6
15293 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
15294 Date: Tue Mar 22 11:35:44 2011 +0100
15296 dsextras.py: remove \r as wel as \n character
15299 1 file changed, 1 insertion(+), 1 deletion(-)
15301 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
15302 Author: John (J5) Palmieri <johnp@redhat.com>
15303 Date: Wed Apr 27 15:47:19 2011 -0400
15305 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
15308 * PyCObject is deprecated and pycairo 1.10.0 is first release to
15311 configure.ac | 15 +++++++++++----
15312 gi/pygi-foreign-cairo.c | 2 +-
15313 2 files changed, 12 insertions(+), 5 deletions(-)
15315 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
15316 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15317 Date: Thu Apr 21 16:52:20 2011 +0200
15319 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
15321 gi/pygi-foreign-cairo.c | 7 ++++++-
15322 1 file changed, 6 insertions(+), 1 deletion(-)
15324 commit 91ec337359720839862d3f5a8a0ea98f760a0752
15325 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15326 Date: Mon Apr 18 18:36:25 2011 +0200
15330 pygobject.doap | 15 +++++++++++++++
15331 1 file changed, 15 insertions(+)
15333 commit 05c766044c83340c44564d0097514bfc1d1d9df7
15334 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15335 Date: Sat Apr 16 16:02:05 2011 +0200
15337 [gi] Don't create variant twice
15339 gi/overrides/GLib.py | 2 +-
15340 1 file changed, 1 insertion(+), 1 deletion(-)
15342 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
15343 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15344 Date: Fri Apr 15 16:14:43 2011 +0200
15346 pygi-convert.sh: Make sure the uppercase GObject module is imported
15347 instead of the lowercase
15349 https://bugzilla.gnome.org/show_bug.cgi?id=647736
15351 pygi-convert.sh | 1 +
15352 1 file changed, 1 insertion(+)
15354 commit af31729573de24161ee90563e5738187c749783c
15355 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15356 Date: Fri Apr 15 15:58:53 2011 +0200
15358 [gi] Removed hack to avoid using GLib.Variant.new_variant.
15360 The bug in the annotations of GLib is fixed now.
15361 https://bugzilla.gnome.org/show_bug.cgi?id=639952
15362 https://bugzilla.gnome.org/show_bug.cgi?id=647796
15364 gi/overrides/GLib.py | 14 +-------------
15365 1 file changed, 1 insertion(+), 13 deletions(-)
15367 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
15368 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15369 Date: Fri Apr 15 15:58:31 2011 +0200
15371 [gi] Added additional test case for GVariant handling
15373 tests/test_overrides.py | 15 +++++++++++++++
15374 1 file changed, 15 insertions(+)
15376 commit 65aa040e86d94ee6bb227a2bce09668b60208027
15377 Author: John (J5) Palmieri <johnp@redhat.com>
15378 Date: Tue Apr 12 14:51:35 2011 -0400
15380 [gi-invoke-ng] fix prototype
15382 gi/pygi-cache.h | 2 +-
15383 1 file changed, 1 insertion(+), 1 deletion(-)
15385 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
15386 Author: John (J5) Palmieri <johnp@redhat.com>
15387 Date: Tue Apr 12 14:48:16 2011 -0400
15389 [gi-invoke-ng] create new framework for cleaning up args
15391 * we now have a state machine so we know what point in the marshalling
15393 we are and which args need to be cleaned up
15394 * call the cleanup functions after invoking the gi callable, after
15396 the out parameters and at any time an error occures
15398 gi/Makefile.am | 4 ++-
15399 gi/pygi-cache.c | 25 +++++++------
15400 gi/pygi-cache.h | 5 ++-
15401 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
15402 gi/pygi-invoke-state-struct.h | 13 +++++++
15403 gi/pygi-marshal-cleanup.c | 81
15404 +++++++++++++++++++++++++++++++++++++++++++
15405 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
15406 gi/pygi-marshal.c | 1 +
15407 8 files changed, 187 insertions(+), 19 deletions(-)
15409 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
15410 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15411 Date: Mon Apr 11 18:34:31 2011 +0200
15413 [gi] Added support for GVariant arguments
15415 This is required in order for the "g-signal" signal of GDBusProxy
15416 to work properly and thus to properly receive DBus signals with any
15419 https://bugzilla.gnome.org/show_bug.cgi?id=647477
15421 gi/pygi-argument.c | 2 ++
15422 1 file changed, 2 insertions(+)
15424 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
15425 Author: John (J5) Palmieri <johnp@redhat.com>
15426 Date: Wed Mar 30 16:40:31 2011 -0400
15428 [gi-invoke-ng] fix marshal header that is no longer part of
15431 gi/pygi-marshal.h | 8 ++++----
15432 1 file changed, 4 insertions(+), 4 deletions(-)
15434 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
15435 Author: John (J5) Palmieri <johnp@redhat.com>
15436 Date: Wed Mar 30 15:53:13 2011 -0400
15438 [gi-invoke-ng] code style space fixes
15440 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
15441 gi/pygi-invoke-ng.c | 145 +++++++-------
15442 gi/pygi-marshal.c | 565
15443 ++++++++++++++++++++++++++--------------------------
15444 3 files changed, 566 insertions(+), 564 deletions(-)
15446 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
15447 Author: John (J5) Palmieri <johnp@redhat.com>
15448 Date: Tue Mar 29 16:54:44 2011 -0400
15450 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
15452 gi/pygi-invoke-ng.c | 1 -
15453 1 file changed, 1 deletion(-)
15455 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
15456 Author: John (J5) Palmieri <johnp@redhat.com>
15457 Date: Tue Mar 29 15:23:06 2011 -0400
15459 [gi-invoke-ng] return None when appropriate so we don't crash
15461 gi/pygi-marshal.c | 18 +++++++++++++++++-
15462 1 file changed, 17 insertions(+), 1 deletion(-)
15464 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
15465 Author: John (J5) Palmieri <johnp@redhat.com>
15466 Date: Tue Mar 29 15:21:41 2011 -0400
15468 [gi-invoke-ng] fix aux value caching
15470 gi/pygi-cache.c | 15 ++++++++++-----
15471 1 file changed, 10 insertions(+), 5 deletions(-)
15473 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
15474 Author: John (J5) Palmieri <johnp@redhat.com>
15475 Date: Mon Mar 28 20:25:46 2011 -0400
15477 [gi-invoke-ng] backport handling flags with no gtype
15479 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
15480 1 file changed, 24 insertions(+), 1 deletion(-)
15482 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
15483 Author: John (J5) Palmieri <johnp@redhat.com>
15484 Date: Mon Mar 28 18:32:00 2011 -0400
15486 [gi-invoke-ng] backport raw gvalue handling
15488 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
15489 1 file changed, 18 insertions(+), 5 deletions(-)
15491 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
15492 Author: John (J5) Palmieri <johnp@redhat.com>
15493 Date: Mon Mar 28 18:30:31 2011 -0400
15495 [gi-invoke-ng] marshal instances seperately since they differ slightly
15498 gi/pygi-cache.c | 2 +-
15499 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
15500 2 files changed, 39 insertions(+), 1 deletion(-)
15502 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
15503 Author: John (J5) Palmieri <johnp@redhat.com>
15504 Date: Mon Mar 28 18:26:09 2011 -0400
15506 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
15508 gi/pygi-cache.c | 392
15509 +++++++++++++++++++++++++++-------------------------
15510 gi/pygi-cache.h | 12 +-
15511 gi/pygi-info.c | 2 +-
15512 gi/pygi-invoke-ng.c | 40 +++---
15513 gi/pygi-marshal.c | 140 +++++++++----------
15514 gi/pygi-marshal.h | 159 +++++++++------------
15516 7 files changed, 362 insertions(+), 385 deletions(-)
15518 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
15519 Author: John (J5) Palmieri <johnp@redhat.com>
15520 Date: Mon Mar 28 15:01:12 2011 -0400
15522 [gi-invoke-rewrite] backport glib error handling
15524 gi/pygi-invoke-ng.c | 14 ++++++--------
15525 1 file changed, 6 insertions(+), 8 deletions(-)
15527 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
15528 Author: John (J5) Palmieri <johnp@redhat.com>
15529 Date: Fri Mar 25 18:48:42 2011 -0400
15531 [gi-invoke-ng] backport closure passing from invoke
15533 gi/pygi-marshal.c | 13 ++++++++++---
15534 1 file changed, 10 insertions(+), 3 deletions(-)
15536 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
15537 Author: John (J5) Palmieri <johnp@redhat.com>
15538 Date: Fri Mar 25 18:47:36 2011 -0400
15540 [gi-invoke-ng] handle vfuncs and fix cosntrutors
15542 gi/pygi-cache.c | 9 +++++++
15543 gi/pygi-cache.h | 2 ++
15544 gi/pygi-invoke-ng.c | 56
15545 ++++++++++++++++++++++++++++++++-----------
15546 gi/pygi-invoke-state-struct.h | 2 ++
15547 4 files changed, 55 insertions(+), 14 deletions(-)
15549 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
15550 Author: John (J5) Palmieri <johnp@redhat.com>
15551 Date: Fri Mar 25 18:39:06 2011 -0400
15553 [gi-invoke-ng] handle foreign types correctly
15555 gi/pygi-cache.c | 22 ++++++----------------
15556 gi/pygi-marshal.c | 3 +++
15557 2 files changed, 9 insertions(+), 16 deletions(-)
15559 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
15560 Author: John (J5) Palmieri <johnp@redhat.com>
15561 Date: Fri Mar 25 13:14:01 2011 -0400
15563 [gi] remove the class parameter from the argument list of constructors
15565 * constructors pass in their class to be constructed. Since we
15567 and g_object_new to do the construction we ignore this for now but
15568 keep it around in the state for future use.
15570 gi/pygi-invoke-ng.c | 46
15571 +++++++++++++++++++++++++++++++++++++------
15572 gi/pygi-invoke-state-struct.h | 1 +
15573 2 files changed, 41 insertions(+), 6 deletions(-)
15575 commit 0534eb0e843cdf09611143da184052f7e549e4dc
15576 Author: John (J5) Palmieri <johnp@redhat.com>
15577 Date: Tue Mar 22 18:46:28 2011 -0400
15579 fix static ABI for setting string gvalues from python objects
15581 * the static bindings used to be able to set a string gvalue to
15583 object that implemented __str__, for instance when setting a
15585 * this restores that code while still keeping unicode and python 3
15588 gobject/pygtype.c | 28 +++++++++++++++++++---------
15589 tests/test_properties.py | 8 ++++++++
15590 2 files changed, 27 insertions(+), 9 deletions(-)
15592 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
15593 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
15594 Date: Tue Mar 22 20:47:51 2011 +0100
15596 dsextras.py: ensure eol characters are preserved when writing template
15597 files (so \n does not become \r\n)
15600 1 file changed, 1 insertion(+), 1 deletion(-)
15602 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
15603 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
15604 Date: Tue Mar 22 11:35:44 2011 +0100
15606 dsextras.py: remove \r as wel as \n character
15609 1 file changed, 1 insertion(+), 1 deletion(-)
15611 commit 86c436978c933f6ebe17627abe98325ce66f6baa
15612 Author: John (J5) Palmieri <johnp@redhat.com>
15613 Date: Tue Mar 22 16:13:58 2011 -0400
15615 [gi] make new invoke-ng codepath compile correctly
15618 gi/Makefile.am | 5 +-
15619 gi/pygi-cache.c | 2 +-
15620 gi/pygi-invoke-ng.c | 841 ----------------------
15621 gi/pygi-marshal.c | 1962
15622 +--------------------------------------------------
15623 gi/pygi-private.h | 4 +-
15624 6 files changed, 9 insertions(+), 2809 deletions(-)
15626 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
15627 Author: John (J5) Palmieri <johnp@redhat.com>
15628 Date: Tue Mar 22 15:40:02 2011 -0400
15630 [gi] conditionalize invoke code paths
15632 configure.ac | 7 +++++++
15633 gi/Makefile.am | 20 +++++++++++++++-----
15634 gi/pygi-cache.h | 2 ++
15635 gi/pygi-info.c | 4 +++-
15636 gi/pygi-private.h | 9 +++++++--
15638 6 files changed, 37 insertions(+), 9 deletions(-)
15640 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
15641 Author: John (J5) Palmieri <johnp@redhat.com>
15642 Date: Tue Mar 22 15:37:24 2011 -0400
15644 [gi] revert back to the type.py from master
15646 gi/types.py | 21 +++++++++++++++------
15647 1 file changed, 15 insertions(+), 6 deletions(-)
15649 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
15650 Author: John (J5) Palmieri <johnp@redhat.com>
15651 Date: Tue Mar 22 14:46:29 2011 -0400
15653 [gi] revert pygi-argument.h and move the invoke-ng code to
15656 gi/pygi-argument.h | 268 +-----------------------------------------
15657 gi/pygi-marshal.h | 336
15658 +++++++++++++++++++++++++++++++++++++++++++++++++++++
15659 2 files changed, 337 insertions(+), 267 deletions(-)
15661 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
15662 Merge: 7332a1b 01596a9
15663 Author: John (J5) Palmieri <johnp@redhat.com>
15664 Date: Tue Mar 22 13:34:36 2011 -0400
15666 Merge branch 'master' into invoke-rewrite
15671 gi/pygi-foreign-cairo.c
15672 gi/pygi-foreign-gvariant.c
15673 gi/pygi-foreign-gvariant.h
15679 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
15680 Author: John (J5) Palmieri <johnp@redhat.com>
15681 Date: Tue Mar 22 13:20:54 2011 -0400
15683 [gi] foreign types now take interface infos instead of type infos
15685 * this is a prep for the invoke-rewrite branch
15686 * when marshalling foreign structs we may not have the type info but
15687 we will always have the interface info to pass
15688 * this simplifies the code because we were simply converting the
15689 type info back to an interface info anyway so there is less
15690 refcounting to keep track of
15691 * also fixes a bug where we were leaking PyNone ref counts
15693 gi/pygi-argument.c | 4 ++--
15694 gi/pygi-foreign-cairo.c | 16 ++++++++--------
15695 gi/pygi-foreign-gvariant.c | 12 ++++++------
15696 gi/pygi-foreign.c | 32 +++++++++++++-------------------
15697 gi/pygi-foreign.h | 8 ++++----
15698 gi/pygi-invoke.c | 6 +++---
15699 gi/pygi.h | 12 ++++++------
15700 7 files changed, 42 insertions(+), 48 deletions(-)
15702 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
15703 Author: Martin Pitt <martin.pitt@ubuntu.com>
15704 Date: Tue Mar 22 15:04:01 2011 +0100
15706 Fix GSchema tests for separate build tree
15708 When using a separate build tree, the compiled GSettings schema will
15710 build tree, but as the test scripts are only in the source tree they
15712 the compiled schema. Pass the build dir as environment variable and
15714 over test_overrides.py's directory.
15716 tests/Makefile.am | 3 ++-
15717 tests/test_overrides.py | 4 +++-
15718 2 files changed, 5 insertions(+), 2 deletions(-)
15720 commit 7332a1b99775519fdc5500cab6628b713e946a8c
15721 Author: John (J5) Palmieri <johnp@redhat.com>
15722 Date: Mon Mar 21 19:03:29 2011 -0400
15724 [gi] start of merge from master
15726 * move some of the modified files that will cause merge conflicts
15728 own, nonconflicting files
15729 * copy the old files out of master
15731 gi/pygi-argument.c | 2101 +++------------------------
15732 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
15733 gi/pygi-invoke.c | 421 ++----
15734 gi/pygi-marshal.c | 3916
15735 +++++++++++++++++++++++++++++++++++++++++++++++++++
15736 4 files changed, 5389 insertions(+), 2228 deletions(-)
15738 commit 62b49dae97441953452d097cb1751df14302547a
15739 Author: John (J5) Palmieri <johnp@redhat.com>
15740 Date: Wed Mar 16 17:34:18 2011 -0400
15742 [gi] marshal raw closures
15744 * before we were able to marshal python callables into methods
15746 GClosures but we had no way to take a GClosure returned from one
15747 method and pass it to another - this enables that usecase
15749 https://bugzilla.gnome.org/show_bug.cgi?id=644757
15751 gi/pygi-argument.c | 17 ++++++++++-------
15752 tests/test_gi.py | 4 ++++
15753 2 files changed, 14 insertions(+), 7 deletions(-)
15755 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
15756 Author: John Stowers <john.stowers@gmail.com>
15757 Date: Sun Mar 6 23:41:01 2011 +1300
15759 pygi-convert.sh add GObject.xxx and webkit
15761 https://bugzilla.gnome.org/show_bug.cgi?id=644347
15763 pygi-convert.sh | 7 +++++++
15764 1 file changed, 7 insertions(+)
15766 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
15767 Author: John Stowers <john.stowers@gmail.com>
15768 Date: Sun Mar 6 23:41:30 2011 +1300
15770 pygi-convert.sh remove gobject tests, GObject works now
15772 https://bugzilla.gnome.org/show_bug.cgi?id=644347
15774 pygi-convert.sh | 28 ----------------------------
15775 1 file changed, 28 deletions(-)
15777 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
15778 Author: John (J5) Palmieri <johnp@redhat.com>
15779 Date: Fri Mar 11 14:09:02 2011 -0500
15781 [gi-demos] add pickers demo
15783 demos/gtk-demo/demos/pickers.py | 74
15784 +++++++++++++++++++++++++++++++++++++++++
15785 1 file changed, 74 insertions(+)
15787 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
15788 Author: John (J5) Palmieri <johnp@redhat.com>
15789 Date: Thu Mar 10 18:12:50 2011 -0500
15791 [gi-demos] add menu demo
15793 demos/gtk-demo/demos/menus.py | 122
15794 ++++++++++++++++++++++++++++++++++++++++++
15795 1 file changed, 122 insertions(+)
15797 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
15798 Author: John (J5) Palmieri <johnp@redhat.com>
15799 Date: Wed Mar 9 13:02:50 2011 -0500
15801 [gi-overrides] fix exception block so it works in Python 2.5
15803 gi/overrides/Gio.py | 5 ++++-
15804 1 file changed, 4 insertions(+), 1 deletion(-)
15806 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
15807 Author: Martin Pitt <martin.pitt@ubuntu.com>
15808 Date: Mon Mar 21 13:19:58 2011 +0100
15810 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
15812 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
15814 This introduces additional libpython dependencies, which breaks
15816 which support multiple Python versions, and also causes the python
15818 to be in memory twice in some cases.
15820 https://bugzilla.gnome.org/show_bug.cgi?id=620215
15822 gi/Makefile.am | 4 +---
15823 glib/Makefile.am | 2 +-
15824 m4/python.m4 | 7 ++-----
15825 tests/Makefile.am | 2 +-
15826 4 files changed, 5 insertions(+), 10 deletions(-)
15828 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
15829 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
15830 Date: Fri Mar 18 17:06:08 2011 +0100
15832 setup.py: fix user_access_control option
15835 1 file changed, 1 insertion(+), 1 deletion(-)
15837 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
15838 Author: Martin Pitt <martin.pitt@ubuntu.com>
15839 Date: Wed Mar 16 10:22:35 2011 +0100
15841 [gi] Respect the MessageType for Gtk.MessageDialog
15843 Don't just ignore the type argument, actually pass it on. Thanks
15845 Chou for spotting this!
15847 gi/overrides/Gtk.py | 1 +
15848 1 file changed, 1 insertion(+)
15850 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
15851 Author: Martin Pitt <martin.pitt@ubuntu.com>
15852 Date: Tue Mar 15 10:22:39 2011 +0100
15854 [gi] Do not require signature for D-BUS methods without arguments
15856 Calling methods on DBusProxy objects usually requires specifying
15858 as first argument. However, if the D-BUS method does not take any
15860 specifying the empty '()' signature does not give any additional
15862 so allow the caller to just call the proxy method without any
15865 Also ensure that passing a non-string signature raises a
15867 exception, instead of crashing deep in the GVariant leaf constructor.
15869 https://bugzilla.gnome.org/show_bug.cgi?id=644260
15871 gi/overrides/Gio.py | 16 +++++++++++++++-
15872 tests/test_gdbus.py | 13 +++++++++++++
15873 2 files changed, 28 insertions(+), 1 deletion(-)
15875 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
15876 Author: John Stowers <john.stowers@gmail.com>
15877 Date: Sun Mar 6 23:05:33 2011 +1300
15879 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
15881 https://bugzilla.gnome.org/show_bug.cgi?id=644343
15883 gi/overrides/Gtk.py | 2 ++
15884 1 file changed, 2 insertions(+)
15886 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
15887 Author: John Stowers <john.stowers@gmail.com>
15888 Date: Sun Mar 6 17:48:04 2011 +1300
15890 [gi-demos] dont try and run demos that represent directories
15892 demos/gtk-demo/gtk-demo.py | 3 ++-
15893 1 file changed, 2 insertions(+), 1 deletion(-)
15895 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
15896 Author: John (J5) Palmieri <johnp@redhat.com>
15897 Date: Mon Mar 7 18:09:18 2011 -0500
15899 [gi-demos] some python 3 compat fixes
15901 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
15902 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
15903 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
15904 demos/gtk-demo/gtk-demo.py | 4 ++--
15905 4 files changed, 11 insertions(+), 5 deletions(-)
15907 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
15908 Author: John (J5) Palmieri <johnp@redhat.com>
15909 Date: Tue Feb 22 15:07:40 2011 -0500
15911 [gi-demos] add liststore demo
15913 demos/gtk-demo/demos/Tree View/__init__.py | 0
15914 demos/gtk-demo/demos/Tree View/liststore.py | 205
15915 ++++++++++++++++++++++++++++
15916 2 files changed, 205 insertions(+)
15918 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
15919 Author: John (J5) Palmieri <johnp@redhat.com>
15920 Date: Mon Mar 7 18:08:40 2011 -0500
15922 [gi-demos] catch the correct error class
15924 demos/gtk-demo/demos/images.py | 11 ++++++-----
15925 1 file changed, 6 insertions(+), 5 deletions(-)
15927 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
15928 Author: Steve Frécinaux <code@istique.net>
15929 Date: Sun Mar 6 21:18:36 2011 +0100
15931 Do not leak python references when using the gobject.property()
15934 Since this helper was storing plain references in a long-lived
15936 refcount for the instances would never drop to zero, and so they would
15937 never get finalized.
15939 https://bugzilla.gnome.org/show_bug.cgi?id=644039
15941 gobject/propertyhelper.py | 5 ++---
15942 tests/test_properties.py | 23 +++++++++++++++++++++++
15943 2 files changed, 25 insertions(+), 3 deletions(-)
15945 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
15946 Author: John (J5) Palmieri <johnp@redhat.com>
15947 Date: Fri Mar 4 12:25:49 2011 -0500
15949 handle uchar as bytes, not strings in python 3
15951 * This worked in Python2 because bytes and strings are equivilant
15953 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
15954 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
15956 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
15957 and a PyBytes object in Python 3
15959 gobject/pygtype.c | 2 +-
15960 1 file changed, 1 insertion(+), 1 deletion(-)
15962 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
15963 Author: John (J5) Palmieri <johnp@redhat.com>
15964 Date: Fri Mar 4 12:24:35 2011 -0500
15966 [gi-overrides] handle unichar gvalues when setting treemodels
15968 gi/overrides/Gtk.py | 10 ++++++++++
15969 1 file changed, 10 insertions(+)
15971 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
15972 Author: John (J5) Palmieri <johnp@redhat.com>
15973 Date: Fri Mar 4 11:43:51 2011 -0500
15975 [gi-overrides] special case python 2 keywords that crept in
15977 gi/overrides/Gtk.py | 6 +++++-
15978 tests/test_overrides.py | 8 ++++----
15979 2 files changed, 9 insertions(+), 5 deletions(-)
15981 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
15982 Author: John (J5) Palmieri <johnp@redhat.com>
15983 Date: Fri Mar 4 11:10:16 2011 -0500
15985 check for the py3 _thread module in configure.ac if thread is
15988 configure.ac | 6 +++++-
15989 1 file changed, 5 insertions(+), 1 deletion(-)
15991 commit 4645af87d3c587f535404867dab56608719e5c7b
15992 Author: John (J5) Palmieri <johnp@redhat.com>
15993 Date: Fri Mar 4 00:39:23 2011 -0500
15995 [gi-demos] add iconview demo
15997 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
15998 +++++++++++++++++++++++
15999 1 file changed, 212 insertions(+)
16001 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
16002 Author: John (J5) Palmieri <johnp@redhat.com>
16003 Date: Thu Mar 3 18:39:16 2011 -0500
16005 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
16007 * python < 2.6 does not allow sending in keyword litterals after
16009 *args. You can only send in **kwds.
16012 1 file changed, 1 insertion(+), 1 deletion(-)
16014 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
16015 Author: John (J5) Palmieri <johnp@redhat.com>
16016 Date: Thu Mar 3 18:30:40 2011 -0500
16018 [gi-demos] add the combobox with string ids section to the demos
16020 demos/gtk-demo/demos/combobox.py | 49
16021 +++++++++++++++++++++++++++++++++++++++-
16022 1 file changed, 48 insertions(+), 1 deletion(-)
16024 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
16025 Author: John (J5) Palmieri <johnp@redhat.com>
16026 Date: Thu Mar 3 16:47:51 2011 -0500
16028 [gi-overrides] add an override for Gdk.RGBA
16030 gi/overrides/Gdk.py | 18 ++++++++++++++++++
16031 tests/test_overrides.py | 10 ++++++++++
16032 2 files changed, 28 insertions(+)
16034 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
16035 Author: John (J5) Palmieri <johnp@redhat.com>
16036 Date: Thu Mar 3 16:10:17 2011 -0500
16038 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
16041 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
16042 1 file changed, 9 insertions(+), 14 deletions(-)
16044 commit cd046e4c355706ead5f512b810a2a48317f8c32e
16045 Author: John (J5) Palmieri <johnp@redhat.com>
16046 Date: Wed Mar 2 18:13:43 2011 -0500
16048 [gi-demos] add search entry demo
16050 demos/gtk-demo/demos/Entry/search_entry.py | 257
16051 +++++++++++++++++++++++++++++
16052 1 file changed, 257 insertions(+)
16054 commit d5ddaa92e6349c2f52b67317326060973cb69661
16055 Author: John (J5) Palmieri <johnp@redhat.com>
16056 Date: Wed Mar 2 15:37:27 2011 -0500
16058 [gi] wrap map in a list for Python 3 compat
16061 1 file changed, 1 insertion(+), 1 deletion(-)
16063 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
16064 Author: John (J5) Palmieri <johnp@redhat.com>
16065 Date: Tue Mar 1 14:52:00 2011 -0500
16067 [gi-demos] fix up the validation combobox
16069 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
16070 1 file changed, 15 insertions(+), 6 deletions(-)
16072 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
16073 Author: John (J5) Palmieri <johnp@redhat.com>
16074 Date: Tue Mar 1 12:31:35 2011 -0500
16076 add overridesdir variable in the .pc file for 3rd party overrides
16078 pygobject-2.0.pc.in | 1 +
16079 1 file changed, 1 insertion(+)
16081 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
16082 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16083 Date: Fri Feb 11 17:14:11 2011 +0100
16085 setup.py: Set bdist_wininst user-access-control property
16088 1 file changed, 2 insertions(+), 1 deletion(-)
16090 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
16091 Author: Martin Pitt <martin.pitt@ubuntu.com>
16092 Date: Wed Mar 2 16:29:00 2011 +0100
16094 Fix uninitialized variable in gi.require_version()
16096 gi/__init__.py | 3 ++-
16097 1 file changed, 2 insertions(+), 1 deletion(-)
16099 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
16100 Author: Martin Pitt <martin.pitt@ubuntu.com>
16101 Date: Tue Mar 1 23:26:07 2011 +0100
16103 Run tests with LC_MESSAGES="C"
16105 Some tests, such as tests/test_gdbus.py check parts of error messages
16107 visible strings. Ensure that these do not get translated in the
16110 tests/runtests.py | 2 ++
16111 1 file changed, 2 insertions(+)
16113 commit 0461e05174637ae02f34029b85ba217d5ae48c53
16114 Author: John (J5) Palmieri <johnp@redhat.com>
16115 Date: Mon Feb 28 18:21:43 2011 -0500
16117 [gi-overrides] override Gtk.stock_lookup to not return success
16119 demos/gtk-demo/demos/combobox.py | 2 +-
16120 gi/overrides/Gtk.py | 9 +++++++++
16121 2 files changed, 10 insertions(+), 1 deletion(-)
16123 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
16124 Author: John (J5) Palmieri <johnp@redhat.com>
16125 Date: Mon Feb 28 14:16:00 2011 -0500
16127 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
16130 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
16131 1 file changed, 50 insertions(+)
16133 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
16134 Author: John (J5) Palmieri <johnp@redhat.com>
16135 Date: Mon Feb 28 14:08:05 2011 -0500
16137 [gi-tests] use Gdk.test_simulate_button instead of emitting event
16140 * this function is available specifically so we can test events so
16142 instead of creating our own button press event
16144 tests/test_overrides.py | 9 +++++----
16145 1 file changed, 5 insertions(+), 4 deletions(-)
16147 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
16148 Author: Laszlo Pandy <lpandy@src.gnome.org>
16149 Date: Thu Feb 24 19:30:32 2011 +0100
16151 [gi-tests] tests for EventButton override.
16153 * John (J5) Palmieri - fixed up original patch so that we actually
16154 emit the event instead of just creating a Gdk.ButtonEvent object
16156 https://bugzilla.gnome.org/show_bug.cgi?id=642554
16158 tests/test_overrides.py | 21 +++++++++++++++++++++
16159 1 file changed, 21 insertions(+)
16161 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
16162 Author: John (J5) Palmieri <johnp@redhat.com>
16163 Date: Wed Feb 23 18:43:27 2011 -0500
16165 [gi-overrides] Add event methods to all event union members
16167 https://bugzilla.gnome.org/show_bug.cgi?id=642554
16169 gi/overrides/Gdk.py | 70
16170 +++++++++++++++++++++++++++++++++++++++++++++++++++++
16171 1 file changed, 70 insertions(+)
16173 commit 6e30c69d38fd382414eb820097c297a80be547ac
16174 Author: John (J5) Palmieri <johnp@redhat.com>
16175 Date: Wed Feb 23 14:14:16 2011 -0500
16177 [gi] check to see if object is a member of a union when validating
16180 * union members are not subclasses of the union they belong to so
16182 inteface requires you pass a union but you pass one of its members
16183 there will be a type error
16184 * this patch checks to see if the type you are passing is a member
16186 union and passes the checks if it is
16187 * this works in python 3 but in python 2 methods do their own
16189 check on the instance parameter (e.g. self) so we need to figure
16190 out how to override that for union methods
16191 (e.g. Gdk.Event.get_state)
16193 https://bugzilla.gnome.org/show_bug.cgi?id=642554
16195 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
16196 1 file changed, 38 insertions(+)
16198 commit 525f21d1365c24488b768955362085bf82512dee
16199 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16200 Date: Wed Feb 16 09:44:12 2011 +0100
16202 Skip interfaces when checking for conflicts in the MRO
16204 https://bugzilla.gnome.org/show_bug.cgi?id=642437
16206 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
16207 gobject/gobjectmodule.c | 9 +++++++--
16208 tests/test_gi.py | 16 ++++++++++++++++
16209 3 files changed, 63 insertions(+), 2 deletions(-)
16211 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
16212 Author: Laszlo Pandy <lpandy@src.gnome.org>
16213 Date: Thu Feb 24 18:46:15 2011 +0100
16215 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
16218 gi/importer.py | 2 +-
16219 gi/module.py | 2 +-
16220 2 files changed, 2 insertions(+), 2 deletions(-)
16222 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
16223 Author: Laszlo Pandy <lpandy@src.gnome.org>
16224 Date: Wed Feb 23 12:05:03 2011 +0100
16226 Test case with John's fix for crash with C arrays and a GError is set.
16228 I have added a test case, and made a few fixes to John's patch,
16230 solution is the same his.
16232 Workaround a bug when freeing C array types
16234 * This is a hack and there is really no way around it without
16236 the current array handling code which spans between pygi-invoke.c
16238 pygi-argument.c and completely rewriting it.
16239 * The is no time before our stable release
16240 * This patch trades a segfault for a leak in the very unusual
16242 an error occures inside an interface that takes one or more C
16244 we wrap C arrays in GArrays internally but have to unwrap them
16246 to the introspected C function, there is a period of time where
16248 can occure with the C array in an unknown state (some being true
16250 and others still wrapped in a GArray)
16251 * This patch adds a c_arrays_are_wrapped state to signal that it
16253 free them. However since c_arrays_are_wrapped can only track
16255 as a group, not individually, if it is set to FALSE we can
16257 that every array is a pure C array, so instead we will simply
16259 to avoid incorrectly freeing one and causing a segfault.
16260 * This issue is fixed in the invoke rewrite branch as it treats
16262 GArrays separately, however that branch is not yet ready to be
16264 won't be until the next release.
16266 https://bugzilla.gnome.org/show_bug.cgi?id=642708
16268 gi/pygi-invoke.c | 54
16269 ++++++++++++++++++++++++++++++++++++++++++++++++++----
16270 tests/test_gi.py | 9 +++++++++
16271 2 files changed, 59 insertions(+), 4 deletions(-)
16273 commit 702a89beca92cab6b0142829b20281b9245f28b8
16274 Author: John (J5) Palmieri <johnp@redhat.com>
16275 Date: Wed Feb 23 15:11:59 2011 -0500
16277 [gi-overrides] fix setting rows in treeview to accept None as a value
16279 * as done in PyGTK None indicates the column should not be set
16281 gi/overrides/Gtk.py | 3 +++
16282 tests/test_overrides.py | 18 +++++++++++++-----
16283 2 files changed, 16 insertions(+), 5 deletions(-)
16285 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
16286 Author: Laszlo Pandy <lpandy@src.gnome.org>
16287 Date: Wed Feb 23 14:23:19 2011 +0100
16289 [gi] Add value_name for enum and flags from introspection
16290 "c:identifier" (if attr is available).
16292 gi/gimodule.c | 22 ++++++++++++++++++----
16293 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
16294 2 files changed, 54 insertions(+), 4 deletions(-)
16296 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
16297 Author: Laszlo Pandy <lpandy@src.gnome.org>
16298 Date: Wed Feb 23 11:40:55 2011 +0100
16300 Fix flags with multiple names for the same value.
16302 Flags constructs a dict __flags_values__ and uses it to cache
16303 instances. However some flags in Glib such as G_IO_FLAG_MASK and
16304 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
16305 override each other's place in the dictionary.
16307 The dict length check is not necessary. It only reduces the number
16308 of duplicate instances we keep, because if an instance is not
16309 found in the dict, a new one is created anyway.
16311 gobject/pygflags.c | 2 +-
16312 1 file changed, 1 insertion(+), 1 deletion(-)
16314 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
16315 Author: Laszlo Pandy <lpandy@src.gnome.org>
16316 Date: Tue Feb 22 21:37:33 2011 +0100
16318 Don't force loading of DynamicModule until set in sys.modules
16320 This fixes Tomeu's previous commit, which removed lazy loading.
16321 Forcing the loading of a module before it is installed in sys.modules
16322 prevents some overrides from being registered (namely Gtk.main_quit).
16324 https://bugzilla.gnome.org/show_bug.cgi?id=642305
16326 gi/importer.py | 2 +-
16327 1 file changed, 1 insertion(+), 1 deletion(-)
16329 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
16330 Author: John (J5) Palmieri <johnp@redhat.com>
16331 Date: Mon Feb 21 17:20:57 2011 -0500
16333 use GValue support to marshal GtkTreeModel values correctly
16335 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
16337 https://bugzilla.gnome.org/show_bug.cgi?id=642921
16339 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
16340 tests/test_overrides.py | 87
16341 +++++++++++++++++++++++++++++++++++++++++--------
16342 2 files changed, 107 insertions(+), 17 deletions(-)
16344 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
16345 Author: John (J5) Palmieri <johnp@redhat.com>
16346 Date: Mon Feb 21 16:14:20 2011 -0500
16348 [gi] pass raw GValues instead of trying to marshal them
16350 * Right now GValues are transparent to the user but this leave us no
16351 way to describe fundimental types other than those supported
16353 by python (e.g. int, str, etc)
16354 * If an interface is expecting a uint or other GValue type a user
16356 the raw GValue interfaces and expect paramaters that take
16358 marshal them correctly e.g.:
16359 value = GObject.Value()
16360 value.int(GObject.TYPE_UINT)
16361 value.set_uint(1234)
16362 * The objective here is to not for users to use this API but for
16364 to be able to utilize them. For instance in the TreeModel API
16366 get the expected type for a column and them create a GValue with
16368 type so that he underlying python object is marshalled correctly.
16370 https://bugzilla.gnome.org/show_bug.cgi?id=642914
16372 gi/pygi-argument.c | 24 ++++++++++++++++++------
16373 tests/test_gi.py | 9 ++++++++-
16374 2 files changed, 26 insertions(+), 7 deletions(-)
16376 commit b458f6f3424a04f6ceece09d443009372d70544c
16377 Author: John (J5) Palmieri <johnp@redhat.com>
16378 Date: Sat Feb 19 19:42:41 2011 -0500
16380 [gi-demos] add icon view edit and drag-and-drop demo
16382 demos/gtk-demo/demos/Icon View/__init__.py | 0
16383 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
16384 +++++++++++++++++++++++++
16385 2 files changed, 101 insertions(+)
16387 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
16388 Author: John (J5) Palmieri <johnp@redhat.com>
16389 Date: Sat Feb 19 17:26:42 2011 -0500
16391 [gi-demos] add info bars demo
16393 demos/gtk-demo/demos/infobars.py | 99
16394 ++++++++++++++++++++++++++++++++++++++++
16395 1 file changed, 99 insertions(+)
16397 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
16398 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
16399 Date: Wed Feb 16 11:53:18 2011 +0100
16401 Load typelibs at import time, add gi.require_version()
16403 also adds Repository.get_loaded_namespaces()
16405 https://bugzilla.gnome.org/show_bug.cgi?id=642305
16407 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
16408 gi/importer.py | 1 +
16409 gi/module.py | 21 ++++-----------------
16410 gi/pygi-repository.c | 23 +++++++++++++++++++++++
16411 4 files changed, 56 insertions(+), 18 deletions(-)
16413 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
16414 Author: Laszlo Pandy <lpandy@src.gnome.org>
16415 Date: Sat Feb 19 23:11:25 2011 +0100
16417 [gi] Register GType for non-GType enums and flags at runtime.
16419 Note: rebuild of gobject-introspection is required for new tests.
16421 Previously non-GType enums used a separate type implemented in
16422 Python, and non-GType flags had no implementation at all. This
16423 removes the separate type for enums, and registers a new GType at
16424 runtime if there isn't one.
16426 This allows non-GType enums and flags to use the same Python type
16427 as GType enums and flags. This removes duplication of code, and
16428 make both kinds behave identically.
16430 https://bugzilla.gnome.org/show_bug.cgi?id=642607
16432 gi/gimodule.c | 117
16433 +++++++++++++++++++++++++++++++++++++++++++++++++++++
16434 gi/module.py | 24 ++++++-----
16435 gi/pygi-info.c | 15 +++++++
16436 gi/types.py | 16 --------
16437 gobject/pygflags.c | 13 ++++--
16438 tests/test_gi.py | 35 ++++++++++++++++
16439 6 files changed, 191 insertions(+), 29 deletions(-)
16441 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
16442 Author: Martin Pitt <martin.pitt@ubuntu.com>
16443 Date: Tue Feb 8 15:38:21 2011 +0100
16445 [gi] Add Pythonic gdbus method invocation
16447 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
16449 Python object. This will handle the Python object <-> GVariant
16451 optional keyword arguments for flags, timeout, and a result handler
16453 asynchronous calls.
16455 Require specifying the input argument signature as the first argument
16457 method call. This ensures that the types of e. g. integers are
16459 and avoids having to do expensive D-Bus introspection for each call.
16461 https://bugzilla.gnome.org/show_bug.cgi?id=640181
16463 gi/overrides/Gio.py | 99
16464 ++++++++++++++++++++++++++++++++++++++++++++++++++
16465 tests/test_gdbus.py | 102
16466 ++++++++++++++++++++++++++++++++++++++++++++++++++--
16467 2 files changed, 199 insertions(+), 2 deletions(-)
16469 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
16470 Author: Laszlo Pandy <lpandy@src.gnome.org>
16471 Date: Fri Feb 18 22:48:59 2011 +0100
16473 Skip GError out parameters in Python closure.
16475 Python code should have never have to explicitely return a GError.
16476 Once we are able to marshal exceptions the Python code should
16477 throw an exception instead. Until then, set GError to NULL, and
16478 don't complain if a Python function doesn't return an arg for it.
16480 https://bugzilla.gnome.org/show_bug.cgi?id=642715
16482 gi/pygi-closure.c | 8 ++++++++
16483 1 file changed, 8 insertions(+)
16485 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
16486 Author: Laszlo Pandy <lpandy@src.gnome.org>
16487 Date: Fri Feb 18 10:15:59 2011 +0100
16489 Fix runtests.py to work with Python3 (print function syntax error).
16491 tests/runtests.py | 2 +-
16492 1 file changed, 1 insertion(+), 1 deletion(-)
16494 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
16495 Author: John (J5) Palmieri <johnp@redhat.com>
16496 Date: Thu Feb 17 19:46:49 2011 -0500
16498 [gi-demos] added rotate text demo
16500 * needs some Pango Attr fixes to be 100% done, See FIXME
16502 demos/gtk-demo/demos/rotatedtext.py | 196
16503 ++++++++++++++++++++++++++++++++++++
16504 1 file changed, 196 insertions(+)
16506 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
16507 Author: John (J5) Palmieri <johnp@redhat.com>
16508 Date: Thu Feb 17 17:25:00 2011 -0500
16510 [gi-demos] add images demo
16512 * needs annotation fix from GdkPixbuf for ImageLoader to work
16514 demos/gtk-demo/demos/images.py | 311
16515 +++++++++++++++++++++++++++++++++++++++++
16516 1 file changed, 311 insertions(+)
16518 commit 13b06170b89b3468e6255be32af4833ffc675c9d
16519 Author: John (J5) Palmieri <johnp@redhat.com>
16520 Date: Thu Feb 17 14:48:24 2011 -0500
16522 [gi-demos] add pixbuf demo
16524 demos/gtk-demo/demos/pixbuf.py | 183
16525 +++++++++++++++++++++++++++++++++++++++++
16526 1 file changed, 183 insertions(+)
16528 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
16529 Author: John (J5) Palmieri <johnp@redhat.com>
16530 Date: Thu Feb 17 14:47:12 2011 -0500
16532 [gi-demos] remove fixmes from print demo, fixed in pango
16534 demos/gtk-demo/demos/printing.py | 10 +++-------
16535 1 file changed, 3 insertions(+), 7 deletions(-)
16537 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
16538 Author: John (J5) Palmieri <johnp@redhat.com>
16539 Date: Wed Feb 16 19:39:30 2011 -0500
16541 [gi-demos] add printing demo
16543 * needs some annotations for pango before it is 100% useful
16545 demos/gtk-demo/demos/printing.py | 177
16546 +++++++++++++++++++++++++++++++++++++++
16547 1 file changed, 177 insertions(+)
16549 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
16550 Author: John (J5) Palmieri <johnp@redhat.com>
16551 Date: Wed Feb 16 17:52:38 2011 -0500
16553 [gi-overrides] add cursor overrides
16555 https://bugzilla.gnome.org/show_bug.cgi?id=635947
16557 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
16558 tests/test_overrides.py | 23 +++++++++++++++++++++++
16559 2 files changed, 64 insertions(+)
16561 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
16562 Author: John (J5) Palmieri <johnp@redhat.com>
16563 Date: Wed Feb 16 16:18:24 2011 -0500
16565 [gi-demos] add the links demo
16567 demos/gtk-demo/demos/links.py | 74
16568 +++++++++++++++++++++++++++++++++++++++++++
16569 1 file changed, 74 insertions(+)
16571 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
16572 Author: John (J5) Palmieri <johnp@redhat.com>
16573 Date: Wed Feb 16 15:48:40 2011 -0500
16575 [gi-demos] add expander demo
16577 demos/gtk-demo/demos/expander.py | 60
16578 ++++++++++++++++++++++++++++++++++++++++
16579 1 file changed, 60 insertions(+)
16581 commit 76cdb13ab872f91f8384d26b0f2932087a746117
16582 Author: John (J5) Palmieri <johnp@redhat.com>
16583 Date: Wed Feb 16 15:14:35 2011 -0500
16585 [gi-overrides] use pop instead of del and add extra tests for
16588 gi/overrides/Gtk.py | 6 ++----
16589 tests/test_overrides.py | 8 ++++++++
16590 2 files changed, 10 insertions(+), 4 deletions(-)
16592 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
16593 Author: Laszlo Pandy <lpandy@src.gnome.org>
16594 Date: Tue Feb 15 20:07:42 2011 +0100
16596 [tests] Separate processes for GI and static binding tests.
16598 Importing and using both static gobject bindings and
16599 introspection GObject bindings in the same process can cause
16600 conflicts with types which otherwise wouldn't be there.
16602 This patch changes "make check" to call runtests.py twice -- once
16603 for each set of tests.
16605 In the case of a test failure, runtests.py now sets the exit code
16606 so that make does not continue. Otherwise you might miss the
16607 failures from the first batch of tests in the scrollback.
16609 tests/Makefile.am | 19 +++++++++++--------
16610 tests/runtests.py | 4 +++-
16611 2 files changed, 14 insertions(+), 9 deletions(-)
16613 commit e0896b45f60f37097ec521f1bc38778383b78dd8
16614 Author: John (J5) Palmieri <johnp@redhat.com>
16615 Date: Tue Feb 15 14:47:10 2011 -0500
16617 [gi-demos] add dialogs demo
16619 demos/gtk-demo/demos/dialogs.py | 153
16620 ++++++++++++++++++++++++++++++++++++++++
16621 1 file changed, 153 insertions(+)
16623 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
16624 Author: John (J5) Palmieri <johnp@redhat.com>
16625 Date: Tue Feb 15 14:46:41 2011 -0500
16627 [gi-overrides] fix typo in GtkTable constructor
16629 gi/overrides/Gtk.py | 8 ++++----
16630 1 file changed, 4 insertions(+), 4 deletions(-)
16632 commit 9c277e1782c5a9d672d91fabf5289c5415891682
16633 Author: John (J5) Palmieri <johnp@redhat.com>
16634 Date: Tue Feb 15 13:26:38 2011 -0500
16636 [gi-demos] keep popup menu from destroying itself by holding a ref
16639 demos/gtk-demo/demos/clipboard.py | 8 ++++----
16640 1 file changed, 4 insertions(+), 4 deletions(-)
16642 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
16643 Author: John (J5) Palmieri <johnp@redhat.com>
16644 Date: Tue Feb 15 13:25:13 2011 -0500
16646 [gi-overrides] add a Gtk.Menu override for the popup method
16648 gi/overrides/Gtk.py | 7 +++++++
16649 1 file changed, 7 insertions(+)
16651 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
16652 Author: John (J5) Palmieri <johnp@redhat.com>
16653 Date: Tue Feb 15 13:24:33 2011 -0500
16655 [gi-demos] fix the about dialog in appwindow demo
16657 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
16658 1 file changed, 9 insertions(+), 13 deletions(-)
16660 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
16661 Author: John (J5) Palmieri <johnp@redhat.com>
16662 Date: Tue Feb 15 11:21:13 2011 -0500
16664 [gi-demos] fix clipboard demo so DnD works
16666 * menu popups don't work because the API takes a callback without
16670 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
16671 1 file changed, 10 insertions(+), 10 deletions(-)
16673 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
16674 Author: John (J5) Palmieri <johnp@redhat.com>
16675 Date: Tue Feb 15 10:18:53 2011 -0500
16677 [gi-demos] fix clipboard demo to reflect new API
16679 demos/gtk-demo/demos/clipboard.py | 6 +++---
16680 1 file changed, 3 insertions(+), 3 deletions(-)
16682 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
16683 Author: John (J5) Palmieri <johnp@redhat.com>
16684 Date: Mon Feb 14 18:17:20 2011 -0500
16686 [gi-demo] Fix color dialog demo to run with new draw, style and
16689 demos/gtk-demo/demos/colorselector.py | 44
16690 ++++++++++++++---------------------
16691 1 file changed, 17 insertions(+), 27 deletions(-)
16693 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
16694 Author: John (J5) Palmieri <johnp@redhat.com>
16695 Date: Mon Feb 14 17:58:25 2011 -0500
16697 [gi-demos] fix most of the combobox app
16699 * Still having some issues with filtering the ComboBoxText widget
16701 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
16702 1 file changed, 8 insertions(+), 9 deletions(-)
16704 commit 3606eb20ad1651af621bf1aa429ec102082565eb
16705 Author: Laszlo Pandy <lpandy@src.gnome.org>
16706 Date: Mon Feb 14 19:36:27 2011 +0100
16708 Use PyGI type conversion (to fix foreign types) for signal callbacks.
16710 First attempt at patch to fix foreign types in signal callbacks.
16711 Tests are not implemented yet.
16713 https://bugzilla.gnome.org/show_bug.cgi?id=637601
16715 gi/Makefile.am | 2 +
16716 gi/gimodule.c | 1 +
16717 gi/pygi-argument.c | 91 ++++++++++++++++++
16718 gi/pygi-argument.h | 2 +
16719 gi/pygi-private.h | 1 +
16720 gi/pygi-signal-closure.c | 245
16721 +++++++++++++++++++++++++++++++++++++++++++++++
16722 gi/pygi-signal-closure.h | 46 +++++++++
16723 gi/pygi.h | 28 ++++++
16724 gobject/pygobject.c | 24 ++++-
16725 9 files changed, 436 insertions(+), 4 deletions(-)
16727 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
16728 Author: John (J5) Palmieri <johnp@redhat.com>
16729 Date: Mon Feb 14 16:47:03 2011 -0500
16731 [gi-demos] fix drawingarea app to use the new draw api
16733 demos/gtk-demo/demos/drawingarea.py | 144
16734 +++++++++++++-----------------------
16735 1 file changed, 50 insertions(+), 94 deletions(-)
16737 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
16738 Author: John (J5) Palmieri <johnp@redhat.com>
16739 Date: Mon Feb 14 16:43:35 2011 -0500
16741 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
16743 * note this is the introspected gobject-cairo boxed type not the
16746 * we alias this so people do not get confused
16748 gi/overrides/Gdk.py | 5 +++++
16749 1 file changed, 5 insertions(+)
16751 commit d491c369e049ab726f09002af0462391d5c2f3ec
16752 Author: John (J5) Palmieri <johnp@redhat.com>
16753 Date: Mon Feb 14 15:07:11 2011 -0500
16755 [gi-overrides] let user set the proper property names in Gtk.Table
16757 * the old override added a columns and rows parameters to the Table
16759 to be in sync with PyGtk.
16760 * The GTK properties are n_columns and n_rows
16763 gi/overrides/Gtk.py | 8 ++++++++
16764 1 file changed, 8 insertions(+)
16766 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
16767 Author: John (J5) Palmieri <johnp@redhat.com>
16768 Date: Mon Feb 14 15:06:38 2011 -0500
16770 [gi-demos] get appwindow demo working again
16772 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
16773 1 file changed, 4 insertions(+), 20 deletions(-)
16775 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
16776 Author: John (J5) Palmieri <johnp@redhat.com>
16777 Date: Mon Feb 14 15:05:44 2011 -0500
16779 [gi-demos] fixed use of tree_iter_get
16781 demos/gtk-demo/gtk-demo.py | 2 +-
16782 1 file changed, 1 insertion(+), 1 deletion(-)
16784 commit 0c20977e4598e5447dd07c069e91226efacb1160
16785 Author: Simon van der Linden <svdlinden@gnome.org>
16786 Date: Fri Feb 11 22:02:03 2011 +0100
16788 Remove last GIO-related bits
16790 https://bugzilla.gnome.org/show_bug.cgi?id=638899
16794 configure.ac | 3 --
16795 examples/gio/directory-async.py | 33 ------------------
16796 examples/gio/downloader.py | 77
16797 -----------------------------------------
16798 pygobject.doap | 2 +-
16799 6 files changed, 3 insertions(+), 117 deletions(-)
16801 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
16802 Author: Simon van der Linden <svdlinden@gnome.org>
16803 Date: Fri Feb 11 18:38:27 2011 +0100
16805 Remove GIO documentation
16807 https://bugzilla.gnome.org/show_bug.cgi?id=638899
16809 docs/Makefile.am | 82 +-
16810 docs/reference/pygio-appinfo.xml | 894 -----
16811 docs/reference/pygio-applaunchcontext.xml | 194 --
16812 docs/reference/pygio-asyncresult.xml | 117 -
16813 docs/reference/pygio-bufferedinputstream.xml | 461 ---
16814 docs/reference/pygio-bufferedoutputstream.xml | 275 --
16815 docs/reference/pygio-cancellable.xml | 290 --
16816 docs/reference/pygio-classes.xml | 47 -
16817 docs/reference/pygio-constants.xml | 1540 ---------
16818 docs/reference/pygio-datainputstream.xml | 799 -----
16819 docs/reference/pygio-dataoutputstream.xml | 504 ---
16820 docs/reference/pygio-drive.xml | 546 ---
16821 docs/reference/pygio-emblem.xml | 232 --
16822 docs/reference/pygio-emblemedicon.xml | 160 -
16823 docs/reference/pygio-file.xml | 4534
16824 -------------------------
16825 docs/reference/pygio-fileattributeinfo.xml | 73 -
16826 docs/reference/pygio-fileenumerator.xml | 488 ---
16827 docs/reference/pygio-fileicon.xml | 109 -
16828 docs/reference/pygio-fileinfo.xml | 346 --
16829 docs/reference/pygio-fileinputstream.xml | 214 --
16830 docs/reference/pygio-filemonitor.xml | 128 -
16831 docs/reference/pygio-fileoutputstream.xml | 257 --
16832 docs/reference/pygio-filterinputstream.xml | 152 -
16833 docs/reference/pygio-filteroutputstream.xml | 152 -
16834 docs/reference/pygio-functions.xml | 395 ---
16835 docs/reference/pygio-icon.xml | 217 --
16836 docs/reference/pygio-inputstream.xml | 730 ----
16837 docs/reference/pygio-loadableicon.xml | 198 --
16838 docs/reference/pygio-memoryinputstream.xml | 151 -
16839 docs/reference/pygio-memoryoutputstream.xml | 175 -
16840 docs/reference/pygio-mount.xml | 962 ------
16841 docs/reference/pygio-mountoperation.xml | 726 ----
16842 docs/reference/pygio-outputstream.xml | 140 -
16843 docs/reference/pygio-seekable.xml | 231 --
16844 docs/reference/pygio-simpleasyncresult.xml | 317 --
16845 docs/reference/pygio-themedicon.xml | 204 --
16846 docs/reference/pygio-unixinputstream.xml | 202 --
16847 docs/reference/pygio-unixoutputstream.xml | 202 --
16848 docs/reference/pygio-volume.xml | 718 ----
16849 docs/reference/pygio-volumemonitor.xml | 844 -----
16850 docs/reference/pygiounix-classes.xml | 13 -
16851 docs/reference/pygobject-ref.xml | 2 -
16852 42 files changed, 1 insertion(+), 19020 deletions(-)
16854 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
16855 Author: John (J5) Palmieri <johnp@redhat.com>
16856 Date: Fri Feb 11 11:05:04 2011 -0500
16858 bump version to reflect the master branch moving towards pygobject 3.0
16860 * added NEWS file from branch pygobject-2-28
16862 * this branch will drop support for the static binding
16863 * use the pygobject-2-28 branch for static binding fixes
16866 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16867 configure.ac | 4 +-
16868 2 files changed, 291 insertions(+), 2 deletions(-)
16870 commit 16140237aa45b4f188923da9f95b9d2af971011b
16871 Author: John (J5) Palmieri <johnp@redhat.com>
16872 Date: Thu Feb 10 16:46:08 2011 -0500
16874 fix build to correctly use python-config
16877 configure.ac | 6 ------
16878 m4/python.m4 | 9 +++++----
16879 tests/runtests.py | 1 +
16880 4 files changed, 9 insertions(+), 10 deletions(-)
16882 commit c2079f415638ef892b1e51f25eaafa3e1621667f
16883 Author: Simon van der Linden <svdlinden@gnome.org>
16884 Date: Thu Feb 10 22:26:00 2011 +0100
16886 Add missing libraries to link against
16888 glib/Makefile.am | 2 +-
16889 gobject/Makefile.am | 1 +
16890 2 files changed, 2 insertions(+), 1 deletion(-)
16892 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
16893 Author: Steve Frécinaux <code@istique.net>
16894 Date: Wed Jan 19 15:00:56 2011 +0100
16896 Make runtests.py able to run command-line provided test files
16898 With this patch we are now able to run ./runtests.py <somefile>, which
16899 is more friendly than defining an environment variable to run some
16902 https://bugzilla.gnome.org/show_bug.cgi?id=639948
16904 tests/runtests.py | 9 +++++++++
16905 1 file changed, 9 insertions(+)
16907 commit 14c4cf8e6edae893538680964380d543bde4a14d
16908 Author: Martin Pitt <martin.pitt@ubuntu.com>
16909 Date: Wed Feb 9 11:34:59 2011 +0100
16911 Run test suite under dbus-launch
16913 When available, run the test suite in dbus-launch, so that the
16915 succeed even when building this in an environment without a running
16917 D-BUS (such as distribution package builds).
16919 tests/Makefile.am | 3 ++-
16920 1 file changed, 2 insertions(+), 1 deletion(-)
16922 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
16923 Author: Martin Pitt <martin.pitt@ubuntu.com>
16924 Date: Tue Feb 8 15:46:36 2011 +0100
16926 Fix test_gdbus.py to be Python3 friendly
16928 - TestCase.assert_() has been deprecated by assertTrue().
16929 - Exceptions don't have a message attribute any more, use str(e)
16931 tests/test_gdbus.py | 34 +++++++++++++++-------------------
16932 1 file changed, 15 insertions(+), 19 deletions(-)
16934 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
16935 Author: Martin Pitt <martin.pitt@ubuntu.com>
16936 Date: Sat Jan 29 12:20:50 2011 +0100
16938 [gi] Provide comfortable GSettings API
16940 Make Gio.Settings behave like a dictionary, with transparent
16942 GVariants. Also provide a more comfortable constructor.
16944 https://bugzilla.gnome.org/show_bug.cgi?id=640838
16946 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
16947 tests/org.gnome.test.gschema.xml | 9 +++++
16948 tests/test_overrides.py | 73
16949 ++++++++++++++++++++++++++++++++--------
16950 3 files changed, 122 insertions(+), 14 deletions(-)
16952 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
16953 Author: Laszlo Pandy <lpandy@src.gnome.org>
16954 Date: Fri Feb 4 16:36:07 2011 +0100
16956 Fix vfunc search bug when using GInterfaces and a do_* method.
16958 If a class inherits from a GInterface, as well as implements a do_*
16959 method (which is not in a super class), all the base interfaces
16960 will be searched for an __info__ attribute. GInterface doesn't
16961 have one, causing an error on class creation.
16963 https://bugzilla.gnome.org/show_bug.cgi?id=641493
16965 gi/types.py | 4 +++-
16966 tests/test_gi.py | 8 ++++++++
16967 2 files changed, 11 insertions(+), 1 deletion(-)
16969 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
16970 Author: Laszlo Pandy <lpandy@src.gnome.org>
16971 Date: Thu Feb 3 15:31:42 2011 +0100
16973 [GI] Add tests for Gtk.Widget.drag_* methods.
16975 Previously all the drag_* methods were accessible as Gtk.drag_*.
16976 Now that the (method) attribute has been included for these
16977 methods in Gtk+, this test checks that they are included as class
16978 methods when using pygobject introspection.
16980 https://bugzilla.gnome.org/show_bug.cgi?id=639945
16982 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
16983 1 file changed, 40 insertions(+)
16985 commit d57500537014b3da624be33b40401ba289fa22b8
16986 Author: John (J5) Palmieri <johnp@redhat.com>
16987 Date: Thu Feb 3 09:02:16 2011 -0500
16989 [gi] make caller allocates work again
16991 gi/pygi-cache.c | 18 +++---------------
16992 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
16993 2 files changed, 37 insertions(+), 18 deletions(-)
16995 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
16996 Author: John (J5) Palmieri <johnp@redhat.com>
16997 Date: Wed Feb 2 19:27:40 2011 -0500
16999 [gi] fix container object reffing
17001 gi/pygi-argument.c | 7 +++----
17002 gi/pygi-cache.c | 12 ++++--------
17003 2 files changed, 7 insertions(+), 12 deletions(-)
17005 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
17006 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17007 Date: Wed Feb 2 21:00:48 2011 +0100
17009 [python 3] use the right syntaxis to raise exceptions
17011 codegen/argtypes.py | 8 ++++----
17012 codegen/definitions.py | 14 +++++++-------
17013 gi/overrides/Gtk.py | 2 +-
17014 3 files changed, 12 insertions(+), 12 deletions(-)
17016 commit 36094e5982d3e05d5662843b6d401f0974f5235f
17017 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17018 Date: Wed Feb 2 20:50:12 2011 +0100
17020 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
17022 tests/testhelpermodule.c | 6 +++---
17023 1 file changed, 3 insertions(+), 3 deletions(-)
17025 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
17026 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17027 Date: Wed Feb 2 20:37:21 2011 +0100
17029 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
17031 This is to avoid some warnings when building with python 3
17033 gi/gimodule.c | 6 +++---
17034 1 file changed, 3 insertions(+), 3 deletions(-)
17036 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
17037 Author: Steve Frécinaux <code@istique.net>
17038 Date: Sat Jan 29 00:16:50 2011 +0100
17040 Fix wrong refcount when calling introspected widget constructors
17042 Introspected widget constructors, like Gtk.Button.new(), can return
17043 objects with a floating reference, which was then reffed by pygobject,
17044 resulting in two references, despite the object is not owned by
17047 This patch uses ref_sink() when pygobject takes its own reference, to
17048 avoid adding that extra reference. Hence we now claim ownership on
17049 objects returned by constructors with transfer=none (which is the case
17050 for nearly all the widget constructors, despite the floating ref).
17052 https://bugzilla.gnome.org/show_bug.cgi?id=640868
17054 gobject/pygobject.c | 4 +++-
17055 tests/test_everything.py | 9 ++++++++-
17056 2 files changed, 11 insertions(+), 2 deletions(-)
17058 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
17059 Author: Simon Schampijer <simon@laptop.org>
17060 Date: Wed Jan 19 16:19:46 2011 +0100
17062 Gdk.Window: Map the standard constructor to the *new* constructor
17064 Gdk.Window had to be made abstract
17065 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
17066 this override allows using the standard constructor
17068 This commit adds as well a testcase.
17070 https://bugzilla.gnome.org/show_bug.cgi?id=639936
17072 gi/overrides/Gdk.py | 6 ++++++
17073 tests/test_overrides.py | 8 ++++++++
17074 2 files changed, 14 insertions(+)
17076 commit 4a67f45880433905de33632fe0c32a13b44c0b33
17077 Author: John (J5) Palmieri <johnp@redhat.com>
17078 Date: Mon Jan 31 16:51:37 2011 -0500
17080 [gi] handle hash being NULL
17082 gi/pygi-argument.c | 6 ++++++
17083 1 file changed, 6 insertions(+)
17085 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
17086 Author: John (J5) Palmieri <johnp@redhat.com>
17087 Date: Mon Jan 31 16:50:52 2011 -0500
17089 [gi] handle the situation where an aux arg comes before its parent
17091 gi/pygi-cache.c | 70
17092 ++++++++++++++++++++++++++++++++++++++++----------------
17093 gi/pygi-invoke.c | 2 +-
17094 2 files changed, 51 insertions(+), 21 deletions(-)
17096 commit 858669f92c9907dd70b4966d6a8521ed122225be
17097 Author: Martin Pitt <martin.pitt@ubuntu.com>
17098 Date: Mon Jan 31 17:38:52 2011 +0100
17100 Ship tests/org.gnome.test.gschema.xml in dist tarballs
17102 tests/Makefile.am | 3 ++-
17103 1 file changed, 2 insertions(+), 1 deletion(-)
17105 commit 77d76df59606e470808085e977fb199cc76e8251
17106 Author: John (J5) Palmieri <johnp@redhat.com>
17107 Date: Sun Jan 30 18:21:24 2011 -0500
17109 [gi] allow caching and marshalling of ghash out
17111 gi/pygi-argument.c | 155
17112 +++++++++++++++++++++++++++++++++++++++++++++++++----
17113 gi/pygi-cache.c | 27 ++++++----
17114 2 files changed, 162 insertions(+), 20 deletions(-)
17116 commit bd66af67f248a3ca90d2fa2626605263c2392e16
17117 Author: John (J5) Palmieri <johnp@redhat.com>
17118 Date: Sun Jan 30 17:06:44 2011 -0500
17120 [gi] whitespace fixes
17122 gi/pygi-cache.c | 60
17123 ++++++++++++++++++++++++++++-----------------------------
17124 1 file changed, 30 insertions(+), 30 deletions(-)
17126 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
17127 Author: John (J5) Palmieri <johnp@redhat.com>
17128 Date: Sun Jan 30 17:04:13 2011 -0500
17130 [gi] added ugly aux arg counters
17132 * we need to simplify the ffi invoke so we can simply reference args
17133 at their position in the C parameter list
17134 * this works for now but is fragile if new aux values are added in
17137 gi/pygi-argument.c | 12 ++++++++--
17138 gi/pygi-cache.c | 66
17139 +++++++++++++++++++++++++++++++++++++-----------------
17140 gi/pygi-cache.h | 2 ++
17141 gi/pygi-invoke.c | 12 +++++++---
17142 4 files changed, 66 insertions(+), 26 deletions(-)
17144 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
17145 Author: John (J5) Palmieri <johnp@redhat.com>
17146 Date: Sun Jan 30 11:30:54 2011 -0500
17148 [gi] make inout marshalling work
17150 * refactor cache generation so we can create caches and then fill
17152 values based on if they are in, out or inout
17153 * in invoke we order the pointers based on their direction
17155 gi/pygi-cache.c | 1445
17156 ++++++++++++++++++++++++++----------------------------
17157 gi/pygi-invoke.c | 19 +-
17158 2 files changed, 711 insertions(+), 753 deletions(-)
17160 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
17161 Author: John (J5) Palmieri <johnp@redhat.com>
17162 Date: Sat Jan 29 13:49:36 2011 -0500
17164 [gi] marshal arrays out
17166 gi/pygi-argument.c | 101
17167 +++++++++++++++++++++++++++++++++++++++++++++++++++--
17168 1 file changed, 99 insertions(+), 2 deletions(-)
17170 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
17171 Author: John (J5) Palmieri <johnp@redhat.com>
17172 Date: Sat Jan 29 13:48:23 2011 -0500
17174 [gi] fix sequence caching to support out
17176 gi/pygi-cache.c | 111
17177 ++++++++++++++++++++++++++++++++++++++++++++------------
17178 1 file changed, 87 insertions(+), 24 deletions(-)
17180 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
17181 Author: Martin Pitt <martin.pitt@ubuntu.com>
17182 Date: Fri Jan 28 17:14:19 2011 +0100
17184 [gi] Add GSettings tests
17186 Ryan Lortie proposed an override for more convenient GSettings access,
17188 first make sure that the canonical GLib API works.
17190 tests/Makefile.am | 7 +++++--
17191 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
17192 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
17193 3 files changed, 52 insertions(+), 2 deletions(-)
17195 commit 488478a83640d50baee963337fcc870fec76b784
17196 Author: Martin Pitt <martin.pitt@ubuntu.com>
17197 Date: Fri Jan 28 07:20:26 2011 +0100
17199 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
17201 Provide an actual insert_with_tags_by_name() instead of overloading
17202 insert_with_tags() to handle both types. This keeps the overrides
17204 with the actual GTK API.
17206 gi/overrides/Gtk.py | 19 ++++++++++++++-----
17207 tests/test_overrides.py | 4 ++--
17208 2 files changed, 16 insertions(+), 7 deletions(-)
17210 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
17211 Author: Martin Pitt <martin.pitt@ubuntu.com>
17212 Date: Thu Jan 27 13:37:18 2011 +0100
17214 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
17216 Neither insert_with_tags() nor insert_with_tags_by_name() are
17218 due to using varargs. As both are useful, support both cases in
17221 gi/overrides/Gtk.py | 5 +++++
17222 tests/test_overrides.py | 9 +++++++++
17223 2 files changed, 14 insertions(+)
17225 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
17226 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17227 Date: Thu Jan 27 12:23:18 2011 +0100
17229 Add MAINTAINERCLEANFILES
17231 This var behaves like .gitignore and allows us to skip some specific
17234 Makefile.am | 27 +++++++++++++++++++++++++++
17235 1 file changed, 27 insertions(+)
17237 commit 8a98d26981ce68809a21c64cac4962e58c927905
17238 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17239 Date: Thu Jan 27 12:15:30 2011 +0100
17241 Remove .gitignore files and use git.mk
17243 git.mk is a script maintained in pango. From time to time we must
17244 check if it was updated and update it here.
17246 .gitignore | 46 -----------
17248 codegen/.gitignore | 2 -
17249 codegen/Makefile.am | 2 +
17250 docs/.gitignore | 7 --
17251 docs/Makefile.am | 2 +
17252 examples/Makefile.am | 2 +
17253 gi/.gitignore | 40 ----------
17254 gi/Makefile.am | 2 +
17255 gi/overrides/Makefile.am | 2 +
17256 gi/repository/Makefile.am | 2 +
17257 gi/tests/Makefile.am | 2 +
17259 ++++++++++++++++++++++++++++++++++++++++++++++
17260 glib/Makefile.am | 2 +
17261 gobject/.gitignore | 3 -
17262 gobject/Makefile.am | 2 +
17263 tests/.gitignore | 2 -
17264 tests/Makefile.am | 2 +
17265 18 files changed, 222 insertions(+), 100 deletions(-)
17267 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
17268 Author: Martin Pitt <martin.pitt@ubuntu.com>
17269 Date: Thu Jan 27 12:04:19 2011 +0100
17271 pygi-convert.sh: Convert Pango.TabAlign.*
17273 pygi-convert.sh | 1 +
17274 1 file changed, 1 insertion(+)
17276 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
17277 Author: Martin Pitt <martin.pitt@ubuntu.com>
17278 Date: Thu Jan 27 12:02:39 2011 +0100
17280 pygi-convert.sh: Drop window -> get_window() conversion
17282 It is doing more harm than good for projects which use things like
17285 pygi-convert.sh | 1 -
17286 1 file changed, 1 deletion(-)
17288 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
17289 Author: Martin Pitt <martin.pitt@ubuntu.com>
17290 Date: Thu Jan 27 11:58:26 2011 +0100
17292 pygi-convert.sh: Don't convert self.window assignments
17294 pygi-convert.sh | 2 +-
17295 1 file changed, 1 insertion(+), 1 deletion(-)
17297 commit 975341a26772966d4afc87a88a6a566d61237fa0
17298 Author: Steve Frécinaux <code@istique.net>
17299 Date: Fri Jan 21 18:41:54 2011 +0100
17301 Fix leaked python reference in python-defined subclasses
17303 https://bugzilla.gnome.org/show_bug.cgi?id=640184
17305 gobject/gobjectmodule.c | 1 +
17306 tests/test_gobject.py | 4 ++++
17307 2 files changed, 5 insertions(+)
17309 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
17310 Author: Steve Frécinaux <code@istique.net>
17311 Date: Fri Jan 21 15:54:43 2011 +0100
17313 Add some tests for the number of python refs held at creation time
17315 https://bugzilla.gnome.org/show_bug.cgi?id=640184
17317 tests/test_gobject.py | 21 +++++++++++++++++++++
17318 1 file changed, 21 insertions(+)
17320 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
17321 Author: Steve Frécinaux <code@istique.net>
17322 Date: Fri Jan 21 17:24:49 2011 +0100
17324 Factor out parameter marshalling from construction functions.
17326 https://bugzilla.gnome.org/show_bug.cgi?id=640197
17328 gobject/gobjectmodule.c | 35 ++--------------------
17329 gobject/pygobject-private.h | 5 ++++
17330 gobject/pygobject.c | 71
17331 +++++++++++++++++++++++++++------------------
17332 3 files changed, 50 insertions(+), 61 deletions(-)
17334 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
17335 Author: John (J5) Palmieri <johnp@redhat.com>
17336 Date: Wed Jan 26 15:34:24 2011 -0500
17338 [gi] in python 3 an array of uint8 can be bytes but not string
17340 tests/test_gi.py | 4 +++-
17341 1 file changed, 3 insertions(+), 1 deletion(-)
17343 commit 843553ea958eddec185bb660851a310dc050a14b
17344 Author: John (J5) Palmieri <johnp@redhat.com>
17345 Date: Wed Jan 26 15:30:06 2011 -0500
17347 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
17349 gi/overrides/Gio.py | 6 +++++-
17350 1 file changed, 5 insertions(+), 1 deletion(-)
17352 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
17353 Author: John (J5) Palmieri <johnp@redhat.com>
17354 Date: Wed Jan 26 15:17:03 2011 -0500
17356 [gi] python 3 fixes
17358 Patches need to work in Python 3 - here are some of the issues I
17360 Patch submitters should keep this in mind. When I note to only
17362 in tests it means that there is a compat module that is only available
17364 tests. Actuall code should either add the workaround to the top
17366 module or try not to have a distinction between things such as
17368 longs which no longer exist in Python 3
17370 * use range instead of xrange - loss of performance in Python 2 but
17372 treats range similarly to python 2's xrange
17373 * use dict.items() instead of dict.iteritems() - same as the xrange
17375 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
17377 if sys.version_info > (3, 0):
17379 return hasattr(obj, '__call__')
17381 * using unicode in tests is tricky, you can't use u'' even in
17383 conditional as python3's parser chokes on it. Do this in tests
17387 from compathelper import _unicode
17388 unicode_string = _unicode('this is a unicode string')
17390 * exception caching changed in 2.7, instead of except Exception,
17392 except Exception as e. Do this to be compatible with older
17396 etype, e = sys.exc_info()[:2]
17398 * Unbound methods with an im_func attribute no longer exits in 3.x.
17399 Unbound methods are now just functions so class.method in 3.x is
17400 equivalent to class.method.im_func in 2.x. If you have to go this
17403 func = class1.method
17404 if sys.version_info < (3,0):
17405 func = func.im_func
17407 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
17408 only in tests) do this:
17410 from compathelper import _long
17413 gi/overrides/GLib.py | 16 ++++++++--------
17414 gi/types.py | 5 ++++-
17415 tests/compathelper.py | 19 +++++++++++++++++++
17416 tests/test_gdbus.py | 12 ++++++++----
17417 tests/test_gi.py | 19 ++++++++++++-------
17418 tests/test_overrides.py | 8 +++++---
17419 6 files changed, 56 insertions(+), 23 deletions(-)
17421 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
17422 Author: John (J5) Palmieri <johnp@redhat.com>
17423 Date: Wed Jan 26 14:00:08 2011 -0500
17425 [gi] fix try/except blocks using depricated raise format
17427 gi/overrides/GLib.py | 4 ++--
17428 gi/overrides/Gdk.py | 2 +-
17429 2 files changed, 3 insertions(+), 3 deletions(-)
17431 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
17432 Author: Martin Pitt <martin.pitt@ubuntu.com>
17433 Date: Wed Jan 26 19:03:48 2011 +0100
17435 [gi] Add docstring to GLib.Variant constructor
17437 gi/overrides/GLib.py | 11 +++++++++++
17438 1 file changed, 11 insertions(+)
17440 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
17441 Author: Martin Pitt <martin.pitt@ubuntu.com>
17442 Date: Wed Jan 26 18:45:38 2011 +0100
17444 [gi] update gdbus test cases for previous GVariant change
17446 tests/test_gdbus.py | 4 ++--
17447 1 file changed, 2 insertions(+), 2 deletions(-)
17449 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
17450 Author: Martin Pitt <martin.pitt@ubuntu.com>
17451 Date: Wed Jan 26 18:39:17 2011 +0100
17453 [gi] Accept only a single object in GLib.Variant constructor
17455 We previously allowed flat arguments for tuple signatures, e. g.
17457 GLib.Variant('(ii)', 1, 2)
17459 However, that's not how GVariant is supposed to work. Remove the
17461 to handle flat argument lists, and only accept a single value, i. e.
17463 GLib.Variant('(ii)', (1, 2))
17465 Note that this breaks the current API, but as it is not used widely
17469 Thanks to Ryan Lortie for pointing this out!
17471 gi/overrides/GLib.py | 25 ++++++++++---------------
17472 tests/test_overrides.py | 32 +++++++++++++-------------------
17473 2 files changed, 23 insertions(+), 34 deletions(-)
17475 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
17476 Author: Laszlo Pandy <lpandy@src.gnome.org>
17477 Date: Wed Jan 26 00:40:49 2011 +0100
17479 Speed up _setup_native_vfuncs()
17481 This changes _setup_native_vfuncs() to only install native
17482 vfunc wrappers from the current class on the current class.
17483 Native vfuncs will not be propogated up or down the class
17484 hierarchy as this is unnecessary and wastes CPU and memory.
17486 Since the normal process in python to retrieve a method or
17487 attribute recurses to the base classes if an attribute is not
17488 found in the subclass, there is no need to setup all base class
17489 virtual functions on a subclass.
17491 This patch removes the recursion in _setup_native_vfuncs()
17492 and lets Python find them in the base classes like a normal
17493 Python class would work. This significantly increases the speed
17494 of any class which is or inherits from a C class which includes
17497 https://bugzilla.gnome.org/show_bug.cgi?id=640629
17499 gi/types.py | 26 +++++++++++++-------------
17500 tests/test_gi.py | 13 +++++++++++++
17501 2 files changed, 26 insertions(+), 13 deletions(-)
17503 commit 569d42ac2f50fb706ef289ff631db743483f40ee
17504 Author: Laszlo Pandy <lpandy@src.gnome.org>
17505 Date: Thu Jan 20 16:26:18 2011 +0100
17507 Speed up class creation: rewrite _setup_vfuncs() to be much more
17510 This patch rewrites the _setup_vfuncs() method to remove recursion and
17511 make the running time linear in the number of virtual functions to
17513 (ie. methods starting with "do_") instead of linear in the number of
17514 virtual functions in the base class which could possibly be
17517 Since most classes do not override all of the virtual functions in the
17518 base class (and many override none), this runs much faster.
17520 It is possible to not recurse on all base classes because
17522 base classes will have the virtual function installed as an attribute.
17523 Thus getattr() can be called, which recurses to the base classes much
17524 faster than a custom implementation in Python. If the method cannot be
17525 found with getattr(), all interface bases classes are searched
17528 The function is_function_in_classes() has been deleted. Because of the
17529 above changes, it is not used anymore.
17531 https://bugzilla.gnome.org/show_bug.cgi?id=640073
17534 ++++++++++++++++++++++++++++++++++---------------------
17535 tests/test_gi.py | 13 +++++++
17536 2 files changed, 77 insertions(+), 40 deletions(-)
17538 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
17539 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17540 Date: Mon Jan 24 19:23:19 2011 +0100
17542 pygi-convert.sh: Convert gtk.UI_MANAGER_*
17544 pygi-convert.sh | 1 +
17545 1 file changed, 1 insertion(+)
17547 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
17548 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17549 Date: Fri Jan 21 18:41:54 2011 +0100
17551 pygi-convert.sh: Convert gdk.GRAB_*
17553 pygi-convert.sh | 1 +
17554 1 file changed, 1 insertion(+)
17556 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
17557 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17558 Date: Fri Jan 21 16:45:07 2011 +0100
17560 [gi] set the gtype GValue correctly
17562 gi/pygi-property.c | 4 ++--
17563 1 file changed, 2 insertions(+), 2 deletions(-)
17565 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
17566 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17567 Date: Fri Jan 21 16:20:23 2011 +0100
17569 [gi] use the right argument type for callback
17571 gi/pygi-foreign-cairo.c | 8 ++++----
17572 gi/pygi-foreign-gvariant.c | 4 ++--
17573 gi/pygi-foreign-gvariant.h | 2 +-
17574 gi/pygi-foreign.c | 2 +-
17576 5 files changed, 9 insertions(+), 9 deletions(-)
17578 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
17579 Author: John (J5) Palmieri <johnp@redhat.com>
17580 Date: Fri Jan 21 09:23:54 2011 -0500
17582 [gi] marshal out flags and enum
17584 gi/pygi-argument.c | 14 +++++++++-----
17585 gi/pygi-cache.c | 24 ++++++++++++------------
17586 2 files changed, 21 insertions(+), 17 deletions(-)
17588 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
17589 Author: John (J5) Palmieri <johnp@redhat.com>
17590 Date: Fri Jan 21 08:18:37 2011 -0500
17592 [gi] marshal unions
17594 gi/pygi-cache.c | 27 +++++++++++++--------------
17595 1 file changed, 13 insertions(+), 14 deletions(-)
17597 commit a060287d1a6d190acb9d344f08fd5662e3296da5
17598 Author: Martin Pitt <martin.pitt@ubuntu.com>
17599 Date: Fri Jan 21 11:00:27 2011 +0100
17601 [gi] Add test cases for GDBus client operations
17603 tests/Makefile.am | 1 +
17604 tests/test_gdbus.py | 94
17605 +++++++++++++++++++++++++++++++++++++++++++++++++++++
17606 2 files changed, 95 insertions(+)
17608 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
17609 Author: John (J5) Palmieri <johnp@redhat.com>
17610 Date: Fri Jan 21 04:28:15 2011 -0500
17612 [gi] error out if the constructor returns NULL
17614 gi/pygi-invoke.c | 7 +++++++
17615 1 file changed, 7 insertions(+)
17617 commit 58ff2b2c38c1004861083ca88633be76767229f0
17618 Author: John (J5) Palmieri <johnp@redhat.com>
17619 Date: Fri Jan 21 04:26:45 2011 -0500
17621 [gi] throw error for caller allocates until we can write code to
17624 gi/pygi-cache.c | 11 +++++++++++
17625 1 file changed, 11 insertions(+)
17627 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
17628 Author: John (J5) Palmieri <johnp@redhat.com>
17629 Date: Fri Jan 21 04:26:11 2011 -0500
17631 [gi] support struct out
17633 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
17634 gi/pygi-cache.c | 15 ++-------------
17635 2 files changed, 28 insertions(+), 17 deletions(-)
17637 commit 3133dc595adf44279397d30712c0f8595f0e1acc
17638 Author: John (J5) Palmieri <johnp@redhat.com>
17639 Date: Fri Jan 21 04:22:06 2011 -0500
17641 [gi] move to using type_info and interface_info instead of arg_info
17643 * only arguments have arg_infos, not return types and instances so
17644 type_info is much better to pass. In fact most API that took an
17645 arg_info simply converted it to a type_info
17646 * In the case of instances for methods we don't even have a type_info.
17647 Since all instances are interfaces, we also attach the
17649 to the interface cache
17651 gi/pygi-argument.c | 20 ++++----------------
17652 gi/pygi-cache.c | 43
17653 ++++++++++++++++++++++++++++++++-----------
17654 gi/pygi-cache.h | 4 +++-
17655 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
17656 gi/pygi-foreign-gvariant.c | 11 +++++------
17657 gi/pygi-foreign-gvariant.h | 10 +++++-----
17658 gi/pygi-foreign.c | 21 +++++++++------------
17659 gi/pygi-foreign.h | 6 +++---
17660 gi/pygi.h | 8 ++++----
17661 9 files changed, 77 insertions(+), 70 deletions(-)
17663 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
17664 Author: Martin Pitt <martin.pitt@ubuntu.com>
17665 Date: Fri Jan 21 09:54:14 2011 +0100
17667 [gi] Add Variant construction/unpack support for boxed Variants
17669 Construction uses a GVariantBuilder for now, as the new_variant()
17671 currently does not work (see
17672 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
17674 gi/overrides/GLib.py | 18 +++++++++++++++++-
17675 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
17676 2 files changed, 43 insertions(+), 1 deletion(-)
17678 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
17679 Merge: bc29600 bd002c7
17680 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17681 Date: Fri Jan 21 09:33:16 2011 +0100
17683 Merge branch 'windows-setup-fixes'
17685 commit bc29600a2a04c972ceab7ef8d3292e8633977591
17686 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
17687 Date: Thu Jan 20 19:48:23 2011 +0100
17689 pygi-convert.sh: GdkPixbuf methods
17693 pygi-convert.sh | 1 +
17694 1 file changed, 1 insertion(+)
17696 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
17697 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
17698 Date: Thu Jan 20 19:45:01 2011 +0100
17700 pygi-convert.sh: Gdk.COLORSPACE_RGB
17704 pygi-convert.sh | 1 +
17705 1 file changed, 1 insertion(+)
17707 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
17708 Author: Martin Pitt <martin.pitt@ubuntu.com>
17709 Date: Wed Jan 19 11:41:11 2011 +0100
17711 [gi] Support nested objects and empty sequences in GLib.Variant
17714 The GVariant constructor (in the overrides) previously did not
17716 arrays/dictionaries or nested structures. Rewrite the VariantCreator
17718 be fully recursive and determine the element types of
17719 arrays/dictionaries.
17721 This now also allows you to use actual tuples as input values for
17723 tuple types. Taking values from the flat argument list is still
17725 convenience, though.
17727 https://bugzilla.gnome.org/show_bug.cgi?id=639939
17729 gi/overrides/GLib.py | 229
17730 ++++++++++++++++++++++++++----------------------
17731 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
17732 2 files changed, 273 insertions(+), 115 deletions(-)
17734 commit ac095f5435f106e175fa3297cb273e63c85d2809
17735 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17736 Date: Thu Jan 20 15:55:45 2011 +0100
17738 Uncomment test_gi.TestInterfaceClash
17740 tests/test_gi.py | 22 +++++++++++-----------
17741 1 file changed, 11 insertions(+), 11 deletions(-)
17743 commit 1239f3709ba257c404dda72b7067b77b19c240fa
17744 Author: John (J5) Palmieri <johnp@redhat.com>
17745 Date: Thu Jan 20 09:05:02 2011 -0500
17747 [gi] add support for enum and flags
17749 gi/pygi-argument.c | 121
17750 +++++++++++++++++++++++++++++++++++++++++------------
17751 gi/pygi-cache.c | 30 ++++++-------
17752 2 files changed, 111 insertions(+), 40 deletions(-)
17754 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
17755 Author: Steve Frécinaux <code@istique.net>
17756 Date: Thu Jan 20 14:14:15 2011 +0100
17758 Fix reference leaks for GInitiallyUnowned objects
17760 References were leaked for GInitiallyUnowned objects which got their
17761 wrappers created several times, because someone else holds reference
17762 on it and it got out of python scope at some point.
17764 https://bugzilla.gnome.org/show_bug.cgi?id=639949
17766 gobject/gobjectmodule.c | 2 ++
17767 gobject/pygobject.c | 14 +++++------
17768 tests/test-floating.c | 36 +++++++++++++++++++++++++++
17769 tests/test-floating.h | 21 ++++++++++++++++
17770 tests/test_gobject.py | 63
17771 ++++++++++++++++++++++++++++++++++++++++++++++++
17772 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
17773 6 files changed, 179 insertions(+), 7 deletions(-)
17775 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
17776 Author: Steve Frécinaux <code@istique.net>
17777 Date: Wed Jan 19 16:57:57 2011 +0100
17779 Add tests for refcount of a GObject owned by a library
17781 When the object is constructed, its refcount is 2 because the library
17782 refs it once. It should remain around until we ask the library to
17783 release its reference.
17785 https://bugzilla.gnome.org/show_bug.cgi?id=639949
17787 tests/test-floating.c | 30 +++++++++++++++++++++++
17788 tests/test-floating.h | 20 ++++++++++++++++
17789 tests/test_gobject.py | 62
17790 ++++++++++++++++++++++++++++++++++++++++++++++++
17791 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
17792 4 files changed, 163 insertions(+)
17794 commit b6737b91938d527872eff1d645a205cacf94e15d
17795 Author: Steve Frécinaux <code@istique.net>
17796 Date: Wed Jan 19 14:52:41 2011 +0100
17798 Add a test to check for regular object reference count
17800 https://bugzilla.gnome.org/show_bug.cgi?id=639949
17802 tests/test_gobject.py | 8 +++++++-
17803 1 file changed, 7 insertions(+), 1 deletion(-)
17805 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
17806 Author: Martin Pitt <martin.pitt@ubuntu.com>
17807 Date: Thu Jan 20 14:15:52 2011 +0100
17809 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
17811 GTK master now landed a lot of annotation fixes which also correctly
17813 array length argument of
17814 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
17815 drop the explicit array length argument from the call in the override.
17817 gi/overrides/Gtk.py | 2 --
17818 1 file changed, 2 deletions(-)
17820 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
17821 Author: Steve Frécinaux <code@istique.net>
17822 Date: Wed Jan 19 18:04:10 2011 +0100
17824 Fix a typo in a private symbol name.
17826 gobject/gobjectmodule.c | 6 +++---
17827 1 file changed, 3 insertions(+), 3 deletions(-)
17829 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
17830 Author: Martin Pitt <martin.pitt@ubuntu.com>
17831 Date: Thu Jan 20 11:49:08 2011 +0100
17833 pygi-convert.sh: Convert glib.source_remove()
17835 pygi-convert.sh | 1 +
17836 1 file changed, 1 insertion(+)
17838 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
17839 Author: Martin Pitt <martin.pitt@ubuntu.com>
17840 Date: Thu Jan 20 11:42:34 2011 +0100
17842 Fix typo in previous commit to actually convert glib.GError
17844 pygi-convert.sh | 2 +-
17845 1 file changed, 1 insertion(+), 1 deletion(-)
17847 commit b238cb614338f46e6feb7935cca0a55c7a929418
17848 Author: Martin Pitt <martin.pitt@ubuntu.com>
17849 Date: Thu Jan 20 11:40:14 2011 +0100
17851 pygi-convert.sh: Move some glib bits which are better handled
17854 pygi-convert.sh | 3 +++
17855 1 file changed, 3 insertions(+)
17857 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
17858 Author: Laszlo Pandy <lpandy@src.gnome.org>
17859 Date: Wed Jan 19 12:00:02 2011 +0100
17861 Modify override for Gtk.Adjustment to allow position or keyword
17862 arguments in __init__().
17864 Previously passing no arguments was not working, because the default
17865 value for each parameter was None, and GObject.__init__() refuses to
17866 allow None for integer properties. This patch does not pass None up
17867 to GObject.__init__. Instead it does not pass the parameter at all,
17868 and uses the class's default values.
17870 https://bugzilla.gnome.org/show_bug.cgi?id=639934
17872 gi/overrides/Gtk.py | 14 ++++++++++++--
17873 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
17874 2 files changed, 39 insertions(+), 9 deletions(-)
17876 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
17877 Author: Martin Pitt <martin.pitt@ubuntu.com>
17878 Date: Wed Jan 19 22:52:51 2011 +0100
17880 [gi] Fix small typo in previous commit
17882 The GVariant signature of the self test had a trailing 'i'. The
17884 GVariant builder doesn't mind, but the new implementation proposed
17888 tests/test_overrides.py | 2 +-
17889 1 file changed, 1 insertion(+), 1 deletion(-)
17891 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
17892 Author: Martin Pitt <martin.pitt@ubuntu.com>
17893 Date: Wed Jan 19 20:18:19 2011 +0100
17895 [gi] Add pythonic iterator and indexing for string GVariants
17897 This extends commit b1a98083c to also work for strings.
17899 gi/overrides/GLib.py | 8 +++++++-
17900 tests/test_overrides.py | 13 +++++++++++++
17901 2 files changed, 20 insertions(+), 1 deletion(-)
17903 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
17904 Author: John (J5) Palmieri <johnp@redhat.com>
17905 Date: Wed Jan 19 14:08:03 2011 -0500
17907 [gi] return NULL if out_marshaller fails
17909 gi/pygi-invoke.c | 5 +++++
17910 1 file changed, 5 insertions(+)
17912 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
17913 Author: John (J5) Palmieri <johnp@redhat.com>
17914 Date: Wed Jan 19 13:57:54 2011 -0500
17916 [gi] fix some transfer issues and test case failures
17918 gi/pygi-argument.c | 4 ++++
17919 gi/pygi-cache.c | 11 ++++++++---
17920 gi/pygi-invoke.c | 17 +++++++++--------
17921 3 files changed, 21 insertions(+), 11 deletions(-)
17923 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
17924 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17925 Date: Wed Jan 19 18:09:23 2011 +0100
17927 Construct structs using default API constructor
17929 If the struct has something that looks like a default constructor,
17930 use it instead of trying to directly allocate it, as it will fail
17931 if the struct fields are not exposed.
17933 https://bugzilla.gnome.org/show_bug.cgi?id=627444
17935 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
17936 gi/types.py | 7 +++++++
17937 2 files changed, 44 insertions(+)
17939 commit db7300e173388d9557dcd2333781bfaa6b021605
17940 Author: Martin Pitt <martin.pitt@ubuntu.com>
17941 Date: Wed Jan 19 18:54:39 2011 +0100
17943 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
17945 pygi-convert.sh | 2 ++
17946 1 file changed, 2 insertions(+)
17948 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
17949 Author: Martin Pitt <martin.pitt@ubuntu.com>
17950 Date: Wed Jan 19 18:43:29 2011 +0100
17952 pygi-convert.sh: Handle .window attributes
17954 In general, convert them to .get_window(). For some of them, prefer
17956 GtkWidget methods instead.
17958 pygi-convert.sh | 5 ++++-
17959 1 file changed, 4 insertions(+), 1 deletion(-)
17961 commit b1049b947d073fb569ba900a4d5c8519482d831e
17962 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
17963 Date: Wed Jan 19 17:35:09 2011 +0100
17965 Also deal with foreign boxed structs
17967 cairo.Context has been boxed and our tests started failing
17969 https://bugzilla.gnome.org/show_bug.cgi?id=639967
17971 gi/pygi-argument.c | 4 ++--
17972 1 file changed, 2 insertions(+), 2 deletions(-)
17974 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
17975 Author: Laszlo Pandy <lpandy@src.gnome.org>
17976 Date: Wed Jan 19 17:45:11 2011 +0100
17978 [gi] Convert GErrors to GObject.GError exceptions, and throw them
17979 upon returning from calling the C function.
17981 This changes gi to make use of pyglib_error_check() which already
17984 The included tests make use of the other patch attached to this bug,
17985 to check that the right exception is thrown from the new function
17986 in GIMarshallingTests.
17987 two Gtk C functions.
17989 https://bugzilla.gnome.org/show_bug.cgi?id=639834
17991 gi/Makefile.am | 3 ++-
17992 gi/pygi-invoke.c | 12 +++---------
17993 tests/test_gi.py | 10 ++++++++++
17994 3 files changed, 15 insertions(+), 10 deletions(-)
17996 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
17997 Author: John (J5) Palmieri <johnp@redhat.com>
17998 Date: Wed Jan 19 12:05:45 2011 -0500
18000 [gi] fix out marshalling for a couple of int types
18002 gi/pygi-argument.c | 2 +-
18003 gi/pygi-cache.c | 2 +-
18004 2 files changed, 2 insertions(+), 2 deletions(-)
18006 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
18007 Author: John (J5) Palmieri <johnp@redhat.com>
18008 Date: Wed Jan 19 11:59:09 2011 -0500
18010 [gi] fixed range checking and type conversion with unsigned and
18013 gi/pygi-argument.c | 90
18014 +++++++++++++++++++++++++++++++++++++++++++++---------
18015 gi/pygi-cache.c | 2 +-
18016 2 files changed, 76 insertions(+), 16 deletions(-)
18018 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
18019 Author: Martin Pitt <martin.pitt@ubuntu.com>
18020 Date: Wed Jan 19 17:03:06 2011 +0100
18022 pygi-convert.sh: Don't convert glib -> GLib for now
18024 This currently leads to a load of crashes, MemoryErrors, etc, as
18026 very well introspectable, due to the low-level operations that
18029 John Palmieri confirms that using the static "glib" binding is
18031 now, so disable the replacement rules.
18033 pygi-convert.sh | 19 ++++++++++---------
18034 1 file changed, 10 insertions(+), 9 deletions(-)
18036 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
18037 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18038 Date: Wed Jan 19 16:47:08 2011 +0100
18040 Link libregress.so to GIO_LIBS again
18042 configure.ac | 5 +++++
18043 1 file changed, 5 insertions(+)
18045 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
18046 Author: Laszlo Pandy <lpandy@src.gnome.org>
18047 Date: Wed Jan 19 16:14:42 2011 +0100
18049 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
18051 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
18052 because in Python attributes starting with a numeral causes a
18055 gi/overrides/Gdk.py | 7 +++++--
18056 1 file changed, 5 insertions(+), 2 deletions(-)
18058 commit 4f5d20966d4a8c649e5fae584039621edab178f3
18059 Author: John (J5) Palmieri <johnp@redhat.com>
18060 Date: Wed Jan 19 10:02:40 2011 -0500
18062 [gi] use correct format stings when setting errors
18064 gi/pygi-argument.c | 12 ++++++------
18065 1 file changed, 6 insertions(+), 6 deletions(-)
18067 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
18068 Author: John (J5) Palmieri <johnp@redhat.com>
18069 Date: Wed Jan 19 09:45:09 2011 -0500
18071 [gi] allow marshalling strings as None
18073 gi/pygi-argument.c | 5 +++++
18074 1 file changed, 5 insertions(+)
18076 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
18077 Author: John (J5) Palmieri <johnp@redhat.com>
18078 Date: Wed Jan 19 09:41:56 2011 -0500
18080 [gi] make error messages more detailed
18082 gi/pygi-argument.c | 2 +-
18083 gi/pygi-cache.c | 18 +++++++++---------
18084 2 files changed, 10 insertions(+), 10 deletions(-)
18086 commit f0b17605ed2eb917b350654b070984beb553eae3
18087 Author: John (J5) Palmieri <johnp@redhat.com>
18088 Date: Wed Jan 19 09:41:13 2011 -0500
18090 [gi] allow marshalling None for hashes
18092 gi/pygi-argument.c | 5 +++++
18093 1 file changed, 5 insertions(+)
18095 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
18096 Author: John (J5) Palmieri <johnp@redhat.com>
18097 Date: Wed Jan 19 09:40:37 2011 -0500
18099 [gi] add marshalling to some out values
18101 gi/pygi-argument.c | 50
18102 +++++++++++++++++++++++++++++++++++++++++---------
18103 1 file changed, 41 insertions(+), 9 deletions(-)
18105 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
18106 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18107 Date: Wed Jan 19 15:27:33 2011 +0100
18109 [gi] Fixed typo in exception
18111 gi/overrides/Gtk.py | 2 +-
18112 1 file changed, 1 insertion(+), 1 deletion(-)
18114 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
18115 Author: John (J5) Palmieri <johnp@redhat.com>
18116 Date: Wed Jan 19 09:13:44 2011 -0500
18118 [gi] fix marshalling structs
18120 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
18121 gi/pygi-foreign.c | 18 ++++++++++++------
18122 gi/pygi-foreign.h | 8 ++++----
18123 3 files changed, 51 insertions(+), 22 deletions(-)
18125 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
18126 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18127 Date: Wed Jan 19 15:12:25 2011 +0100
18129 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
18131 gi/overrides/Gdk.py | 4 ++--
18132 1 file changed, 2 insertions(+), 2 deletions(-)
18134 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
18135 Author: Martin Pitt <martin.pitt@ubuntu.com>
18136 Date: Wed Jan 19 14:54:57 2011 +0100
18138 Revert "Fix Pango FontDescription override"
18141 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
18142 the default constructor actually does take no arguments; we should
18144 the MemoryError. Add a test case for this.
18146 Remove the FIXME though, as pango_font_description_from_string()
18148 FontDescription constructor, but a static factory method.
18150 Thanks to Paolo Borelli for pointing this out!
18152 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
18154 gi/overrides/Pango.py | 5 ++++-
18155 tests/test_overrides.py | 5 +++++
18156 2 files changed, 9 insertions(+), 1 deletion(-)
18158 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
18159 Author: Tony Young <rofflwaffls@gmail.com>
18160 Date: Thu Dec 16 23:39:33 2010 +0000
18162 Python iterator interface support for GFileEnumerator.
18164 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
18165 gi/overrides/Makefile.am | 1 +
18166 tests/test_overrides.py | 20 ++++++++++++++++++++
18167 3 files changed, 62 insertions(+)
18169 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
18170 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18171 Date: Fri Jan 7 12:10:37 2011 +0100
18173 Remove gio static bindings
18175 https://bugzilla.gnome.org/show_bug.cgi?id=638899
18178 configure.ac | 25 -
18179 gio/.gitignore | 3 -
18180 gio/Makefile.am | 117 -
18181 gio/__init__.py | 40 -
18182 gio/gappinfo.override | 213 --
18183 gio/gapplaunchcontext.override | 99 -
18184 gio/gbufferedinputstream.override | 70 -
18185 gio/gcancellable.override | 38 -
18186 gio/gdatainputstream.override | 250 --
18187 gio/gdrive.override | 347 --
18188 gio/gfile.override | 2215 -----------
18189 gio/gfileattribute.override | 153 -
18190 gio/gfileenumerator.override | 184 -
18191 gio/gfileinfo.override | 121 -
18192 gio/gfileinputstream.override | 68 -
18193 gio/gfileiostream.override | 68 -
18194 gio/gfileoutputstream.override | 68 -
18195 gio/gicon.override | 310 --
18196 gio/ginputstream.override | 344 --
18197 gio/gio-types.defs | 807 ----
18198 gio/gio.defs | 7465
18199 -------------------------------------
18200 gio/gio.override | 409 --
18201 gio/giomodule.c | 208 --
18202 gio/giostream.override | 68 -
18203 gio/gmemoryinputstream.override | 91 -
18204 gio/gmemoryoutputstream.override | 45 -
18205 gio/gmount.override | 454 ---
18206 gio/goutputstream.override | 292 --
18207 gio/gresolver.override | 312 --
18208 gio/gsocket.override | 575 ---
18209 gio/gvolume.override | 237 --
18210 gio/gvolumemonitor.override | 94 -
18211 gio/pygio-utils.c | 236 --
18212 gio/pygio-utils.h | 49 -
18213 gio/unix-types.defs | 55 -
18214 gio/unix.defs | 475 ---
18215 gio/unix.override | 62 -
18216 gio/unixmodule.c | 52 -
18217 tests/Makefile.am | 9 -
18218 tests/runtests-windows.py | 3 -
18219 tests/test_gcancellable.py | 15 -
18220 tests/test_gicon.py | 112 -
18221 tests/test_gio.py | 1138 ------
18222 tests/test_gresolver.py | 68 -
18223 tests/test_gsocket.py | 126 -
18224 46 files changed, 1 insertion(+), 18191 deletions(-)
18226 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
18227 Author: John (J5) Palmieri <johnp@redhat.com>
18228 Date: Wed Jan 19 07:56:16 2011 -0500
18230 [gi] switch from using (*arg). to arg-> when referencing union
18233 gi/pygi-argument.c | 54
18234 +++++++++++++++++++++++++++---------------------------
18235 1 file changed, 27 insertions(+), 27 deletions(-)
18237 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
18238 Author: John (J5) Palmieri <johnp@redhat.com>
18239 Date: Wed Jan 19 07:49:52 2011 -0500
18241 [gi] return FALSE when setting errors in the marshaller
18243 gi/pygi-argument.c | 3 ++-
18244 1 file changed, 2 insertions(+), 1 deletion(-)
18246 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
18247 Author: John (J5) Palmieri <johnp@redhat.com>
18248 Date: Wed Jan 19 07:14:18 2011 -0500
18250 [gi] do arg counting in new invoke
18252 gi/pygi-cache.c | 2 ++
18253 gi/pygi-cache.h | 14 ++++++++------
18254 gi/pygi-invoke-state-struct.h | 2 +-
18255 gi/pygi-invoke.c | 20 +++++++++++++++++++-
18256 4 files changed, 30 insertions(+), 8 deletions(-)
18258 commit f45033858bed70d7defec3f71f26aa5b3999d680
18259 Author: John (J5) Palmieri <johnp@redhat.com>
18260 Date: Wed Jan 19 06:35:45 2011 -0500
18262 [gi] set length for uint8 in arrays in new invoke marshaller
18264 gi/pygi-argument.c | 1 +
18265 1 file changed, 1 insertion(+)
18267 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
18268 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18269 Date: Wed Jan 19 12:04:15 2011 +0100
18271 [gi] set length when marshalling guint8 erases
18273 gi/pygi-argument.c | 1 +
18274 tests/test_gi.py | 4 ++++
18275 2 files changed, 5 insertions(+)
18277 commit 22eee43e50a150ace80694213fb87be9f0c72f51
18278 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18279 Date: Wed Jan 19 10:27:47 2011 +0100
18281 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
18283 pygi-convert.sh | 1 +
18284 1 file changed, 1 insertion(+)
18286 commit a4b210d69c832629894090b7154ae194209b0c60
18287 Author: Arnaud Charlet <charlet@adacore.com>
18288 Date: Tue Jan 18 18:31:29 2011 +0100
18290 Disable calls to PyGILState_* when threads are disabled
18292 Since threads may also be disabled in Python too, those symbols
18296 https://bugzilla.gnome.org/show_bug.cgi?id=374603
18298 glib/pyglib.c | 12 ++++++++++++
18299 gobject/pygobject-private.h | 6 ++++++
18300 2 files changed, 18 insertions(+)
18302 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
18303 Author: John (J5) Palmieri <johnp@redhat.com>
18304 Date: Tue Jan 18 12:31:57 2011 -0500
18306 [gi] fix handling of garrays vs c arrays
18308 gi/pygi-argument.c | 9 +++++++--
18309 gi/pygi-cache.c | 2 ++
18310 gi/pygi-cache.h | 1 +
18311 3 files changed, 10 insertions(+), 2 deletions(-)
18313 commit a000627ec3904b9414ce375aec8d144fc0c26248
18314 Author: Martin Pitt <martin.pitt@ubuntu.com>
18315 Date: Tue Jan 18 18:29:50 2011 +0100
18317 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
18318 these should be ported properly
18320 pygi-convert.sh | 1 -
18321 1 file changed, 1 deletion(-)
18323 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
18324 Author: Martin Pitt <martin.pitt@ubuntu.com>
18325 Date: Tue Jan 18 18:26:01 2011 +0100
18327 pygi-convert.sh: Fix match for adding missing imports
18329 pygi-convert.sh | 8 ++++----
18330 1 file changed, 4 insertions(+), 4 deletions(-)
18332 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
18333 Author: Martin Pitt <martin.pitt@ubuntu.com>
18334 Date: Tue Jan 18 18:09:30 2011 +0100
18336 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
18338 As we are not replacing line by line, but the whole file at once,
18340 hackish unfortunately. We can't use a match test or a lookahead/behind
18343 pygi-convert.sh | 5 +++--
18344 1 file changed, 3 insertions(+), 2 deletions(-)
18346 commit f66051380c0432bf142774542ade2144adcd455e
18347 Author: John (J5) Palmieri <johnp@redhat.com>
18348 Date: Tue Jan 18 11:44:27 2011 -0500
18350 [gi] use correct union memeber when marshalling floats
18352 gi/pygi-argument.c | 2 +-
18353 1 file changed, 1 insertion(+), 1 deletion(-)
18355 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
18356 Author: Laszlo Pandy <lpandy@src.gnome.org>
18357 Date: Tue Jan 18 17:29:52 2011 +0100
18359 Remove trailing whitespace from gi/overrides/Gtk.py
18361 gi/overrides/Gtk.py | 10 +++++-----
18362 1 file changed, 5 insertions(+), 5 deletions(-)
18364 commit 1006df1929a667716c25e74b35b8f14643358732
18365 Author: John (J5) Palmieri <johnp@redhat.com>
18366 Date: Tue Jan 18 11:24:06 2011 -0500
18368 [gi] fix constructor invoking and add some support for interface
18371 * constructors are now simplified and are treated like normal
18373 which happen to return an instance
18375 gi/pygi-argument.c | 8 ++--
18376 gi/pygi-cache.c | 132
18377 +++++++++++++++++++++++++++++++++++++++++++++++++++--
18378 gi/pygi-invoke.c | 9 ++--
18379 gi/types.py | 21 +++------
18380 4 files changed, 142 insertions(+), 28 deletions(-)
18382 commit 8878c57676091c08e66bc6cbe735d898cb420582
18383 Author: Martin Pitt <martin.pitt@ubuntu.com>
18384 Date: Tue Jan 18 16:47:10 2011 +0100
18386 Fix Pango FontDescription override
18388 Trying to call __new__() on a record crashes with a MemoryError,
18390 the intended static factory method for a None argument as well
18394 gi/overrides/Pango.py | 7 +------
18395 1 file changed, 1 insertion(+), 6 deletions(-)
18397 commit efbbe71634037fa100b17327389b883b259cca54
18398 Author: Martin Pitt <martin.pitt@ubuntu.com>
18399 Date: Tue Jan 18 16:23:39 2011 +0100
18401 tests: Respect existing $GI_TYPELIB_PATH
18403 This allows us to run the test suite against local typelibs.
18405 tests/Makefile.am | 2 +-
18406 1 file changed, 1 insertion(+), 1 deletion(-)
18408 commit c96ca383350e5b9b079d9a86464922314939c006
18409 Author: John (J5) Palmieri <johnp@redhat.com>
18410 Date: Tue Jan 18 07:16:40 2011 -0500
18412 [gi] fix aux value offsets for methods and element size crashers
18414 * if the callable is a method we need to add 1 to the aux index
18415 for in values so we grab the right argument cache
18416 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
18419 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
18420 1 file changed, 24 insertions(+), 18 deletions(-)
18422 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
18423 Merge: 84d6142 7d997b6
18424 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18425 Date: Tue Jan 18 13:14:45 2011 +0100
18427 Merge branch 'value'
18429 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
18430 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18431 Date: Tue Jan 18 13:12:36 2011 +0100
18433 GTK overrides: Do type conversion to column types of ListStore and
18434 TreeStore in set_value
18436 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
18437 tests/test_overrides.py | 12 +++++++++++-
18438 2 files changed, 29 insertions(+), 11 deletions(-)
18440 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
18441 Author: Steve Frécinaux <code@istique.net>
18442 Date: Mon Jan 17 18:57:58 2011 +0100
18444 Always register a new GType when a GObject class is subclassed
18446 This patch makes the GType <-> python mapping much more predictible,
18447 and fixes the bug caused by overriding methods without specifying a
18448 __gtype_name__ member in the subclass, and makes type_register useless
18451 It is still possible to provide an explicit __gtype_name__ member
18453 subclass as it allows having a predictible GType name, which is handy
18454 for some of our tests. There is also an explicit special case for
18455 overrides because we obviously do not want to register new GTypes for
18456 those ones as it would clearly defeat the purpose of overrides.
18458 https://bugzilla.gnome.org/show_bug.cgi?id=543056
18460 gobject/__init__.py | 6 +++---
18461 tests/test_gi.py | 21 ++-------------------
18462 2 files changed, 5 insertions(+), 22 deletions(-)
18464 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
18465 Author: Simon van der Linden <svdlinden@gnome.org>
18466 Date: Tue Jan 18 12:57:13 2011 +0100
18468 Raise required versions of GLib and GObject-Introspection
18470 https://bugzilla.gnome.org/show_bug.cgi?id=612126
18472 configure.ac | 6 +++---
18473 1 file changed, 3 insertions(+), 3 deletions(-)
18475 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
18476 Author: Martin Pitt <martin.pitt@ubuntu.com>
18477 Date: Tue Jan 18 12:52:32 2011 +0100
18479 pygi-convert.sh: Handle keysyms
18481 pygi-convert.sh | 1 +
18482 1 file changed, 1 insertion(+)
18484 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
18485 Author: Martin Pitt <martin.pitt@ubuntu.com>
18486 Date: Tue Jan 18 12:14:09 2011 +0100
18488 GLib overrides: Add test case for array variant building
18490 tests/test_overrides.py | 7 +++++++
18491 1 file changed, 7 insertions(+)
18493 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
18494 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18495 Date: Tue Jan 18 10:21:03 2011 +0100
18497 Remove cairo.RectangleInt from the foreign module
18499 https://bugzilla.gnome.org/show_bug.cgi?id=639824
18501 gi/pygi-foreign-cairo.c | 96
18502 -------------------------------------------------
18503 1 file changed, 96 deletions(-)
18505 commit 017680c9a5e163021628bf29543598861a3b600a
18506 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18507 Date: Tue Jan 18 10:20:25 2011 +0100
18509 Dont try to guess the transfer if its a boxed
18511 https://bugzilla.gnome.org/show_bug.cgi?id=639823
18513 gi/pygi-invoke.c | 5 ++++-
18514 1 file changed, 4 insertions(+), 1 deletion(-)
18516 commit 771ef76574690eb98926249f38661d741d1ebbb0
18517 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18518 Date: Tue Jan 18 12:02:01 2011 +0100
18520 The tags can be Empty not None.
18522 gi/overrides/Gtk.py | 2 +-
18523 1 file changed, 1 insertion(+), 1 deletion(-)
18525 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
18526 Author: Martin Pitt <martin.pitt@ubuntu.com>
18527 Date: Tue Jan 18 12:01:28 2011 +0100
18529 Add Pythonic iterators and indexing to GVariant
18531 Add the usual set of iterators and index accessors to GLib.Variant
18533 which are containers.
18535 Add corresponding test cases.
18537 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
18538 tests/test_overrides.py | 55
18539 +++++++++++++++++++++++++++++++++++++++++++++++++
18540 2 files changed, 105 insertions(+)
18542 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
18543 Author: Martin Pitt <martin.pitt@ubuntu.com>
18544 Date: Tue Jan 18 10:48:03 2011 +0100
18546 Add GLib.Variant.unpack()
18548 This method decomposes a GLib.Variant into a native Python object,
18550 counterpart of _VariantCreator. This makes it a lot nicer for
18552 developers to use e. g. return values from gdbus calls.
18554 Add appropriate test case.
18556 gi/overrides/GLib.py | 45
18557 +++++++++++++++++++++++++++++++++++++++++++++
18558 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
18559 2 files changed, 77 insertions(+), 1 deletion(-)
18561 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
18562 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18563 Date: Tue Jan 18 10:56:18 2011 +0100
18565 Add override for gtk_text_buffer_insert_with_tags
18567 gi/overrides/Gtk.py | 12 ++++++++++++
18568 tests/test_overrides.py | 6 ++++++
18569 2 files changed, 18 insertions(+)
18571 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
18572 Author: Simon van der Linden <svdlinden@gnome.org>
18573 Date: Mon Jan 17 14:35:14 2011 +0100
18575 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
18577 https://bugzilla.gnome.org/show_bug.cgi?id=620215
18579 gi/Makefile.am | 6 ++++--
18580 gio/Makefile.am | 2 +-
18581 glib/Makefile.am | 2 +-
18582 m4/python.m4 | 7 +++++--
18583 tests/Makefile.am | 2 +-
18584 5 files changed, 12 insertions(+), 7 deletions(-)
18586 commit bceec758b27e6c396d17a79424633b5dc9116f54
18587 Author: Simon van der Linden <svdlinden@gnome.org>
18588 Date: Mon Jan 17 14:20:55 2011 +0100
18590 Kill JD_CHECK_PYTHON_HEADERS
18592 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
18594 https://bugzilla.gnome.org/show_bug.cgi?id=620215
18596 configure.ac | 2 +-
18597 m4/python.m4 | 31 +------------------------------
18598 2 files changed, 2 insertions(+), 31 deletions(-)
18600 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
18601 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18602 Date: Mon Jan 17 19:09:27 2011 +0100
18604 Revert "Override Gtk.Box.pack_start and pack_end to set default
18605 values to be compliant with pygtk"
18607 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
18611 gi/overrides/Gtk.py
18613 gi/overrides/Gtk.py | 10 ----------
18614 1 file changed, 10 deletions(-)
18616 commit 4fbae9629adc166627de05bb0946b71485343d69
18617 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18618 Date: Mon Jan 17 19:08:23 2011 +0100
18620 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
18621 default values to be compliant with pygtk"
18623 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
18625 gi/overrides/Gtk.py | 13 ++-----------
18626 1 file changed, 2 insertions(+), 11 deletions(-)
18628 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
18629 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18630 Date: Mon Jan 17 19:08:06 2011 +0100
18632 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
18633 set_cell_data_func to add default values to be compliant with pygtk"
18635 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
18637 gi/overrides/Gtk.py | 9 ---------
18638 1 file changed, 9 deletions(-)
18640 commit 2d9534f347505573da46743b47318e08bf073aef
18641 Author: Martin Pitt <martin.pitt@ubuntu.com>
18642 Date: Mon Jan 17 18:54:10 2011 +0100
18644 pygi-convert.sh: Handle gtk.combo_box_new_text()
18646 pygi-convert.sh | 1 +
18647 1 file changed, 1 insertion(+)
18649 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
18650 Author: John (J5) Palmieri <johnp@redhat.com>
18651 Date: Mon Jan 17 12:31:03 2011 -0500
18655 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
18656 gi/pygi-cache.c | 80
18657 +++++++++++++++++++++++++++++++++++++++++-------------
18658 gi/pygi-cache.h | 13 +++++++--
18659 gi/pygi-invoke.c | 2 +-
18660 4 files changed, 138 insertions(+), 25 deletions(-)
18662 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
18663 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18664 Date: Mon Jan 17 16:57:53 2011 +0100
18666 Override TreeSortable.set_sort_func and set_default_sort_func to
18667 add default values to be pygtk compliant
18669 gi/overrides/Gtk.py | 6 ++++++
18670 1 file changed, 6 insertions(+)
18672 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
18673 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18674 Date: Mon Jan 17 16:29:28 2011 +0100
18676 Override Gtk.TreeViewColumn.pack_start, pack_end and
18677 set_cell_data_func to add default values to be compliant with pygtk
18679 gi/overrides/Gtk.py | 9 +++++++++
18680 1 file changed, 9 insertions(+)
18682 commit 232841148f35684be83a2f47b5b18da4fb74f63a
18683 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18684 Date: Mon Jan 17 16:28:51 2011 +0100
18686 Override Gtk.CellLayout.pack_start and pack_end to add default values
18687 to be compliant with pygtk
18689 gi/overrides/Gtk.py | 13 +++++++++++--
18690 1 file changed, 11 insertions(+), 2 deletions(-)
18692 commit 1dec12826753756fcadefc8ef8c756fc902c320b
18693 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18694 Date: Mon Jan 17 15:54:32 2011 +0100
18696 Override Gtk.Paned pack1 and pack2 to add default values to be
18697 compliant with pygtk
18699 gi/overrides/Gtk.py | 10 ++++++++++
18700 1 file changed, 10 insertions(+)
18702 commit a8c727b9c4195d8085a45661683a18614ae84485
18703 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18704 Date: Mon Jan 17 15:46:25 2011 +0100
18706 Override Gtk.Box.pack_start and pack_end to set default values to
18707 be compliant with pygtk
18709 gi/overrides/Gtk.py | 10 ++++++++++
18710 1 file changed, 10 insertions(+)
18712 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
18713 Author: Steve Frécinaux <code@istique.net>
18714 Date: Wed Aug 4 00:30:05 2010 +0200
18716 Handle GObject subclasses in the property helper.
18718 https://bugzilla.gnome.org/show_bug.cgi?id=625982
18720 gobject/propertyhelper.py | 26 +++++++++++++-------------
18721 tests/test_properties.py | 9 +++++++++
18722 2 files changed, 22 insertions(+), 13 deletions(-)
18724 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
18725 Author: Martin Pitt <martin.pitt@ubuntu.com>
18726 Date: Mon Jan 17 17:52:15 2011 +0100
18728 Fix handling of unicode for GtkTreeModels
18730 The code previously converted an unicode object into unicode, but
18732 models actually have to specify 'str' (GTK expects a gchararray). So
18734 UTF-8 instead to get what GTK expects.
18736 Add corresponding test case.
18738 gi/overrides/Gtk.py | 2 +-
18739 tests/test_overrides.py | 12 +++++++++++-
18740 2 files changed, 12 insertions(+), 2 deletions(-)
18742 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
18743 Author: Laszlo Pandy <lpandy@src.gnome.org>
18744 Date: Mon Jan 17 16:46:08 2011 +0100
18746 In IntrospectionModule and DynamicModule classes, make all instance
18747 attributes start with an underscore.
18749 This changes IntrospectionModule.version to _version and
18750 DynamicModule.introspection_module to _introspection_module.
18751 This is done to mark the attributes as private, and also avoid name
18752 collisions with attributes from the typelib.
18753 In Gstreamer, there is a function gst_version, which was previously
18754 inaccessible because of IntrospectionModule.version overriding it.
18756 gi/module.py | 26 +++++++++++++-------------
18757 gi/overrides/GIMarshallingTests.py | 2 +-
18758 gi/overrides/GLib.py | 2 +-
18759 gi/overrides/Gdk.py | 10 +++++-----
18760 gi/overrides/Gtk.py | 2 +-
18761 gi/overrides/Pango.py | 2 +-
18762 gi/overrides/__init__.py | 2 +-
18763 tests/test_everything.py | 2 +-
18764 8 files changed, 24 insertions(+), 24 deletions(-)
18766 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
18767 Author: Laszlo Pandy <lpandy@src.gnome.org>
18768 Date: Mon Jan 17 16:17:25 2011 +0100
18770 Amend previous enum wrapping commit to remove redundant setting of
18771 __info__ attribute.
18773 gi/module.py | 2 +-
18774 gi/types.py | 6 +++---
18775 2 files changed, 4 insertions(+), 4 deletions(-)
18777 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
18778 Author: Martin Pitt <martin.pitt@ubuntu.com>
18779 Date: Mon Jan 17 16:16:45 2011 +0100
18781 pygi-convert.sh: Handle GdkPixbuf.InterpType
18783 pygi-convert.sh | 2 ++
18784 1 file changed, 2 insertions(+)
18786 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
18787 Author: Laszlo Pandy <laszlok2@gmail.com>
18788 Date: Mon Jan 17 15:43:34 2011 +0100
18790 Fix wrapping of enums: Create new Python type for each non-gtype enum.
18792 Previously non-gtype enums used the same class, which meant they
18793 were all the same type.
18794 This caused another problem that since they were all the same class,
18795 attributes from different enums were available from each other.
18797 A new test case is created to check for this bug. It requires a new
18798 enum from the GIMarshallingTests (updating gobject-introspection
18801 gi/module.py | 2 +-
18803 tests/test_gi.py | 10 ++++++++++
18804 3 files changed, 13 insertions(+), 1 deletion(-)
18806 commit da50d5620a42046d4fc905bb28a0890d73533cb1
18807 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18808 Date: Mon Dec 13 18:03:51 2010 +0100
18810 Use g_vfunc_info_invoke for chaining up in vfuncs
18812 https://bugzilla.gnome.org/show_bug.cgi?id=637165
18814 gi/pygi-info.c | 4 ++--
18815 gi/pygi-invoke.c | 72
18816 +++++++++++++++++++++++++++++++++++++++++++-------------
18817 gi/pygi-invoke.h | 3 ++-
18818 gi/types.py | 28 +++++++++++++++++++++-
18819 tests/test_gi.py | 5 ++--
18820 5 files changed, 89 insertions(+), 23 deletions(-)
18822 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
18823 Author: Simon van der Linden <svdlinden@gnome.org>
18824 Date: Fri Dec 31 18:38:04 2010 +0100
18826 Move pyglib_{main_context, option_context, option_group}_new into
18829 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
18831 when used inside the glib module, since pyglib_init is not called.
18833 pyglib.c is compiled as a stand-alone library loaded by the _glib
18835 declares the above-mentioned types. Hence, they cannot be accessed
18837 former. This patch moves the functions that need those symbols
18839 glib._glib module and exports them to the pyglib library through
18842 https://bugzilla.gnome.org/show_bug.cgi?id=636656
18844 glib/glibmodule.c | 5 ++++-
18845 glib/pyglib-private.h | 3 +++
18847 +++---------------------------------------------
18848 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
18849 glib/pygmaincontext.h | 2 +-
18850 glib/pygmainloop.c | 2 +-
18851 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
18852 glib/pygoptioncontext.h | 2 ++
18853 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
18854 glib/pygoptiongroup.h | 2 ++
18855 glib/pygsource.c | 2 +-
18856 11 files changed, 86 insertions(+), 49 deletions(-)
18858 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
18859 Author: Martin Pitt <martin.pitt@ubuntu.com>
18860 Date: Mon Jan 17 14:51:26 2011 +0100
18862 pygi-convert.sh: Handle Gdk.DragAction
18864 pygi-convert.sh | 1 +
18865 1 file changed, 1 insertion(+)
18867 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
18868 Author: Martin Pitt <martin.pitt@ubuntu.com>
18869 Date: Mon Jan 17 14:46:58 2011 +0100
18871 pygi-convert.sh: Generalize Gtk.Settings migration
18873 There are other GSettings.get_* functions like get_for_screen().
18875 pygi-convert.sh | 2 +-
18876 1 file changed, 1 insertion(+), 1 deletion(-)
18878 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
18879 Author: Martin Pitt <martin.pitt@ubuntu.com>
18880 Date: Mon Jan 17 11:22:46 2011 +0100
18882 pygi-convert.sh: Don't change the name of "glib" submodules
18884 This particular affects dbus.mainloop.glib.*
18886 pygi-convert.sh | 2 +-
18887 1 file changed, 1 insertion(+), 1 deletion(-)
18889 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
18890 Author: Paolo Borelli <pborelli@gnome.org>
18891 Date: Sun Jan 16 22:09:56 2011 +0100
18893 Plug another memory leak
18895 Do not leak interface info in (g|s)_et_property.
18897 gi/pygi-property.c | 4 ++++
18898 1 file changed, 4 insertions(+)
18900 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
18901 Author: Paolo Borelli <pborelli@gnome.org>
18902 Date: Sun Jan 16 21:43:30 2011 +0100
18904 Plug a small memory leak.
18906 Do not leak type_info in find_vfunc_info
18908 gi/gimodule.c | 10 +++++-----
18909 1 file changed, 5 insertions(+), 5 deletions(-)
18911 commit d0cbcc45366d40702c69cef207d3c0f361260c02
18912 Author: Paolo Borelli <pborelli@gnome.org>
18913 Date: Sun Jan 16 12:16:31 2011 +0100
18915 Override Table.attach() to behave like pygtk
18917 It is fairly common and even gtk itself still has attach_defaults.
18919 gi/overrides/Gtk.py | 3 +++
18920 tests/test_overrides.py | 4 ++++
18921 2 files changed, 7 insertions(+)
18923 commit 6409d659326bf3cefdf6051379e8bc2031f16733
18924 Author: Martin Pitt <martin.pitt@ubuntu.com>
18925 Date: Sat Jan 15 11:20:23 2011 -0600
18927 pygi-convert.sh: Convert Pango.WrapMode
18929 pygi-convert.sh | 1 +
18930 1 file changed, 1 insertion(+)
18932 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
18933 Author: Martin Pitt <martin.pitt@ubuntu.com>
18934 Date: Sat Jan 15 11:17:09 2011 -0600
18936 pygi-convert.sh: Don't change the name of "gtk" submodules
18938 Some projects have local modules like "myproject.ui.gtk". Avoid
18940 just change module names which start with "gtk" or "gdk".
18942 pygi-convert.sh | 4 ++--
18943 1 file changed, 2 insertions(+), 2 deletions(-)
18945 commit 9be0f1f2dfb89150faf1827ef482feea03645149
18946 Author: John (J5) Palmieri <johnp@redhat.com>
18947 Date: Thu Jan 13 23:56:19 2011 -0500
18949 [gi] implement aux arg handling for array lengths
18951 gi/pygi-argument.c | 8 ++++++++
18952 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
18953 gi/pygi-cache.h | 1 -
18954 gi/pygi-invoke.c | 8 ++++++--
18955 4 files changed, 42 insertions(+), 11 deletions(-)
18957 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
18958 Author: John (J5) Palmieri <johnp@redhat.com>
18959 Date: Thu Jan 13 21:07:25 2011 -0500
18961 [gi] marshal in hashes
18963 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
18964 gi/pygi-cache.c | 122
18965 +++++++++++++++++++++++++++++++++++++----------------
18966 2 files changed, 176 insertions(+), 39 deletions(-)
18968 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
18969 Author: Laszlo Pandy <git@laszlopandy.com>
18970 Date: Tue Jan 11 21:41:47 2011 +0100
18972 Fix the __dir__() methods on DynamicModule and IntrospectionModule
18974 Previously the __dir__() methods did not list all attributes.
18975 A simple test case is included. It does not test to see if
18976 every attribute is listed, it just tests a few of each kind:
18977 - (wrapped) typelib attributes
18978 - class attributes and methods
18979 - instance attributes
18981 A set() is used to avoid returning duplicate attributes.
18982 The test case checks for this as well.
18984 https://bugzilla.gnome.org/show_bug.cgi?id=639229
18986 gi/module.py | 28 +++++++++++++++++++++-------
18987 tests/test_everything.py | 18 ++++++++++++++++++
18988 2 files changed, 39 insertions(+), 7 deletions(-)
18990 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
18991 Author: Paolo Borelli <pborelli@gnome.org>
18992 Date: Thu Jan 13 00:02:20 2011 +0100
18994 pygi-convert.sh: handle ReliefStyle
18996 pygi-convert.sh | 1 +
18997 1 file changed, 1 insertion(+)
18999 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
19000 Author: John (J5) Palmieri <johnp@redhat.com>
19001 Date: Wed Jan 12 16:50:30 2011 -0500
19003 [gi] support for GList and GSList in
19005 gi/pygi-argument.c | 122
19006 ++++++++++++++++++++++++++++++++++++++++++++++++++---
19007 1 file changed, 116 insertions(+), 6 deletions(-)
19009 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
19010 Author: John (J5) Palmieri <johnp@redhat.com>
19011 Date: Wed Jan 12 16:24:17 2011 -0500
19013 [gi] handle allow_none for all args
19015 gi/pygi-cache.c | 3 ++-
19016 gi/pygi-cache.h | 1 +
19017 gi/pygi-invoke.c | 7 +++++++
19018 3 files changed, 10 insertions(+), 1 deletion(-)
19020 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
19021 Author: John (J5) Palmieri <johnp@redhat.com>
19022 Date: Wed Jan 12 16:23:02 2011 -0500
19024 [gi] fix marshalling fixed arrays
19026 * get the correct item_size and pass the GArray data not the GArray
19028 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
19029 gi/pygi-cache.c | 3 ++-
19030 2 files changed, 24 insertions(+), 18 deletions(-)
19032 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
19033 Author: John (J5) Palmieri <johnp@redhat.com>
19034 Date: Tue Jan 11 17:20:43 2011 -0500
19036 [gi] implement out arg handling
19038 gi/pygi-argument.c | 43 ++++++++++---------------------------
19039 gi/pygi-cache.c | 22 ++++++++++++++-----
19040 gi/pygi-invoke-state-struct.h | 13 +++++++++++
19041 gi/pygi-invoke.c | 50
19042 +++++++++++++++++++++++++++++++++++++++++--
19043 4 files changed, 89 insertions(+), 39 deletions(-)
19045 commit bd002c72675d35b5e60ab773181e7c36c30d2625
19046 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19047 Date: Tue Jan 11 22:21:18 2011 +0100
19049 setup.py: fix the provides keyword argument
19052 1 file changed, 1 insertion(+), 1 deletion(-)
19054 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
19055 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19056 Date: Tue Jan 11 22:19:18 2011 +0100
19058 setup.py: use the same spaces-less format for all setup() parameters
19060 setup.py | 8 ++++----
19061 1 file changed, 4 insertions(+), 4 deletions(-)
19063 commit c5c149be171895d292852df364541f14f0ec423a
19064 Author: John (J5) Palmieri <johnp@redhat.com>
19065 Date: Tue Jan 11 15:39:09 2011 -0500
19067 [gi] implemented return marshalling and started on out marshalling
19069 gi/pygi-argument.c | 387
19070 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
19071 gi/pygi-argument.h | 117 ++++++++++++++++
19072 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
19073 gi/pygi-cache.h | 8 +-
19074 gi/pygi-invoke.c | 12 +-
19075 5 files changed, 829 insertions(+), 11 deletions(-)
19077 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
19078 Author: John (J5) Palmieri <johnp@redhat.com>
19079 Date: Tue Jan 11 13:49:58 2011 -0500
19081 [gi] flesh out interface in marshalling a bit more
19083 gi/pygi-argument.c | 74
19084 ++++++++++++++++++++++++++++++++++++++++----------
19085 gi/pygi-cache.c | 79
19086 ++++++++++++++++++++++++++++++++++++++++++------------
19087 gi/pygi-cache.h | 1 +
19088 3 files changed, 123 insertions(+), 31 deletions(-)
19090 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
19091 Author: Laszlo Pandy <laszlok2@gmail.com>
19092 Date: Tue Jan 11 19:30:38 2011 +0100
19094 Add a __repr__() method to DynamicModule.
19096 This patch adds a __repr__() method to DynamicModule so that modules
19098 meaningful string with the typelib path included:
19100 >>> from gi.repository import Gtk
19102 <gi.module.DynamicModule 'Gtk' from
19103 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
19105 https://bugzilla.gnome.org/show_bug.cgi?id=639232
19107 gi/module.py | 9 +++++++++
19108 1 file changed, 9 insertions(+)
19110 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
19111 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19112 Date: Tue Jan 11 19:40:19 2011 +0100
19114 Go back to using getattr() in DynamicModule.__getattr__
19116 Breaks marshalling of some types
19118 gi/module.py | 2 +-
19119 1 file changed, 1 insertion(+), 1 deletion(-)
19121 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
19122 Author: Laszlo Pandy <laszlok2@gmail.com>
19123 Date: Tue Jan 11 19:26:50 2011 +0100
19125 Change __dir__() to report all the attributes that __getattr__
19128 Change DynamicModule.__dir__() to return the local class members as
19130 typelib attributes.
19132 Change DynamicModule.__getattr__() to call
19133 IntrospectionModule.__getattr__()
19134 directly, so that it won't inadvertently return class attributes from
19135 IntrospectionModule.
19137 https://bugzilla.gnome.org/show_bug.cgi?id=639229
19139 gi/module.py | 10 +++++++---
19140 1 file changed, 7 insertions(+), 3 deletions(-)
19142 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
19143 Author: John (J5) Palmieri <johnp@redhat.com>
19144 Date: Mon Jan 10 17:55:03 2011 -0500
19146 [gi] add object and interface in marshalling
19148 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
19151 gi/pygi-argument.c | 15 +++--
19152 gi/pygi-cache.c | 182
19153 ++++++++++++++++++++++++++++++++++++++++++++++++-----
19154 gi/pygi-cache.h | 1 -
19155 gi/pygi-invoke.c | 1 +
19156 4 files changed, 178 insertions(+), 21 deletions(-)
19158 commit 88531c58d0491a31dd319387237a03df5c9edc07
19159 Author: John (J5) Palmieri <johnp@redhat.com>
19160 Date: Mon Jan 10 15:33:56 2011 -0500
19162 [gi] fix casting when marshaling a char to uint8
19164 gi/pygi-argument.c | 2 +-
19165 1 file changed, 1 insertion(+), 1 deletion(-)
19167 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
19168 Author: John (J5) Palmieri <johnp@redhat.com>
19169 Date: Mon Jan 10 15:07:16 2011 -0500
19171 [gi] hook up invoke to the cache
19173 * We now can invoke with in values
19174 * out, constructors and returns still don't work along with numerous
19178 gi/Makefile.am | 1 +
19179 gi/pygi-argument.c | 60 +++++++++--------
19180 gi/pygi-argument.h | 60 ++++++++---------
19181 gi/pygi-cache.h | 6 +-
19182 gi/pygi-invoke-state-struct.h | 26 ++++++++
19183 gi/pygi-invoke.c | 149
19184 ++++++++++++++++++++++++++++++++----------
19185 gi/pygi-invoke.h | 2 +-
19186 gi/pygi-private.h | 1 +
19187 8 files changed, 208 insertions(+), 97 deletions(-)
19189 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
19190 Author: John (J5) Palmieri <johnp@redhat.com>
19191 Date: Sun Jan 9 19:37:55 2011 -0500
19193 hooked up caching stage and fixed segfaults
19195 * caching stage is hooked up but not used yet
19196 * throws exceptions for everything that can not be cached yet
19198 gi/pygi-cache.c | 59
19199 +++++++++++++++++++++++++++++++++++++++++++-------------
19200 gi/pygi-info.c | 3 +++
19201 gi/pygi-invoke.c | 5 +++++
19203 4 files changed, 56 insertions(+), 13 deletions(-)
19205 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
19206 Author: John (J5) Palmieri <johnp@redhat.com>
19207 Date: Sun Jan 9 18:05:31 2011 -0500
19209 [gi] fix some function names
19211 gi/pygi-cache.c | 5 ++---
19212 1 file changed, 2 insertions(+), 3 deletions(-)
19214 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
19215 Author: John (J5) Palmieri <johnp@redhat.com>
19216 Date: Sun Jan 9 15:58:06 2011 -0500
19218 [gi] refactor cache structs so they inherit from ArgCache
19220 gi/pygi-argument.c | 122 +++++++++----------
19221 gi/pygi-cache.c | 344
19222 +++++++++++++++++++++++++++++------------------------
19223 gi/pygi-cache.h | 50 ++++----
19224 3 files changed, 273 insertions(+), 243 deletions(-)
19226 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
19227 Author: John (J5) Palmieri <johnp@redhat.com>
19228 Date: Sat Jan 8 20:45:11 2011 -0500
19230 [gi]fix cache compile error - now compiles but cache still not
19233 gi/Makefile.am | 2 +
19234 gi/pygi-argument.c | 100 +++++++++++++++---------------
19235 gi/pygi-argument.h | 174
19236 ++++++++++++++++++++++++++++++++++++++++++++---------
19237 gi/pygi-cache.c | 169
19238 +++++++++++++++++++++++++--------------------------
19239 gi/pygi-cache.h | 25 ++++----
19240 5 files changed, 293 insertions(+), 177 deletions(-)
19242 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
19243 Author: John (J5) Palmieri <johnp@redhat.com>
19244 Date: Sat Jan 8 19:10:29 2011 -0500
19246 add sequence caching and array marshalling w/ item marshalling
19248 * simplify what we pass into the arg cache generators so we may
19250 for geneating marshalling caches for container items, not just
19253 gi/pygi-argument.c | 76 ++++++++++++++++-
19254 gi/pygi-cache.c | 242
19255 ++++++++++++++++++++++-------------------------------
19256 gi/pygi-cache.h | 4 +-
19257 3 files changed, 175 insertions(+), 147 deletions(-)
19259 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
19260 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
19261 Date: Sat Jan 8 02:19:52 2011 +0000
19263 Bump the minimum gio dependency
19265 Needed for G_TYPE_CONVERTER_FLAGS and others.
19267 configure.ac | 2 +-
19268 1 file changed, 1 insertion(+), 1 deletion(-)
19270 commit c3aa36151fdef9ed9884d93114786bbe86387983
19271 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19272 Date: Fri Jan 7 12:58:11 2011 +0100
19274 Add test for incorrect attributes in Gdk.Event
19276 tests/test_overrides.py | 4 ++++
19277 1 file changed, 4 insertions(+)
19279 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
19280 Author: Simon van der Linden <svdlinden@gnome.org>
19281 Date: Sun Jan 2 19:25:55 2011 +0100
19283 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
19285 __getattr__ is only called when the attribute is not found through
19287 mechanism, so getattr must not be called again in __getattr__
19289 create an infinite loop).
19291 Another possibility would be to implement __getattribute__ instead,
19293 called in place of the normal mechanism. In that case, calling
19295 needed for normal attributes.
19297 https://bugzilla.gnome.org/show_bug.cgi?id=638523
19299 gi/overrides/Gdk.py | 2 +-
19300 1 file changed, 1 insertion(+), 1 deletion(-)
19302 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
19303 Author: Mike Gorse <mgorse@novell.com>
19304 Date: Fri Jan 7 09:08:31 2011 +0100
19306 Release allocated array of arguments when handling closures
19308 https://bugzilla.gnome.org/show_bug.cgi?id=638847
19310 gi/pygi-closure.c | 3 +++
19311 1 file changed, 3 insertions(+)
19313 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
19314 Author: Mike Gorse <mgorse@novell.com>
19315 Date: Fri Jan 7 09:07:35 2011 +0100
19317 Release GIValueInfo when checking an enum argument
19319 https://bugzilla.gnome.org/show_bug.cgi?id=638847
19321 gi/pygi-argument.c | 1 +
19322 1 file changed, 1 insertion(+)
19324 commit 43849c51391fc9cd239697065c3d40fa02fb6783
19325 Author: John (J5) Palmieri <johnp@redhat.com>
19326 Date: Thu Jan 6 17:30:14 2011 -0500
19330 gi/pygi-cache.c | 24 ++++++++++++------------
19331 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
19332 2 files changed, 33 insertions(+), 33 deletions(-)
19334 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
19335 Author: John (J5) Palmieri <johnp@redhat.com>
19336 Date: Thu Jan 6 17:29:00 2011 -0500
19338 add marshalling for basic types and add more skeleton code
19340 * still doesn't compile
19342 gi/pygi-argument.c | 708
19343 +++++++++++++++++++++++++++++++++++++++++++++++++++++
19344 gi/pygi-argument.h | 35 ++-
19345 gi/pygi-cache.c | 82 +++++--
19346 gi/pygi-cache.h | 41 +++-
19347 4 files changed, 832 insertions(+), 34 deletions(-)
19349 commit f554cf62848104d31518138ae85bc51acaafda67
19350 Author: John (J5) Palmieri <johnp@redhat.com>
19351 Date: Tue Jan 4 18:49:53 2011 -0500
19353 first checkin of the new caching branch
19355 * this does not compile and is not hooked up to the build system
19356 * lays out the caching data structures and some skeleton functions
19358 gi/pygi-cache.c | 480
19359 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19360 gi/pygi-cache.h | 104 ++++++++++++
19361 2 files changed, 584 insertions(+)
19363 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
19364 Author: Eitan Isaacson <eitan@monotonous.org>
19365 Date: Wed Dec 22 12:34:10 2010 -0800
19367 Respect different type lengths when assigning out-argument pointers.
19369 https://bugzilla.gnome.org/show_bug.cgi?id=637832
19371 gi/pygi-closure.c | 66
19372 ++++++++++++++++++++++++++++++++++++++++++++++---------
19373 1 file changed, 56 insertions(+), 10 deletions(-)
19375 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
19376 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19377 Date: Tue Dec 28 18:34:25 2010 +0100
19379 Fix stupid name clash
19381 gi/module.py | 7 +++++--
19382 1 file changed, 5 insertions(+), 2 deletions(-)
19384 commit 01b2a193d403beb861eab524300b4f1af63157ce
19385 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19386 Date: Tue Dec 28 13:49:18 2010 +0100
19388 Add /usr/share to XDG_DATA_DIRS when running the tests
19390 tests/Makefile.am | 7 ++++++-
19391 1 file changed, 6 insertions(+), 1 deletion(-)
19393 commit efc186f692f9eac781cc47456be74a3da7f14dcd
19394 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19395 Date: Tue Dec 28 13:25:34 2010 +0100
19397 Comment out tests that require SRV lookups
19399 tests/test_gresolver.py | 5 ++++-
19400 1 file changed, 4 insertions(+), 1 deletion(-)
19402 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
19403 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19404 Date: Tue Dec 28 13:00:16 2010 +0100
19406 Use suppresion file when running valgrind
19408 tests/Makefile.am | 2 +-
19409 tests/python.supp | 387
19410 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19411 2 files changed, 388 insertions(+), 1 deletion(-)
19413 commit 0ee58113ecbea72784c52de928c041fc8fc88984
19414 Author: Ignacio Casal Quinteiro <icq@gnome.org>
19415 Date: Thu Dec 23 00:10:41 2010 +0100
19419 gi/pygi-argument.c | 16 +++++++---------
19420 gi/pygi-foreign-cairo.c | 13 ++-----------
19421 gio/gfile.override | 5 ++---
19422 glib/pyglib-python-compat.h | 3 +++
19423 glib/pyglib.c | 2 +-
19424 glib/pygmainloop.c | 3 ++-
19425 6 files changed, 17 insertions(+), 25 deletions(-)
19427 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
19428 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
19429 Date: Sun Dec 19 23:10:57 2010 +0100
19431 Allow comparing Gtk.TreePath to None
19433 https://bugzilla.gnome.org/show_bug.cgi?id=637615
19435 gi/overrides/Gtk.py | 12 ++++++------
19436 tests/test_overrides.py | 6 ++++++
19437 2 files changed, 12 insertions(+), 6 deletions(-)
19439 commit 046cc5915286e042d1040271a90676b77632409e
19440 Author: John (J5) Palmieri <johnp@redhat.com>
19441 Date: Thu Dec 16 15:41:10 2010 -0500
19443 handle unicode objects in properties
19445 * There are still some cavets in Python 2:
19446 - properties are returned as String objects with the unicode
19448 - you must add # coding=utf-8 to the top of your python file
19450 will error out if it sees embeded unicode charaters (such as when
19451 supporting python 3 and python 2 from the same source)
19453 https://bugzilla.gnome.org/show_bug.cgi?id=620579
19455 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
19456 tests/test_properties.py | 16 ++++++++++++++++
19457 2 files changed, 42 insertions(+), 9 deletions(-)
19459 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
19460 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19461 Date: Tue Dec 14 12:29:54 2010 +0100
19463 dsextras.py: check if gcc is there when platform is win32 and compiler
19466 dsextras.py | 6 ++++++
19467 1 file changed, 6 insertions(+)
19469 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
19470 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19471 Date: Tue Dec 14 12:29:01 2010 +0100
19473 dsextras.py: be consistent in how distutils imports are done
19475 dsextras.py | 6 +++---
19476 1 file changed, 3 insertions(+), 3 deletions(-)
19478 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
19479 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19480 Date: Tue Dec 14 12:25:07 2010 +0100
19482 dsextras.py: add have_gcc() function
19484 dsextras.py | 5 +++++
19485 1 file changed, 5 insertions(+)
19487 commit 637c2c287cfb0e89365026531c651111f5593ac7
19488 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19489 Date: Tue Dec 14 12:24:41 2010 +0100
19491 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
19493 dsextras.py | 8 ++------
19494 1 file changed, 2 insertions(+), 6 deletions(-)
19496 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
19497 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19498 Date: Tue Dec 14 12:22:54 2010 +0100
19500 setup.py: fix another case of use True/False instead of 1/0
19503 1 file changed, 1 insertion(+), 1 deletion(-)
19505 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
19506 Author: Paolo Borelli <pborelli@gnome.org>
19507 Date: Mon Dec 13 10:21:52 2010 +0100
19509 pygi-convert.sh: improve GtkSourceView conversion
19511 pygi-convert.sh | 7 +++++++
19512 1 file changed, 7 insertions(+)
19514 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
19515 Author: Paolo Borelli <pborelli@gnome.org>
19516 Date: Mon Dec 13 10:27:56 2010 +0100
19518 pygi-convert.sh: Gtk.DialogFlags conversion
19520 pygi-convert.sh | 1 +
19521 1 file changed, 1 insertion(+)
19523 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
19524 Author: José Alburquerque <jaalburqu@svn.gnome.org>
19525 Date: Sun Dec 12 20:38:46 2010 -0500
19527 Doc Extractor: Print the gtk-doc blocks sorted by function name.
19529 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
19531 alphabetical order according to the identifier (function name)
19533 the generation of xml files in the C++ bindings is deterministic.
19534 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
19537 codegen/docextract_to_xml.py | 2 +-
19538 1 file changed, 1 insertion(+), 1 deletion(-)
19540 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
19541 Author: Paolo Borelli <pborelli@gnome.org>
19542 Date: Mon Dec 13 00:17:26 2010 +0100
19544 pygi-convert.sh: add more Gtk conversions and sort
19546 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
19547 1 file changed, 26 insertions(+), 24 deletions(-)
19549 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
19550 Author: Paolo Borelli <pborelli@gnome.org>
19551 Date: Mon Dec 13 00:01:40 2010 +0100
19553 pygi-convert.sh: convert Atk
19555 pygi-convert.sh | 12 ++++++++++++
19556 1 file changed, 12 insertions(+)
19558 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
19559 Author: Paolo Borelli <pborelli@gnome.org>
19560 Date: Sun Dec 12 23:48:48 2010 +0100
19562 pygi-convert.sh: convert a few more Gio types
19564 pygi-convert.sh | 9 +++++++++
19565 1 file changed, 9 insertions(+)
19567 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
19568 Author: Paolo Borelli <pborelli@gnome.org>
19569 Date: Sun Dec 12 14:19:00 2010 +0100
19571 pygi-convert.sh: more GLib conversion
19573 pygi-convert.sh | 7 +++++++
19574 1 file changed, 7 insertions(+)
19576 commit c903390814bebdc62d530472f6f94feecc59b8b3
19577 Author: Paolo Borelli <pborelli@gnome.org>
19578 Date: Sun Dec 12 14:00:34 2010 +0100
19580 pygi-convert.sh: remove two cases handled by overrides
19582 pygi-convert.sh | 2 --
19583 1 file changed, 2 deletions(-)
19585 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
19586 Author: Paolo Borelli <pborelli@gnome.org>
19587 Date: Sun Dec 12 13:38:56 2010 +0100
19589 Override Gtk.ScrolledWindow constructor
19591 gi/overrides/Gtk.py | 7 +++++++
19592 tests/test_overrides.py | 7 +++++++
19593 2 files changed, 14 insertions(+)
19595 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
19596 Author: Paolo Borelli <pborelli@gnome.org>
19597 Date: Sun Dec 12 12:32:39 2010 +0100
19599 pygi-convert.sh: Fix 'find' syntax
19601 pygi-convert.sh | 2 +-
19602 1 file changed, 1 insertion(+), 1 deletion(-)
19604 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
19605 Author: Paolo Borelli <pborelli@gnome.org>
19606 Date: Sun Dec 12 12:29:38 2010 +0100
19608 pygi-convert.sh: start handling Gio and GLib
19610 pygi-convert.sh | 8 ++++++++
19611 1 file changed, 8 insertions(+)
19613 commit 365bf3251af3498dc797a58cce071805451b49b1
19614 Author: Paolo Borelli <pborelli@gnome.org>
19615 Date: Sat Dec 11 23:05:31 2010 +0100
19617 pygi-convert.sh: convert Gdk.ScrollDirection.
19619 pygi-convert.sh | 1 +
19620 1 file changed, 1 insertion(+)
19622 commit bca603de0f217fb290189a0ea330f82961c46d5d
19623 Author: Paolo Borelli <pborelli@gnome.org>
19624 Date: Sat Dec 11 15:03:21 2010 +0100
19626 Override Pango.Layout constructor.
19628 I must take a Pango.Context argument. Unfortumately the context is
19630 gobject property so we need to jump through some oops.
19632 gi/overrides/Pango.py | 13 +++++++++++++
19633 tests/test_overrides.py | 6 ++++++
19634 2 files changed, 19 insertions(+)
19636 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
19637 Author: Paolo Borelli <pborelli@gnome.org>
19638 Date: Sat Dec 11 14:18:53 2010 +0100
19640 Remove Pango.FontDescription() conversion.
19642 It is now properly handled by an override.
19644 pygi-convert.sh | 1 -
19645 1 file changed, 1 deletion(-)
19647 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
19648 Author: Paolo Borelli <pborelli@gnome.org>
19649 Date: Fri Dec 10 14:05:20 2010 +0100
19651 Override GtkAction and GtkRadioAction constructors.
19653 gi/overrides/Gtk.py | 20 +++++++++++++++++---
19654 tests/test_overrides.py | 18 ++++++++++++++++++
19655 2 files changed, 35 insertions(+), 3 deletions(-)
19657 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
19658 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
19659 Date: Sat Dec 4 22:13:28 2010 +0000
19661 Override Adjustment constructor to behave like pygtk
19663 https://bugzilla.gnome.org/show_bug.cgi?id=636486
19665 gi/overrides/Gtk.py | 7 +++++++
19666 tests/test_overrides.py | 9 +++++++++
19667 2 files changed, 16 insertions(+)
19669 commit e76352dd83c8706e68ad57d00d185da9afea99c4
19670 Author: John (J5) Palmieri <johnp@redhat.com>
19671 Date: Thu Dec 9 13:23:10 2010 -0500
19673 add secondary_text apis to MessageDialog
19675 gi/overrides/Gtk.py | 8 ++++++++
19676 tests/test_overrides.py | 8 ++++++++
19677 2 files changed, 16 insertions(+)
19679 commit de682b2d36c362140ab7d43c0743b01ec0865a74
19680 Author: John (J5) Palmieri <johnp@redhat.com>
19681 Date: Wed Dec 8 16:39:27 2010 -0500
19683 [gi] get rid of some debug prints and fix error messages
19685 gi/overrides/Gtk.py | 7 +++----
19686 1 file changed, 3 insertions(+), 4 deletions(-)
19688 commit dbb16571803bf51f497768bf80944514f4290ee5
19689 Author: Paolo Borelli <pborelli@gnome.org>
19690 Date: Wed Dec 8 18:25:15 2010 +0100
19692 Fix demo for override changes.
19694 demos/gtk-demo/gtk-demo.py | 5 +++--
19695 1 file changed, 3 insertions(+), 2 deletions(-)
19697 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
19698 Author: Paolo Borelli <pborelli@gnome.org>
19699 Date: Wed Dec 8 18:06:01 2010 +0100
19701 Override Pango.FontDescription.
19703 demos/gtk-demo/gtk-demo.py | 2 +-
19704 gi/overrides/Makefile.am | 1 +
19705 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
19706 tests/test_overrides.py | 7 +++++++
19707 4 files changed, 49 insertions(+), 1 deletion(-)
19709 commit 769da968c9187414d0420412d8fb8c833d12042a
19710 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19711 Date: Wed Dec 8 17:38:11 2010 +0100
19713 Stop checking that all vfuncs are implemented
19715 Because some methods are optionally implementable but g-i won't
19718 https://bugzilla.gnome.org/show_bug.cgi?id=619606
19720 gi/gimodule.c | 4 +++-
19721 gi/types.py | 12 ++----------
19722 tests/test_gi.py | 10 ----------
19723 3 files changed, 5 insertions(+), 21 deletions(-)
19725 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
19726 Author: Paolo Borelli <pborelli@gnome.org>
19727 Date: Wed Dec 8 17:37:00 2010 +0100
19729 Fix usage of TreeIter api that is now an override.
19731 demos/gtk-demo/gtk-demo.py | 6 +++---
19732 1 file changed, 3 insertions(+), 3 deletions(-)
19734 commit d2cfd6e9250d40de7c715ac74e299deddf137683
19735 Author: Paolo Borelli <pborelli@gnome.org>
19736 Date: Wed Dec 8 17:34:54 2010 +0100
19738 Fix Gtk.Label(label="Foo")
19740 Use 'label' as an argument name instead of 'str', otherwise we may
19741 end up up with two 'label' in the kwds dict. Besides 'str' is a
19744 gi/overrides/Gtk.py | 4 ++--
19745 1 file changed, 2 insertions(+), 2 deletions(-)
19747 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
19748 Author: Paolo Borelli <pborelli@gnome.org>
19749 Date: Wed Dec 8 14:16:39 2010 +0100
19751 Fix typo when raising an exception
19754 1 file changed, 1 insertion(+), 1 deletion(-)
19756 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
19757 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19758 Date: Wed Dec 8 10:46:27 2010 +0100
19760 pygi-convert.sh: Added more conversions
19762 pygi-convert.sh | 14 ++++++++++++++
19763 1 file changed, 14 insertions(+)
19765 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
19766 Author: Paolo Borelli <pborelli@gnome.org>
19767 Date: Tue Dec 7 20:39:15 2010 +0100
19769 Override LinkButton constructor to make 'uri' mandatory
19771 gi/overrides/Gtk.py | 7 +++++++
19772 tests/test_overrides.py | 6 ++++++
19773 2 files changed, 13 insertions(+)
19775 commit f4f7fb35af1b41598dc050f5df155a01c370a920
19776 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
19777 Date: Sat Dec 4 19:19:19 2010 +0600
19779 Container should be iterable.
19781 gi/overrides/Gtk.py | 9 +++++++++
19782 tests/test_overrides.py | 6 +++++-
19783 2 files changed, 14 insertions(+), 1 deletion(-)
19785 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
19786 Author: Paolo Borelli <pborelli@gnome.org>
19787 Date: Tue Dec 7 14:13:00 2010 +0100
19789 No need to import Gdk
19791 gi/overrides/Gtk.py | 1 -
19792 1 file changed, 1 deletion(-)
19794 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
19795 Author: Paolo Borelli <pborelli@gnome.org>
19796 Date: Tue Dec 7 14:07:53 2010 +0100
19800 gi/overrides/Gtk.py | 7 +++----
19801 1 file changed, 3 insertions(+), 4 deletions(-)
19803 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
19804 Author: John (J5) Palmieri <johnp@redhat.com>
19805 Date: Mon Dec 6 16:05:30 2010 -0500
19807 [gi] make sure Gtk.Button override passes all keywords to parent
19810 gi/overrides/Gtk.py | 4 ++--
19811 1 file changed, 2 insertions(+), 2 deletions(-)
19813 commit cede81ad65db017e95543d8d35715751aa202fed
19814 Author: Paolo Borelli <pborelli@gnome.org>
19815 Date: Sun Dec 5 13:31:20 2010 +0100
19817 Fix cut&paste error in the Label override
19819 gi/overrides/Gtk.py | 2 +-
19820 1 file changed, 1 insertion(+), 1 deletion(-)
19822 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
19823 Author: Paolo Borelli <pborelli@gnome.org>
19824 Date: Sat Dec 4 16:03:27 2010 +0100
19826 pygi-convert.sh: handle TextWindowType
19828 pygi-convert.sh | 1 +
19829 1 file changed, 1 insertion(+)
19831 commit dfeabe0b68938e27da2e65903983b5113dc422f1
19832 Author: Paolo Borelli <pborelli@gnome.org>
19833 Date: Sat Dec 4 15:49:15 2010 +0100
19835 Override Label constructor to behave like pygtk
19837 gi/overrides/Gtk.py | 7 +++++++
19838 tests/test_overrides.py | 4 ++++
19839 2 files changed, 11 insertions(+)
19841 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
19842 Author: Paolo Borelli <pborelli@gnome.org>
19843 Date: Sat Dec 4 15:40:35 2010 +0100
19845 Override GtkTable constructor to behave like pygtk
19847 gi/overrides/Gtk.py | 7 +++++++
19848 tests/test_overrides.py | 12 ++++++++++++
19849 2 files changed, 19 insertions(+)
19851 commit 81452c23ab1befa59ff375692e582791432796a5
19852 Author: Paolo Borelli <pborelli@gnome.org>
19853 Date: Sat Dec 4 12:59:43 2010 +0100
19855 pygi-convert.sh: convert MovementStep
19857 pygi-convert.sh | 1 +
19858 1 file changed, 1 insertion(+)
19860 commit 4d097eea94258eda0c328711491fd456cbd6741b
19861 Author: Paolo Borelli <pborelli@gnome.org>
19862 Date: Sat Dec 4 11:57:02 2010 +0100
19864 Update Gdk overrides to work with latest Gtk+ 3
19866 For now added consitionals on version == 2.0, but maybe at some
19868 shuld just clean up the old stuff.
19870 gi/overrides/Gdk.py | 22 ++++++++++++++++------
19871 1 file changed, 16 insertions(+), 6 deletions(-)
19873 commit cda317195566711d66190145b545e26ed7226172
19874 Author: Johan Dahlin <johan@gnome.org>
19875 Date: Thu Dec 2 23:47:40 2010 -0200
19877 Gtk: add an override for Gtk.main_quit
19879 Override gtk.main_quit so that it can be used as a callback
19880 to signals, most importantly to the destroy signal of a widget:
19882 widget.connect('destroy', gtk.main_quit)
19884 This is compatible with what PyGTK does.
19886 https://bugzilla.gnome.org/show_bug.cgi?id=636336
19888 gi/overrides/Gtk.py | 5 ++++-
19889 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
19890 2 files changed, 29 insertions(+), 3 deletions(-)
19892 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
19893 Author: John (J5) Palmieri <johnp@redhat.com>
19894 Date: Thu Dec 2 16:27:04 2010 -0500
19896 [gi] handle subtypes when inserting into tree models
19898 * Often modules will give back basic types wrapped in a subtype.
19899 This is the case with D-Bus where you may want to keep some of the
19900 metadata around. More often than not, the developer is just looking
19901 to use the basetype.
19903 * This override checks the column type and handles basic types such as
19904 gchararrays, ints, longs, floats and doubles, converting them
19906 base types before sending them to the generic GI type marshaller.
19908 * More types may need to be supported but these are the common
19912 https://bugzilla.gnome.org/show_bug.cgi?id=635172
19914 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
19915 tests/test_overrides.py | 8 +++++++-
19916 2 files changed, 43 insertions(+), 3 deletions(-)
19918 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
19919 Author: Paolo Borelli <pborelli@gnome.org>
19920 Date: Fri Dec 3 23:39:50 2010 +0100
19922 Override TreeSelection.select_path and TreeView.scroll_to_cell
19924 The "path" argument may also be a string or a tuple
19926 gi/overrides/Gtk.py | 10 ++++++++++
19927 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
19928 2 files changed, 39 insertions(+)
19930 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
19931 Author: Paolo Borelli <pborelli@gnome.org>
19932 Date: Fri Dec 3 23:29:00 2010 +0100
19934 Override TreePath.__new__
19936 Instead of having a private _tree_path_from_string it is cleaner to
19937 override __new__ and it will be useful for all the api that take a
19938 TreePath or a string or a tuple.
19940 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
19941 tests/test_overrides.py | 18 ++++++++++++++++++
19942 2 files changed, 33 insertions(+), 18 deletions(-)
19944 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
19945 Author: Paolo Borelli <pborelli@gnome.org>
19946 Date: Sun Nov 28 13:02:30 2010 +0100
19948 Override Container to behave like a sequence
19950 gi/overrides/Gtk.py | 6 ++++++
19951 tests/test_overrides.py | 11 +++++++++++
19952 2 files changed, 17 insertions(+)
19954 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
19955 Author: John (J5) Palmieri <johnp@redhat.com>
19956 Date: Tue Nov 30 16:57:05 2010 -0500
19958 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
19961 * this patch does the recursion using the previous patche's support
19964 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
19965 1 file changed, 45 insertions(+), 10 deletions(-)
19967 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
19968 Author: Jonathan Matthew <jonathan@d14n.org>
19969 Date: Thu Jul 22 23:19:51 2010 +1000
19971 Recurse up through base classes when setting up vfuncs
19973 * this patch adds the support methods to do the recursion
19975 https://bugzilla.gnome.org/show_bug.cgi?id=625033
19977 gi/gimodule.c | 130
19978 ++++++++++++++++++++++++++++++++++++++++---------------
19979 tests/test_gi.py | 37 ++++++++++++++++
19980 2 files changed, 131 insertions(+), 36 deletions(-)
19982 commit 78358e1ab54d02317f397276adee03ecb2187588
19983 Author: John (J5) Palmieri <johnp@redhat.com>
19984 Date: Mon Nov 29 18:29:57 2010 -0500
19986 add a profiling torture test for when we fix up invoke
19988 tests/test_everything.py | 67
19989 ++++++++++++++++++++++++++++++++++++++++++++++++
19990 1 file changed, 67 insertions(+)
19992 commit 792e679c06df4357843fd310c7953a931172fc99
19993 Author: John (J5) Palmieri <johnp@redhat.com>
19994 Date: Mon Nov 29 16:41:38 2010 -0500
19996 moved dynamic and base modules outside of gtk-2.0 directory
19998 * do not move header files yet as they are mostly used by static
20000 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
20002 these back to pygtk but you might want to import gio static
20004 having to have pygtk installed
20005 * I have not tested this with pygtk, committing it so we can find
20007 causes any issues with legacy modules and code
20009 gi/Makefile.am | 2 +-
20010 gi/overrides/Makefile.am | 2 +-
20011 gi/repository/Makefile.am | 2 +-
20012 glib/Makefile.am | 2 +-
20013 gobject/Makefile.am | 2 +-
20014 tests/test_gi.py | 2 --
20015 tests/test_overrides.py | 3 ---
20016 7 files changed, 5 insertions(+), 10 deletions(-)
20018 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
20019 Author: John (J5) Palmieri <johnp@redhat.com>
20020 Date: Mon Nov 29 15:11:46 2010 -0500
20022 add test for inout argument count
20024 tests/test_gi.py | 1 +
20025 1 file changed, 1 insertion(+)
20027 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
20028 Author: John (J5) Palmieri <johnp@redhat.com>
20029 Date: Mon Nov 22 19:17:23 2010 -0500
20031 [gi] add check for UNICHAR
20033 https://bugzilla.gnome.org/show_bug.cgi?id=623615
20035 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
20036 tests/test_everything.py | 17 +++++++++++++++--
20037 2 files changed, 41 insertions(+), 3 deletions(-)
20039 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
20040 Author: Paolo Borelli <pborelli@gnome.org>
20041 Date: Sun Nov 21 12:16:53 2010 +0100
20045 https://bugzilla.gnome.org/show_bug.cgi?id=623615
20047 gi/pygi-argument.c | 60
20048 ++++++++++++++++++++++++++++++++++++++++++++++++
20049 gi/pygi-info.c | 5 ++++
20050 tests/test_everything.py | 5 ++++
20051 3 files changed, 70 insertions(+)
20053 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
20054 Author: Paolo Borelli <pborelli@gnome.org>
20055 Date: Sat Nov 27 23:01:42 2010 +0100
20057 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
20059 pygi-convert.sh | 1 +
20060 1 file changed, 1 insertion(+)
20062 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
20063 Author: Paolo Borelli <pborelli@gnome.org>
20064 Date: Sat Nov 27 22:34:13 2010 +0100
20066 pygi-convert.sh: handle "from gtk import gdk"
20068 pygi-convert.sh | 2 ++
20069 1 file changed, 2 insertions(+)
20071 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
20072 Author: Paolo Borelli <pborelli@gnome.org>
20073 Date: Sat Nov 27 22:23:24 2010 +0100
20075 pygi-convert.sh: add some Pango special cases
20077 pygi-convert.sh | 3 +++
20078 1 file changed, 3 insertions(+)
20080 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
20081 Author: Paolo Borelli <pborelli@gnome.org>
20082 Date: Sat Nov 27 19:51:38 2010 +0100
20084 Override TextIter (begins|ends|toggles)_tag()
20086 Make the tag argument optional.
20088 gi/overrides/Gtk.py | 9 +++++++++
20089 tests/test_overrides.py | 17 +++++++++++++++++
20090 2 files changed, 26 insertions(+)
20092 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
20093 Author: Paolo Borelli <pborelli@gnome.org>
20094 Date: Sat Nov 27 19:32:48 2010 +0100
20096 Override TextBuffer.set_text() to make length optional
20098 gi/overrides/Gtk.py | 3 +++
20099 tests/test_overrides.py | 11 ++++++++++-
20100 2 files changed, 13 insertions(+), 1 deletion(-)
20102 commit bf55dc862755a57bb1b998702d284fc460e88a30
20103 Author: Paolo Borelli <pborelli@gnome.org>
20104 Date: Sat Nov 27 16:46:40 2010 +0100
20106 Override TextBuffer.create_mark()
20108 Override create_mark to make the left_gravity argument optional
20110 gi/overrides/Gtk.py | 3 +++
20111 tests/test_overrides.py | 3 +++
20112 2 files changed, 6 insertions(+)
20114 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
20115 Author: Paolo Borelli <pborelli@gnome.org>
20116 Date: Sat Nov 27 16:10:33 2010 +0100
20118 Fix TextBuffer.get_selection_bounds() override
20120 Fix the override and add unit test
20122 gi/overrides/Gtk.py | 8 +++++---
20123 tests/test_overrides.py | 7 +++++++
20124 2 files changed, 12 insertions(+), 3 deletions(-)
20126 commit 0cd717e3926276540b9145e58a4a3368136b00de
20127 Author: John (J5) Palmieri <johnp@redhat.com>
20128 Date: Mon Nov 22 18:35:09 2010 -0500
20130 [gi] fix ActionGroup constructor to allow other keyword properties
20133 gi/overrides/Gtk.py | 4 ++--
20134 1 file changed, 2 insertions(+), 2 deletions(-)
20136 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
20137 Author: John (J5) Palmieri <johnp@redhat.com>
20138 Date: Mon Nov 22 18:32:28 2010 -0500
20140 [gi] require the name parameter when creatin a Gtk.ActionGroup
20142 gi/overrides/Gtk.py | 3 +++
20143 tests/test_overrides.py | 2 ++
20144 2 files changed, 5 insertions(+)
20146 commit d0049fa9982d13b3553b05569fb0a227e48b6647
20147 Author: Paolo Borelli <pborelli@gnome.org>
20148 Date: Sun Nov 21 15:20:58 2010 +0100
20150 Override UIManager.insert_action_group
20152 https://bugzilla.gnome.org/show_bug.cgi?id=635437
20154 gi/overrides/Gtk.py | 3 +++
20155 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
20156 2 files changed, 24 insertions(+), 13 deletions(-)
20158 commit e1db544e46aeed984133896af34b671a6a5547df
20159 Author: Paolo Borelli <pborelli@gnome.org>
20160 Date: Sun Nov 21 23:03:25 2010 +0100
20162 Override TreeModel.get() to return a tuple
20164 https://bugzilla.gnome.org/show_bug.cgi?id=635466
20166 gi/overrides/Gtk.py | 15 +++++++++++++++
20167 tests/test_overrides.py | 6 ++++++
20168 2 files changed, 21 insertions(+)
20170 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
20171 Author: Paolo Borelli <pborelli@gnome.org>
20172 Date: Sun Nov 21 21:57:40 2010 +0100
20174 Make TreeSelection.get_selected_rows compatible with PyGtk
20176 https://bugzilla.gnome.org/show_bug.cgi?id=635464
20178 gi/overrides/Gtk.py | 6 ++++++
20179 1 file changed, 6 insertions(+)
20181 commit 1c537bc67107948c92b51ba6ba749747e84263e2
20182 Author: John (J5) Palmieri <johnp@redhat.com>
20183 Date: Mon Nov 22 15:04:00 2010 -0500
20185 [gi] switch to using sequences/tuples when marshalling
20186 cairo_rectangle_int_t
20188 * Upstream pycairo didn't want to add a new wrapper for
20189 cairo_rectangle_int_t
20190 * this works around that issue by using 4 element squences instead
20192 should be accepted by pycairo for any API that takes a rect
20194 gi/pygi-foreign-cairo.c | 85
20195 +++++++++++++++++++++++++++++++++++++------------
20196 1 file changed, 64 insertions(+), 21 deletions(-)
20198 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
20199 Author: John (J5) Palmieri <johnp@redhat.com>
20200 Date: Fri Nov 19 16:46:53 2010 -0500
20202 [gi] overrides for treeview Drag and Drop
20204 https://bugzilla.gnome.org/show_bug.cgi?id=627367
20206 gi/overrides/Gdk.py | 7 +++++++
20207 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
20208 2 files changed, 32 insertions(+)
20210 commit 3fd51bb903724b752f72f49c7cb35652b819791d
20211 Author: John (J5) Palmieri <johnp@redhat.com>
20212 Date: Fri Nov 19 16:44:32 2010 -0500
20214 [gi] when encountering guint8 arrays treat them as byte arrays
20216 * In Python 2 this means returning a PyString object
20217 * In Python 3 we return a PyBytes object
20219 https://bugzilla.gnome.org/show_bug.cgi?id=627367
20221 gi/pygi-argument.c | 65
20222 ++++++++++++++++++++++++++++++++++++++++++++----------
20223 tests/test_gi.py | 6 +++--
20224 2 files changed, 57 insertions(+), 14 deletions(-)
20226 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
20227 Author: Martin Pitt <martin.pitt@ubuntu.com>
20228 Date: Fri Nov 19 18:19:38 2010 +0100
20230 pygi-convert.sh: Add pynotify -> Notify
20232 pygi-convert.sh | 3 +++
20233 1 file changed, 3 insertions(+)
20235 commit bf03d4db03a7739ac16ddc4e614441557ede554d
20236 Author: Martin Pitt <martin.pitt@ubuntu.com>
20237 Date: Fri Nov 19 09:08:07 2010 +0100
20239 pygi-convert.sh: Remove sugar specifics, and allow command line
20242 This script is generally useful for converting pygtk2 projects,
20244 sugar. Remove the sugar specific bits, since they will just cause
20247 Also allow the user to specify the files to convert as command line
20248 arguments. If not given, all *.py files will be processed.
20250 https://bugzilla.gnome.org/show_bug.cgi?id=635244
20252 pygi-convert.sh | 25 +++++--------------------
20253 1 file changed, 5 insertions(+), 20 deletions(-)
20255 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
20256 Author: Martin Pitt <martin.pitt@ubuntu.com>
20257 Date: Fri Nov 19 09:00:35 2010 +0100
20259 pygi-convert.sh: Cover Message and Buttons types
20261 https://bugzilla.gnome.org/show_bug.cgi?id=635244
20263 pygi-convert.sh | 2 ++
20264 1 file changed, 2 insertions(+)
20266 commit ef74273c2043944708515e59a654ebe4944b46ff
20267 Author: John (J5) Palmieri <johnp@redhat.com>
20268 Date: Thu Nov 18 13:54:48 2010 -0500
20270 [gi] fix actiongroup test since actions are hashed
20272 * when actions are listed they may not show up in the order they
20274 since they reside in an unordered hash internally
20276 tests/test_overrides.py | 9 +++++----
20277 1 file changed, 5 insertions(+), 4 deletions(-)
20279 commit 2c25886bf6710568d0646f82dce4770faa44c40d
20280 Author: John (J5) Palmieri <johnp@redhat.com>
20281 Date: Wed Nov 17 14:38:09 2010 -0500
20283 [gi] when converting to UTF-8 accept Python Unicode objects as input
20286 https://bugzilla.gnome.org/show_bug.cgi?id=620579
20288 gi/pygi-argument.c | 14 ++++++++++++--
20289 glib/pyglib-python-compat.h | 5 +++++
20290 tests/test_gi.py | 3 +++
20291 3 files changed, 20 insertions(+), 2 deletions(-)
20293 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
20294 Author: Damien Caliste <damien.caliste@cea.fr>
20295 Date: Fri Nov 12 10:20:32 2010 +0100
20297 Correct a bug in the freeing of memory in pygi-invoke.c.
20299 When a method with inout arguments is called from Python with
20300 a wrong number of arguments, the system crashs because of an
20301 assertion fail. This patch corrects this behaviour.
20303 https://bugzilla.gnome.org/show_bug.cgi?id=634671
20305 gi/pygi-invoke.c | 25 ++++++++++++++-----------
20306 1 file changed, 14 insertions(+), 11 deletions(-)
20308 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
20309 Author: John (J5) Palmieri <johnp@redhat.com>
20310 Date: Wed Nov 10 14:11:56 2010 -0500
20312 update news for release
20315 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20316 1 file changed, 73 insertions(+)
20318 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
20319 Author: Jonathan Matthew <jonathan@d14n.org>
20320 Date: Tue Sep 28 13:44:13 2010 +1000
20322 Implement richcompare for GIBaseInfo
20324 https://bugzilla.gnome.org/show_bug.cgi?id=625033
20326 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
20327 1 file changed, 29 insertions(+)
20329 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
20330 Author: John (J5) Palmieri <johnp@redhat.com>
20331 Date: Tue Nov 9 22:57:41 2010 -0500
20333 [gi] add the rectangle_int_t forign cairo type
20335 * the pycairo maintainer is not being responsive so you will need
20337 https://bugs.freedesktop.org/show_bug.cgi?id=31111
20338 * added conditionals, if the api doesn't exist in PyCairo we will
20340 without the forign structs
20342 gi/pygi-foreign-cairo.c | 4 ++++
20343 1 file changed, 4 insertions(+)
20345 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
20346 Author: John (J5) Palmieri <johnp@redhat.com>
20347 Date: Mon Oct 25 18:28:36 2010 -0400
20349 add a foreign type for cairo_rectangle_int_t and allow it to be
20352 * this is needed because Gdk and Gtk switched from returning a
20354 to a CairoRectangleInt structure
20355 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
20357 for pycairo (however there is currently no patch for python 2)
20358 * added fix for foreign types to allow them to be caller allocated
20359 * in order for a type to be caller allocated it must be able to take
20361 and create an empty struct in foreign_struct_from_arg and it must
20363 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
20365 https://bugzilla.gnome.org/show_bug.cgi?id=627545
20367 gi/pygi-foreign-cairo.c | 57
20368 +++++++++++++++++++++++++++++++++++++++++++++++++
20369 gi/pygi-invoke.c | 15 +++++++++++--
20370 2 files changed, 70 insertions(+), 2 deletions(-)
20372 commit ce8b948310220288e9eef904eef4ec8f4e24a376
20373 Author: John (J5) Palmieri <johnp@redhat.com>
20374 Date: Tue Nov 9 22:11:51 2010 -0500
20376 [gi] add overrides to Gtk.Editable
20378 gi/overrides/Gtk.py | 17 +++++++++++++++++
20379 tests/test_overrides.py | 12 ++++++++++++
20380 2 files changed, 29 insertions(+)
20382 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
20383 Author: John (J5) Palmieri <johnp@redhat.com>
20384 Date: Tue Nov 9 21:12:54 2010 -0500
20386 [gi] handle virtual invokers
20388 * right now we check to see if there is an method with the same name
20389 as the virtual method and assume that is the invoker
20390 * some invokers are named different so we now ask the VFuncInfo if
20391 the vfunc has an invoker
20392 * this is still not completly correct, gi needs to support telling
20393 us which vfuncs must be overridden.
20394 * this keeps the old way of checking vfuncs while adding the edge case
20395 where vfunc is named differently from their invoker
20397 gi/pygi-info.c | 16 ++++++++++++++++
20399 2 files changed, 17 insertions(+), 1 deletion(-)
20401 commit 540e9f1f349ba3625e28b7673c92210eb8974098
20402 Author: John (J5) Palmieri <johnp@redhat.com>
20403 Date: Tue Nov 9 12:17:05 2010 -0500
20405 add overrides for the insert* apis of list_store and tree_store
20407 * add set_row to tree_model as convinience method for both list and
20410 https://bugzilla.gnome.org/show_bug.cgi?id=634423
20412 gi/overrides/Gtk.py | 80
20413 ++++++++++++++++++++++++++++++++++++++-----------
20414 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
20415 2 files changed, 114 insertions(+), 19 deletions(-)
20417 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
20418 Author: John (J5) Palmieri <johnp@redhat.com>
20419 Date: Fri Nov 5 13:56:12 2010 -0400
20421 fix dialogs overrides which were relying on broken inheritance
20424 gi/overrides/Gtk.py | 14 ++++++++++++--
20425 1 file changed, 12 insertions(+), 2 deletions(-)
20427 commit 89c104d17d79d7b935cd76101cba19d49390f7be
20428 Author: John (J5) Palmieri <johnp@redhat.com>
20429 Date: Thu Nov 4 12:00:14 2010 -0400
20431 Add a overrides registry so we can refrence overrides inside the
20434 * Overrides have a reentrancy issue when doing inheritance. If an
20436 inherits from another override down the stack it won't see the
20438 because the module is not finished loading and will inherit from the
20439 non-overriden object instead. This causes type errors later.
20440 * By adding the overrides to a registry outside of the module we
20442 registration and make the override available as soon as the class
20444 not when the whole module is parsed.
20446 https://bugzilla.gnome.org/show_bug.cgi?id=633347
20448 gi/module.py | 12 ++++++++++-
20449 gi/overrides/GIMarshallingTests.py | 2 +-
20450 gi/overrides/Gdk.py | 2 +-
20451 gi/overrides/Gtk.py | 2 +-
20452 gi/overrides/__init__.py | 43
20453 ++++++++++++++++++++++++++++++++++++++
20454 gi/types.py | 8 -------
20455 tests/test_overrides.py | 27 ++++++++++++++++++++++++
20456 7 files changed, 84 insertions(+), 12 deletions(-)
20458 commit 878b8f630acd2146bee364054acd45cd33eea37a
20459 Merge: cdacaa9 e317838
20460 Author: John Stowers <john.stowers@gmail.com>
20461 Date: Fri Nov 5 11:40:22 2010 +1300
20463 Merge remote branch 'dieterv/setup-fixes-for-merge'
20465 commit e317838178fba5f0590fb8bd323f49602d564b53
20466 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20467 Date: Thu Nov 4 11:16:43 2010 +0100
20469 setup.py: ease maintenance burden for tests installation
20471 setup.py | 23 +++--------------------
20472 1 file changed, 3 insertions(+), 20 deletions(-)
20474 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
20475 Author: John (J5) Palmieri <johnp@redhat.com>
20476 Date: Wed Nov 3 09:51:09 2010 -0400
20478 fix inheritence issues in overrides
20480 gi/overrides/Gtk.py | 79
20481 +++++++++++++++++++++++++++--------------------------
20482 1 file changed, 40 insertions(+), 39 deletions(-)
20484 commit 3d5955767d81f45e796ab2af0707533375681774
20485 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20486 Date: Wed Nov 3 09:38:56 2010 +0100
20488 tests: add runtests-windows.py script
20490 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20492 tests/runtests-windows.py | 47
20493 +++++++++++++++++++++++++++++++++++++++++++++++
20494 1 file changed, 47 insertions(+)
20496 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
20497 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20498 Date: Wed Nov 3 09:35:52 2010 +0100
20500 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
20501 postinstall as pkg-config on windows figures out the correct prefix
20504 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20506 pygobject_postinstall.py | 26 +++-----------------------
20507 1 file changed, 3 insertions(+), 23 deletions(-)
20509 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
20510 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20511 Date: Wed Nov 3 09:34:38 2010 +0100
20513 pygobject_postinstall.py: remove shortcut creation
20515 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20517 pygobject_postinstall.py | 35 +----------------------------------
20518 1 file changed, 1 insertion(+), 34 deletions(-)
20520 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
20521 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20522 Date: Wed Nov 3 09:31:14 2010 +0100
20524 setup.py: formatting cleanup, makes things readable
20526 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20528 setup.py | 56 ++++++++++++++++++++++++++------------------------------
20529 1 file changed, 26 insertions(+), 30 deletions(-)
20531 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
20532 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20533 Date: Wed Nov 3 09:28:36 2010 +0100
20535 setup.py: build and install tests
20537 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20540 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20541 1 file changed, 61 insertions(+)
20543 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
20544 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20545 Date: Wed Nov 3 09:26:59 2010 +0100
20547 setup.py: install documentation when available on build system
20549 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20552 1 file changed, 3 insertions(+)
20554 commit 78533d851ee1314686f18cfa793613a9cf7d6686
20555 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20556 Date: Wed Nov 3 09:25:56 2010 +0100
20558 setup.py: install pygobject-codegen script
20560 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20562 setup.py | 25 +++++++++++++++++++++++++
20563 1 file changed, 25 insertions(+)
20565 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
20566 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20567 Date: Wed Nov 3 09:24:45 2010 +0100
20569 setup.py: install fixxref.py script
20571 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20574 1 file changed, 3 insertions(+)
20576 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
20577 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20578 Date: Wed Nov 3 09:23:05 2010 +0100
20580 setup.py: rearrange constants
20582 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20584 setup.py | 37 ++++++++++++++++++++-----------------
20585 1 file changed, 20 insertions(+), 17 deletions(-)
20587 commit 7d353d04892de67265bf693f591f37fd393de639
20588 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20589 Date: Wed Nov 3 09:18:11 2010 +0100
20591 setup.py: check python version and pkgconig availability before
20594 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20596 setup.py | 18 ++++++++++--------
20597 1 file changed, 10 insertions(+), 8 deletions(-)
20599 commit 286364ed39953e942e24d5911519bcac2f90975a
20600 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20601 Date: Wed Nov 3 09:05:59 2010 +0100
20603 setup.py: simplify sys.platform != 'win32' detection and error
20606 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20608 setup.py | 29 +++++++++--------------------
20609 1 file changed, 9 insertions(+), 20 deletions(-)
20611 commit 3f70f92904c123e6cc40929c0affd3f75d061828
20612 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20613 Date: Wed Nov 3 09:02:30 2010 +0100
20615 setup.py: rearrange imports
20617 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20619 setup.py | 31 ++++++++++++++++++++++---------
20620 1 file changed, 22 insertions(+), 9 deletions(-)
20622 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
20623 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20624 Date: Wed Nov 3 08:58:00 2010 +0100
20626 README.win32: update build instructions
20628 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20630 README.win32 | 13 +++++--------
20631 1 file changed, 5 insertions(+), 8 deletions(-)
20633 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
20634 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20635 Date: Wed Nov 3 07:59:18 2010 +0100
20637 dsextras.py: formatting cleanup, makes things readable
20639 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20642 ++++++++++++++++++++++++++++++++++++++----------------------
20643 1 file changed, 93 insertions(+), 55 deletions(-)
20645 commit d03503d0412d173acb383926ab3c2d640dad3e3f
20646 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20647 Date: Wed Nov 3 07:00:40 2010 +0100
20649 dsextras.py: add ggc4 to MSVC compatible struct packing comment
20651 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20653 dsextras.py | 4 ++--
20654 1 file changed, 2 insertions(+), 2 deletions(-)
20656 commit 8c62968e9f8467e24870b8c4f61112676eef4630
20657 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20658 Date: Wed Nov 3 06:56:32 2010 +0100
20660 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
20661 incantations all over the place
20663 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20665 dsextras.py | 15 ++++++---------
20666 1 file changed, 6 insertions(+), 9 deletions(-)
20668 commit b98277afc24886bbda400e0ad360992bffa77b7c
20669 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20670 Date: Wed Nov 3 06:49:48 2010 +0100
20672 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
20674 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20676 dsextras.py | 10 ++++++++++
20677 1 file changed, 10 insertions(+)
20679 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
20680 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20681 Date: Wed Nov 3 06:45:05 2010 +0100
20683 dsextras.py: PEP8: Comparisons to singletons like None should always
20684 be done with 'is' or 'is not', never the equality operators.
20686 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20688 dsextras.py | 4 ++--
20689 1 file changed, 2 insertions(+), 2 deletions(-)
20691 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
20692 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20693 Date: Wed Nov 3 06:44:21 2010 +0100
20695 dsextras.py: use True/False instead of 1/0
20697 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20699 dsextras.py | 25 +++++++++++++------------
20700 1 file changed, 13 insertions(+), 12 deletions(-)
20702 commit 819a21cea831c3892040390e9446b78a91d1cbbe
20703 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20704 Date: Wed Nov 3 06:28:04 2010 +0100
20706 dsextras.py: rearrange imports
20708 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20711 +++++++++++++++++++++++++++++++---------------------------
20712 1 file changed, 31 insertions(+), 27 deletions(-)
20714 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
20715 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
20716 Date: Wed Nov 3 06:16:21 2010 +0100
20718 Add distutils generated build/dist directories and eclipse
20719 configuration files to .gitignore
20721 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
20723 .gitignore | 7 +++++++
20724 1 file changed, 7 insertions(+)
20726 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
20727 Author: John (J5) Palmieri <johnp@redhat.com>
20728 Date: Thu Oct 28 15:32:28 2010 -0400
20730 [gi] add tests for calling dir on a dynamic module
20732 tests/test_gi.py | 24 ++++++++++++++++++++++++
20733 1 file changed, 24 insertions(+)
20735 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
20736 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
20737 Date: Wed Oct 27 18:28:11 2010 -0400
20739 [gi] dir() now works for modules
20741 https://bugzilla.gnome.org/show_bug.cgi?id=625093
20743 gi/module.py | 8 ++++++++
20744 1 file changed, 8 insertions(+)
20746 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
20747 Author: Simón Pena <spenap@gmail.com>
20748 Date: Mon Sep 20 23:10:14 2010 +0200
20750 Don't check the inner type when comparing gpointers
20752 When using pyg_pointer_richcompare to compare two objects,
20753 don't check their inner types. As we can't compare their private
20754 fields, nor get a proper compare function, we can consider them
20755 gpointers and compare them that way.
20757 https://bugzilla.gnome.org/show_bug.cgi?id=629552
20759 gobject/pygpointer.c | 2 +-
20760 1 file changed, 1 insertion(+), 1 deletion(-)
20762 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
20763 Author: John (J5) Palmieri <johnp@redhat.com>
20764 Date: Thu Oct 28 14:21:12 2010 -0400
20766 Release GIL when calling into C functions
20768 Author: Daniel P. Berrange <dan@berrange.com>
20770 https://bugzilla.gnome.org/show_bug.cgi?id=629042
20772 gi/pygi-invoke.c | 10 +++++++++-
20773 1 file changed, 9 insertions(+), 1 deletion(-)
20775 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
20776 Author: José Aliste <jaliste@src.gnome.org>
20777 Date: Fri Oct 15 14:30:10 2010 -0300
20779 _gi.Repository : Implement missing info bindings.
20781 https://bugzilla.gnome.org/show_bug.cgi?id=632185
20783 gi/pygi-info.c | 91
20784 +++++++++++++++++++++++++++++++++++++++++++++++++---------
20785 gi/pygi-info.h | 7 +++++
20786 2 files changed, 84 insertions(+), 14 deletions(-)
20788 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
20789 Author: John (J5) Palmieri <johnp@redhat.com>
20790 Date: Thu Oct 28 13:49:15 2010 -0400
20792 include Python.h so that PY_VERSION_HEX gets defined
20794 gi/pygi-foreign-cairo.c | 1 +
20795 1 file changed, 1 insertion(+)
20797 commit 8b28b1d713df33931e255600ab98feda37a8e02a
20798 Author: John (J5) Palmieri <johnp@redhat.com>
20799 Date: Thu Oct 28 13:47:34 2010 -0400
20801 [gi] make overrides work for python 3.x protocols and alias for
20804 gi/overrides/Gtk.py | 9 +++++++--
20805 1 file changed, 7 insertions(+), 2 deletions(-)
20807 commit 3c09710d2f68af9c16ce39fd25656147656a486a
20808 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20809 Date: Sat Oct 23 14:24:24 2010 +0200
20811 Override Gtk.Widget.translate_coordinates to not return success value
20813 gi/overrides/Gtk.py | 11 +++++++++++
20814 1 file changed, 11 insertions(+)
20816 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
20817 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20818 Date: Sat Oct 23 14:22:36 2010 +0200
20820 Override Gtk.TreeViewColumn.cell_get_position to not return success
20823 gi/overrides/Gtk.py | 5 +++++
20824 1 file changed, 5 insertions(+)
20826 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
20827 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20828 Date: Sat Oct 23 14:21:36 2010 +0200
20830 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
20831 not return success value
20833 gi/overrides/Gtk.py | 15 +++++++++++++++
20834 1 file changed, 15 insertions(+)
20836 commit 80b1b266fa68a5c67106871502017166628f71e4
20837 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20838 Date: Sat Oct 23 14:20:38 2010 +0200
20840 Override Gtk.TreeSortable.get_sort_column_id to not return success
20843 gi/overrides/Gtk.py | 12 ++++++++++++
20844 1 file changed, 12 insertions(+)
20846 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
20847 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20848 Date: Sat Oct 23 14:19:20 2010 +0200
20850 Override forward_search and backward_search of Gtk.TextIter to not
20851 return success value
20853 gi/overrides/Gtk.py | 15 +++++++++++++++
20854 1 file changed, 15 insertions(+)
20856 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
20857 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20858 Date: Sat Oct 23 14:18:09 2010 +0200
20860 Override Gtk.TextBuffer.get_selection_bounds to not return success
20863 gi/overrides/Gtk.py | 5 +++++
20864 1 file changed, 5 insertions(+)
20866 commit da6d87460b9392c29d025a7eed9249fb604204bc
20867 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20868 Date: Sat Oct 23 14:17:04 2010 +0200
20870 Override Gtk.RecentInfo.get_application_info to not return success
20873 gi/overrides/Gtk.py | 10 ++++++++++
20874 1 file changed, 10 insertions(+)
20876 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
20877 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20878 Date: Sat Oct 23 14:16:21 2010 +0200
20880 Override Gtk.IMContext.get_surrounding to not return success value
20882 gi/overrides/Gtk.py | 10 ++++++++++
20883 1 file changed, 10 insertions(+)
20885 commit b85b445f15421209c0b4adf676d7c8218d6437c5
20886 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20887 Date: Sat Oct 23 14:15:24 2010 +0200
20889 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
20890 of Gtk.IconView to not return success value
20892 gi/overrides/Gtk.py | 19 +++++++++++++++++++
20893 1 file changed, 19 insertions(+)
20895 commit 684d716192d58c972083e579e909bcd97f8a5025
20896 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20897 Date: Sat Oct 23 14:13:47 2010 +0200
20899 Override Gtk.Container.get_focus_chain to not return success value
20901 gi/overrides/Gtk.py | 10 ++++++++++
20902 1 file changed, 10 insertions(+)
20904 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
20905 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20906 Date: Sat Oct 23 14:12:44 2010 +0200
20908 Override Gtk.ComboBox.get_active_iter to not return success value
20910 gi/overrides/Gtk.py | 10 ++++++++++
20911 1 file changed, 10 insertions(+)
20913 commit b483852904468722230903989e3451c7c6a24c0f
20914 Author: John (J5) Palmieri <johnp@redhat.com>
20915 Date: Tue Oct 12 12:18:33 2010 -0400
20917 [gi] make parameter check less strict when dealing with GValue params
20919 * Some GValue API can store a pointer to a python object for later
20920 use but our parameter checking was too strict to allow this
20921 * Add pyg_type_from_object_strict API which takes a strict boolean and
20922 returns PY_TYPE_OBJECT if no other GType can be found
20923 * Since we don't have enough info to genrically check GValue
20925 use the less strict type guessing when encountering a GValue param
20926 * Other API stays the same and continues to do strict testing
20928 https://bugzilla.gnome.org/show_bug.cgi?id=622987
20930 gi/pygi-argument.c | 17 ++++++---------
20931 gobject/gobjectmodule.c | 4 ++--
20932 gobject/pygobject-private.h | 1 +
20933 gobject/pygobject.h | 2 ++
20934 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
20935 tests/test_gi.py | 1 -
20936 tests/test_overrides.py | 50
20937 +++++++++++++++++++++++++++++++++++++++++----
20938 7 files changed, 90 insertions(+), 22 deletions(-)
20940 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
20941 Author: John Stowers <john.stowers@gmail.com>
20942 Date: Fri Oct 22 13:28:31 2010 +1300
20944 Shortcut removal is not needed on post-uninstall
20946 pygobject_postinstall.py | 14 ++------------
20947 1 file changed, 2 insertions(+), 12 deletions(-)
20949 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
20950 Author: John Stowers <john.stowers@gmail.com>
20951 Date: Thu Oct 21 13:25:35 2010 +1300
20953 Disable shortcut creation in windows installer
20955 pygobject_postinstall.py | 2 +-
20956 1 file changed, 1 insertion(+), 1 deletion(-)
20958 commit a3d6212b0abccef58f05d454c091936776413d98
20959 Author: John (J5) Palmieri <johnp@redhat.com>
20960 Date: Thu Oct 7 11:43:27 2010 -0400
20962 overrides for all subclasses of dialog
20964 https://bugzilla.gnome.org/show_bug.cgi?id=631634
20966 gi/overrides/Gtk.py | 94
20967 +++++++++++++++++++++++++++++++++++++++++++++----
20968 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
20969 2 files changed, 151 insertions(+), 7 deletions(-)
20971 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
20972 Author: Sebastian Pölsterl <sebp@k-d-w.org>
20973 Date: Thu Oct 7 19:37:53 2010 +0200
20975 Make TreeModel behave like in GTK-2.x
20977 Moved stuff from __getitem__ to get_iter.
20978 Added TreePath.__cmp__
20980 get_iter_from_string throws ValueError.
20981 iterchildren() does not return None.
20983 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
20986 Added support for negative row and column indices
20988 Use rich comparison methods instead of __cmp__
20990 Added TreeModel.__bool__/__nonzero__
20992 Raise Error if tree path string is empty
20994 https://bugzilla.gnome.org/show_bug.cgi?id=631547
20996 gi/overrides/Gtk.py | 195
20997 ++++++++++++++++++++++++++++++++++++++++++++++++
20998 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
20999 2 files changed, 349 insertions(+), 6 deletions(-)
21001 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
21002 Author: John Stowers <john.stowers@gmail.com>
21003 Date: Sat Oct 16 18:59:25 2010 +1300
21005 Correctly build GIO on windows
21007 setup.py | 6 +++---
21008 1 file changed, 3 insertions(+), 3 deletions(-)
21010 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
21011 Author: John Stowers <john.stowers@gmail.com>
21012 Date: Sat Oct 16 18:17:28 2010 +1300
21014 Require Python >= 2.6.0 for Windows build
21017 1 file changed, 1 insertion(+), 1 deletion(-)
21019 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
21020 Author: John Stowers <john.stowers@gmail.com>
21021 Date: Sat Oct 16 17:41:01 2010 +1300
21023 Fix depreciation warning in dsextras.py
21026 1 file changed, 1 insertion(+), 1 deletion(-)
21028 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
21029 Author: John Stowers <john.stowers@gmail.com>
21030 Date: Sat Oct 16 17:34:50 2010 +1300
21032 Fix build on windows
21034 gi/pygi-foreign.c | 5 ++++-
21035 gi/pygi.h | 5 ++++-
21037 3 files changed, 10 insertions(+), 4 deletions(-)
21039 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
21040 Author: Michael Culbertson <michael.culbertson@gmail.com>
21041 Date: Sat Oct 16 17:08:11 2010 +1300
21043 Support for GCC4 in Windows distutils build - bug 626548
21045 dsextras.py | 3 ++-
21046 1 file changed, 2 insertions(+), 1 deletion(-)
21048 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
21049 Author: John Stowers <john.stowers@gmail.com>
21050 Date: Fri Oct 15 09:39:02 2010 +1300
21052 Remove obsolete comments in dsextras.py
21054 dsextras.py | 11 ++---------
21055 1 file changed, 2 insertions(+), 9 deletions(-)
21057 commit b5f383f854fb8f72677828b029589320c59006d1
21058 Author: John Stowers <john.stowers@gmail.com>
21059 Date: Fri Oct 15 09:21:03 2010 +1300
21061 Broken dsextras.py pkg-config check error message
21066 1 file changed, 1 insertion(+), 1 deletion(-)
21068 commit e1981da105b574e273ae6500fc6d25caf6af6aae
21069 Author: John (J5) Palmieri <johnp@redhat.com>
21070 Date: Tue Sep 28 15:31:03 2010 -0400
21072 add compat functions for the deprecated PyCObject api
21074 * Moved to using the PyCapsule API for python >= 3
21075 * PyCObject is removed from Python 3.2
21076 * It has also been deprecated in 2.7 but since we use the API in
21078 which are consumed by static binding modules, appling this for
21080 causes crashes unless the modules are recompiled, breaking ABI.
21082 to rely on for 2.7 because it will never be removed and there is
21084 undeprecating it upstream.
21085 * There is no issues with static bindings under python 3 because
21087 supported yet and most likely never will be.
21088 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
21090 which adds a poorman's type check when unboxing.
21092 https://bugzilla.gnome.org/show_bug.cgi?id=630844
21094 gi/gimodule.c | 2 +-
21095 gi/pygi.h | 5 ++++-
21096 glib/glibmodule.c | 2 +-
21097 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
21098 glib/pyglib.c | 6 +++---
21099 glib/pygoptioncontext.c | 2 +-
21100 gobject/gobjectmodule.c | 2 +-
21101 gobject/pygobject.h | 6 ++++++
21102 gobject/pygtype.c | 10 +++++-----
21103 9 files changed, 50 insertions(+), 13 deletions(-)
21105 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
21106 Author: Damien Caliste <damien.caliste@cea.fr>
21107 Date: Tue Sep 28 12:44:42 2010 +0200
21109 Add __path__ attributes.
21111 Add an attribute __path__ to DynamicModule and IntrospectionModule,
21112 using the path of the typelib.
21114 https://bugzilla.gnome.org/show_bug.cgi?id=630807
21116 gi/module.py | 2 ++
21117 1 file changed, 2 insertions(+)
21119 commit 28f9366c9cb382801bad080864f667c867daa3c7
21120 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21121 Date: Sat Oct 9 17:40:40 2010 +0200
21123 Override Gtk.TreeSelection.get_selected to not return success value.
21125 https://bugzilla.gnome.org/show_bug.cgi?id=631765
21127 gi/overrides/Gtk.py | 12 ++++++++++++
21128 1 file changed, 12 insertions(+)
21130 commit f01a7d9e8222663ce52100e061033f2745a5e7af
21131 Author: Vincent Untz <vuntz@gnome.org>
21132 Date: Thu Oct 7 09:42:24 2010 +0200
21134 Make row optional in Gtk.TreeStore/ListStore.append override
21136 https://bugzilla.gnome.org/show_bug.cgi?id=631548
21138 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
21139 1 file changed, 22 insertions(+), 14 deletions(-)
21141 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
21142 Author: John (J5) Palmieri <johnp@redhat.com>
21143 Date: Mon Oct 4 12:50:55 2010 -0400
21145 Revert "add compat functions for the deprecated PyCObject api"
21147 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
21149 I ment to commit another patch and ended up comitting both
21151 gi/gimodule.c | 2 +-
21152 gi/pygi.h | 5 +----
21153 glib/glibmodule.c | 2 +-
21154 glib/pyglib-python-compat.h | 19 -------------------
21155 glib/pyglib.c | 6 +++---
21156 glib/pygoptioncontext.c | 2 +-
21157 gobject/gobjectmodule.c | 2 +-
21158 gobject/pygobject.h | 6 ------
21159 gobject/pygtype.c | 10 +++++-----
21160 9 files changed, 13 insertions(+), 41 deletions(-)
21162 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
21163 Author: John (J5) Palmieri <johnp@redhat.com>
21164 Date: Mon Oct 4 12:43:31 2010 -0400
21166 return NULL instead of -1 which fixes crash when introspection is
21169 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
21172 1 file changed, 1 insertion(+), 1 deletion(-)
21174 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
21175 Author: John (J5) Palmieri <johnp@redhat.com>
21176 Date: Tue Sep 28 15:31:03 2010 -0400
21178 add compat functions for the deprecated PyCObject api
21180 * Moved to using the PyCapsule API for python >= 2.7
21182 https://bugzilla.gnome.org/show_bug.cgi?id=630844
21184 gi/gimodule.c | 2 +-
21185 gi/pygi.h | 5 ++++-
21186 glib/glibmodule.c | 2 +-
21187 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
21188 glib/pyglib.c | 6 +++---
21189 glib/pygoptioncontext.c | 2 +-
21190 gobject/gobjectmodule.c | 2 +-
21191 gobject/pygobject.h | 6 ++++++
21192 gobject/pygtype.c | 10 +++++-----
21193 9 files changed, 41 insertions(+), 13 deletions(-)
21195 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
21196 Author: John (J5) Palmieri <johnp@redhat.com>
21197 Date: Tue Sep 28 15:28:16 2010 -0400
21199 fix commit 7fe83108 which didn't use the compat functions for
21202 glib/glibmodule.c | 2 +-
21203 1 file changed, 1 insertion(+), 1 deletion(-)
21205 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
21206 Author: John (J5) Palmieri <johnp@redhat.com>
21207 Date: Tue Sep 28 13:15:57 2010 -0400
21209 Python 3 fixes for dsextras and the python.m4 distribution files
21211 dsextras.py | 13 +++++++------
21212 m4/python.m4 | 4 ++--
21213 2 files changed, 9 insertions(+), 8 deletions(-)
21215 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
21216 Author: John (J5) Palmieri <johnp@redhat.com>
21217 Date: Mon Sep 27 14:01:31 2010 -0400
21219 post release bump to 2.27.0 unstable
21221 * update hacking to fill in some holes in the release instructions
21224 configure.ac | 2 +-
21225 2 files changed, 5 insertions(+), 3 deletions(-)
21227 commit fd38010101411e6bc1ca9314657f418de660fa13
21228 Author: John (J5) Palmieri <johnp@redhat.com>
21229 Date: Mon Sep 27 12:03:10 2010 -0400
21231 update NEWS for release
21234 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21235 1 file changed, 93 insertions(+)
21237 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
21238 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21239 Date: Sun Sep 26 08:37:31 2010 +0200
21241 Pre-release version bump 2.26.0
21243 configure.ac | 4 ++--
21244 1 file changed, 2 insertions(+), 2 deletions(-)
21246 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
21247 Author: John Stowers <john.stowers@gmail.com>
21248 Date: Fri Sep 24 22:44:03 2010 +1200
21250 Wrap g_get_system_{config,data}_dirs ()
21252 * Also tidy up g_get_{cache,config,data}_dir
21253 to share common code
21255 glib/glibmodule.c | 68
21256 ++++++++++++++++++++++++++++++++++++++++---------------
21257 1 file changed, 50 insertions(+), 18 deletions(-)
21259 commit 328aca600714bdca89dfdb531c222ee561ede27e
21260 Author: John (J5) Palmieri <johnp@redhat.com>
21261 Date: Fri Sep 24 12:16:22 2010 -0400
21263 fixed make check and make dist
21265 tests/Makefile.am | 31 ++++++++++++++++++-------------
21266 1 file changed, 18 insertions(+), 13 deletions(-)
21268 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
21269 Author: John Stowers <john.stowers@gmail.com>
21270 Date: Fri Sep 24 21:20:53 2010 +1200
21272 Disable GI tests when introspection disabled
21274 tests/Makefile.am | 2 ++
21275 1 file changed, 2 insertions(+)
21277 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
21278 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
21279 Date: Sat Jul 18 19:35:08 2009 +0200
21281 Wrap g_uri_list_extract_uris. Fixes bug #584431
21283 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
21284 gobject/__init__.py | 2 +-
21285 tests/Makefile.am | 3 ++-
21286 tests/test_uris.py | 15 +++++++++++++++
21287 4 files changed, 56 insertions(+), 2 deletions(-)
21289 commit d6721a59c294f2471142b8c32de2f647b7084bca
21290 Author: Paul Bolle <pebolle@tiscali.nl>
21291 Date: Thu Sep 23 15:38:40 2010 -0400
21293 Fix a few uses of TRUE and FALSE in the docs
21295 docs/reference/pygio-mount.xml | 5 +++--
21296 docs/reference/pyglib-functions.xml | 18 +++++++++---------
21297 docs/reference/pyglib-maincontext.xml | 12 ++++++------
21298 docs/reference/pyglib-mainloop.xml | 6 +++---
21299 docs/reference/pygobject-functions.xml | 6 +++---
21300 docs/reference/pygobject.xml | 4 ++--
21301 6 files changed, 26 insertions(+), 25 deletions(-)
21303 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
21304 Author: Damien Caliste <damien.caliste@cea.fr>
21305 Date: Tue Sep 21 17:52:14 2010 +0200
21307 pygi: always free the invocation_state struct
21309 In pygi-invoke.c, the invocation_state struct is never freed
21310 in case of success. Thus, always call _free_invocation_state()
21312 Modify _free_invocation_state to avoid double free in case of
21313 caller-allocated GValue, once as a released argument in the
21314 _process routine and another time in the _free as the special
21315 case. So move all argument releasing code from the _process
21316 routine to the _free one.
21317 Modify the tests for the callback routines to return an integer
21318 value as specified in the GIR file.
21320 Make check is as successful as before (already existing error
21321 related to GVariant is still there).
21323 https://bugzilla.gnome.org/show_bug.cgi?id=630271
21325 gi/pygi-invoke.c | 83
21326 +++++++++++++++++++++---------------------------
21327 tests/test_everything.py | 4 ++-
21328 2 files changed, 40 insertions(+), 47 deletions(-)
21330 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
21331 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21332 Date: Mon Sep 13 16:36:47 2010 +0200
21334 Start implementing something equivalent to g_variant_new
21336 https://bugzilla.gnome.org/show_bug.cgi?id=629367
21338 gi/gimodule.c | 20 +++++++
21339 gi/overrides/GLib.py | 131
21340 ++++++++++++++++++++++++++++++++++++++++++---
21341 gi/pygi-foreign-gvariant.c | 2 +-
21342 tests/test_everything.py | 16 ------
21343 tests/test_overrides.py | 25 +++++++++
21344 5 files changed, 170 insertions(+), 24 deletions(-)
21346 commit fc45abdd9b55ab63556798ab0f04715be79dba08
21347 Author: John (J5) Palmieri <johnp@redhat.com>
21348 Date: Thu Sep 23 10:49:36 2010 -0400
21350 fixed typo - missing comma in glib.option module
21352 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
21354 glib/option.py | 2 +-
21355 1 file changed, 1 insertion(+), 1 deletion(-)
21357 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
21358 Author: John (J5) Palmieri <johnp@redhat.com>
21359 Date: Fri Sep 17 12:08:09 2010 -0400
21361 add checks so we can compile under python 3 by setting PYTHON=python3
21363 * compile for python 3
21364 * disables gio if compiling under python 3.x
21365 * runs only pertinant tests
21367 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21369 configure.ac | 32 +++++++++++++++++++++++++++++---
21370 tests/Makefile.am | 35 ++++++++++++++++++++---------------
21371 tests/runtests.py | 4 ++++
21372 3 files changed, 53 insertions(+), 18 deletions(-)
21374 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
21375 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21376 Date: Fri Sep 17 15:50:47 2010 +0200
21378 Rename static methods as functions
21380 In recent gobject-introspection releases, static methods have been
21381 removed and placed as functions in the namespace level. In a future
21382 releases it's planned to become static methods again but for now
21383 let's fix the tests.
21385 tests/test_gi.py | 14 +++++++-------
21386 1 file changed, 7 insertions(+), 7 deletions(-)
21388 commit 2da8da589644d6125101210712defb1272a8abb1
21389 Author: John (J5) Palmieri <johnp@redhat.com>
21390 Date: Thu Sep 9 13:52:14 2010 -0400
21392 fix a couple of compiler warnings
21394 https://bugzilla.gnome.org/show_bug.cgi?id=629199
21396 gi/pygi-argument.c | 4 ++--
21397 gi/pygi-struct.c | 2 +-
21398 gobject/gobjectmodule.c | 2 +-
21399 3 files changed, 4 insertions(+), 4 deletions(-)
21401 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
21402 Author: John (J5) Palmieri <johnp@redhat.com>
21403 Date: Thu Sep 9 13:55:17 2010 -0400
21407 * we use richcompare now
21409 https://bugzilla.gnome.org/show_bug.cgi?id=629198
21411 gobject/pygtype.c | 9 ---------
21412 1 file changed, 9 deletions(-)
21414 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
21415 Author: John (J5) Palmieri <johnp@redhat.com>
21416 Date: Tue Sep 14 14:10:49 2010 -0400
21418 Check the type of the instance object
21420 * in python 2 methods were added to classes as unbound methods and
21422 check the instance type to make sure it was correct
21423 * in python 3 for perfomance reasons methods are added to classes
21425 functions which treat the instance as an untyped argument so
21428 * this patch adds a type check so that the correct errors are
21430 python 3 (python 2 this just adds another layer of redundancy should
21431 something change with type checking in the future)
21432 * since GI handles regular args and the instance arg slightly
21434 we had to split out the interface checks in
21435 _pygi_g_type_info_check_object
21436 in order to not duplicate code
21438 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21440 gi/pygi-argument.c | 182
21441 ++++++++++++++++++++++++++++-------------------------
21442 gi/pygi-argument.h | 2 +
21443 gi/pygi-invoke.c | 14 +++++
21444 3 files changed, 112 insertions(+), 86 deletions(-)
21446 commit 5d79498d38b147b66ae72c1481e397160491e8d6
21447 Author: John (J5) Palmieri <johnp@redhat.com>
21448 Date: Wed Sep 15 10:26:20 2010 -0400
21450 include the correct pycairo version
21452 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21454 gi/pygi-foreign-cairo.c | 6 ++++++
21455 1 file changed, 6 insertions(+)
21457 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
21458 Author: John (J5) Palmieri <johnp@redhat.com>
21459 Date: Thu Sep 9 22:16:58 2010 -0400
21461 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
21463 * in Py3k PyMapping_Check returns true for sequences such as strings
21464 and lists. Since we need to get the keys anyway, and it returns
21465 NULL if this is not a dict, this is a much better test, even in
21468 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21470 gi/pygi-argument.c | 10 +++-------
21471 1 file changed, 3 insertions(+), 7 deletions(-)
21473 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
21474 Author: John (J5) Palmieri <johnp@redhat.com>
21475 Date: Thu Sep 9 18:44:11 2010 -0400
21477 fix handling of UINT64 and INT64 arguments in py3k
21479 * decode to the right sized C long
21481 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21483 gi/pygi-argument.c | 20 ++++++++++++--------
21484 1 file changed, 12 insertions(+), 8 deletions(-)
21486 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
21487 Author: John (J5) Palmieri <johnp@redhat.com>
21488 Date: Thu Sep 9 17:35:10 2010 -0400
21490 properly handle ulongs properties in py3k
21492 * If this is a PyLong object pull use AsUnsignedLong
21494 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21496 gobject/pygtype.c | 29 ++++++++++++++++-------------
21497 1 file changed, 16 insertions(+), 13 deletions(-)
21499 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
21500 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21501 Date: Fri Sep 17 12:14:56 2010 +0200
21503 Specify encoding of tests/test_gi.py
21505 tests/test_gi.py | 3 ++-
21506 1 file changed, 2 insertions(+), 1 deletion(-)
21508 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
21509 Author: John (J5) Palmieri <johnp@redhat.com>
21510 Date: Thu Sep 9 13:24:30 2010 -0400
21512 use actual unicode in the tests on py3k, not the byte representation
21514 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21516 tests/test_gi.py | 6 +++++-
21517 1 file changed, 5 insertions(+), 1 deletion(-)
21519 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
21520 Author: John (J5) Palmieri <johnp@redhat.com>
21521 Date: Thu Sep 9 12:45:21 2010 -0400
21523 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
21526 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
21528 with both the METH_VARARGS and METH_KEYWORDS flags.
21530 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21532 glib/pygiochannel.c | 30 +++++++++++++++---------------
21533 glib/pygsource.c | 4 ++--
21534 gobject/pygobject.c | 2 +-
21535 3 files changed, 18 insertions(+), 18 deletions(-)
21537 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
21538 Author: John (J5) Palmieri <johnp@redhat.com>
21539 Date: Thu Sep 9 08:04:40 2010 -0400
21541 fix subclassing PyLong by calling __new__ correctly
21543 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21545 glib/pygspawn.c | 4 ++--
21546 1 file changed, 2 insertions(+), 2 deletions(-)
21548 commit a499b2f0d622b671bd154544f66b73f1278e66ed
21549 Author: John (J5) Palmieri <johnp@redhat.com>
21550 Date: Thu Sep 9 07:56:44 2010 -0400
21552 minor py3k fixups for python modules
21554 * add _basestring and _bytes and _callable wrappers
21555 * use items instead of iteritems and range instead of xrange
21559 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21561 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
21562 glib/option.py | 16 ++++++++++++----
21563 2 files changed, 28 insertions(+), 12 deletions(-)
21565 commit dec9001d26c97949e7b3578086cb35e98075c047
21566 Author: John (J5) Palmieri <johnp@redhat.com>
21567 Date: Thu Sep 9 07:36:04 2010 -0400
21569 minor fixes in tests for py3k compat
21571 * add a _bytes wrapper for API that expects bytes in py3k but str
21573 * fix some more exception handling using sys.exc_info()[:2]
21574 * use range instead of xrange, items instead of iteritems since py3k
21575 dropped support for the different ways of accessing iterators
21576 - this is less efficient in py2 but we plan to target py3k as the
21578 * use list(dict.items()) since py3k only returns iterables which
21581 * missed some _long wrapping
21583 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21585 tests/compathelper.py | 18 ++++++++++++++++++
21586 tests/test_everything.py | 5 +++--
21587 tests/test_mainloop.py | 3 ++-
21588 tests/test_option.py | 6 ++++--
21589 tests/test_overrides.py | 4 ++--
21590 tests/test_properties.py | 6 +++---
21591 6 files changed, 32 insertions(+), 10 deletions(-)
21593 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
21594 Author: Colin Walters <walters@verbum.org>
21595 Date: Thu Sep 9 16:25:51 2010 -0400
21597 compilation: Fix syntax error
21599 gi/pygi-info.c | 2 +-
21600 1 file changed, 1 insertion(+), 1 deletion(-)
21602 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
21603 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21604 Date: Thu Sep 9 22:17:00 2010 +0200
21608 gi/overrides/GLib.py | 48
21609 ++++++++++++++++++++++++++++++++++++++++++++++++
21610 1 file changed, 48 insertions(+)
21612 commit 306b792ac97a458ddee59fb86d66453495117f3e
21613 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21614 Date: Thu Jul 22 13:48:51 2010 +0100
21616 Add override for GLib.Variant.new_tuple
21618 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
21619 * gi/overrides/GLib.py: Override Variant.new_tuple and
21621 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
21622 _pygi_type_import_by_gi_info
21623 * gi/types.py: Never override gobject.TYPE_NONE
21624 * tests/test_everything.py: Add tests for GVariant tuples
21626 https://bugzilla.gnome.org/show_bug.cgi?id=625050
21628 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
21629 gi/overrides/Makefile.am | 1 +
21630 gi/pygi-type.c | 15 +++++++++------
21631 gi/pygi-type.h | 2 ++
21633 tests/test_everything.py | 9 +++++++++
21634 6 files changed, 60 insertions(+), 6 deletions(-)
21636 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
21637 Author: John (J5) Palmieri <johnp@redhat.com>
21638 Date: Wed Sep 8 13:08:48 2010 -0400
21640 fix for changes in the gi test libraries
21642 tests/test_everything.py | 2 +-
21643 1 file changed, 1 insertion(+), 1 deletion(-)
21645 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
21646 Author: John (J5) Palmieri <johnp@redhat.com>
21647 Date: Wed Sep 8 13:08:07 2010 -0400
21649 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
21651 gi/overrides/Gtk.py | 10 ++++++++--
21652 1 file changed, 8 insertions(+), 2 deletions(-)
21654 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
21655 Author: John (J5) Palmieri <johnp@redhat.com>
21656 Date: Wed Sep 8 12:35:09 2010 -0400
21658 no need to offset arg positions when is_method is true
21660 * The old GI libraries required we offset arg positions for the
21662 self argument. The new library fixes this so we don't have
21666 https://bugzilla.gnome.org/show_bug.cgi?id=629087
21668 gi/pygi-callbacks.c | 5 +----
21669 1 file changed, 1 insertion(+), 4 deletions(-)
21671 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
21672 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21673 Date: Fri Aug 20 14:54:35 2010 +0200
21675 gi: Add support for more property types
21677 https://bugzilla.gnome.org/show_bug.cgi?id=627494
21679 gi/pygi-property.c | 156
21680 ++++++++++++++++++++++++++++++++++++-----------
21681 tests/test_everything.py | 34 +++++++++++
21682 2 files changed, 154 insertions(+), 36 deletions(-)
21684 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
21685 Author: John (J5) Palmieri <johnp@redhat.com>
21686 Date: Fri Sep 3 12:04:16 2010 -0400
21688 use PyObject_SetAttrString, not PyDict_SetItemString when setting
21691 * When registering a gtype wrapper we used to set tp_dict
21692 directly. This works
21693 in python 2 but python 3 seems to handle attributes in a slightly
21695 way where the tp_dict and attr get out of sync. By setting the attr
21696 directly we avoid this issue.
21697 * Note that there are many more places where we set __gtype__
21699 however for objects which are not instantiated yet we have to
21702 * Since this one change fixes a lot of failed tests, for now we
21704 other places where we set __gtype__. If we run into more issues
21706 with __gtype__ we can take a closer look later.
21708 https://bugzilla.gnome.org/show_bug.cgi?id=627878
21710 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21712 gobject/gobjectmodule.c | 2 +-
21713 1 file changed, 1 insertion(+), 1 deletion(-)
21715 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
21716 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21717 Date: Wed Sep 1 11:03:40 2010 +0200
21719 Rename GArgument to GIArgument
21721 gi/pygi-argument.c | 52
21722 +++++++++++++++++++++++-----------------------
21723 gi/pygi-argument.h | 10 ++++-----
21724 gi/pygi-closure.c | 34 +++++++++++++++---------------
21725 gi/pygi-foreign-cairo.c | 8 +++----
21726 gi/pygi-foreign-gvariant.c | 4 ++--
21727 gi/pygi-foreign-gvariant.h | 4 ++--
21728 gi/pygi-foreign.c | 12 +++++------
21729 gi/pygi-foreign.h | 8 +++----
21730 gi/pygi-info.c | 8 +++----
21731 gi/pygi-invoke.c | 28 ++++++++++++-------------
21732 gi/pygi-property.c | 4 ++--
21733 gi/pygi.h | 16 +++++++-------
21734 12 files changed, 94 insertions(+), 94 deletions(-)
21736 commit 7197f85c9be2b03636639ac909ca2c3170653509
21737 Author: John (J5) Palmieri <johnp@redhat.com>
21738 Date: Wed Aug 18 10:29:19 2010 -0400
21740 fix up tests so they run in py3k
21742 * add a compat helper that should only be used by tests
21743 * fix long notation to use the compat helper instead
21744 * add parens to print statements
21745 * use compatable try/except pattern
21747 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21749 gobject/propertyhelper.py | 16 +++++++++++-----
21750 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
21751 tests/test_option.py | 7 ++++++-
21752 tests/test_properties.py | 24 ++++++++++++++----------
21753 tests/test_signal.py | 14 +++++++-------
21754 tests/test_source.py | 4 ++--
21755 6 files changed, 72 insertions(+), 25 deletions(-)
21757 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
21758 Author: Colin Walters <walters@verbum.org>
21759 Date: Fri Aug 20 10:58:48 2010 -0400
21761 tests: Port to new introspection tests
21763 Everything is renamed "Regress", and both it and GIMarshallingTests
21764 are now in source form, so we compile them.
21766 The scanner now adds "static methods" to objects, structs, and unions,
21767 so update the test code to use those.
21769 In the tests, remove broken (inout) cases - the person writing these
21770 tests misunderstood the semantics of (inout). It's not acceptable for
21771 a C API to mutate e.g. a GSList* passed in, or unref an object.
21773 The invocation code needed to be updated for this - remove some
21776 https://bugzilla.gnome.org/show_bug.cgi?id=627878
21778 configure.ac | 5 +-
21779 gi/pygi-argument.c | 9 +--
21780 gi/pygi-invoke.c | 147
21781 +++++----------------------------------------
21782 tests/Makefile.am | 42 ++++++++++++-
21783 tests/test_everything.py | 6 +-
21784 tests/test_gi.py | 151
21785 +++++++++--------------------------------------
21786 6 files changed, 93 insertions(+), 267 deletions(-)
21788 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
21789 Author: John (J5) Palmieri <johnp@redhat.com>
21790 Date: Fri Aug 20 10:43:58 2010 -0400
21792 we need to specify tp_hash since we overide tp_richcompare
21794 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21796 gobject/pygenum.c | 1 +
21797 gobject/pygflags.c | 1 +
21798 2 files changed, 2 insertions(+)
21800 commit c03e6b482548aee99362356807c804f8834fad2b
21801 Author: John Ehresman <jpe@wingware.com>
21802 Date: Thu Apr 15 17:11:30 2010 -0400
21804 working enum/flags/pid subclasses of long
21806 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21808 glib/pygspawn.c | 7 ++---
21809 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
21810 gobject/pygflags.c | 76
21811 +++++++++++++++++++++++-------------------------------
21812 3 files changed, 71 insertions(+), 73 deletions(-)
21814 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
21815 Author: John (J5) Palmieri <johnp@redhat.com>
21816 Date: Wed Aug 18 11:03:32 2010 -0400
21818 make vfuncs work in py3k
21820 * methods now export __func__ instead of im_func for getting the
21822 out of a method closure
21823 * however classes no longer return unbound methods in py3k and instead
21824 return the actual function
21825 * in python 2 we use im_func when getting the function from the
21827 * in py3k we simply assign vfunc to the function
21829 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21831 gi/types.py | 12 ++++++++----
21832 1 file changed, 8 insertions(+), 4 deletions(-)
21834 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
21835 Author: John (J5) Palmieri <johnp@redhat.com>
21836 Date: Tue Aug 17 15:43:42 2010 -0400
21838 make cairo module compile in py3k
21840 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21842 gi/Makefile.am | 2 +-
21843 gi/pygi-foreign-cairo.c | 17 +++++++----------
21844 2 files changed, 8 insertions(+), 11 deletions(-)
21846 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
21847 Author: John (J5) Palmieri <johnp@redhat.com>
21848 Date: Tue Aug 17 02:33:45 2010 -0400
21850 fix exceptions so they work in python 3.x
21852 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21854 gi/module.py | 2 +-
21856 2 files changed, 2 insertions(+), 2 deletions(-)
21858 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
21859 Author: John (J5) Palmieri <johnp@redhat.com>
21860 Date: Tue Aug 17 02:24:44 2010 -0400
21862 make the gi module compile under 3.x
21864 * include the compat macros
21865 * use GLIB_MODULE_START/END to define module
21866 * add PyInit__gi to the exported symbols
21868 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21870 gi/Makefile.am | 2 +-
21871 gi/gimodule.c | 24 +++++++++---------------
21872 2 files changed, 10 insertions(+), 16 deletions(-)
21874 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
21875 Author: John (J5) Palmieri <johnp@redhat.com>
21876 Date: Tue Aug 17 02:14:14 2010 -0400
21878 fix up testshelper module so it compiles in python 3.x
21880 * include the compat header
21881 * fix up PyInts to be PYGLIB_Long
21882 * Use PYGLIB_DEFINE_TYPE macros to define module objects
21883 * Use PYGLIB_MODULE_START/END to define modules
21885 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21887 tests/Makefile.am | 2 +-
21888 tests/testhelpermodule.c | 221
21889 ++++++-----------------------------------------
21890 2 files changed, 28 insertions(+), 195 deletions(-)
21892 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
21893 Author: John (J5) Palmieri <johnp@redhat.com>
21894 Date: Mon Aug 16 21:14:27 2010 -0400
21896 convert to using PYGLIB_DEFINE_TYPE for module objects
21898 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21900 gi/pygi-boxed.c | 43 ++-----------
21901 gi/pygi-info.c | 171
21902 ++++++++++++++++++++-------------------------------
21903 gi/pygi-repository.c | 39 +++---------
21904 gi/pygi-struct.c | 45 +++-----------
21905 4 files changed, 88 insertions(+), 210 deletions(-)
21907 commit 1efa2b12913b194d433c17014bc1077271a6ca32
21908 Author: John (J5) Palmieri <johnp@redhat.com>
21909 Date: Mon Aug 16 13:51:05 2010 -0400
21911 some more p3k PyString and PyInt eradication in GI
21913 * add the glib dir to the includes list in the build
21914 * make sure we include the compat macros
21915 * add GLIB_PyBytes_FromString to compat macros
21916 * add GLIB_PyNumber_Long to compat macros
21917 * use RichCompare instead of Compare
21919 https://bugzilla.gnome.org/show_bug.cgi?id=615872
21921 gi/Makefile.am | 2 +-
21922 gi/pygi-argument.c | 96
21923 +++++++++++++++++++++++++++------------------
21924 gi/pygi-boxed.c | 1 +
21925 gi/pygi-info.c | 13 +++---
21926 gi/pygi-private.h | 23 +++++++++++
21927 gi/pygi-repository.c | 8 ++--
21928 gi/pygi-struct.c | 1 +
21929 glib/pyglib-python-compat.h | 6 +++
21930 8 files changed, 103 insertions(+), 47 deletions(-)
21932 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
21933 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21934 Date: Fri Aug 20 09:28:57 2010 +0200
21936 pyglib: Fix typo (Leo Singer)
21938 https://bugzilla.gnome.org/show_bug.cgi?id=627408
21940 glib/option.py | 4 ++--
21941 1 file changed, 2 insertions(+), 2 deletions(-)
21943 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
21944 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
21945 Date: Thu Aug 19 18:45:05 2010 -0300
21947 Add defines for size_t and ssize_t conversion functions
21949 These missing defines cause the resulting module to have unresolved
21950 symbols, rendering it unusable.
21952 https://bugzilla.gnome.org/show_bug.cgi?id=627440
21954 glib/pyglib-python-compat.h | 2 ++
21955 1 file changed, 2 insertions(+)
21957 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
21958 Author: Colin Walters <walters@verbum.org>
21959 Date: Thu Aug 19 17:50:35 2010 -0400
21961 pyglib: Fix a compiler warning
21963 glib/pyglib.c | 1 +
21964 1 file changed, 1 insertion(+)
21966 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
21967 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21968 Date: Wed Aug 18 20:36:51 2010 +0200
21970 Don't force gtk 2.0
21972 pygi-convert.sh | 11 +++++++----
21973 1 file changed, 7 insertions(+), 4 deletions(-)
21975 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
21976 Author: Steve Frécinaux <code@istique.net>
21977 Date: Tue Aug 17 14:49:30 2010 +0200
21979 Fix some ref leaks in hook_up_vfunc_implementation()
21981 https://bugzilla.gnome.org/show_bug.cgi?id=627143
21983 gi/gimodule.c | 9 +++++++--
21984 1 file changed, 7 insertions(+), 2 deletions(-)
21986 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
21987 Author: John (J5) Palmieri <johnp@redhat.com>
21988 Date: Thu Aug 12 12:16:31 2010 -0400
21990 handle strings correctly in gio
21992 gio/gappinfo.override | 5 +++++
21993 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
21994 2 files changed, 40 insertions(+), 7 deletions(-)
21996 commit 45ab0c03110c911b47519941dfd753326891b5e0
21997 Author: John (J5) Palmieri <johnp@redhat.com>
21998 Date: Wed Aug 11 16:13:59 2010 -0400
22000 make giomodule compile under py3k
22002 https://bugzilla.gnome.org/show_bug.cgi?id=615872
22004 gio/giomodule.c | 153
22005 +++++++++++++++++++++++++++++---------------------------
22006 1 file changed, 78 insertions(+), 75 deletions(-)
22008 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
22009 Author: John (J5) Palmieri <johnp@redhat.com>
22010 Date: Wed Aug 11 16:04:48 2010 -0400
22012 for py3k we need to do some more processing to get bytes from a
22015 https://bugzilla.gnome.org/show_bug.cgi?id=615872
22017 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
22018 1 file changed, 27 insertions(+), 4 deletions(-)
22020 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
22021 Author: John (J5) Palmieri <johnp@redhat.com>
22022 Date: Wed Aug 11 15:03:55 2010 -0400
22024 use Bytes instead of Unicode when reading io
22026 https://bugzilla.gnome.org/show_bug.cgi?id=615872
22028 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
22029 1 file changed, 24 insertions(+), 6 deletions(-)
22031 commit 5824ff98175b749dbcfa72d24b994230b6e05377
22032 Author: John (J5) Palmieri <johnp@redhat.com>
22033 Date: Mon Aug 9 15:16:51 2010 -0400
22035 prefix compat macros with PYGLIB
22037 * refactor from John Ehresman <jpe@wingware.com> py3k branch
22038 * fix up some extranious PyString calls
22039 * remove duplicate macros from pyglib.h that are in
22040 pyglib-python-compat.h
22041 * pygobject.h can't import pyglib-python-compat.h so add codepaths
22042 for both Py3k and legacy code instead of using macros
22044 https://bugzilla.gnome.org/show_bug.cgi?id=615872
22046 glib/glibmodule.c | 48 +++++-----
22047 glib/pygiochannel.c | 46 +++++-----
22048 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
22049 glib/pyglib.c | 22 ++---
22050 glib/pyglib.h | 14 ---
22051 glib/pygoptioncontext.c | 4 +-
22052 glib/pygsource.c | 16 ++--
22053 glib/pygspawn.c | 32 +++----
22054 gobject/gobjectmodule.c | 216
22055 ++++++++++++++++++++++----------------------
22056 gobject/pygboxed.c | 2 +-
22057 gobject/pygenum.c | 84 ++++++++---------
22058 gobject/pygflags.c | 122 ++++++++++++-------------
22059 gobject/pygobject-private.h | 12 +--
22060 gobject/pygobject.c | 46 +++++-----
22061 gobject/pygobject.h | 23 +++++
22062 gobject/pygparamspec.c | 24 ++---
22063 gobject/pygpointer.c | 2 +-
22064 gobject/pygtype.c | 170 +++++++++++++++++-----------------
22065 18 files changed, 563 insertions(+), 473 deletions(-)
22067 commit 231e934cc01d061e81bb60d35127a133cd0e1793
22068 Author: John (J5) Palmieri <johnp@redhat.com>
22069 Date: Mon Aug 16 10:14:04 2010 +0200
22071 Gtk.Button unit tests
22073 https://bugzilla.gnome.org/show_bug.cgi?id=622606
22075 tests/test_overrides.py | 10 ++++++++++
22076 1 file changed, 10 insertions(+)
22078 commit f07cfde377e42686c6b80f56cac62338ee333e61
22079 Author: Johan Dahlin <johan@gnome.org>
22080 Date: Mon Aug 16 10:08:38 2010 +0200
22082 [Gtk] Add overrides for Button
22084 https://bugzilla.gnome.org/show_bug.cgi?id=622606
22086 gi/overrides/Gtk.py | 13 +++++++++++++
22087 1 file changed, 13 insertions(+)
22089 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
22090 Author: Simon van der Linden <svdlinden@gnome.org>
22091 Date: Thu Aug 12 16:18:58 2010 +0200
22093 Make Cairo an optional dependency
22095 Add the --enable-cairo configure argument.
22097 https://bugzilla.gnome.org/show_bug.cgi?id=616732
22099 configure.ac | 15 ++++++++++++---
22100 gi/Makefile.am | 20 ++++++++++++--------
22101 2 files changed, 24 insertions(+), 11 deletions(-)
22103 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
22104 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22105 Date: Mon Aug 16 09:55:35 2010 +0200
22107 Don't import again PyGObject (John Ralls)
22109 https://bugzilla.gnome.org/show_bug.cgi?id=626996
22112 1 file changed, 1 insertion(+)
22114 commit 0dc3656070f496431829c6e8441ca17129c569f8
22115 Author: John (J5) Palmieri <johnp@redhat.com>
22116 Date: Mon Aug 9 16:11:55 2010 -0400
22118 move to using richcompare slot instead of compare
22120 https://bugzilla.gnome.org/show_bug.cgi?id=615872
22122 glib/pygiochannel.c | 18 +++++++----
22124 +++++++++++++++++++++++++++++++++++++++++++++++++
22125 glib/pyglib.h | 3 ++
22126 glib/pygmaincontext.c | 17 ++++++----
22127 glib/pygmainloop.c | 17 ++++++----
22128 glib/pygoptioncontext.c | 18 +++++++----
22129 glib/pygoptiongroup.c | 22 +++++++------
22130 gobject/pygboxed.c | 18 +++++++----
22131 gobject/pygobject.c | 44 ++++++++++++++++++-------
22132 gobject/pygparamspec.c | 19 +++++++----
22133 gobject/pygpointer.c | 17 ++++++----
22134 gobject/pygtype.c | 26 +++++++++++----
22135 12 files changed, 233 insertions(+), 71 deletions(-)
22137 commit b426e531dc53d4b50e572a2da19733479635e662
22138 Author: Simon van der Linden <svdlinden@gnome.org>
22139 Date: Thu Aug 12 18:09:33 2010 +0200
22141 Replace autogen.sh by a newer version
22143 It pulls automake 1.10 or 1.11.
22144 Greatly inspired from GLib's.
22146 https://bugzilla.gnome.org/show_bug.cgi?id=625661
22149 +++++++------------------------------------------------------
22150 1 file changed, 58 insertions(+), 448 deletions(-)
22152 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
22153 Author: Simon van der Linden <svdlinden@gnome.org>
22154 Date: Thu Aug 12 14:11:55 2010 +0200
22158 pyglib.c: In function ‘pyglib_gerror_exception_check’:
22159 pyglib.c:362: warning: format not a string literal and no format
22161 pyglib.c:371: warning: format not a string literal and no format
22164 gio.override: In function 'pygio_notify_allocate_buffer':
22165 gio.override:144:13: warning: format '%d' expects type 'int', but
22169 https://bugzilla.gnome.org/show_bug.cgi?id=625437
22171 gio/gio.override | 2 +-
22172 glib/pyglib.c | 4 ++--
22173 2 files changed, 3 insertions(+), 3 deletions(-)
22175 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
22176 Author: Simon van der Linden <svdlinden@gnome.org>
22177 Date: Thu Aug 12 11:09:37 2010 +0200
22179 Fix caller-allocates emergency free.
22181 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
22183 NULL in order to be able caller-allocates. This patch adds those
22186 Moreover, the interface info needs to be freed afterwards.
22188 https://bugzilla.gnome.org/show_bug.cgi?id=626684
22190 gi/pygi-invoke.c | 9 ++++++++-
22191 1 file changed, 8 insertions(+), 1 deletion(-)
22193 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
22194 Author: Simon van der Linden <svdlinden@gnome.org>
22195 Date: Thu Aug 12 10:46:17 2010 +0200
22197 Remove useless checks.
22199 No need to check for state->arg_infos, state->arg_type_infos, and
22200 state->args_is_auxiliary to be NULL, they are always allocated.
22202 https://bugzilla.gnome.org/show_bug.cgi?id=626684
22204 gi/pygi-invoke.c | 14 +++-----------
22205 1 file changed, 3 insertions(+), 11 deletions(-)
22207 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
22208 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22209 Date: Tue Aug 10 17:40:16 2010 +0200
22211 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
22213 tests/Makefile.am | 2 +-
22214 1 file changed, 1 insertion(+), 1 deletion(-)
22216 commit 8be59c37dd57acc51875c7189ca09d728b729013
22217 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22218 Date: Wed Aug 4 13:43:17 2010 +0200
22222 gi/pygi-argument.c | 2 --
22223 gi/pygi-invoke.c | 2 +-
22224 gi/pygi-struct.c | 1 -
22225 3 files changed, 1 insertion(+), 4 deletions(-)
22227 commit 529eca6054e9a7e2267f1529e317c2373932762f
22228 Author: Simon van der Linden <svdlinden@gnome.org>
22229 Date: Fri Jul 30 22:39:40 2010 +0200
22231 Add myself as a maintainer
22233 MAINTAINERS | 4 ++++
22234 1 file changed, 4 insertions(+)
22236 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
22237 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22238 Date: Fri Jul 30 14:14:16 2010 +0200
22240 Properly allocate boxed structs that are (caller-allocates)
22242 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
22243 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
22244 are (caller-allocates)
22245 * tests/test_overrides.py: Split the TreeView tests
22247 https://bugzilla.gnome.org/show_bug.cgi?id=625653
22249 gi/pygi-boxed.c | 50
22250 ++++++++++++++++++++++++++++++++-----------------
22251 gi/pygi-boxed.h | 10 ++++++----
22252 gi/pygi-invoke.c | 16 ++++++----------
22253 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
22254 4 files changed, 64 insertions(+), 51 deletions(-)
22256 commit 99c7322898c00a576c7319ea0a7c808446253133
22257 Author: Toms Baugis <toms.baugis@gmail.com>
22258 Date: Fri Jul 30 15:44:21 2010 +0200
22260 override gdk.Event to return attribute from the proper event object
22262 https://bugzilla.gnome.org/show_bug.cgi?id=620593
22264 gi/overrides/Gdk.py | 48
22265 ++++++++++++++++++++++++++++++++++++++++++++++++
22266 gi/pygi-invoke.c | 4 ----
22267 tests/test_overrides.py | 10 ++++++++++
22268 3 files changed, 58 insertions(+), 4 deletions(-)
22270 commit 55814e722c2ae11310f346790c9221e4fad92b50
22271 Author: John (J5) Palmieri <johnp@redhat.com>
22272 Date: Fri Jul 30 06:30:48 2010 -0400
22274 check if z# needs an int or Py_ssize_t
22276 https://bugzilla.gnome.org/show_bug.cgi?id=625438
22278 gio/gio.override | 5 +++++
22279 1 file changed, 5 insertions(+)
22281 commit 477315465d0a6d84b51e146e86e254873bc564ff
22282 Author: John (J5) Palmieri <johnp@redhat.com>
22283 Date: Fri Jul 30 06:43:06 2010 -0400
22285 make sure we parse parameters to python object vars not glib vars
22287 * py_flags was already set up but due to a typo &flags was being
22291 https://bugzilla.gnome.org/show_bug.cgi?id=625438
22293 gio/gfile.override | 8 ++++----
22294 1 file changed, 4 insertions(+), 4 deletions(-)
22296 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
22297 Author: Paul Bolle <pebolle@tiscali.nl>
22298 Date: Fri Jul 30 10:56:01 2010 +0200
22300 Make an example and a demo work out of the box
22302 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
22303 regarding pygtk to work out of the box. So add those.
22305 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
22307 https://bugzilla.gnome.org/show_bug.cgi?id=625638
22309 demos/gtk-demo/gtk-demo.py | 2 ++
22310 examples/cairo-demo.py | 2 ++
22311 2 files changed, 4 insertions(+)
22313 commit c9da5782e6c633d9af43ee85075e9ee65db09780
22314 Author: John (J5) Palmieri <johnp@redhat.com>
22315 Date: Fri Jul 9 13:14:42 2010 -0400
22317 make sure caller allocated structs are freed when they go out of scope
22319 * Move struct transfer checks from pygi-arguments to pygi-invoke
22320 * add better warning if an unknown struct is fully transfered
22321 * only free GValues we create in the invoke cleanup. All other
22323 get cleaned up when they go out of scope in python
22324 * Fixes issues with caller allocated treeiters getting freed to early
22325 * this is a fix to crashes in the current test suite when API's
22327 TreeIters were annotated as out caller-allocates so no new tests
22330 https://bugzilla.gnome.org/show_bug.cgi?id=623969
22332 gi/pygi-argument.c | 13 +++++--------
22333 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
22334 2 files changed, 45 insertions(+), 14 deletions(-)
22336 commit e0a85305cd107aae5902e524afd074cd8c329927
22337 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22338 Date: Fri Jul 30 10:35:33 2010 +0200
22340 Revert "override gdk.Event to return attribute from the proper
22343 Pushed by mistake, we still need testcases
22345 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
22347 gi/overrides/Gdk.py | 44 --------------------------------------------
22348 1 file changed, 44 deletions(-)
22350 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
22351 Author: Paul Bolle <pebolle@tiscali.nl>
22352 Date: Thu Jul 29 22:55:28 2010 +0200
22354 PyGI: properly quit cairo-demo
22356 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
22358 https://bugzilla.gnome.org/show_bug.cgi?id=625619
22360 examples/cairo-demo.py | 2 +-
22361 1 file changed, 1 insertion(+), 1 deletion(-)
22363 commit e7bb3954880568884ca66e7751ede689dc2f24f6
22364 Author: Toms Baugis <toms.baugis@gmail.com>
22365 Date: Tue Jul 27 21:37:16 2010 +0200
22367 override gdk.Event to return attribute from the proper event object.
22369 https://bugzilla.gnome.org/show_bug.cgi?id=620593
22371 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
22372 1 file changed, 44 insertions(+)
22374 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
22375 Author: Simon van der Linden <svdlinden@gnome.org>
22376 Date: Wed Jul 28 14:56:00 2010 +0200
22378 Clean and improve the test infrastructure
22380 To run select tests, use for instance:
22381 % make check TEST_NAMES='test_everything test_gi.TestConstant'
22383 It works with check.gdb and check.valgrind too.
22385 https://bugzilla.gnome.org/show_bug.cgi?id=625488
22387 Makefile.am | 5 ----
22388 tests/Makefile.am | 65
22389 +++++++++++++++++++++-------------------------
22390 tests/common.py | 47 ---------------------------------
22391 tests/runtests.py | 43 ++++++++++++------------------
22392 tests/test_gcancellable.py | 4 +--
22393 tests/test_gi.py | 3 ---
22394 tests/test_gicon.py | 3 ++-
22395 tests/test_gio.py | 3 ++-
22396 tests/test_gobject.py | 3 ++-
22397 tests/test_gresolver.py | 4 +--
22398 tests/test_gsocket.py | 4 ++-
22399 tests/test_interface.py | 6 ++++-
22400 tests/test_mainloop.py | 11 +++-----
22401 tests/test_signal.py | 4 ++-
22402 tests/test_source.py | 4 +--
22403 tests/test_subprocess.py | 5 +---
22404 tests/test_thread.py | 5 +++-
22405 tests/test_unknown.py | 5 +++-
22406 18 files changed, 82 insertions(+), 142 deletions(-)
22408 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
22409 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22410 Date: Thu Jul 29 12:34:19 2010 +0200
22412 Add some more transformations to pygi-convert.sh
22414 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
22415 1 file changed, 29 insertions(+), 8 deletions(-)
22417 commit de519adcd21947a0aef7932cdecb78cef200c85e
22418 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22419 Date: Wed Jul 28 14:42:36 2010 +0200
22421 Adapt to API changes: g_irepository_enumerate_versions
22423 gi/importer.py | 2 +-
22424 gi/pygi-repository.c | 12 ++++++------
22425 2 files changed, 7 insertions(+), 7 deletions(-)
22427 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
22428 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22429 Date: Wed Jul 28 12:26:48 2010 +0200
22431 Add GValue<->GArgument marshalling for some more types
22433 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
22434 1 file changed, 36 insertions(+), 1 deletion(-)
22436 commit ddffa70c3ee0e837070f390632bc692430f79171
22437 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22438 Date: Wed Jul 28 11:10:42 2010 +0200
22440 Chain up with the non-introspection implementation for properties
22443 gobject/pygobject.c | 7 ++++++-
22444 1 file changed, 6 insertions(+), 1 deletion(-)
22446 commit 045433a1f8167205dc8eae613dcb8835d02c8916
22447 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22448 Date: Wed Jul 28 10:59:49 2010 +0200
22450 Improve error reporting for missing attributes in introspection
22453 gi/module.py | 4 ++--
22454 1 file changed, 2 insertions(+), 2 deletions(-)
22456 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
22457 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22458 Date: Tue Jul 27 21:52:49 2010 +0200
22460 Implement getting and setting properties using introspection
22463 This allows us to use information not present in GObject such as
22464 transfer and element types.
22466 https://bugzilla.gnome.org/show_bug.cgi?id=620808
22468 gi/Makefile.am | 2 +
22469 gi/gimodule.c | 2 +
22470 gi/pygi-argument.c | 2 +
22471 gi/pygi-private.h | 1 +
22472 gi/pygi-property.c | 226
22473 +++++++++++++++++++++++++++++++++++++++++++++++
22474 gi/pygi-property.h | 39 ++++++++
22475 gi/pygi.h | 41 +++++++++
22476 gobject/pygobject.c | 9 ++
22477 tests/test_everything.py | 19 ++++
22478 9 files changed, 341 insertions(+)
22480 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
22481 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22482 Date: Tue Jul 27 21:32:41 2010 +0200
22484 Readd Gdk.Rectangle override for Gtk-2.0
22486 gi/overrides/Gdk.py | 19 +++++++++++++++++++
22487 1 file changed, 19 insertions(+)
22489 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
22490 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22491 Date: Tue Jul 27 18:25:27 2010 +0200
22493 Allow specifying a version when loading a typelib
22495 * gi/importer.py: Defer loading the typelib until first usage.
22496 * gi/module.py: Load the typelib in IntrospectionModule().
22497 * gi/overrides/*.py: Adapt to API change.
22498 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
22499 g_irepository_get_version.
22501 gi/importer.py | 26 ++++++-----------
22503 +++++++++++++++++++++++++-------------
22504 gi/overrides/GIMarshallingTests.py | 2 +-
22505 gi/overrides/Gdk.py | 2 +-
22506 gi/overrides/Gtk.py | 2 +-
22507 gi/pygi-repository.c | 56
22508 +++++++++++++++++++++++++++++++++++-
22509 6 files changed, 105 insertions(+), 41 deletions(-)
22511 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
22512 Author: Jonathan Matthew <jonathan@d14n.org>
22513 Date: Tue Jul 13 20:27:28 2010 +1000
22515 treat GFreeFunc as equivalent to GDestroyNotify when scanning
22518 https://bugzilla.gnome.org/show_bug.cgi?id=624232
22520 gi/pygi-callbacks.c | 3 ++-
22521 1 file changed, 2 insertions(+), 1 deletion(-)
22523 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
22524 Author: Simon van der Linden <svdlinden@gnome.org>
22525 Date: Mon Jul 26 17:00:23 2010 +0200
22527 Don't use == to compare doubles, use <= and =>.
22529 This avoids inequality due to small precisions difference.
22531 https://bugzilla.gnome.org/show_bug.cgi?id=625326
22533 tests/testhelpermodule.c | 2 +-
22534 1 file changed, 1 insertion(+), 1 deletion(-)
22536 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
22537 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22538 Date: Thu Jul 8 11:36:12 2010 +0200
22540 Allow passing ints as enum args
22542 https://bugzilla.gnome.org/show_bug.cgi?id=622584
22544 gi/pygi-argument.c | 23 +++++++++++++++++++++--
22545 tests/test_gi.py | 6 ++++--
22546 2 files changed, 25 insertions(+), 4 deletions(-)
22548 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
22549 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22550 Date: Sun Jul 25 17:30:40 2010 +0100
22552 Make error message less ambiguous
22554 https://bugzilla.gnome.org/show_bug.cgi?id=625095
22556 gi/pygi-callbacks.c | 3 ++-
22557 1 file changed, 2 insertions(+), 1 deletion(-)
22559 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
22560 Author: John (J5) Palmieri <johnp@redhat.com>
22561 Date: Thu Jun 24 10:07:12 2010 -0400
22563 fix passing in type names as a GType and add gtype unit tests
22565 * a simple call to pyg_type_from_object covers all the bases
22566 * added unit tests to check for correct GType value passing
22567 * fixed up tree override tests to also check different ways of
22570 https://bugzilla.gnome.org/show_bug.cgi?id=622605
22572 gi/pygi-argument.c | 8 +-------
22573 tests/test_everything.py | 27 +++++++++++++++++++++++++++
22574 tests/test_overrides.py | 6 ++----
22575 3 files changed, 30 insertions(+), 11 deletions(-)
22577 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
22578 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22579 Date: Mon Jul 26 11:54:47 2010 +0200
22581 Increase a bit verbosity of tests so people know which test failed
22583 tests/runtests.py | 2 +-
22584 1 file changed, 1 insertion(+), 1 deletion(-)
22586 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
22587 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22588 Date: Thu Jul 15 15:17:53 2010 +0200
22590 Actually add the files for GVariant foreign structs
22592 gi/pygi-foreign-gvariant.c | 63
22593 ++++++++++++++++++++++++++++++++++++++++++++++
22594 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
22595 2 files changed, 104 insertions(+)
22597 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
22598 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22599 Date: Thu Jul 15 13:31:33 2010 +0200
22601 Add foreign struct support for GVariant
22603 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
22604 * gi/pygi-foreign.c: Register foreign support for GVariant
22605 * gi/pygi-struct.c: properly release foreign structs
22606 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
22608 * tests/test_everything.py: Add basic tests for GVariant
22610 https://bugzilla.gnome.org/show_bug.cgi?id=619501
22612 gi/Makefile.am | 2 +
22613 gi/pygi-argument.c | 2 +-
22614 gi/pygi-foreign-cairo.c | 16 +++----
22615 gi/pygi-foreign.c | 107
22616 +++++++++++++++++++++++++++++------------------
22617 gi/pygi-foreign.h | 7 ++--
22618 gi/pygi-invoke.c | 18 ++++----
22619 gi/pygi-struct.c | 10 ++++-
22621 tests/test_everything.py | 8 ++++
22622 9 files changed, 110 insertions(+), 69 deletions(-)
22624 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
22625 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22626 Date: Mon Jul 12 11:19:06 2010 +0200
22628 Add HACKING to MANIFEST.in
22631 1 file changed, 1 insertion(+), 1 deletion(-)
22633 commit 40bf08ff001b119c7daf709197005ef6480216c5
22634 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22635 Date: Mon Jul 12 11:18:04 2010 +0200
22637 Add HACKING file with instructions for releasing
22639 HACKING | 14 ++++++++++++++
22640 1 file changed, 14 insertions(+)
22642 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
22643 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22644 Date: Mon Jul 12 11:09:58 2010 +0200
22646 Post release version bump to 2.21.6
22648 configure.ac | 2 +-
22649 1 file changed, 1 insertion(+), 1 deletion(-)
22651 commit 42a5a0897b38156ae010c396ea254abf502f35de
22652 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22653 Date: Mon Jul 12 11:00:29 2010 +0200
22655 Update NEWS and release PyGObject-2.21.5
22657 NEWS | 17 +++++++++++++++++
22658 1 file changed, 17 insertions(+)
22660 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
22661 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22662 Date: Mon Jul 12 11:00:20 2010 +0200
22664 Pre-release version bump to 2.21.5
22666 configure.ac | 2 +-
22667 1 file changed, 1 insertion(+), 1 deletion(-)
22669 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
22670 Author: Florian Müllner <florian.muellner@gmail.com>
22671 Date: Sat Jul 10 22:35:13 2010 +0200
22673 Shut up some compiler warnings
22675 Remove unused variables, make sure variables are properly initialized.
22677 https://bugzilla.gnome.org/show_bug.cgi?id=624066
22679 gi/pygi-callbacks.c | 1 -
22680 gi/pygi-closure.c | 2 +-
22681 gi/pygi-invoke.c | 1 -
22682 3 files changed, 1 insertion(+), 3 deletions(-)
22684 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
22685 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
22686 Date: Mon Jul 12 10:31:42 2010 +0200
22688 Adjust to API break in GObject-Introspection
22690 As of commit 5cb925b20, many type_tags for standard C types have
22691 been removed - namely machine-dependent integer types and derived
22692 types (size_t, time_t).
22694 Most removals are just synonyms of other types, so their removal
22695 should not have too much impact, with the exception of time_t,
22696 which was translated to a native datetime object before.
22698 Also remove time_t tests (Tomeu Vizoso).
22700 https://bugzilla.gnome.org/show_bug.cgi?id=624065
22702 configure.ac | 2 +-
22703 gi/importer.py | 7 +--
22704 gi/pygi-argument.c | 146
22705 -----------------------------------------------------
22706 gi/pygi-closure.c | 10 ----
22707 gi/pygi-info.c | 37 --------------
22708 tests/test_gi.py | 21 --------
22709 6 files changed, 5 insertions(+), 218 deletions(-)
22711 commit 27a417c71f8c122e46c7472663bb25c17413f103
22712 Author: John (J5) Palmieri <johnp@redhat.com>
22713 Date: Thu Jul 8 16:01:25 2010 -0400
22715 pass in the demo app so demos can use utility methods like requesting
22718 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
22719 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
22720 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
22721 demos/gtk-demo/demos/assistant.py | 2 +-
22722 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
22723 demos/gtk-demo/demos/button_box.py | 2 +-
22724 demos/gtk-demo/demos/clipboard.py | 8 +-------
22725 demos/gtk-demo/demos/colorselector.py | 2 +-
22726 demos/gtk-demo/demos/combobox.py | 8 +++++---
22727 demos/gtk-demo/demos/drawingarea.py | 2 +-
22728 demos/gtk-demo/demos/test.py | 2 +-
22729 demos/gtk-demo/gtk-demo.py | 6 +++---
22730 12 files changed, 37 insertions(+), 26 deletions(-)
22732 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
22733 Author: John (J5) Palmieri <johnp@redhat.com>
22734 Date: Thu Jul 8 15:38:07 2010 -0400
22736 demo fixes to keep up with Gtk+
22738 * treeiter changes to reflect caller-allocate annotations
22739 * fix some flag handling
22740 * use get_indicies_with_depth instead of get_indices for paths
22742 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
22743 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
22744 demos/gtk-demo/gtk-demo.py | 13 +++++--------
22745 3 files changed, 24 insertions(+), 23 deletions(-)
22747 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
22748 Author: John (J5) Palmieri <johnp@redhat.com>
22749 Date: Thu Jul 8 12:54:43 2010 -0400
22751 override test fixes for new GTK+ annotations
22753 tests/test_overrides.py | 23 +++++++++++++----------
22754 1 file changed, 13 insertions(+), 10 deletions(-)
22756 commit 7a400f8139b70ddfe7c949035e0851689951c647
22757 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22758 Date: Thu Jul 8 12:42:25 2010 +0200
22762 gi/pygi-argument.c | 4 ++--
22763 1 file changed, 2 insertions(+), 2 deletions(-)
22765 commit 39fd0a85a3de06b1b877d1125f91036409886373
22766 Author: John (J5) Palmieri <johnp@redhat.com>
22767 Date: Wed Jul 7 15:48:36 2010 -0400
22769 fix up treeiter usage due to caller-allocates annotations in gtk+
22771 * we still don't pass tests because the caller-allocates code path
22773 handle the case where the parameter is followed by a regular
22776 gi/overrides/Gtk.py | 7 +++----
22777 tests/test_overrides.py | 21 +++++++++++----------
22778 2 files changed, 14 insertions(+), 14 deletions(-)
22780 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
22781 Author: John (J5) Palmieri <johnp@redhat.com>
22782 Date: Tue Jul 6 17:50:10 2010 -0400
22784 add entry completion demo
22786 demos/gtk-demo/demos/Entry/entry_completion.py | 87
22787 ++++++++++++++++++++++++++
22788 1 file changed, 87 insertions(+)
22790 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
22791 Author: John (J5) Palmieri <johnp@redhat.com>
22792 Date: Tue Jul 6 17:49:18 2010 -0400
22796 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
22797 1 file changed, 2 insertions(+), 2 deletions(-)
22799 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
22800 Author: John (J5) Palmieri <johnp@redhat.com>
22801 Date: Tue Jul 6 17:27:04 2010 -0400
22803 add the Entry demo directory and the entry_buffer demo
22805 demos/gtk-demo/demos/Entry/__init__.py | 0
22806 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
22807 ++++++++++++++++++++++++++++++
22808 2 files changed, 73 insertions(+)
22810 commit f2b1d222120f055bec9339cca55c9cc90f538c00
22811 Author: John (J5) Palmieri <johnp@redhat.com>
22812 Date: Tue Jul 6 17:26:03 2010 -0400
22814 fix loading of demo modules to support sub modules
22816 demos/gtk-demo/gtk-demo.py | 9 +++++++--
22817 1 file changed, 7 insertions(+), 2 deletions(-)
22819 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
22820 Author: John (J5) Palmieri <johnp@redhat.com>
22821 Date: Tue Jul 6 15:56:34 2010 -0400
22823 add the ability to have demos in sub catagories
22825 demos/gtk-demo/gtk-demo.py | 76
22826 ++++++++++++++++++++++++++++++++--------------
22827 1 file changed, 54 insertions(+), 22 deletions(-)
22829 commit dc2249a3ecf339008351316217191d0551ccc588
22830 Author: Jose Aliste <jaliste@src.gnome.org>
22831 Date: Mon Jul 5 14:36:59 2010 -0400
22833 Add __name__ to DynamicModule class.
22838 1 file changed, 1 insertion(+)
22840 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
22841 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22842 Date: Mon Jul 5 16:11:07 2010 +0200
22844 Do not override GdkRectangle.
22846 This class was lately removed from gtk+ 3, so there is no need
22850 gi/overrides/Gdk.py | 19 -------------------
22851 1 file changed, 19 deletions(-)
22853 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
22854 Author: Philip Withnall <philip.withnall@collabora.co.uk>
22855 Date: Tue Jun 29 16:37:36 2010 +0100
22857 Add override for TreeModel implementing __len__()
22861 gi/overrides/Gtk.py | 11 +++++++++--
22862 tests/test_overrides.py | 5 +++++
22863 2 files changed, 14 insertions(+), 2 deletions(-)
22865 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
22866 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22867 Date: Tue Jun 29 11:27:13 2010 +0200
22869 Update NEWS and release PyGObject-2.21.4
22871 NEWS | 27 +++++++++++++++++++++++++--
22872 1 file changed, 25 insertions(+), 2 deletions(-)
22874 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
22875 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22876 Date: Tue Jun 29 10:55:03 2010 +0200
22878 Remove files from the makefiles
22880 gi/Makefile.am | 4 +---
22881 gobject/Makefile.am | 3 +--
22882 2 files changed, 2 insertions(+), 5 deletions(-)
22884 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
22885 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22886 Date: Tue Jun 29 10:27:39 2010 +0200
22888 Build the cairo shim as a python module so the _gi module stops
22891 https://bugzilla.gnome.org/show_bug.cgi?id=623021
22894 gi/Makefile.am | 38 ++++++++++-----
22895 gi/gimodule.c | 8 +---
22896 gi/pygi-argument.c | 10 +---
22897 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
22898 gi/pygi-foreign-cairo.h | 55 ---------------------
22899 gi/pygi-foreign.c | 125
22900 ++++++++++++++++++++++++++++--------------------
22901 gi/pygi-foreign.h | 31 ++++++------
22902 gi/pygi.h | 40 ++++++++++++++--
22903 9 files changed, 196 insertions(+), 169 deletions(-)
22905 commit a6a90551311bc64f037cbd442e13f70c30060871
22906 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22907 Date: Mon Jun 28 14:20:43 2010 +0200
22909 Remove pygi-external.h
22911 https://bugzilla.gnome.org/show_bug.cgi?id=623021
22913 gi/gimodule.c | 8 +++---
22914 gi/pygi-type.c | 4 +--
22915 gi/pygi-type.h | 2 +-
22916 gi/pygi.h | 54 ++++++++++++++++-----------------------
22917 gobject/Makefile.am | 6 +++++
22918 gobject/pygboxed.c | 2 +-
22919 gobject/pygenum.c | 2 +-
22920 gobject/pygflags.c | 2 +-
22921 gobject/pygi-external.h | 67
22922 -------------------------------------------------
22923 gobject/pygobject.c | 2 +-
22924 gobject/pygpointer.c | 2 +-
22925 11 files changed, 40 insertions(+), 111 deletions(-)
22927 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
22928 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22929 Date: Fri Jun 25 13:54:57 2010 +0200
22931 Revert "correctly handle floating objects in gtk"
22933 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
22938 tests/test_everything.py
22940 gi/gimodule.c | 13 -------------
22941 tests/test_everything.py | 3 ++-
22942 2 files changed, 2 insertions(+), 14 deletions(-)
22944 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
22945 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22946 Date: Fri Jun 25 13:49:04 2010 +0200
22948 Make valgrind happy again
22950 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
22951 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
22953 gi/pygi-argument.c | 1 +
22954 gi/pygi-info.c | 2 ++
22955 gi/pygi-invoke.c | 8 ++++++--
22956 3 files changed, 9 insertions(+), 2 deletions(-)
22958 commit 63afe55906c8637e913783e65b82b540b81bed65
22959 Author: John (J5) Palmieri <johnp@redhat.com>
22960 Date: Thu Jun 24 16:13:37 2010 -0400
22962 add drawing area demo
22964 demos/gtk-demo/demos/drawingarea.py | 249
22965 ++++++++++++++++++++++++++++++++++++
22966 1 file changed, 249 insertions(+)
22968 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
22969 Author: John (J5) Palmieri <johnp@redhat.com>
22970 Date: Thu Jun 24 14:11:00 2010 -0400
22974 demos/gtk-demo/gtk-demo.py | 2 ++
22975 1 file changed, 2 insertions(+)
22977 commit b9da82742701ed276b01dee39626cd71cbef8556
22978 Author: John (J5) Palmieri <johnp@redhat.com>
22979 Date: Thu Jun 24 13:56:18 2010 -0400
22981 rename iter to treeiter so we aren't using a python reserved word
22983 demos/gtk-demo/gtk-demo.py | 12 ++++++------
22984 1 file changed, 6 insertions(+), 6 deletions(-)
22986 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
22987 Author: John (J5) Palmieri <johnp@redhat.com>
22988 Date: Thu Jun 24 13:47:54 2010 -0400
22990 Fixup for change in buffer API
22992 * Part of buffer API dealing with TextIter now marked (out
22995 demos/gtk-demo/gtk-demo.py | 10 ++++------
22996 1 file changed, 4 insertions(+), 6 deletions(-)
22998 commit 8d9516a593a515290109401a9db7aa259b5aa35c
22999 Author: John (J5) Palmieri <johnp@redhat.com>
23000 Date: Wed Jun 23 17:04:33 2010 -0400
23002 add ListStore, TreeStore and TreeViewColumn APIs
23004 * this is enough to support the gtk-demo.py shell
23005 * TreeStore and ListStore allow passing in as an argument list
23006 of either python or GLib types to the constructor as a description
23007 of the columns in the model
23008 * TreeStore and ListStore override the append method, allowing
23009 the application developer to send in a list of column values
23010 for one row in the model. Unlike the append in C which
23011 just returns an iter that you can then add data to,
23012 this append actualy appends data in one step
23013 * TreeViewColumn overrides the constructor to allow the adding
23014 of attributes and a cell renderer when constructing the
23017 https://bugzilla.gnome.org/show_bug.cgi?id=620405
23019 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
23020 tests/test_overrides.py | 69
23021 +++++++++++++++++++++++++++++++++++++++++++++++++
23022 2 files changed, 128 insertions(+)
23024 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
23025 Author: Johan Dahlin <johan@gnome.org>
23026 Date: Wed Jun 23 14:34:28 2010 -0300
23028 [gi] Add -I../gobject to cflags
23030 Since we're no longer pulling in pygobject cflags,
23031 add this to be able to include pygobject.h
23033 gi/Makefile.am | 3 +++
23034 1 file changed, 3 insertions(+)
23036 commit 53a093198851e3ba5abd1f6c3314737decd401d8
23037 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23038 Date: Wed Jun 23 18:09:19 2010 +0200
23040 Add unit test for add_actions user data.
23042 tests/test_overrides.py | 20 +++++++++++++++-----
23043 1 file changed, 15 insertions(+), 5 deletions(-)
23045 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
23046 Author: Paolo Borelli <pborelli@gnome.org>
23047 Date: Wed Jun 23 18:06:46 2010 +0200
23049 Pass user_data param when adding actions
23051 gi/overrides/Gtk.py | 12 ++++++------
23052 1 file changed, 6 insertions(+), 6 deletions(-)
23054 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
23055 Author: John (J5) Palmieri <johnp@redhat.com>
23056 Date: Wed Jun 23 12:02:04 2010 -0400
23058 add an exception type to the try/except block
23060 * we should always specify what exception types we are expecting
23062 gi/overrides/Gtk.py | 6 +++---
23063 1 file changed, 3 insertions(+), 3 deletions(-)
23065 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
23066 Author: Johan Dahlin <johan@gnome.org>
23067 Date: Wed Jun 23 12:31:51 2010 -0300
23069 Avoid duplicating required versions
23071 Avoid duplicating the version of all required packages.
23072 Also remove cyclic dependency of pygobject
23074 https://bugzilla.gnome.org/show_bug.cgi?id=622503
23076 configure.ac | 9 +++++----
23077 1 file changed, 5 insertions(+), 4 deletions(-)
23079 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
23080 Author: John (J5) Palmieri <johnp@redhat.com>
23081 Date: Tue Jun 22 15:03:08 2010 -0400
23083 return PyList instead of PyTuple for array, return empty list for
23086 * returns an empty list when a NULL array (empty array) is encountered
23087 * fix tests to check for lists instead of tuples or None
23088 * test the ability to send in both None and empty list for arrays
23091 gi/pygi-argument.c | 7 ++--
23092 tests/test_everything.py | 5 ++-
23093 tests/test_gi.py | 84
23094 ++++++++++++++++++++++++------------------------
23095 3 files changed, 49 insertions(+), 47 deletions(-)
23097 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
23098 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23099 Date: Wed Jun 23 15:42:29 2010 +0200
23101 Fix 'make distcheck'
23103 * Makefile.am: put the tests dir to the end
23104 * g*/Makefile.am: build the .so when running make check
23105 * tests/Makefile.am: Don't pass the src dir to runtests.py and
23106 remove (hopefully) unneeded cruft.
23107 * tests/common.py: Don't add the src dir to the python path
23108 * tests/runtests.py: Don't pass the src dir to common.py
23110 Makefile.am | 4 +++-
23111 gi/Makefile.am | 1 +
23112 gio/Makefile.am | 1 +
23113 glib/Makefile.am | 2 +-
23114 gobject/Makefile.am | 1 +
23115 tests/Makefile.am | 17 ++---------------
23116 tests/common.py | 3 +--
23117 tests/runtests.py | 12 +++++-------
23118 8 files changed, 15 insertions(+), 26 deletions(-)
23120 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
23121 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23122 Date: Wed Jun 23 13:59:14 2010 +0200
23124 Allow building pygobject without introspection support by providing
23125 --disable-introspection to configure.
23127 Makefile.am | 6 +++++-
23128 configure.ac | 15 ++++++++-------
23129 gobject/pygi-external.h | 4 ++--
23130 tests/Makefile.am | 8 ++++++--
23131 tests/runtests.py | 21 +++++++--------------
23132 5 files changed, 28 insertions(+), 26 deletions(-)
23134 commit cc3ea77318ee572673d2a044deca9001366b0f08
23135 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23136 Date: Wed Jun 23 12:26:51 2010 +0200
23138 Make sure that sys.argv is a list and not a sequence.
23140 Because Python's optparse will try to do things on it that can
23141 only be done with list.
23143 gi/overrides/Gtk.py | 2 +-
23144 1 file changed, 1 insertion(+), 1 deletion(-)
23146 commit 3d72b8248cc534a689dee5679a729b2fba56c528
23147 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23148 Date: Wed Jun 23 12:26:02 2010 +0200
23150 Force loading the GObject typelib so we have available the wrappers
23151 for base classes such as GInitiallyUnowned.
23153 gi/__init__.py | 3 +++
23154 1 file changed, 3 insertions(+)
23156 commit c7c94ef349c30597f2f10d90f74718d678ec7add
23157 Author: John (J5) Palmieri <johnp@redhat.com>
23158 Date: Tue Jun 22 14:45:48 2010 -0400
23160 we shouldn't g_array_free NULL pointers
23162 https://bugzilla.gnome.org/show_bug.cgi?id=622425
23164 gi/pygi-info.c | 5 +++--
23165 1 file changed, 3 insertions(+), 2 deletions(-)
23167 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
23168 Merge: acf7b43 5f9cb91
23169 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23170 Date: Wed Jun 23 12:53:05 2010 +0200
23172 Merge branch 'pygi'
23174 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
23175 Author: John (J5) Palmieri <johnp@redhat.com>
23176 Date: Tue Jun 22 15:39:46 2010 -0400
23178 remove unneeded TextIter creation in the tests
23180 tests/test_overrides.py | 3 ---
23181 1 file changed, 3 deletions(-)
23183 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
23184 Author: John (J5) Palmieri <johnp@redhat.com>
23185 Date: Mon Jun 21 11:42:12 2010 -0400
23187 add override for TextBuffer
23189 * TextBuffer.create_tag takes vargs which we can't bind yet so
23191 to except a keyword list of properties
23192 * override the insert* methods so the developer does not have to
23194 - lengths are already encapsulated by a string in Python
23196 https://bugzilla.gnome.org/show_bug.cgi?id=620583
23198 gi/overrides/Gtk.py | 51
23199 +++++++++++++++++++++++++++++++++++++++++++++++++
23200 tests/test_overrides.py | 25 ++++++++++++++++++++++++
23201 2 files changed, 76 insertions(+)
23203 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
23204 Author: John (J5) Palmieri <johnp@redhat.com>
23205 Date: Tue Jun 22 12:46:39 2010 -0400
23207 fix up some build issues
23209 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
23211 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
23212 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
23214 make check.gdb work
23216 configure.ac | 2 +-
23217 tests/Makefile.am | 2 +-
23218 2 files changed, 2 insertions(+), 2 deletions(-)
23220 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
23221 Author: John (J5) Palmieri <johnp@redhat.com>
23222 Date: Tue Jun 22 11:50:30 2010 -0400
23224 make the overrides file git friendly by appending to __all__ after
23227 * modifying the __all__ line for each override would confuse git as
23228 each override needs to get seperate approval before comitting.
23230 this commits would not always go in in the same order as they
23232 Also different people working on the same file would start from
23234 commit states. This caused conflicts when patches were merged.
23235 * instead of modifying a single hard coded list we now append to
23237 after each override. This creates distinct blocks of changed text
23238 which will not conflict
23240 gi/overrides/GIMarshallingTests.py | 10 ++++------
23241 gi/overrides/Gdk.py | 8 ++++----
23242 gi/overrides/Gtk.py | 7 +++++--
23243 3 files changed, 13 insertions(+), 12 deletions(-)
23245 commit 49321b934603e1ec69fb04082c63902970907d2b
23246 Author: Paolo Borelli <pborelli@gnome.org>
23247 Date: Sun Jun 20 13:27:34 2010 +0200
23249 Override Dialog constructor and add_buttons method
23251 gi/overrides/Gtk.py | 46
23252 +++++++++++++++++++++++++++++++++++++++++++++-
23253 tests/test_overrides.py | 16 ++++++++++++++++
23254 2 files changed, 61 insertions(+), 1 deletion(-)
23256 commit acf7b43a41ce814f0c57ce609a090826f04771db
23257 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23258 Date: Mon Jun 21 18:17:38 2010 +0200
23260 Post release version bump to 2.21.4
23262 configure.ac | 2 +-
23263 1 file changed, 1 insertion(+), 1 deletion(-)
23265 commit a7fa8b80406227a06cf18f8675dbc1f471283829
23266 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23267 Date: Mon Jun 21 18:10:32 2010 +0200
23269 Update NEWS and release PyGObject-2.21.3
23272 1 file changed, 7 insertions(+)
23274 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
23275 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
23276 Date: Tue Jul 21 16:28:34 2009 +0200
23278 Proper handling of null-ok in virtual methods
23280 https://bugzilla.gnome.org/show_bug.cgi?id=589253
23282 codegen/codegen.py | 2 ++
23283 codegen/reversewrapper.py | 18 +++++++++++++++---
23284 2 files changed, 17 insertions(+), 3 deletions(-)
23286 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
23287 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23288 Date: Mon Jun 21 17:34:54 2010 +0200
23290 Add *~ and *.orig to .gitignore
23292 .gitignore | 5 ++++-
23293 1 file changed, 4 insertions(+), 1 deletion(-)
23295 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
23296 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23297 Date: Mon Jun 21 17:33:56 2010 +0200
23299 Fall back to use the floating references API in glib if there isn't
23300 a sinkfunc defined.
23302 * tests/*: Add ref counting tests for floating objects
23303 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
23305 or g_object_ref if there isn't a sinkfunc defined. Make sure that
23306 pygobject_sink gets called only once per GObject instance.
23308 https://bugzilla.gnome.org/show_bug.cgi?id=583909
23310 gobject/gobjectmodule.c | 2 -
23311 gobject/pygobject.c | 50 +++++++++++++---------
23312 gobject/pygobject.h | 1 +
23313 tests/Makefile.am | 2 +
23314 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
23315 tests/test-floating.h | 60 ++++++++++++++++++++++++++
23316 tests/test_gobject.py | 19 ++++++++-
23317 tests/testhelpermodule.c | 109
23318 +++++++++++++++++++++++++++++++++++++++++++++++
23319 8 files changed, 315 insertions(+), 23 deletions(-)
23321 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
23322 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23323 Date: Mon Jun 21 13:06:13 2010 +0200
23325 Revert "Drop sinkfuncs."
23327 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
23329 gobject/gobjectmodule.c | 3 ++-
23330 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
23331 gobject/pygobject.h | 1 -
23332 3 files changed, 36 insertions(+), 10 deletions(-)
23334 commit b2661054d6bde673484eab472e69ca021124528d
23335 Author: Johan Dahlin <johan@gnome.org>
23336 Date: Sun Jun 20 11:09:57 2010 -0300
23340 For reasons outlined at:
23341 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
23343 Makefile.am | 14 +-
23344 configure.ac | 29 +-
23345 demos/gtk-demo/demos/__init__.py | 0
23346 demos/gtk-demo/demos/appwindow.py | 411 +++++
23347 demos/gtk-demo/demos/assistant.py | 134 ++
23348 demos/gtk-demo/demos/builder.py | 57 +
23349 demos/gtk-demo/demos/button_box.py | 121 ++
23350 demos/gtk-demo/demos/clipboard.py | 238 +++
23351 demos/gtk-demo/demos/colorselector.py | 121 ++
23352 demos/gtk-demo/demos/combobox.py | 282 ++++
23353 demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
23355 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
23356 demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
23358 demos/gtk-demo/demos/data/demo.ui | 258 ++++
23359 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
23360 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
23361 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
23362 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
23363 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
23364 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
23365 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
23366 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
23367 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
23368 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
23369 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
23370 demos/gtk-demo/demos/test.py | 14 +
23371 demos/gtk-demo/gtk-demo.py | 266 ++++
23372 examples/Makefile.am | 2 +-
23373 examples/cairo-demo.py | 121 ++
23374 gi/Makefile.am | 4 +-
23375 gi/demos/gtk-demo/demos/__init__.py | 0
23376 gi/demos/gtk-demo/demos/appwindow.py | 411 -----
23377 gi/demos/gtk-demo/demos/assistant.py | 134 --
23378 gi/demos/gtk-demo/demos/builder.py | 57 -
23379 gi/demos/gtk-demo/demos/button_box.py | 121 --
23380 gi/demos/gtk-demo/demos/clipboard.py | 238 ---
23381 gi/demos/gtk-demo/demos/colorselector.py | 121 --
23382 gi/demos/gtk-demo/demos/combobox.py | 282 ----
23383 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
23385 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
23386 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
23388 gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
23389 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
23390 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
23391 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
23392 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
23393 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
23394 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
23395 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
23396 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
23397 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
23398 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
23399 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
23400 gi/demos/gtk-demo/demos/test.py | 14 -
23401 gi/demos/gtk-demo/gtk-demo.py | 266 ----
23402 gi/examples/Makefile.am | 2 -
23403 gi/examples/cairo-demo.py | 121 --
23404 gi/tests/test_everything.py | 270 ----
23405 gi/tests/test_gi.py | 1624
23406 --------------------
23407 gi/tests/test_overrides.py | 132 --
23408 pygi-Makefile.am | 28 -
23409 pygi-configure.ac | 60 -
23411 pygobject.doap | 16 +-
23412 tests/Makefile.am | 23 +-
23413 tests/test_everything.py | 270 ++++
23414 tests/test_gi.py | 1624
23415 ++++++++++++++++++++
23416 tests/test_overrides.py | 132 ++
23417 68 files changed, 4124 insertions(+), 4186 deletions(-)
23419 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
23420 Merge: ec8d148 fa91dfd
23421 Author: Johan Dahlin <johan@gnome.org>
23422 Date: Sun Jun 20 10:53:46 2010 -0300
23424 Merge branch 'pygi-merge'
23426 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
23427 Author: Johan Dahlin <johan@gnome.org>
23428 Date: Sun Jun 20 10:53:36 2010 -0300
23435 autogen.sh | 166 --
23436 configure.ac | 60 -
23437 demos/gtk-demo/demos/__init__.py | 0
23438 demos/gtk-demo/demos/appwindow.py | 411 -----
23439 demos/gtk-demo/demos/assistant.py | 134 --
23440 demos/gtk-demo/demos/builder.py | 57 -
23441 demos/gtk-demo/demos/button_box.py | 121 --
23442 demos/gtk-demo/demos/clipboard.py | 238 ---
23443 demos/gtk-demo/demos/colorselector.py | 121 --
23444 demos/gtk-demo/demos/combobox.py | 282 ----
23445 demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
23447 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
23448 demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
23450 demos/gtk-demo/demos/data/demo.ui | 258 ----
23451 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
23452 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
23453 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
23454 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
23455 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
23456 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
23457 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
23458 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
23459 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
23460 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
23461 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
23462 demos/gtk-demo/demos/test.py | 14 -
23463 demos/gtk-demo/gtk-demo.py | 266 ----
23464 examples/Makefile.am | 2 -
23465 examples/cairo-demo.py | 121 --
23466 gi/.gitignore | 40 +
23468 gi/demos/gtk-demo/demos/__init__.py | 0
23469 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
23470 gi/demos/gtk-demo/demos/assistant.py | 134 ++
23471 gi/demos/gtk-demo/demos/builder.py | 57 +
23472 gi/demos/gtk-demo/demos/button_box.py | 121 ++
23473 gi/demos/gtk-demo/demos/clipboard.py | 238 +++
23474 gi/demos/gtk-demo/demos/colorselector.py | 121 ++
23475 gi/demos/gtk-demo/demos/combobox.py | 282 ++++
23476 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
23478 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
23479 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
23481 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
23482 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
23483 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
23484 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
23485 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
23486 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
23487 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
23488 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
23489 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
23490 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
23491 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
23492 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
23493 gi/demos/gtk-demo/demos/test.py | 14 +
23494 gi/demos/gtk-demo/gtk-demo.py | 266 ++++
23495 gi/examples/Makefile.am | 2 +
23496 gi/examples/cairo-demo.py | 121 ++
23497 gi/tests/Makefile.am | 22 +
23498 gi/tests/runtests.py | 21 +
23499 gi/tests/test_everything.py | 270 ++++
23500 gi/tests/test_gi.py | 1624
23501 ++++++++++++++++++++
23502 gi/tests/test_overrides.py | 132 ++
23503 pygi-Makefile.am | 28 +
23504 pygi-configure.ac | 60 +
23505 tests/Makefile.am | 22 -
23506 tests/runtests.py | 21 -
23507 tests/test_everything.py | 270 ----
23508 tests/test_gi.py | 1624
23509 --------------------
23510 tests/test_overrides.py | 132 --
23511 73 files changed, 4248 insertions(+), 4414 deletions(-)
23513 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
23514 Author: Johan Dahlin <johan@gnome.org>
23515 Date: Sun Jun 20 10:49:55 2010 -0300
23517 [giounix] Make it possible to compile on glib 2.20
23519 gio/unix.override | 2 ++
23520 1 file changed, 2 insertions(+)
23522 commit 606018a2c551d890fc2bb987d99683f777598bda
23523 Author: John (J5) Palmieri <johnp@redhat.com>
23524 Date: Mon Jun 7 16:32:29 2010 -0400
23526 Don't free transfer full struct pointers because we can't do it safely
23528 * Most libraries which are sending back structs as transfer-full
23529 are either annotated incorrectly or should be sending boxed types
23530 * It is much better to throw a warning and leak memory than it is to
23531 call free on an unknown struct pointer. Doing so may cause
23533 * Specific case is gdk_atom_intern where a GdkAtom is not actually
23535 but an integer stuffed into a pointer type
23537 https://bugzilla.gnome.org/show_bug.cgi?id=620898
23539 gi/pygi-argument.c | 9 ++++++++-
23540 gi/pygi-invoke.c | 11 +++++++++--
23541 2 files changed, 17 insertions(+), 3 deletions(-)
23543 commit 433ee2aa029a1482961f478252a06492bd3498e6
23544 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
23545 Date: Tue Jun 15 11:42:28 2010 +0200
23547 Release the lock when potentially invoking Python code.
23549 * gobject/pygobject.c: Release GIL lock when retrieving properties
23550 and when clearing a PyGObject.
23552 https://bugzilla.gnome.org/show_bug.cgi?id=530935
23554 gobject/pygobject.c | 11 ++++++++++-
23555 1 file changed, 10 insertions(+), 1 deletion(-)
23557 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
23558 Author: John (J5) Palmieri <johnp@redhat.com>
23559 Date: Mon Jun 14 18:36:57 2010 -0400
23561 add combobox example
23563 demos/gtk-demo/demos/combobox.py | 282
23564 +++++++++++++++++++++++++++++++++++++++
23565 1 file changed, 282 insertions(+)
23567 commit a8668694da59c2dd959c875f13337e64ca22f7e9
23568 Author: John (J5) Palmieri <johnp@redhat.com>
23569 Date: Mon Jun 14 13:43:53 2010 -0400
23571 fix leak in the allow None callbacks patch
23573 gi/pygi-callbacks.c | 4 ++--
23574 1 file changed, 2 insertions(+), 2 deletions(-)
23576 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
23577 Author: John (J5) Palmieri <johnp@redhat.com>
23578 Date: Mon Jun 7 17:12:09 2010 -0400
23580 Allow passing None for callbacks which are annotated allow-none
23582 * Many callbacks are optional parameters yet we were asserting on
23584 * We now check to see if allow_none is set when setting up callbacks,
23585 if it is set and py_function == Py_None, we set the closure to NULL
23587 * pygi-invoke.c now checks to see if the closure == NULL when setting
23589 * if it is NULL there is no reason to set the the destroy notify
23591 so we skip that too
23593 https://bugzilla.gnome.org/show_bug.cgi?id=620906
23595 gi/pygi-callbacks.c | 7 +++++++
23596 gi/pygi-invoke.c | 14 +++++++++++---
23597 tests/test_everything.py | 4 ++++
23598 3 files changed, 22 insertions(+), 3 deletions(-)
23600 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
23601 Author: Paolo Borelli <pborelli@gnome.org>
23602 Date: Mon Jun 14 19:06:45 2010 +0200
23604 Fix to match latest gtk annotations
23606 demos/gtk-demo/demos/appwindow.py | 3 +--
23607 1 file changed, 1 insertion(+), 2 deletions(-)
23609 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
23610 Author: John (J5) Palmieri <johnp@redhat.com>
23611 Date: Tue Jun 8 15:03:49 2010 -0400
23613 fix variable member names in Gdk.Color override
23615 * override was using r, g, and b for the red, green, blue components
23617 the struct specifies red, green, blue so we need to use those names
23619 https://bugzilla.gnome.org/show_bug.cgi?id=621007
23621 gi/overrides/Gdk.py | 10 +++++-----
23622 tests/test_overrides.py | 6 +++---
23623 2 files changed, 8 insertions(+), 8 deletions(-)
23625 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
23626 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23627 Date: Thu Jun 10 20:23:13 2010 +0200
23629 Post release version bump to 2.21.3
23631 configure.ac | 2 +-
23632 1 file changed, 1 insertion(+), 1 deletion(-)
23634 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
23635 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23636 Date: Thu Jun 10 20:21:13 2010 +0200
23638 Update NEWS and release PyGObject-2.21.2
23640 NEWS | 26 ++++++++++++++++++++++++++
23641 1 file changed, 26 insertions(+)
23643 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
23644 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23645 Date: Thu Jun 10 20:09:07 2010 +0200
23647 Remove deleted files from the Makefile.
23654 tests/Makefile.am | 4 ----
23655 1 file changed, 4 deletions(-)
23657 commit 495a301cb81c5e914bcef905999265604faa27fc
23658 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23659 Date: Thu Jun 10 19:39:09 2010 +0200
23661 Add myself to the maintainers list in the README
23664 1 file changed, 1 insertion(+)
23666 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
23667 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23668 Date: Thu Jun 10 19:24:31 2010 +0200
23672 * use g_object methods to sink floating refs instead of allowing
23673 custom sink functions to be registered
23674 * we now sink inside of pygobject_new_full to handle cases where
23675 a library creates its own gobject via g_object_new and just
23676 needs a python wrapper
23677 - a previous patch had done the sink when creating the gobject,
23678 since it needs to call pygobject_new_full to wrap the object,
23679 this patch handles both cases (e.g. pygobject created object
23680 and externally created gobject)
23682 https://bugzilla.gnome.org/show_bug.cgi?id=583909
23684 gobject/gobjectmodule.c | 3 +--
23685 gobject/pygobject.c | 42 ++++++++----------------------------------
23686 gobject/pygobject.h | 1 +
23687 3 files changed, 10 insertions(+), 36 deletions(-)
23689 commit 07df124dc06cf506634e95d08397f50a2d07fce2
23690 Author: Steve Frécinaux <code@istique.net>
23691 Date: Mon Jun 7 09:47:23 2010 +0200
23693 Make the "wrong argument count" exception more explicit.
23695 Previously we had messages like this one:
23696 TypeError: takes exactly 2 argument(s) (1 given)
23698 With this patch, they become like this:
23699 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
23701 It makes things much easier to debug when there are several pygi calls
23704 https://bugzilla.gnome.org/show_bug.cgi?id=620804
23706 gi/pygi-invoke.c | 3 ++-
23707 tests/test_everything.py | 6 ++++++
23708 2 files changed, 8 insertions(+), 1 deletion(-)
23710 commit b435319fe830a909cc4d414533b3b66574931e24
23711 Author: Steve Frécinaux <code@istique.net>
23712 Date: Mon Jun 7 09:54:06 2010 +0200
23714 Use bash explicitely in the pre-commit hook.
23716 The "builtin" command is not available in all sh flavours, so the
23717 pre-commit hook is going to fail if you use dash or others instead of
23718 bash as your default 'sh' alias.
23720 https://bugzilla.gnome.org/show_bug.cgi?id=620805
23722 pre-commit.hook | 2 +-
23723 1 file changed, 1 insertion(+), 1 deletion(-)
23725 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
23726 Author: John (J5) Palmieri <johnp@redhat.com>
23727 Date: Tue Jun 8 16:55:26 2010 -0400
23731 demos/gtk-demo/demos/colorselector.py | 121
23732 ++++++++++++++++++++++++++++++++++
23733 1 file changed, 121 insertions(+)
23735 commit ec598128de9e90dccab662ed2f5511c8d659e156
23736 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23737 Date: Tue Jun 8 15:48:33 2010 +0200
23739 Update PyGObject dependency to 2.21.1
23741 configure.ac | 2 +-
23742 1 file changed, 1 insertion(+), 1 deletion(-)
23744 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
23745 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23746 Date: Tue Jun 8 10:40:39 2010 +0200
23748 Add myself to maintainers
23750 MAINTAINERS | 4 ++++
23751 pygobject.doap | 7 +++++++
23752 2 files changed, 11 insertions(+)
23754 commit 46c91a11d448e5e11d142d3362aff1483226bca4
23755 Author: Colin Walters <walters@verbum.org>
23756 Date: Wed May 5 13:54:27 2010 -0400
23758 Clear error if we failed the import
23760 Otherwise we leave the exception set which causes bizarre problems
23761 later in unrelated code.
23763 https://bugzilla.redhat.com/show_bug.cgi?id=569885
23765 https://bugzilla.gnome.org/show_bug.cgi?id=617796
23767 gobject/pygi-external.h | 2 ++
23768 1 file changed, 2 insertions(+)
23770 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
23771 Author: John (J5) Palmieri <johnp@redhat.com>
23772 Date: Mon Jun 7 17:19:30 2010 -0400
23774 fix some typos and add a link to a patch which fixes a FIXME
23776 demos/gtk-demo/demos/clipboard.py | 7 +++++--
23777 1 file changed, 5 insertions(+), 2 deletions(-)
23779 commit e7fabb5024d94a3166766e5fca740741bc50380a
23780 Author: John (J5) Palmieri <johnp@redhat.com>
23781 Date: Mon Jun 7 16:21:42 2010 -0400
23785 demos/gtk-demo/demos/clipboard.py | 235
23786 ++++++++++++++++++++++++++++++++++++++
23787 1 file changed, 235 insertions(+)
23789 commit e0f1dce5ec58d071759f886697501da6eeea549d
23790 Author: John (J5) Palmieri <johnp@redhat.com>
23791 Date: Sun Jun 6 13:27:46 2010 -0400
23793 set is_fully_bound to false
23795 demos/gtk-demo/demos/button_box.py | 2 +-
23796 1 file changed, 1 insertion(+), 1 deletion(-)
23798 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
23799 Author: John (J5) Palmieri <johnp@redhat.com>
23800 Date: Sat Jun 5 23:53:36 2010 -0400
23802 new button box demo
23804 demos/gtk-demo/demos/button_box.py | 121
23805 +++++++++++++++++++++++++++++++++++++
23806 1 file changed, 121 insertions(+)
23808 commit e9f5f8a829121e59367bae690442150f144946ad
23809 Author: John (J5) Palmieri <johnp@redhat.com>
23810 Date: Sat Jun 5 23:26:03 2010 -0400
23812 set is_fully_bound to True fro builder example
23814 demos/gtk-demo/demos/builder.py | 2 +-
23815 1 file changed, 1 insertion(+), 1 deletion(-)
23817 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
23818 Author: John (J5) Palmieri <johnp@redhat.com>
23819 Date: Sat Jun 5 23:24:36 2010 -0400
23821 fix up formatting in demos
23823 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
23824 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
23825 demos/gtk-demo/demos/builder.py | 2 +-
23826 3 files changed, 21 insertions(+), 21 deletions(-)
23828 commit ffca02536bafb55e8c3bce31cd992365207429f6
23829 Author: John (J5) Palmieri <johnp@redhat.com>
23830 Date: Sat Jun 5 14:54:47 2010 -0400
23832 add the builder demo
23834 demos/gtk-demo/demos/builder.py | 57
23835 +++++++++++++++++++++++++++++++++++++++++
23836 1 file changed, 57 insertions(+)
23838 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
23839 Author: John (J5) Palmieri <johnp@redhat.com>
23840 Date: Fri Jun 4 17:48:24 2010 -0400
23844 demos/gtk-demo/demos/assistant.py | 134
23845 ++++++++++++++++++++++++++++++++++++++
23846 1 file changed, 134 insertions(+)
23848 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
23849 Author: John (J5) Palmieri <johnp@redhat.com>
23850 Date: Fri Jun 4 16:56:46 2010 -0400
23852 add formatting rules and copyright notice
23854 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
23855 1 file changed, 19 insertions(+)
23857 commit 03b99692b81631d397ab62dcd263341465bcee88
23858 Author: John (J5) Palmieri <johnp@redhat.com>
23859 Date: Fri Jun 4 16:26:54 2010 -0400
23861 add the gtk-demo app along with a couple of demos
23863 * note there are still a couple of patches in bugzilla that are
23866 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
23867 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
23869 demos/gtk-demo/demos/__init__.py | 0
23870 demos/gtk-demo/demos/appwindow.py | 393
23871 +++++++++++++++++++++++
23872 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
23873 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
23874 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
23875 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
23876 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
23877 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
23878 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
23879 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
23880 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
23881 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
23882 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
23883 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
23884 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
23885 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
23886 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
23887 demos/gtk-demo/demos/test.py | 14 +
23888 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
23889 19 files changed, 931 insertions(+)
23891 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
23892 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23893 Date: Fri Jun 4 11:25:08 2010 +0200
23895 Update gobject-introspection dependency to 0.6.14
23897 configure.ac | 2 +-
23898 1 file changed, 1 insertion(+), 1 deletion(-)
23900 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
23901 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23902 Date: Fri Jun 4 11:23:41 2010 +0200
23904 Post-release version bump to 0.6.1
23906 configure.ac | 2 +-
23907 1 file changed, 1 insertion(+), 1 deletion(-)
23909 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
23910 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23911 Date: Fri Jun 4 08:29:42 2010 +0200
23913 Pre-release version bump 0.6.0
23915 configure.ac | 2 +-
23916 1 file changed, 1 insertion(+), 1 deletion(-)
23918 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
23919 Author: John (J5) Palmieri <johnp@redhat.com>
23920 Date: Fri May 28 10:03:11 2010 -0400
23922 support for caller-allocates annotations for structs
23924 * out caller-allocates parameters expect an already constructed
23926 to be passed in by reference. It is then modified and the caller
23928 modified value. We support this by using only one level of pointer
23930 * Only structs are considered to be caller-allocates parameters
23932 they are marked as such by GI. This is because the GI scanner
23934 enough to correctly guess 100% of the time
23935 * GValues are a special case of a caller-allocates parameter when
23937 up (e.g. g_value_unset is called). GValues make no sense in
23939 language. Developers should never deal with them.
23941 https://bugzilla.gnome.org/show_bug.cgi?id=620406
23943 gi/pygi-invoke.c | 73
23944 +++++++++++++++++++++++++++++++++++++++++++++---
23945 tests/test_everything.py | 28 +++++++++++++++++++
23946 2 files changed, 97 insertions(+), 4 deletions(-)
23948 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
23949 Author: John (J5) Palmieri <johnp@redhat.com>
23950 Date: Wed Jun 2 14:14:16 2010 -0400
23952 don't import gobject directly in the tests
23954 * use from gi.repository import GObject
23956 tests/test_overrides.py | 5 ++---
23957 1 file changed, 2 insertions(+), 3 deletions(-)
23959 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
23960 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23961 Date: Tue Jun 1 14:28:57 2010 +0200
23963 Wrap C arrays in structs as GArrays before converting to Python
23965 https://bugzilla.gnome.org/show_bug.cgi?id=620247
23967 gi/pygi-info.c | 11 +++++++++++
23968 tests/test_gi.py | 17 +++++++++++++++++
23969 2 files changed, 28 insertions(+)
23971 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
23972 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23973 Date: Wed May 26 13:20:27 2010 +0200
23975 Install pre-commit hook that checks the code changes for style
23978 autogen.sh | 7 +++++++
23979 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
23980 2 files changed, 46 insertions(+)
23982 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
23983 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23984 Date: Wed May 26 12:19:17 2010 +0200
23986 Apply consistent whitespace formatting with:
23988 astyle -p -d -c -S -U -M60
23990 This won't affect git blame nor git diff if the switch -w is used.
23992 gi/gimodule.c | 138 +++----
23993 gi/pygi-argument.c | 960
23994 ++++++++++++++++++++++++------------------------
23995 gi/pygi-boxed.c | 108 +++---
23996 gi/pygi-callbacks.c | 154 ++++----
23997 gi/pygi-callbacks.h | 8 +-
23998 gi/pygi-closure.c | 270 +++++++-------
23999 gi/pygi-closure.h | 18 +-
24000 gi/pygi-foreign-cairo.c | 36 +-
24001 gi/pygi-foreign-cairo.h | 36 +-
24002 gi/pygi-foreign.c | 54 +--
24003 gi/pygi-foreign.h | 10 +-
24004 gi/pygi-info.c | 646 ++++++++++++++++----------------
24005 gi/pygi-invoke.c | 380 +++++++++----------
24006 gi/pygi-repository.c | 114 +++---
24007 gi/pygi-struct.c | 88 ++---
24008 gi/pygi-type.c | 32 +-
24010 gi/pygobject-external.h | 14 +-
24011 18 files changed, 1544 insertions(+), 1542 deletions(-)
24013 commit 6156f15cb15b4c20e975527227135d49207c520a
24014 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24015 Date: Tue May 25 14:08:51 2010 +0200
24017 Prepend gi.repository to the __module__ attribute of wrapper classes.
24019 https://bugzilla.gnome.org/show_bug.cgi?id=619597
24021 gi/module.py | 4 ++--
24022 tests/test_gi.py | 4 +++-
24023 2 files changed, 5 insertions(+), 3 deletions(-)
24025 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
24026 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24027 Date: Tue May 25 14:17:13 2010 +0200
24029 Correctly identify at creation time:
24031 * if the class is defined in python -> hook up vfuncs
24032 * if the class wraps a type from a .typelib -> set atributes
24033 * else (GLocalFile) -> do nothing
24035 https://bugzilla.gnome.org/show_bug.cgi?id=619604
24037 gi/types.py | 15 +++++++++++----
24038 1 file changed, 11 insertions(+), 4 deletions(-)
24040 commit 686e10fcdb108af9758eb025a3447813c3513a93
24041 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24042 Date: Thu Apr 29 10:55:13 2010 +0200
24044 Dont complain if another base has implemented the method
24046 https://bugzilla.gnome.org/show_bug.cgi?id=617153
24048 gi/types.py | 3 ++-
24049 1 file changed, 2 insertions(+), 1 deletion(-)
24051 commit 9f34d120845d936b04546a5cea599ec67e9181a7
24052 Author: John (J5) Palmieri <johnp@redhat.com>
24053 Date: Mon May 24 16:16:50 2010 -0400
24055 fix up Builder override, add new override methods, and add unit tests
24057 * check for flags when connecting signals now that we get gi
24059 * override the add_from_string and add_objects_from string overrides
24061 that you don't have to pass in the length of the buffer
24062 * add test that loads objects from strings and connects them to
24065 gi/overrides/Gtk.py | 19 +++++++++++--
24066 tests/test_overrides.py | 72
24067 ++++++++++++++++++++++++++++++++++++++++++++++---
24068 2 files changed, 86 insertions(+), 5 deletions(-)
24070 commit 1561d2977691f1cb8684f183a2e274c47960d931
24071 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24072 Date: Mon May 24 18:48:10 2010 +0200
24074 Improve handling of subclasses without __gtype_name__
24076 Gives a better message at type registration.
24078 https://bugzilla.gnome.org/show_bug.cgi?id=616849
24080 gi/gimodule.c | 9 +++++++++
24081 tests/test_gi.py | 13 ++++++++++++-
24082 2 files changed, 21 insertions(+), 1 deletion(-)
24084 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
24085 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24086 Date: Fri Apr 30 18:17:50 2010 +0200
24088 Add support for GArray args
24090 https://bugzilla.gnome.org/show_bug.cgi?id=617054
24092 gi/pygi-invoke.c | 11 +++++++----
24093 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
24094 2 files changed, 57 insertions(+), 4 deletions(-)
24096 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
24097 Author: John (J5) Palmieri <johnp@redhat.com>
24098 Date: Mon May 24 11:48:16 2010 -0400
24100 check refcounting of callback userdata in unit tests
24102 tests/test_everything.py | 18 ++++++++++++++++++
24103 1 file changed, 18 insertions(+)
24105 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
24106 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24107 Date: Sat May 22 15:12:37 2010 +0200
24109 Add support for out args in callbacks
24111 This patch refactors argument marshalling for closures in
24112 preparation for more complete support.
24114 Also fixes a bug in the memory management of user_data args.
24116 https://bugzilla.gnome.org/show_bug.cgi?id=617780
24118 gi/pygi-closure.c | 335
24119 +++++++++++++++++++++++++++++++++++++++++-------------
24120 tests/test_gi.py | 4 +
24121 2 files changed, 263 insertions(+), 76 deletions(-)
24123 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
24124 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24125 Date: Sun May 23 10:59:27 2010 +0200
24127 If None is passed to an interface which takes an object, convert it to
24130 * without this patch PyGI treats the None object as a PyGObject
24132 extracting garbage data causing a crash
24133 * None's equivalent in C is NULL so we must provide a special case
24135 marshal the None as NULL
24137 https://bugzilla.gnome.org/show_bug.cgi?id=617880
24139 gi/pygi-argument.c | 5 +++++
24140 tests/test_everything.py | 6 ++++++
24141 2 files changed, 11 insertions(+)
24143 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
24144 Author: John (J5) Palmieri <johnp@redhat.com>
24145 Date: Sat May 22 14:06:37 2010 +0200
24147 correctly handle floating objects in gtk
24149 * this is a stopgap so we work with older pygobject libraries
24150 * there is a patch at
24151 https://bugzilla.gnome.org/show_bug.cgi?id=583909
24152 which adds the correct fix to pygobject
24153 * once pygobject accepts the above patch this patch does not need to
24154 be reverted because pygobject_register_sinkfunc becomes a noop
24155 * add tests (Tomeu)
24157 https://bugzilla.gnome.org/show_bug.cgi?id=619007
24159 gi/gimodule.c | 12 ++++++++++++
24160 tests/test_everything.py | 3 +++
24161 2 files changed, 15 insertions(+)
24163 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
24164 Author: John (J5) Palmieri <johnp@redhat.com>
24165 Date: Sat May 22 13:21:30 2010 +0200
24167 Return an empty list when a NULL GList and GSList is returned
24169 * In GTK a GList * and GSList set to NULL is equivilant to empty
24171 GTK list methods can take a NULL and treat it as an empty list. e.g.
24172 g_list_length(NULL) returns 0
24173 * PyGtk consitently returns empty list when a NULL is returned for
24176 * Many PyGtk apps do this:
24177 for i in range(len(obj.get_list())):
24179 * If we were to continue to return None, they would have to add
24181 which is needlessly verbose and isn't very "pythonic"
24183 https://bugzilla.gnome.org/show_bug.cgi?id=619232
24185 gi/pygi-argument.c | 6 ------
24186 tests/test_everything.py | 4 ++--
24187 2 files changed, 2 insertions(+), 8 deletions(-)
24189 commit 71a2148b00dfdda99e0d961ae39b901608724e59
24190 Author: Steve Frécinaux <code@istique.net>
24191 Date: Fri May 21 19:05:03 2010 +0200
24193 Fix warning in configure.
24195 The warning is caused by the use of the construction 'CFLAGS+=' in a
24196 sh version that doesn't understand it (in this case, 'dash').
24198 https://bugzilla.gnome.org/show_bug.cgi?id=619311
24200 configure.ac | 2 +-
24201 1 file changed, 1 insertion(+), 1 deletion(-)
24203 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
24204 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24205 Date: Thu Apr 29 13:06:15 2010 +0200
24207 GTypeInterface cannot be unrefed
24209 https://bugzilla.gnome.org/show_bug.cgi?id=617159
24211 gi/gimodule.c | 4 +++-
24212 1 file changed, 3 insertions(+), 1 deletion(-)
24214 commit ab1aaff108d23aabd28c3634edfb67236eb55460
24215 Author: John (J5) Palmieri <johnp@redhat.com>
24216 Date: Sat May 22 13:09:48 2010 +0200
24218 fix NULL array unit tests and fix crasher when sending None as
24221 * Unit tests were wrong given the annotation for
24222 test_array_int_null_in and
24223 test_array_int_null_out:
24226 * test_array_int_null_in:
24227 * @arr: (array length=len) (allow-none):
24234 * test_array_int_null_out:
24235 * @arr: (out) (array length=len) (allow-none):
24236 * @len: (out) : length
24239 The (array length=len) annotation meant we don't pass in or
24240 receive the len argument as this is handled under the hood
24241 (Python's representation of an array, the list type, encapsulates
24242 the length inside the type)
24244 * Fixing up the tests revealed a latent crasher bug when passing
24246 interface that accepts an array. The fix was to check for NULL
24248 the length argument to 0 when invoking the bound method.
24250 https://bugzilla.gnome.org/show_bug.cgi?id=619235
24252 gi/pygi-invoke.c | 6 +++++-
24253 tests/test_everything.py | 4 ++--
24254 2 files changed, 7 insertions(+), 3 deletions(-)
24256 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
24257 Author: John (J5) Palmieri <johnp@redhat.com>
24258 Date: Fri May 14 14:57:27 2010 -0400
24260 don't error out on methods with callbacks as return type
24262 * Right now we just throw an error which means API's like
24263 gtk_about_dialog_set_url_hook aren't able to be called,
24264 * this allows us to call such APIs while printing a warning, in
24266 API such as this doesn't need to be used anymore and is a result of
24267 early GTK development
24269 gi/pygi-argument.c | 14 +++++++++++---
24270 1 file changed, 11 insertions(+), 3 deletions(-)
24272 commit d963007aab123f4e53a944a66a935db2d22907c2
24273 Author: John (J5) Palmieri <johnp@redhat.com>
24274 Date: Mon May 17 11:54:34 2010 -0400
24276 reset sys.argv to the return value of Gtk.init_check
24278 * applications which check command line arguments will error out if it
24279 encounters a GTK command line switch such as --g-fatal-warnings.
24280 * The Gtk.init* API reads these switches and returns a new argv with
24282 switches stripped out
24283 * In C argv is modified in place but in Python we must set sys.argv
24285 new modified argument list
24286 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
24288 gi/overrides/Gtk.py | 1 +
24289 1 file changed, 1 insertion(+)
24291 commit 897420ed97cc4a7b8a806894df5e76ed72617614
24292 Author: John (J5) Palmieri <johnp@redhat.com>
24293 Date: Wed May 12 14:25:32 2010 -0400
24295 add GtkUIManager and GtkActionGroup overrides
24297 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
24299 gi/overrides/Gtk.py | 167
24300 +++++++++++++++++++++++++++++++++++++++++++++++-
24301 tests/test_overrides.py | 45 +++++++++++++
24302 2 files changed, 211 insertions(+), 1 deletion(-)
24304 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
24305 Author: Zach Goldberg <zach@zachgoldberg.com>
24306 Date: Thu May 13 01:02:24 2010 -0400
24308 Bump version for development to 0.5.2 (hopefully 0.6)
24310 configure.ac | 2 +-
24311 1 file changed, 1 insertion(+), 1 deletion(-)
24313 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
24314 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24315 Date: Wed May 5 15:54:39 2010 +0200
24317 Fix overrides.Gdk.Color.__new__ args
24319 https://bugzilla.gnome.org/show_bug.cgi?id=617757
24321 gi/overrides/Gdk.py | 2 +-
24322 tests/Makefile.am | 3 ++-
24323 tests/test_overrides.py | 22 ++++++++++++++++++++++
24324 3 files changed, 25 insertions(+), 2 deletions(-)
24326 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
24327 Author: John (J5) Palmieri <johnp@redhat.com>
24328 Date: Thu Apr 29 14:55:33 2010 -0400
24330 wrap GObject module so we can go through GI when requesting attrs
24332 * This gives us the best of both worlds.
24333 - We remain backwards compatable with pygobject by checking for
24335 attrs in the gobject module
24336 - If an attr does not exist we use the GI mechanism to look it up
24338 things like flags look the same whether exported from GObject, Gtk
24339 or any GI managed library
24341 * add DynamicGObjectModule tests and make tests use the new module
24342 - change import gobject to from gi.repository import GObject
24344 gi/importer.py | 6 ++--
24345 gi/module.py | 30 ++++++++++++++++
24346 tests/test_everything.py | 6 ++--
24347 tests/test_gi.py | 93
24348 ++++++++++++++++++++++++++----------------------
24349 4 files changed, 87 insertions(+), 48 deletions(-)
24351 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
24352 Author: John (J5) Palmieri <johnp@redhat.com>
24353 Date: Fri Apr 30 14:11:55 2010 -0400
24355 override Gdk.Drawable to add cairo_create convinience method
24357 gi/overrides/Gdk.py | 7 ++++++-
24358 1 file changed, 6 insertions(+), 1 deletion(-)
24360 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
24361 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24362 Date: Mon May 3 19:13:46 2010 +0200
24364 Fix passing callbacks as constructor args
24366 https://bugzilla.gnome.org/show_bug.cgi?id=617551
24368 gi/pygi-callbacks.c | 3 ++-
24369 gi/pygi-callbacks.h | 1 +
24370 gi/pygi-invoke.c | 7 +++++--
24371 tests/test_everything.py | 21 +++++++++++++++++++++
24372 4 files changed, 29 insertions(+), 3 deletions(-)
24374 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
24375 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24376 Date: Wed May 5 08:06:03 2010 +0200
24378 Avoid freeing garbage
24380 gi/pygi-invoke.c | 6 ++++--
24381 1 file changed, 4 insertions(+), 2 deletions(-)
24383 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
24384 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24385 Date: Thu Apr 29 13:09:03 2010 +0200
24387 Only hookup vfunc implementations for locally-defined methods
24389 https://bugzilla.gnome.org/show_bug.cgi?id=617160
24391 gi/types.py | 10 +++++++++-
24392 tests/test_gi.py | 10 ++++++++++
24393 2 files changed, 19 insertions(+), 1 deletion(-)
24395 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
24396 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24397 Date: Mon May 3 18:35:13 2010 +0200
24399 Fix passing GDestroyNotify
24401 https://bugzilla.gnome.org/show_bug.cgi?id=617542
24403 gi/pygi-invoke.c | 3 ++-
24404 tests/test_everything.py | 10 ++++++++++
24405 2 files changed, 12 insertions(+), 1 deletion(-)
24407 commit 9669acd0fad193013ef3505ae231588307f9834c
24408 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24409 Date: Mon May 3 12:23:58 2010 +0200
24411 Move invocation code to its own file
24413 https://bugzilla.gnome.org/show_bug.cgi?id=617107
24415 gi/Makefile.am | 2 +
24416 gi/pygi-info.c | 884
24417 ----------------------------------------------------
24418 gi/pygi-invoke.c | 909
24419 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
24420 gi/pygi-invoke.h | 37 +++
24421 gi/pygi-private.h | 1 +
24422 5 files changed, 949 insertions(+), 884 deletions(-)
24424 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
24425 Author: John (J5) Palmieri <johnp@redhat.com>
24426 Date: Tue Apr 27 19:13:08 2010 -0400
24428 Add the Gtk.Builder override
24430 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
24431 1 file changed, 36 insertions(+), 1 deletion(-)
24433 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
24434 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24435 Date: Fri Apr 30 15:00:52 2010 +0200
24437 Fix GAsyncReadyCallback
24439 https://bugzilla.gnome.org/show_bug.cgi?id=616236
24441 gi/pygi-closure.c | 8 +++++++-
24442 tests/test_everything.py | 16 ++++++++++++++++
24443 2 files changed, 23 insertions(+), 1 deletion(-)
24445 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
24446 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24447 Date: Thu Apr 29 18:32:50 2010 +0200
24449 Add override for Gdk.Color
24451 https://bugzilla.gnome.org/show_bug.cgi?id=617162
24453 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
24454 1 file changed, 19 insertions(+), 1 deletion(-)
24456 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
24457 Author: John (J5) Palmieri <johnp@redhat.com>
24458 Date: Wed Apr 28 13:19:48 2010 -0400
24460 make __all__ be a list of strings, fix override mechanism to use
24463 * before we were adding classes to the __all__ module property but
24464 the convention is to use the name of the class
24465 * simplified the check to just check the name against __all__
24466 instead of trying to get the class and then checking the class
24467 against None as well as in __all__
24468 * went through all the overrides and made __all__ be a list of strings
24470 gi/module.py | 9 ++++-----
24471 gi/overrides/GIMarshallingTests.py | 2 +-
24472 gi/overrides/Gdk.py | 2 +-
24473 3 files changed, 6 insertions(+), 7 deletions(-)
24475 commit 64fa8f936bad9a90628df446e690d67d947a0a22
24476 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24477 Date: Mon Apr 26 11:41:06 2010 +0200
24479 One more step at refactoring _wrap_g_function_info_invoke
24481 https://bugzilla.gnome.org/show_bug.cgi?id=616357
24483 gi/pygi-callbacks.c | 22 +-
24484 gi/pygi-callbacks.h | 4 +-
24485 gi/pygi-info.c | 582
24486 ++++++++++++++++++++++++++++++----------------------
24487 3 files changed, 346 insertions(+), 262 deletions(-)
24489 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
24490 Author: Zach Goldberg <zach@zachgoldberg.com>
24491 Date: Tue Apr 20 23:23:38 2010 -0400
24493 Step 1 of refactoring _wrap_g_function_info_invoke
24495 Original patch by David Malcom <dmalcolm@redhat.com>
24497 This patch bitrots *REALLY* fast.
24499 https://bugzilla.gnome.org/show_bug.cgi?id=616357
24501 gi/pygi-info.c | 417
24502 +++++++++++++++++++++++++++++----------------------------
24503 1 file changed, 214 insertions(+), 203 deletions(-)
24505 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
24506 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24507 Date: Tue Apr 27 10:24:35 2010 +0200
24509 Dont force subclasses to implement all virtual methods of their bases
24511 https://bugzilla.gnome.org/show_bug.cgi?id=616674
24513 gi/types.py | 4 ++--
24514 tests/test_gi.py | 15 +++++++++++++++
24515 2 files changed, 17 insertions(+), 2 deletions(-)
24517 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
24518 Author: Zach Goldberg <zach@zachgoldberg.com>
24519 Date: Sun Apr 25 15:09:08 2010 -0400
24521 Correct the reference counting of userdata in closure handling
24523 Without this we lose references on every call and eventually end up
24525 while they are still in use.
24527 https://bugzilla.gnome.org/show_bug.cgi?id=616786
24529 gi/pygi-closure.c | 3 +++
24530 tests/test_everything.py | 13 +++++++++++++
24531 2 files changed, 16 insertions(+)
24533 commit 2b12049306bf57513c43d08017185468bf897a4a
24534 Author: Zach Goldberg <zach@zachgoldberg.com>
24535 Date: Tue Apr 20 22:57:14 2010 -0400
24537 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
24539 (Previous commit did not include the proper error message. I blame
24542 https://bugzilla.gnome.org/show_bug.cgi?id=616356
24544 gi/pygi-closure.c | 4 ++--
24545 1 file changed, 2 insertions(+), 2 deletions(-)
24547 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
24548 Author: Zach Goldberg <zach@zachgoldberg.com>
24549 Date: Tue Apr 20 23:53:57 2010 -0400
24551 Force out arguments to be initialized as NULL. Comes with a test.
24553 This fix was motivated by a real world library which had a transfer
24555 utf8 out argument which sometimes was not set. We would leave
24557 dangling and try and free it at the end of invoke() and crash.
24559 to change their behavior so we're forced to take care of it on
24562 https://bugzilla.gnome.org/show_bug.cgi?id=616043
24564 gi/pygi-info.c | 1 +
24565 tests/test_gi.py | 3 +++
24566 2 files changed, 4 insertions(+)
24568 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
24569 Author: Zach Goldberg <zach@zachgoldberg.com>
24570 Date: Tue Apr 20 22:57:14 2010 -0400
24572 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
24574 Be slightly nicer to library maintainers. It really isn't a fatal
24576 if we don't have a proper scope type, better to leave a good code
24578 and a warning than to cause their code to segv.
24580 https://bugzilla.gnome.org/show_bug.cgi?id=616356
24582 gi/pygi-closure.c | 3 ++-
24583 1 file changed, 2 insertions(+), 1 deletion(-)
24585 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
24586 Author: Zach Goldberg <zach@zachgoldberg.com>
24587 Date: Tue Apr 20 22:43:20 2010 -0400
24589 Refactor implementation of scope call to allow for multiple calls
24590 during lifetime of function invocation.
24592 https://bugzilla.gnome.org/show_bug.cgi?id=616343
24594 gi/pygi-closure.c | 10 +++++-----
24595 gi/pygi-info.c | 9 +++++++--
24596 tests/test_everything.py | 9 +++++++++
24597 3 files changed, 21 insertions(+), 7 deletions(-)
24599 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
24600 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24601 Date: Sat Jan 2 16:31:55 2010 +0100
24603 Add basic support for unions
24605 https://bugzilla.gnome.org/show_bug.cgi?id=603598
24607 gi/module.py | 3 +-
24608 gi/pygi-argument.c | 24 +++-----------
24609 gi/pygi-boxed.c | 18 +++++++++--
24610 gi/pygi-info.c | 94
24611 ++++++++++++++++++++++++++++++++++++++++++++++++------
24612 gi/pygi-info.h | 1 +
24613 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
24614 6 files changed, 165 insertions(+), 31 deletions(-)
24616 commit af9e4e086d160fe7fb24758ed81753e784b198a8
24617 Author: Simon van der Linden <svdlinden@src.gnome.org>
24618 Date: Fri Jan 22 22:16:32 2010 +0100
24620 Bump required GLib version to 2.22
24622 Since PyGObject now depends on GLib 2.22.4, there is no need to
24624 backward-compatible.
24626 configure.ac | 2 +-
24627 gi/pygi-private.h | 20 --------------------
24628 2 files changed, 1 insertion(+), 21 deletions(-)
24630 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
24631 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24632 Date: Sun Apr 18 11:50:14 2010 -0400
24634 Refactor get_* methods in the *Info wrappers
24636 https://bugzilla.gnome.org/show_bug.cgi?id=616108
24638 gi/pygi-info.c | 360
24639 +++++++++++++++++++++++++++------------------------------
24640 1 file changed, 168 insertions(+), 192 deletions(-)
24642 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
24643 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24644 Date: Tue Apr 20 15:12:47 2010 +0200
24646 Print any error messages raised inside _pygi_closure_handle
24648 https://bugzilla.gnome.org/show_bug.cgi?id=616279
24650 gi/pygi-closure.c | 9 +++++----
24651 1 file changed, 5 insertions(+), 4 deletions(-)
24653 commit d1ba23cdd05686ea721425f233371d573a2e9cce
24654 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24655 Date: Thu Apr 22 19:57:17 2010 +0200
24657 Rename variable with a very generic name
24659 gi/module.py | 28 ++++++++++++++--------------
24660 1 file changed, 14 insertions(+), 14 deletions(-)
24662 commit 391640b30ede50af3667b1019edb72bd79f2c68c
24663 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24664 Date: Thu Apr 22 19:53:06 2010 +0200
24666 Add support for enums without GType
24668 https://bugzilla.gnome.org/show_bug.cgi?id=616520
24670 gi/module.py | 6 +++++-
24671 gi/pygi-argument.c | 22 +++++++++++++++++++++-
24672 gi/types.py | 14 ++++++++++++++
24673 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
24674 4 files changed, 68 insertions(+), 4 deletions(-)
24676 commit 89704f60ddae0c81f1383d86491ef2785590a353
24677 Author: Zach Goldberg <zach@zachgoldberg.com>
24678 Date: Tue Apr 20 22:20:42 2010 -0400
24680 Bump version during development to 0.5.1
24682 This follows what is, according to Colin Walters,
24683 standard versioning practice. During development the
24684 version in your config is the *next* version you will release,
24685 not the version after. Thus after a release you make a new commit
24686 bumping to the next development version.
24688 configure.ac | 2 +-
24689 1 file changed, 1 insertion(+), 1 deletion(-)
24691 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
24692 Author: John Ehresman <jpe@wingware.com>
24693 Date: Tue Apr 20 20:40:02 2010 -0400
24695 Added missing , to keyword list of gio.GFile.set_attribute
24697 gio/gresolver.override | 2 +-
24698 1 file changed, 1 insertion(+), 1 deletion(-)
24700 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
24701 Author: John Ehresman <jpe@wingware.com>
24702 Date: Tue Apr 20 20:37:12 2010 -0400
24704 Fix arg conversion in gio.GFile.set_attribute
24706 gio/gfile.override | 232
24707 +++++++++++++++++++++++++++++++++++++++++++++++++++--
24708 1 file changed, 227 insertions(+), 5 deletions(-)
24710 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
24711 Author: John Ehresman <jpe@wingware.com>
24712 Date: Tue Apr 20 20:01:53 2010 -0400
24714 Set constants under python 2.5 or before
24716 gobject/gobjectmodule.c | 8 ++++++++
24717 1 file changed, 8 insertions(+)
24719 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
24720 Author: José Alburquerque <jaalburqu@svn.gnome.org>
24721 Date: Sun Apr 18 20:22:21 2010 -0400
24723 Doc Extractor: Use replacements that make sense for &...;
24726 * codegen/docextract_to_xml.py: Use # and   respectively
24728 # (#) and . These are interpreted correctly in XML
24730 not make the parsing crash.
24732 codegen/docextract_to_xml.py | 4 ++--
24733 1 file changed, 2 insertions(+), 2 deletions(-)
24735 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
24736 Author: Zach Goldberg <zach@zachgoldberg.com>
24737 Date: Sun Apr 18 14:32:06 2010 -0400
24739 Bump version for release 0.5.0
24741 HACKING | 7 +++++++
24742 configure.ac | 4 ++--
24743 2 files changed, 9 insertions(+), 2 deletions(-)
24745 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
24746 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24747 Date: Sun Apr 18 14:28:13 2010 -0400
24749 One more missing file...
24751 examples/Makefile.am | 2 ++
24752 1 file changed, 2 insertions(+)
24754 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
24755 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24756 Date: Sun Apr 18 14:18:44 2010 -0400
24758 Add more stuff to the tarballs
24760 Makefile.am | 8 +++++++-
24762 2 files changed, 8 insertions(+), 1 deletion(-)
24764 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
24765 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24766 Date: Sun Apr 18 13:48:45 2010 -0400
24768 Add one more missing file to tarballs
24770 gi/overrides/GIMarshallingTests.py | 0
24771 gi/overrides/Makefile.am | 1 +
24772 2 files changed, 1 insertion(+)
24774 commit 979e01852fc7f830ee91093accdc387fa535075f
24775 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24776 Date: Sun Apr 18 13:45:29 2010 -0400
24778 Add missing file to tarballs
24780 tests/Makefile.am | 1 +
24781 1 file changed, 1 insertion(+)
24783 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
24784 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24785 Date: Sun Apr 18 13:11:11 2010 -0400
24789 https://bugzilla.gnome.org/show_bug.cgi?id=602736
24792 +++++++++++++++++++++++++++++++++++++++++++++++++++++
24793 gi/pygi-argument.c | 1 +
24794 gi/pygi-callbacks.c | 3 +-
24795 gi/pygi-closure.c | 4 +--
24796 gi/pygi-closure.h | 2 +-
24797 gi/pygi-info.c | 86
24798 +++++++++++++++++++++++++++++++++++++++++++++++++--
24799 gi/pygi-info.h | 1 +
24800 gi/types.py | 44 +++++++++++++++++---------
24801 tests/test_gi.py | 18 +++++++++++
24802 9 files changed, 227 insertions(+), 21 deletions(-)
24804 commit e239faacb4798fe2d166233ca1a19a843a6225e3
24805 Author: Zach Goldberg <zach@zachgoldberg.com>
24806 Date: Sun Apr 18 11:59:06 2010 -0400
24808 Fix a typo in pygi-callbacks.c header
24810 gi/pygi-callbacks.c | 2 +-
24811 1 file changed, 1 insertion(+), 1 deletion(-)
24813 commit 79aa416ae8632b123da61d79fb820d9e2704209c
24814 Author: Zach Goldberg <zach@zachgoldberg.com>
24815 Date: Sat Apr 17 12:00:05 2010 -0400
24817 Implement nullable argument support, including tests
24819 https://bugzilla.gnome.org/show_bug.cgi?id=616035
24821 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
24822 gi/pygi-argument.h | 3 ++-
24823 gi/pygi-info.c | 19 +++++++++++++------
24824 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
24825 4 files changed, 80 insertions(+), 13 deletions(-)
24827 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
24828 Author: Zach Goldberg <zach@zachgoldberg.com>
24829 Date: Sat Apr 17 12:56:19 2010 -0400
24831 Move some tests from test_gi to test_everything
24833 tests/test_everything.py | 60
24834 ++++++++++++++++++++++++++++++++++++++++++++++
24835 tests/test_gi.py | 62
24836 +-----------------------------------------------
24837 2 files changed, 61 insertions(+), 61 deletions(-)
24839 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
24840 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24841 Date: Sun Apr 18 10:44:35 2010 -0400
24843 Update to latest version of the pygi-convert.sh script
24845 pygi-convert.sh | 193
24846 ++++++++++++++++++++++++++++++++++++++++----------------
24847 1 file changed, 137 insertions(+), 56 deletions(-)
24849 commit 34a39318c674737c6d64f2430456daef86ba1626
24850 Author: Colin Walters <walters@verbum.org>
24851 Date: Sun Apr 18 10:40:44 2010 -0400
24853 Add Tomeu's prototype script for converting pygtk to pygi
24855 pygi-convert.sh | 71
24856 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24857 1 file changed, 71 insertions(+)
24859 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
24860 Author: Olav Vitters <olav@vitters.nl>
24861 Date: Sun Apr 18 13:01:58 2010 +0200
24866 1 file changed, 4 insertions(+)
24868 commit 0de73d0bba79f92af22f43693f3575c596712416
24869 Author: Zach Goldberg <zach@zachgoldberg.com>
24870 Date: Sat Apr 17 16:01:31 2010 -0400
24872 Add Zach Goldberg as a pygi maintainer
24874 pygi.doap | 5 +++++
24875 1 file changed, 5 insertions(+)
24877 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
24878 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24879 Date: Sat Apr 17 11:47:54 2010 -0400
24883 configure.ac | 7 +------
24884 1 file changed, 1 insertion(+), 6 deletions(-)
24886 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
24887 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24888 Date: Sat Apr 17 11:40:14 2010 -0400
24890 Add examples/cairo-demo.py
24892 examples/cairo-demo.py | 121
24893 +++++++++++++++++++++++++++++++++++++++++++++++++
24894 1 file changed, 121 insertions(+)
24896 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
24897 Author: Zach Goldberg <zach@zachgoldberg.com>
24898 Date: Sat Apr 17 09:17:14 2010 -0400
24900 Implementation callback support with scoping and basic argument
24903 This patch was originally written by
24904 Zach Goldberg <zach@zachgoldberg.com> with modifications and
24905 review by Simon van der Linden <svdlinden@src.gnome.org> and
24906 Colin Walters <walters@verbum.org>.
24908 This impementation enforces the assumption that any one function
24909 signature can only have one (callback, userdata, destronotify) tuple.
24910 This allows us to move callback creation into the actual function
24911 invoke pipeline and also to keep just one destroy notify callback
24912 around, vastly simplifying the code.
24914 https://bugzilla.gnome.org/show_bug.cgi?id=603095
24917 gi/Makefile.am | 4 +
24918 gi/pygi-argument.c | 12 ++-
24919 gi/pygi-callbacks.c | 216
24920 ++++++++++++++++++++++++++++++++++++++++++++++++++++
24921 gi/pygi-callbacks.h | 47 ++++++++++++
24922 gi/pygi-closure.c | 205
24923 +++++++++++++++++++++++++++++++++++++++++++++++++
24924 gi/pygi-closure.h | 57 ++++++++++++++
24925 gi/pygi-info.c | 49 ++++++++++--
24926 gi/pygi-private.h | 2 +
24927 tests/test_gi.py | 64 +++++++++++++++-
24928 10 files changed, 648 insertions(+), 10 deletions(-)
24930 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
24931 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24932 Date: Sat Apr 17 10:54:45 2010 -0400
24934 Add support for foreign structs
24936 https://bugzilla.gnome.org/show_bug.cgi?id=603712
24938 configure.ac | 6 +++
24939 gi/Makefile.am | 10 +++-
24940 gi/gimodule.c | 7 +++
24941 gi/pygi-argument.c | 27 ++++++++++-
24942 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
24943 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
24944 gi/pygi-foreign.c | 123
24945 +++++++++++++++++++++++++++++++++++++++++++++++
24946 gi/pygi-foreign.h | 52 ++++++++++++++++++++
24947 gi/pygi-private.h | 1 +
24948 tests/test_everything.py | 48 ++++++++++++++++++
24949 10 files changed, 428 insertions(+), 4 deletions(-)
24951 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
24952 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24953 Date: Fri Apr 16 14:35:13 2010 -0400
24955 Allow creating structs with pointers
24957 https://bugzilla.gnome.org/show_bug.cgi?id=603537
24959 gi/pygi-struct.c | 6 ------
24960 tests/test_gi.py | 3 ++-
24961 2 files changed, 2 insertions(+), 7 deletions(-)
24963 commit fc9ff02e53aacf9e77625c70985e99813544912a
24964 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24965 Date: Fri Apr 16 10:40:40 2010 -0400
24967 Add gdb and valgrind variants for the tests
24969 HACKING | 19 +++++++++++++++++++
24970 Makefile.am | 12 ++++++++++++
24971 tests/Makefile.am | 14 +++++++++++++-
24972 3 files changed, 44 insertions(+), 1 deletion(-)
24974 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
24975 Author: John Stowers <john.stowers@gmail.com>
24976 Date: Fri Apr 16 14:36:11 2010 +1200
24978 Add build docs for windows
24981 README.win32 | 24 ++++++++++++++++++++++++
24982 2 files changed, 25 insertions(+)
24984 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
24985 Author: John Stowers <john.stowers@gmail.com>
24986 Date: Thu Apr 15 13:40:39 2010 +1200
24988 Setup.py cosmetic tidy
24990 * Remove local doc install, point to website instead
24991 * link to versioned docs
24993 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
24994 setup.py | 39 ++++++++++++++-------------------------
24995 2 files changed, 40 insertions(+), 42 deletions(-)
24997 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
24998 Author: John Stowers <john.stowers@gmail.com>
24999 Date: Sat Jul 25 14:12:30 2009 +1200
25001 Fix crash when importing gio
25003 Only seems to be necessary on windows, but
25004 no harm on linux as multiple calls to init
25007 gio/giomodule.c | 3 +++
25008 1 file changed, 3 insertions(+)
25010 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
25011 Author: John Stowers <john.stowers@gmail.com>
25012 Date: Thu Apr 15 22:52:48 2010 +1200
25014 Bug 589671 - Dont use generate-constants
25016 This breaks the build using distutils, and it is
25017 largely unneeded. Just add the G_XXX constants
25018 to the module directly
25020 gobject/Makefile.am | 16 +--------
25021 gobject/constants.py | 83
25022 ++++++++++++++++++++++++++++++++++++++++++++
25023 gobject/constants.py.in | 50 --------------------------
25024 gobject/generate-constants.c | 44 -----------------------
25025 gobject/gobjectmodule.c | 35 +++++++++++++++++++
25027 tests/runtests.py | 3 +-
25028 7 files changed, 121 insertions(+), 112 deletions(-)
25030 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
25031 Author: John Stowers <john.stowers@gmail.com>
25032 Date: Thu Apr 15 22:49:17 2010 +1200
25034 Bug 589671 - Fix setup.py for windows build
25036 * Building pyglib as a static private library
25037 * Update to include new defs
25038 * Modernise setup.py and add more util functions
25041 dsextras.py | 32 ++++++++++++++++---
25043 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
25044 2 files changed, 116 insertions(+), 18 deletions(-)
25046 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
25047 Author: John Stowers <john.stowers@gmail.com>
25048 Date: Thu Apr 15 22:48:28 2010 +1200
25050 Include pygsource.h
25052 glib/pygiochannel.c | 1 +
25053 1 file changed, 1 insertion(+)
25055 commit c5f6af4844c74354abc508d17969d9d45153acf2
25056 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
25057 Date: Thu Apr 15 14:25:59 2010 -0400
25059 Add metadata to the .doap file
25062 1 file changed, 3 insertions(+)
25064 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
25065 Author: John (J5) Palmieri <johnp@redhat.com>
25066 Date: Wed Apr 14 12:01:43 2010 -0400
25068 override that wasn't checked in - fixes some test cases
25070 gi/overrides/GIMarshallingTests.py | 69
25071 ++++++++++++++++++++++++++++++++++++++
25072 1 file changed, 69 insertions(+)
25074 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
25075 Author: Colin Walters <walters@verbum.org>
25076 Date: Wed Apr 14 10:06:07 2010 -0400
25078 [Makefile.am] Clean up CFLAGS handling, don't override all: target
25080 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
25081 per-target CFLAGS forces Automake to prefix object files, which
25082 is unnecessary since we only have one target.
25084 More importantly, avoid overriding the all: target here; that's
25085 owned by Automake. Use all-local instead to append things to
25086 the end of the normal build.
25088 gi/Makefile.am | 15 +++++++++------
25089 1 file changed, 9 insertions(+), 6 deletions(-)
25091 commit 5a47e96e3f580c973e6880dafa747f54c144c760
25092 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
25093 Date: Tue Apr 13 19:15:49 2010 -0400
25095 Use GIMarshallingTests (old TestGI) in gobject-introspection
25097 gi/overrides/TestGI.py | 69 --
25098 tests/Makefile.am | 40 -
25099 tests/libtestgi.c | 2924
25100 ------------------------------------------------
25101 tests/libtestgi.h | 628 -----------
25102 tests/test_gi.py | 832 +++++++-------
25103 5 files changed, 416 insertions(+), 4077 deletions(-)
25105 commit 681832c3cd040433a488a400693b68f213bf7078
25106 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25107 Date: Tue Apr 13 13:33:12 2010 -0400
25109 codegen/docextract_to_xml.py: One more &...; replacement ( ).
25111 * codegen/docextract_to_xml.py: Replace which also causes
25112 errors with a regular space.
25114 codegen/docextract_to_xml.py | 1 +
25115 1 file changed, 1 insertion(+)
25117 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
25118 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25119 Date: Tue Apr 13 12:28:10 2010 -0400
25121 codegen/docextract_to_xml.py: Replace some &..; that cause errors.
25123 * codegen/docextract_to_xml.py (escape_text): Replace some &..;
25124 expressions that cause errors with more appropriate output.
25126 codegen/docextract_to_xml.py | 4 ++++
25127 1 file changed, 4 insertions(+)
25129 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
25130 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25131 Date: Sun Apr 11 17:46:40 2010 -0400
25133 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
25135 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
25137 in text to '/ *' and '* /' respectively so that comment errors
25139 show up when the descriptions that include C++ code with C++
25140 multi-line comments are used in Doxygen blocks.
25142 codegen/docextract_to_xml.py | 9 +++++++++
25143 1 file changed, 9 insertions(+)
25145 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
25146 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25147 Date: Sun Apr 11 16:15:01 2010 -0400
25149 codegen/docextract.py: Stop final section processing on first
25152 * codegen/docextract.py (process_final_sections): Modify the final
25153 section pattern matching for loop to stop on first match so
25155 doesn't match both a colon return ('Returns: ...') and a no colon
25156 return ('Returns ...') which leads to annotation extraction
25159 codegen/docextract.py | 4 ++++
25160 1 file changed, 4 insertions(+)
25162 commit 825fd305f03b726665edca34963978ce27448182
25163 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25164 Date: Sun Apr 11 15:45:09 2010 -0400
25166 Update doc extraction tool to handle GObjectIntrospection
25169 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
25170 (GtkDoc::annotations): Added a list field to store annotations
25172 are 2-tuples of (name, value).
25173 (GtkDoc::ret): Modified field to store the return description
25175 with a list of annotations as described above.
25176 (GtkDoc::params): Now holds a list of 3-tupples: name,
25178 annotations (as described above).
25179 (GtkDoc::block_type): Add a field to tell if the comment block
25181 function block, signal block or property block.
25182 (GtkDoc::set_type):
25183 (GtkDoc::get_type): Add methods for setting/getting the block
25185 (GtkDoc::add_param): Modified to also accept a list of
25187 be added with the parameter.
25188 (GtkDoc::add_annotation):
25189 (GtkDoc::get_annotations): Added methods to add/get annotations
25192 (GtkDoc::append_description): Renamed to append_to_description().
25193 (GtkDoc::get_param_description): Removed unused method.
25194 (GtkDoc::get_description): Added method to get block description.
25195 (GtkDoc::add_return): Added method to add a return accepting
25197 line of the description and its annotations.
25198 (GtkDoc::append_return): Renamed to append_to_return().
25199 (Regular expressions):
25200 - Made the names of the variables un-abbreviated.
25202 - Added 'since', 'deprecated' and 'rename to' regular
25205 - Modified the return matching regular expression so that
25207 match descriptions that begin with 'Returns ...'.
25209 the docs of many function.
25211 - Added signal and property comment block identifier matching
25213 expressions in case those are useful.
25215 - Modified existing identifier matching regular expressions
25217 signal, and property regular expressions) to properly parse
25218 annotations. Also added a regular expression for extracting
25219 annotations from the parameter and return descriptions.
25221 - Refined the function name matching regular expression to
25223 identifiers that begin with a lowercase letter. This eliminates
25224 'SECTION:' matches.
25226 - Finally, grouped commonly related expressions like
25228 since_pattern, etc. into groups (in lists) so that matching
25230 sections can be done using loops.
25232 (Parsing algorithm): Modified the algorithm to use a functional
25233 approach to parsing. Extra methods like skip_to_comment() and
25234 processs_params() have been added and used in the parse_file()
25235 function to now process the comment blocks.
25236 (parse_dir): Added file processing output to stderr.
25237 * codegen/docextract_to_xml.py (usage): Added function to
25240 (print_annotations): Added function to print the given list of
25242 (options): Added --with-signals (-i), with-properties (-p) and
25243 --with-annotation (-a) to the existing --source-dir (-s) option.
25245 (algorithm): Now prints annotations, if specified. Also, prints
25246 signals and properties correctly (using names like
25248 for signals and Classs:property) with xml such as <signal
25249 name="...">...</signal>. The return xml is slightly modified with
25250 annotations but this would only be exhibited if annotation xml is
25253 codegen/docextract.py | 439
25254 ++++++++++++++++++++++++++++++++++---------
25255 codegen/docextract_to_xml.py | 87 ++++++---
25256 2 files changed, 414 insertions(+), 112 deletions(-)
25258 commit 9fef1acb42cd900d4a814a7378f60bc189121785
25259 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
25260 Date: Fri Apr 9 13:47:03 2010 +0200
25262 Always create the .so link
25264 gi/Makefile.am | 2 +-
25265 1 file changed, 1 insertion(+), 1 deletion(-)
25267 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
25268 Author: Paul Bolle <pebolle@tiscali.nl>
25269 Date: Thu Apr 8 11:52:25 2010 +0200
25271 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
25273 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
25275 docs/reference/pygio-file.xml | 58
25276 ++++++++++++++++++------------------
25277 docs/reference/pygio-inputstream.xml | 22 +++++++-------
25278 docs/reference/pygio-mount.xml | 10 +++----
25279 3 files changed, 45 insertions(+), 45 deletions(-)
25281 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
25282 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25283 Date: Mon Apr 5 18:10:42 2010 +0200
25285 Bug 613341 - pygobject tests seem to require pygtk causing a circular
25286 dependencies problem
25288 move tests that require pygtk to pygtk itself
25290 tests/test_conversion.py | 83 --------------
25291 tests/test_enum.py | 234 --------------------------------------
25292 tests/test_gtype.py | 112 ------------------
25293 tests/test_subtype.py | 289
25294 -----------------------------------------------
25295 4 files changed, 718 deletions(-)
25297 commit ef0ceb266a45715ece58642fb0042e3376416755
25298 Author: Simon van der Linden <svdlinden@src.gnome.org>
25299 Date: Wed Feb 3 20:33:03 2010 +0100
25301 Add modelines and copyright information to overrides modules
25303 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
25304 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
25305 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
25306 3 files changed, 62 insertions(+)
25308 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
25309 Author: Simon van der Linden <svdlinden@src.gnome.org>
25310 Date: Wed Feb 3 20:29:55 2010 +0100
25312 Fix and complete overrides tests
25314 Those tests were missing in the last commit
25316 https://bugzilla.gnome.org/show_bug.cgi?id=602830
25318 gi/overrides/TestGI.py | 49
25319 +++++++++++++++++++++++++++++++++++++++++++++++++
25320 tests/test_gi.py | 8 +++++++-
25321 2 files changed, 56 insertions(+), 1 deletion(-)
25323 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
25324 Author: Simon van der Linden <svdlinden@src.gnome.org>
25325 Date: Thu Jan 21 17:30:51 2010 +0100
25327 Don't raise an error in _pygi_import if pygi support is disabled
25329 http://bugzilla.gnome.org/show_bug.cgi?id=607674
25331 gobject/pygboxed.c | 6 +-----
25332 gobject/pygi-external.h | 1 -
25333 gobject/pygobject.c | 6 +-----
25334 gobject/pygpointer.c | 6 +-----
25335 4 files changed, 3 insertions(+), 16 deletions(-)
25337 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
25338 Author: Simon van der Linden <svdlinden@src.gnome.org>
25339 Date: Fri Jan 22 22:22:37 2010 +0100
25341 Remove support for pointers to basic types as input-only argument
25344 There is no reason for an API to use such things, and
25345 g_function_info_invoke
25346 broke such features.
25348 https://bugzilla.gnome.org/show_bug.cgi?id=607759
25350 gi/pygi-argument.c | 586 ++++-------------------------------------------
25351 gi/pygi-argument.h | 1 -
25352 gi/pygi-info.c | 8 +-
25353 tests/libtestgi.c | 660
25354 -----------------------------------------------------
25355 tests/libtestgi.h | 86 -------
25356 tests/test_gi.py | 144 ------------
25357 6 files changed, 47 insertions(+), 1438 deletions(-)
25359 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
25360 Author: Simon van der Linden <svdlinden@src.gnome.org>
25361 Date: Fri Jan 22 13:41:21 2010 +0100
25363 Restore the overrides support
25365 Add a ModuleProxy in front of the DynamicModule when an overrides
25367 present. There is no need for an overrides module to be a class;
25368 it can just be a module.
25370 Add an override decorator to override the wrapper of a registered
25373 Adapt Gdk and Gtk accordingly.
25377 https://bugzilla.gnome.org/show_bug.cgi?id=602830
25379 gi/importer.py | 40 +++++++-------------
25380 gi/module.py | 43 ++++++++++++++-------
25381 gi/overrides/Gdk.py | 42 +++++++++++++--------
25382 gi/overrides/Gtk.py | 16 ++++----
25383 gi/types.py | 6 +++
25384 tests/libtestgi.c | 105
25385 ++++++++++++++++++++++++++++++++++++++++++++++++++++
25386 tests/libtestgi.h | 49 ++++++++++++++++++++++++
25387 tests/test_gi.py | 36 ++++++++++++++++++
25388 8 files changed, 273 insertions(+), 64 deletions(-)
25390 commit 289d641775d1ea52d2a5379126b70b7fcee46683
25391 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
25392 Date: Sun Jan 10 21:01:59 2010 +0100
25394 Initialize PyGPollFD_Type.fd_obj to NULL
25396 https://bugzilla.gnome.org/show_bug.cgi?id=606582
25398 gio/gcancellable.override | 1 +
25399 1 file changed, 1 insertion(+)
25401 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
25402 Author: Simon van der Linden <svdlinden@src.gnome.org>
25403 Date: Fri Jan 8 21:10:28 2010 +0100
25405 Initialize struct fields to 0 when allocating
25407 gi/pygi-struct.c | 2 +-
25408 tests/test_gi.py | 5 +++++
25409 2 files changed, 6 insertions(+), 1 deletion(-)
25411 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
25412 Author: Simon van der Linden <svdlinden@src.gnome.org>
25413 Date: Fri Jan 8 20:33:44 2010 +0100
25415 Don't set a default constructor for structures.
25417 Update tests accordingly.
25419 The reason for this change is that setting __new__ in the metaclass
25421 one overrides it afterwards, in a subclass (in my experience, at
25423 though it seems weird).
25425 https://bugzilla.gnome.org/show_bug.cgi?id=603536
25427 gi/types.py | 35 +++++++----------------------------
25428 tests/libtestgi.c | 33 ---------------------------------
25429 tests/libtestgi.h | 7 -------
25430 tests/test_gi.py | 21 ++++++++++-----------
25431 4 files changed, 17 insertions(+), 79 deletions(-)
25433 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
25434 Author: Simon van der Linden <svdlinden@src.gnome.org>
25435 Date: Tue Jan 5 13:36:44 2010 +0100
25437 Suppress compilation warnings
25439 gi/pygi-argument.c | 3 ++-
25440 gi/pygi-boxed.c | 2 --
25441 gi/pygobject-external.h | 2 +-
25442 3 files changed, 3 insertions(+), 4 deletions(-)
25444 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
25445 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25446 Date: Mon Jan 4 08:35:14 2010 +0100
25448 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
25450 Committed a patch from Kevin Pyle
25452 Makefile.am | 27 +++++++++++++--------------
25453 1 file changed, 13 insertions(+), 14 deletions(-)
25455 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
25456 Author: Simon van der Linden <svdlinden@src.gnome.org>
25457 Date: Fri Dec 11 22:24:30 2009 +0100
25459 sys.path must be modified after pygtk is imported
25461 Otherwise, sys.path is overridden by pygtk and gi.repository is
25463 system's default site-package directory.
25465 tests/runtests.py | 1 -
25466 tests/test_gi.py | 3 +++
25467 2 files changed, 3 insertions(+), 1 deletion(-)
25469 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
25470 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25471 Date: Sun Jan 3 11:02:57 2010 +0100
25473 Wrap gio.Cancellable.make_pollfd() and add a test
25475 gio/Makefile.am | 1 +
25476 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
25477 gio/gio.override | 3 +++
25478 tests/test_gcancellable.py | 15 +++++++++++++++
25479 4 files changed, 56 insertions(+)
25481 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
25482 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25483 Date: Sat Jan 2 23:15:56 2010 +0100
25485 Make cancellable an optional parameter in many methods
25488 +++++++++++++++++++++++++++++------------------------------
25489 1 file changed, 51 insertions(+), 51 deletions(-)
25491 commit 49a078cd22d55dc33a03ecfda235d63955edc741
25492 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25493 Date: Sat Jan 2 23:15:21 2010 +0100
25495 Post release version bump to 2.21.2
25497 configure.ac | 2 +-
25498 1 file changed, 1 insertion(+), 1 deletion(-)
25500 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
25501 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25502 Date: Sat Jan 2 22:58:36 2010 +0100
25504 Update NEWS and release PyGObject-2.21.1
25506 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
25507 1 file changed, 55 insertions(+)
25509 commit c1f34be73bd186d7b4682dfef133da2c4229d213
25510 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25511 Date: Fri Jan 1 20:25:35 2010 +0100
25513 Wrap gio.Volume.eject_with_operation()
25515 gio/gvolume.override | 54
25516 ++++++++++++++++++++++++++++++++++++++++++++++++++++
25517 1 file changed, 54 insertions(+)
25519 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
25520 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25521 Date: Fri Jan 1 20:22:21 2010 +0100
25523 gio.Mount.unmount_with_operation() fix a copy/paste leftover
25525 gio/gmount.override | 4 ++--
25526 1 file changed, 2 insertions(+), 2 deletions(-)
25528 commit 6f459786dd641cd49d81eba403d940620f961cab
25529 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25530 Date: Fri Jan 1 20:21:05 2010 +0100
25532 Wrap gio.Mount.eject_with_operation()
25534 gio/gmount.override | 54
25535 +++++++++++++++++++++++++++++++++++++++++++++++++++++
25536 1 file changed, 54 insertions(+)
25538 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
25539 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25540 Date: Fri Jan 1 20:15:38 2010 +0100
25542 Wrap gio.Mount.unmount_mountable_with_operation()
25544 gio/gmount.override | 54
25545 +++++++++++++++++++++++++++++++++++++++++++++++++++++
25546 1 file changed, 54 insertions(+)
25548 commit e919d47c2430451b436cec955e9b99237f97028c
25549 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25550 Date: Fri Jan 1 18:22:46 2010 +0100
25552 Wrap File.unmount_mountable_with_operation()
25554 gio/gfile.override | 54
25555 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
25556 1 file changed, 54 insertions(+)
25558 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
25559 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25560 Date: Fri Jan 1 18:14:11 2010 +0100
25562 Wrap gio.File.stop_mountable()
25564 gio/gfile.override | 52
25565 ++++++++++++++++++++++++++++++++++++++++++++++++++++
25566 1 file changed, 52 insertions(+)
25568 commit 6af506647f36f2b825bc6556df5ee57fa7721906
25569 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25570 Date: Fri Jan 1 18:10:49 2010 +0100
25572 Wrap gio.File.start_mountable()
25574 gio/gfile.override | 52
25575 ++++++++++++++++++++++++++++++++++++++++++++++++++++
25576 1 file changed, 52 insertions(+)
25578 commit e700efc839fc0b651fc9794a1611190bffa80263
25579 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25580 Date: Fri Jan 1 18:02:46 2010 +0100
25582 Wrap gio.File.replace_readwrite_async()
25584 gio/gfile.override | 55
25585 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
25586 1 file changed, 55 insertions(+)
25588 commit 92662f129fc728258fd5e34f53dcb081e3715017
25589 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25590 Date: Fri Jan 1 17:00:26 2010 +0100
25592 Wrap gio.File.poll_mountable()
25594 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
25595 1 file changed, 41 insertions(+)
25597 commit 99902b786500948c3278779841e4db54223b9256
25598 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25599 Date: Fri Jan 1 16:56:26 2010 +0100
25601 Wrap gio.File.open_readwrite_async()
25603 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
25604 1 file changed, 44 insertions(+)
25606 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
25607 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25608 Date: Fri Jan 1 16:50:15 2010 +0100
25610 Wrap gio.File.eject_mountable_with_operation()
25612 gio/gfile.override | 54
25613 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
25614 1 file changed, 54 insertions(+)
25616 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
25617 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25618 Date: Fri Jan 1 13:30:24 2010 +0100
25620 Wrap gio.File.create_readwrite_async() and add a test
25622 gio/gfile.override | 51
25623 +++++++++++++++++++++++++++++++++++++++++++++++++++
25624 tests/test_gio.py | 24 ++++++++++++++++++++++++
25625 2 files changed, 75 insertions(+)
25627 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
25628 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25629 Date: Fri Jan 1 13:20:11 2010 +0100
25631 Wrap gio.Drive.stop()
25633 gio/gdrive.override | 52
25634 ++++++++++++++++++++++++++++++++++++++++++++++++++++
25635 1 file changed, 52 insertions(+)
25637 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
25638 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25639 Date: Fri Jan 1 13:00:42 2010 +0100
25641 Wrap gio.Drive.start()
25643 gio/gdrive.override | 52
25644 ++++++++++++++++++++++++++++++++++++++++++++++++++++
25645 1 file changed, 52 insertions(+)
25647 commit dff374287bbecc8af782bbc726fad86c6c867754
25648 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25649 Date: Fri Jan 1 12:45:29 2010 +0100
25651 Add more remainders on missing methods of gio.Socket and related types
25653 gio/gsocket.override | 3 +++
25654 1 file changed, 3 insertions(+)
25656 commit b8c7e996498bd72df551011af85ff05ef7335b4f
25657 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25658 Date: Fri Jan 1 12:41:08 2010 +0100
25660 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
25662 gio/gsocket.override | 86
25663 +++++++++++++++++++++++++++++++++++++++++++++++++--
25664 tests/test_gsocket.py | 24 ++++++++++++++
25665 2 files changed, 108 insertions(+), 2 deletions(-)
25667 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
25668 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25669 Date: Fri Jan 1 12:28:53 2010 +0100
25671 Wrap gio.SocketListener.accept_finish() and add a test
25673 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
25674 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
25675 2 files changed, 66 insertions(+), 2 deletions(-)
25677 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
25678 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25679 Date: Fri Jan 1 11:19:34 2010 +0100
25681 Wrap gio.SocketListener.accept_async()
25683 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
25684 1 file changed, 42 insertions(+)
25686 commit c9496b29ef9ef232020a4044577d2947353953a5
25687 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25688 Date: Fri Jan 1 11:14:35 2010 +0100
25690 Wrap gio.SocketListener.accept_socket() and add a test
25692 gio/gsocket.override | 48
25693 +++++++++++++++++++++++++++++++++++++++++++++++-
25694 tests/test_gsocket.py | 13 +++++++++++++
25695 2 files changed, 60 insertions(+), 1 deletion(-)
25697 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
25698 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25699 Date: Thu Dec 31 16:35:18 2009 +0100
25701 Wrap gio.SocketListener.accept() and add a test
25703 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
25704 tests/test_gsocket.py | 13 +++++++++++++
25705 2 files changed, 58 insertions(+), 1 deletion(-)
25707 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
25708 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25709 Date: Thu Dec 31 16:25:33 2009 +0100
25711 Make cancellable optional in gio.SocketClient.connect_to_host()
25713 gio/gio.defs | 2 +-
25714 1 file changed, 1 insertion(+), 1 deletion(-)
25716 commit 3829d7667b19126fb74562b28d271e616b154c99
25717 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25718 Date: Thu Dec 31 15:25:10 2009 +0100
25720 Wrap gio.SocketListener.add_address() and add a test
25722 gio/gsocket.override | 57
25723 ++++++++++++++++++++++++++++++++++++++++++++++++++-
25724 tests/test_gsocket.py | 9 ++++++++
25725 2 files changed, 65 insertions(+), 1 deletion(-)
25727 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
25728 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25729 Date: Thu Dec 31 10:19:47 2009 +0100
25731 Add more remainders on missing methods of gio.Socket and related types
25733 gio/gsocket.override | 8 ++++++++
25734 1 file changed, 8 insertions(+)
25736 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
25737 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25738 Date: Thu Dec 31 10:16:18 2009 +0100
25740 Wrap gio.SocketClient.connect_to_service_async()
25742 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
25743 1 file changed, 47 insertions(+)
25745 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
25746 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25747 Date: Thu Dec 31 10:10:43 2009 +0100
25749 Wrap gio.SocketClient.connect_to_host_async()
25751 gio/gsocket.override | 48
25752 ++++++++++++++++++++++++++++++++++++++++++++++++
25753 1 file changed, 48 insertions(+)
25755 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
25756 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25757 Date: Thu Dec 31 09:59:46 2009 +0100
25759 Wrap gio.SocketClient.connect_async()
25761 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
25762 1 file changed, 45 insertions(+)
25764 commit dff024256295c15e49888ad9d5fef74a7746edd7
25765 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25766 Date: Wed Dec 30 23:44:25 2009 +0100
25768 Wrap gio.SocketAddressEnumerator.next_async() and add a test
25770 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
25771 tests/test_gsocket.py | 16 ++++++++++++++++
25772 2 files changed, 58 insertions(+)
25774 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
25775 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25776 Date: Wed Dec 30 23:43:14 2009 +0100
25778 Add a missing object gio.InetSocketAddress new in GIO 2.22
25780 gio/gio-types.defs | 7 +++++++
25781 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
25782 2 files changed, 38 insertions(+)
25784 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
25785 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25786 Date: Wed Dec 30 22:54:47 2009 +0100
25788 Make cancellable optional for gio.SocketAddressEnumerator.next()
25790 gio/gio.defs | 2 +-
25791 1 file changed, 1 insertion(+), 1 deletion(-)
25793 commit b19f59790b9de943d69b6c5e483928e0443c3d20
25794 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25795 Date: Wed Dec 30 22:17:44 2009 +0100
25797 Add a remainder of the Socket methods that needs manual wrapping still
25799 gio/gsocket.override | 5 +++++
25800 1 file changed, 5 insertions(+)
25802 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
25803 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25804 Date: Wed Dec 30 17:20:35 2009 +0100
25806 Wrap gio.Socket.condition_wait() and add a test
25808 gio/gsocket.override | 27 +++++++++++++++++++++++++++
25809 tests/test_gsocket.py | 6 +++++-
25810 2 files changed, 32 insertions(+), 1 deletion(-)
25812 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
25813 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25814 Date: Wed Dec 30 16:21:49 2009 +0100
25816 Wrap gio.Socket.condition_check() and add a test
25818 gio/Makefile.am | 1 +
25819 gio/gio.override | 1 +
25820 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
25821 tests/test_gsocket.py | 21 +++++++++++++++++++++
25822 4 files changed, 64 insertions(+)
25824 commit de7a359e81792ae8573ac944455ea289985449ed
25825 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25826 Date: Wed Dec 30 14:07:52 2009 +0100
25828 Wrap gio.Resolver.lookup_service_finish() and add a test
25830 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
25831 tests/test_gresolver.py | 13 +++++++++++++
25832 2 files changed, 50 insertions(+)
25834 commit 308421789ce849040d645077c41c80b6e2e65e83
25835 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25836 Date: Wed Dec 30 14:00:22 2009 +0100
25838 Wrap gio.Resolver.lookup_service_async()
25840 gio/gresolver.override | 48
25841 ++++++++++++++++++++++++++++++++++++++++++++++++
25842 1 file changed, 48 insertions(+)
25844 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
25845 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25846 Date: Wed Dec 30 11:11:32 2009 +0100
25848 Wrap gio.Resolver.lookup_service() and add a test
25850 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
25851 tests/test_gresolver.py | 5 +++++
25852 2 files changed, 47 insertions(+)
25854 commit 7fc71f490494dae73a5264869a97a9d30814930e
25855 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25856 Date: Tue Dec 29 22:12:50 2009 +0100
25858 Wrap gio.Resolver.lookup_by_address_async() and add a test
25860 gio/gresolver.override | 46
25861 ++++++++++++++++++++++++++++++++++++++++++++++
25862 tests/test_gresolver.py | 14 ++++++++++++++
25863 2 files changed, 60 insertions(+)
25865 commit c91656dbe56f07d3ebbad5113467c22427cf212a
25866 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25867 Date: Tue Dec 29 21:41:30 2009 +0100
25869 Wrap gio.Resolver.lookup_by_name_finish() and add a test
25871 gio/gresolver.override | 82
25872 +++++++++++++++++++++++++++++++++++++++++++++++++
25873 tests/test_gresolver.py | 16 ++++++++--
25874 2 files changed, 96 insertions(+), 2 deletions(-)
25876 commit 45b477342fa1c2435917c6d97745ad57665c4734
25877 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25878 Date: Tue Dec 29 17:15:44 2009 +0100
25880 Wrap gio.Drive.eject_with_data()
25882 gio/gdrive.override | 54
25883 +++++++++++++++++++++++++++++++++++++++++++++++++++++
25884 1 file changed, 54 insertions(+)
25886 commit 635227480f9659a1f91ab1ec12536d3ed012a976
25887 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25888 Date: Tue Dec 29 17:06:52 2009 +0100
25890 Deprecate old gio.Drive methods
25892 gio/gdrive.override | 7 ++++++-
25894 2 files changed, 7 insertions(+), 1 deletion(-)
25896 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
25897 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25898 Date: Tue Dec 29 13:51:54 2009 +0100
25900 Small fix in the header
25902 gio/gdrive.override | 2 +-
25903 1 file changed, 1 insertion(+), 1 deletion(-)
25905 commit 7589128515b79d836365247dc876538c6352da23
25906 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25907 Date: Tue Dec 29 12:40:50 2009 +0100
25909 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
25911 gio/Makefile.am | 1 +
25912 gio/gio.override | 1 +
25913 gio/gresolver.override | 57
25914 +++++++++++++++++++++++++++++++++++++++++++++++++
25915 tests/test_gresolver.py | 21 ++++++++++++++++++
25916 4 files changed, 80 insertions(+)
25918 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
25919 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25920 Date: Tue Dec 29 12:39:13 2009 +0100
25922 Make cancellable an optional parameter in
25923 gio.Resolver.lookup_by_address()
25925 gio/gio.defs | 2 +-
25926 1 file changed, 1 insertion(+), 1 deletion(-)
25928 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
25929 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25930 Date: Tue Dec 29 10:15:14 2009 +0100
25932 Strip g_ prefix for many other functions
25935 ++++++++++++++++++++++++++++++------------------------------
25936 1 file changed, 47 insertions(+), 47 deletions(-)
25938 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
25939 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25940 Date: Tue Dec 29 10:12:53 2009 +0100
25942 Strip g_prefix from InetAddress functions
25944 gio/gio.defs | 8 ++++----
25945 1 file changed, 4 insertions(+), 4 deletions(-)
25947 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
25948 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25949 Date: Tue Dec 29 10:03:59 2009 +0100
25951 Fix function name gio.resolver_get_default()
25953 Strip the g_ prefix from function name
25955 gio/gio.defs | 2 +-
25956 1 file changed, 1 insertion(+), 1 deletion(-)
25958 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
25959 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25960 Date: Tue Dec 29 09:54:05 2009 +0100
25962 Wrap gio.FileIOStream.query_info_async() and add a test
25964 gio/Makefile.am | 1 +
25965 gio/gfileiostream.override | 68
25966 ++++++++++++++++++++++++++++++++++++++++++++++
25967 gio/gio.override | 1 +
25968 tests/test_gio.py | 18 ++++++++++++
25969 4 files changed, 88 insertions(+)
25971 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
25972 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
25973 Date: Tue Dec 29 13:08:29 2009 +0100
25975 Register enums and flags in PyGI if needed
25977 https://bugzilla.gnome.org/show_bug.cgi?id=603534
25979 gobject/pygenum.c | 20 ++++++++++++++------
25980 gobject/pygflags.c | 19 +++++++++++++------
25981 2 files changed, 27 insertions(+), 12 deletions(-)
25983 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
25984 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25985 Date: Mon Dec 28 22:41:54 2009 +0100
25987 Wrap GIOStream.close_async() and add a test
25989 gio/Makefile.am | 1 +
25990 gio/gio.override | 1 +
25991 gio/giostream.override | 68
25992 ++++++++++++++++++++++++++++++++++++++++++++++++++
25993 tests/test_gio.py | 21 ++++++++++++++++
25994 4 files changed, 91 insertions(+)
25996 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
25997 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
25998 Date: Mon Dec 28 22:39:09 2009 +0100
26000 Make cancellable an optional parameter in GFile.create_readwrite()
26002 gio/gio.defs | 2 +-
26003 1 file changed, 1 insertion(+), 1 deletion(-)
26005 commit 1cabd733cde269ce3164834933f4a226673ecb0b
26006 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26007 Date: Mon Dec 28 21:39:50 2009 +0100
26009 Remove a duplicate entry in gio.defs
26011 gio/gio.defs | 9 ---------
26012 1 file changed, 9 deletions(-)
26014 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
26015 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26016 Date: Mon Dec 28 21:37:49 2009 +0100
26018 Wrap gio.FileInfo.set_modification_time and add a test
26020 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
26021 tests/test_gio.py | 7 ++++++-
26022 2 files changed, 38 insertions(+), 2 deletions(-)
26024 commit 7bc2673f92138b1804d8eba091942d14d8884f90
26025 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26026 Date: Mon Dec 28 18:28:03 2009 +0100
26028 Wrap gio.EmblemedIcon.get_emblems() and add a test
26030 gio/gicon.override | 14 ++++++++++++++
26031 tests/test_gicon.py | 7 +++++++
26032 2 files changed, 21 insertions(+)
26034 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
26035 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26036 Date: Sat Dec 26 22:27:48 2009 +0100
26038 Update Enums and Flags with new API
26040 gio/gio-types.defs | 153
26041 +++++++++++++++++++++++++++++++++++++++++++++++++++--
26042 1 file changed, 149 insertions(+), 4 deletions(-)
26044 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
26045 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26046 Date: Fri Dec 25 18:06:39 2009 +0100
26048 Post release version bump to 2.21.1
26050 configure.ac | 2 +-
26051 1 file changed, 1 insertion(+), 1 deletion(-)
26053 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
26054 Author: Bastian Winkler <buz@netbuz.org>
26055 Date: Fri Aug 14 15:10:26 2009 +0200
26057 Fix handling of uchar in pyg_value_from_pyobject
26059 Set the value by g_value_set_uchar and allow to use integer types
26062 gobject/pygtype.c | 15 +++++++++++----
26063 1 file changed, 11 insertions(+), 4 deletions(-)
26065 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
26066 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26067 Date: Tue Dec 22 18:05:47 2009 +0100
26069 Add Gtk.keysyms to overrides
26071 gi/overrides/Gtk.py | 2 +
26072 gi/overrides/Makefile.am | 1 +
26073 gi/overrides/keysyms.py | 1499
26074 ++++++++++++++++++++++++++++++++++++++++++++++
26075 3 files changed, 1502 insertions(+)
26077 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
26078 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26079 Date: Wed Nov 25 10:33:56 2009 +0100
26081 The array field 'length' starts to count from the C arg list, so
26082 need to decrement when it's a method
26084 https://bugzilla.gnome.org/show_bug.cgi?id=602640
26086 gi/pygi-argument.c | 11 +++++++++-
26087 gi/pygi-argument.h | 3 ++-
26088 gi/pygi-info.c | 14 +++++++++++--
26089 tests/libtestgi.c | 60
26090 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
26091 tests/libtestgi.h | 4 ++++
26092 tests/test_gi.py | 15 ++++++++++++++
26093 6 files changed, 103 insertions(+), 4 deletions(-)
26095 commit 867536c6734e606d045760837ed22583da06566e
26096 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26097 Date: Fri Dec 18 10:50:09 2009 +0100
26099 Update NEWS and README, release pygobject 2.21.0
26101 NEWS | 18 ++++++++++++++++++
26103 2 files changed, 21 insertions(+), 3 deletions(-)
26105 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
26106 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26107 Date: Fri Dec 18 10:31:48 2009 +0100
26109 Add pygi-external.h into Makefile SOURCES
26111 gobject/Makefile.am | 3 ++-
26112 1 file changed, 2 insertions(+), 1 deletion(-)
26114 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
26115 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26116 Date: Fri Dec 18 01:20:34 2009 +0100
26118 Bug 598435 - No wrapping for g_find_program_in_path ()
26120 glib/glibmodule.c | 20 ++++++++++++++++++++
26121 1 file changed, 20 insertions(+)
26123 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
26124 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26125 Date: Thu Dec 17 21:54:36 2009 +0100
26127 Wrap new API added in GIO-UNIX 2.22
26129 gio/unix-types.defs | 22 ++++++++++
26130 gio/unix.defs | 115
26131 +++++++++++++++++++++++++++++++++++++++++++++++++++-
26132 gio/unix.override | 8 ++++
26133 3 files changed, 144 insertions(+), 1 deletion(-)
26135 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
26136 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26137 Date: Thu Dec 17 21:52:11 2009 +0100
26139 Bump required glib version to 2.22.4
26141 I've committed a patch to glib which will be released in the stable
26143 Without the patch the unix module will fail, so I'm forced to bump.
26145 configure.ac | 6 +++---
26146 1 file changed, 3 insertions(+), 3 deletions(-)
26148 commit b630c8d4b1e55938dac89729768c4a877b305215
26149 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26150 Date: Thu Dec 17 02:24:45 2009 +0100
26152 Properly define Connectable as interface type and not object type
26154 gio/gio-types.defs | 12 ++++++------
26155 1 file changed, 6 insertions(+), 6 deletions(-)
26157 commit e955b931b07113c7432f7a85f882f69f12d263ad
26158 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
26159 Date: Mon Nov 30 22:01:25 2009 +0100
26161 Depend on GLib 2.20 rather than 2.22
26163 Backport g_array_get_element_size.
26165 https://bugzilla.gnome.org/show_bug.cgi?id=603411
26167 configure.ac | 2 +-
26168 gi/pygi-private.h | 19 +++++++++++++++++++
26169 2 files changed, 20 insertions(+), 1 deletion(-)
26171 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
26172 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26173 Date: Sat Nov 28 18:48:19 2009 +0000
26175 Use the limit constants from glib and interpret G_MAXUINT32 as
26176 PyLong_FromLongLong
26178 https://bugzilla.gnome.org/show_bug.cgi?id=602384
26180 gi/pygi-argument.c | 14 +++++++-------
26181 tests/test_gi.py | 18 +++++++++---------
26182 2 files changed, 16 insertions(+), 16 deletions(-)
26184 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
26185 Author: Simon van der Linden <svdlinden@src.gnome.org>
26186 Date: Mon Nov 30 00:10:56 2009 +0100
26188 Suppress warnings about format conversion
26190 https://bugzilla.gnome.org/show_bug.cgi?id=603355
26192 gobject/generate-constants.c | 32 ++++++++++++++++----------------
26193 1 file changed, 16 insertions(+), 16 deletions(-)
26195 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
26196 Author: Simon van der Linden <svdlinden@src.gnome.org>
26197 Date: Sat Nov 28 00:22:21 2009 +0100
26199 Remove global checks for pointers and move them in type cases that
26202 gi/pygi-argument.c | 516
26203 +++++++++++++++++++++++++++++++++++++++++++----------
26204 gi/pygi-info.c | 333 +++++++++++++++++-----------------
26205 2 files changed, 596 insertions(+), 253 deletions(-)
26207 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
26208 Author: Johan Dahlin <johan@gnome.org>
26209 Date: Mon Nov 23 15:58:17 2009 -0200
26211 Pythonify. Avoid ; and () around if statements
26213 https://bugzilla.gnome.org/show_bug.cgi?id=602830
26215 gi/types.py | 8 ++++----
26216 1 file changed, 4 insertions(+), 4 deletions(-)
26218 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
26219 Author: Johan Dahlin <johan@gnome.org>
26220 Date: Tue Nov 24 10:36:18 2009 -0200
26222 Remove trailing whitespace
26224 https://bugzilla.gnome.org/show_bug.cgi?id=602830
26226 gi/module.py | 4 ++--
26227 1 file changed, 2 insertions(+), 2 deletions(-)
26229 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
26230 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26231 Date: Mon Nov 30 10:03:34 2009 +0000
26233 Set a default constructor for boxed structs that don't have one
26235 https://bugzilla.gnome.org/show_bug.cgi?id=602735
26237 gi/Makefile.am | 2 +
26238 gi/gimodule.c | 1 +
26239 gi/module.py | 2 +-
26240 gi/pygi-argument.c | 14 +++-
26241 gi/pygi-boxed.c | 184
26242 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26243 gi/pygi-boxed.h | 40 ++++++++++++
26244 gi/pygi-info.c | 2 +-
26245 gi/pygi-private.h | 1 +
26247 gi/types.py | 18 ------
26248 tests/libtestgi.c | 72 ++++++++++-----------
26249 tests/libtestgi.h | 18 +++---
26250 tests/test_gi.py | 47 ++++++++------
26251 13 files changed, 321 insertions(+), 86 deletions(-)
26253 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
26254 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26255 Date: Mon Nov 30 10:53:57 2009 +0000
26257 Revert "Use the limit constants from glib and interpret G_MAXUINT32
26258 as PyLong_FromLongLong"
26260 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
26262 gi/pygi-argument.c | 14 +++++++-------
26263 tests/test_gi.py | 18 +++++++++---------
26264 2 files changed, 16 insertions(+), 16 deletions(-)
26266 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
26267 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26268 Date: Sat Nov 28 18:48:19 2009 +0000
26270 Use the limit constants from glib and interpret G_MAXUINT32 as
26271 PyLong_FromLongLong
26273 https://bugzilla.gnome.org/show_bug.cgi?id=602384
26275 gi/pygi-argument.c | 14 +++++++-------
26276 tests/test_gi.py | 18 +++++++++---------
26277 2 files changed, 16 insertions(+), 16 deletions(-)
26279 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
26280 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26281 Date: Sat Nov 28 18:45:54 2009 +0000
26283 Add the missing limit constants from glibconfig.h
26285 https://bugzilla.gnome.org/show_bug.cgi?id=603244
26287 gobject/generate-constants.c | 17 ++++++++++++++++-
26288 1 file changed, 16 insertions(+), 1 deletion(-)
26290 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
26291 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26292 Date: Sat Nov 28 18:48:49 2009 +0100
26294 Fix bad name when rebuilding the unix source module
26296 gio/Makefile.am | 2 +-
26297 1 file changed, 1 insertion(+), 1 deletion(-)
26299 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
26300 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26301 Date: Sat Nov 28 18:47:26 2009 +0100
26303 Wrap new API added in GIO 2.22
26305 gio/gio-types.defs | 138 +++
26306 gio/gio.defs | 2444
26307 +++++++++++++++++++++++++++++++++++++++++++++++-----
26308 2 files changed, 2360 insertions(+), 222 deletions(-)
26310 commit 96f6c638709636d7e2ddf560b877879691da3314
26311 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26312 Date: Sat Nov 28 11:03:51 2009 +0000
26314 A few tests about interfaces
26316 https://bugzilla.gnome.org/show_bug.cgi?id=601181
26318 tests/libtestgi.c | 23 +++++++++++++++++++++++
26319 tests/libtestgi.h | 16 ++++++++++++++++
26320 tests/test_gi.py | 21 +++++++++++++++++++++
26321 3 files changed, 60 insertions(+)
26323 commit 076ba3156c13375a75983cef7a409c8c8afea119
26324 Author: Simon van der Linden <svdlinden@src.gnome.org>
26325 Date: Thu Nov 26 23:50:54 2009 +0100
26327 Fix members initialization in metaclasses
26329 In metaclasses, the test for the name of the class was wrong, since it
26330 prevented one to create a subclass with the same name (especially
26332 overrides). Now, if a GType is available from the info, the fact
26334 doesn't have any wrapper yet means that the metaclass is creating
26336 class, which will be registerd just after its creation. This is
26338 objects, and for structures registered as boxed or pointer too.
26340 This patch includes a test for basic subclassing in Python. It
26342 that methods don't get overridden by the metaclass.
26344 gi/types.py | 5 +++--
26345 tests/test_gi.py | 19 +++++++++++++++++++
26346 2 files changed, 22 insertions(+), 2 deletions(-)
26348 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
26349 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26350 Date: Fri Nov 27 12:06:59 2009 +0000
26352 Structs in arrays are not marshalled correctly
26354 https://bugzilla.gnome.org/show_bug.cgi?id=602709
26356 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
26357 tests/libtestgi.c | 23 ++++++++++++++++++++++-
26358 tests/libtestgi.h | 7 +++++--
26359 tests/test_gi.py | 8 ++++++++
26360 4 files changed, 59 insertions(+), 8 deletions(-)
26362 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
26363 Author: Simon van der Linden <svdlinden@src.gnome.org>
26364 Date: Wed Nov 25 16:53:55 2009 +0100
26366 Use the right variable when looking up in sys.modules
26368 gi/importer.py | 2 +-
26369 1 file changed, 1 insertion(+), 1 deletion(-)
26371 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
26372 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26373 Date: Tue Nov 24 15:52:47 2009 +0100
26375 Accept 0 as a valid value for flag and enum arguments
26377 https://bugzilla.gnome.org/show_bug.cgi?id=602638
26379 gi/pygi-argument.c | 19 ++++++++++++++++++-
26380 tests/libtestgi.c | 6 ++++++
26381 tests/libtestgi.h | 1 +
26382 tests/test_gi.py | 1 +
26383 4 files changed, 26 insertions(+), 1 deletion(-)
26385 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
26386 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26387 Date: Tue Nov 24 13:10:11 2009 +0100
26389 Add stuff to .gitignore
26391 .gitignore | 7 +++++++
26392 1 file changed, 7 insertions(+)
26394 commit 5c010fe673d9bd01c27c8d7d312064665275888c
26395 Author: Simon van der Linden <svdlinden@src.gnome.org>
26396 Date: Mon Nov 23 22:39:12 2009 +0100
26398 Remove the girepository module
26401 configure.ac | 17 -
26402 girepository/Makefile.am | 54 --
26403 girepository/__init__.py | 24 -
26404 girepository/bank-argument.c | 379 ------------
26405 girepository/bank-info.c | 1194
26406 ------------------------------------
26407 girepository/bank-repository.c | 236 -------
26408 girepository/bank.c | 155 -----
26409 girepository/bank.h | 80 ---
26410 girepository/btypes.py | 300 ---------
26411 girepository/importer.py | 51 --
26412 girepository/module.py | 224 -------
26413 girepository/overrides/Gdk.py | 14 -
26414 girepository/overrides/Gtk.py | 8 -
26415 girepository/overrides/__init__.py | 0
26416 girepository/repository.py | 51 --
26417 tests/test_girepository.py | 386 ------------
26418 17 files changed, 1 insertion(+), 3174 deletions(-)
26420 commit a644edf0515c26ed027522891ccf02aceac764e8
26421 Author: Johan Dahlin <johan@gnome.org>
26422 Date: Mon Nov 23 15:32:16 2009 -0200
26424 Create overridden modules in two passes
26426 This patch splits overridden module creation into two passes. The
26428 creates the auto-generated module normally before the overridden
26430 attempted to be imported. The second pass imports the overridden
26432 replaces the auto-generated module with the overridden. This is
26434 for the overridden modules to be able to access the auto-generated
26437 gi/importer.py | 34 +++++++++++++++++++++-------------
26438 1 file changed, 21 insertions(+), 13 deletions(-)
26440 commit fad89e12a744b57e6348968f351d25d167de8248
26441 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26442 Date: Sun Nov 22 17:56:20 2009 +0100
26444 Add support for Any arguments
26446 https://bugzilla.gnome.org/show_bug.cgi?id=601253
26448 gi/pygi-argument.c | 20 ++++++++++++--------
26449 tests/libtestgi.c | 5 +++++
26450 tests/libtestgi.h | 5 +++++
26451 tests/test_gi.py | 5 +++++
26452 4 files changed, 27 insertions(+), 8 deletions(-)
26454 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
26455 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26456 Date: Sun Nov 22 17:25:04 2009 +0100
26458 Register interfaces
26460 https://bugzilla.gnome.org/show_bug.cgi?id=601181
26462 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
26463 gi/types.py | 5 ++++-
26464 2 files changed, 37 insertions(+), 1 deletion(-)
26466 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
26467 Author: Paul Pogonyshev <pogonyshev@gmx.net>
26468 Date: Sun Nov 22 18:23:02 2009 +0200
26470 Ignore one more file.
26473 1 file changed, 1 insertion(+)
26475 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
26476 Author: Paul Pogonyshev <pogonyshev@gmx.net>
26477 Date: Sun Nov 22 18:22:23 2009 +0200
26479 Fix wrong minimum checking in float properties
26481 Bug #587637. Test the fix.
26483 gobject/propertyhelper.py | 5 +++--
26484 tests/test_properties.py | 6 ++++++
26485 2 files changed, 9 insertions(+), 2 deletions(-)
26487 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
26488 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26489 Date: Mon Oct 26 18:06:06 2009 +0000
26491 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
26493 gi/pygi-argument.c | 3 +++
26494 1 file changed, 3 insertions(+)
26496 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
26497 Author: Simon van der Linden <svdlinden@src.gnome.org>
26498 Date: Sat Nov 14 21:42:43 2009 +0100
26500 Import pygtk properly to avoid failure on some setups
26502 tests/test_gi.py | 3 +++
26503 1 file changed, 3 insertions(+)
26505 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
26506 Author: Alex Dedul <rotmer@gmail.com>
26507 Date: Sat Nov 14 21:39:15 2009 +0100
26509 Search for python-config-${VERSION} when python${VERSION}-config is
26512 On Gentoo, notably, the config tool is named python-config-${VERSION},
26514 Fedora and Ubuntu, it is named python${VERSION}-config.
26516 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
26518 configure.ac | 7 +++++--
26519 1 file changed, 5 insertions(+), 2 deletions(-)
26521 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
26522 Author: Simon van der Linden <svdlinden@src.gnome.org>
26523 Date: Sat Nov 14 21:36:19 2009 +0100
26525 Fix silent rules setup
26527 configure.ac | 2 +-
26528 1 file changed, 1 insertion(+), 1 deletion(-)
26530 commit 602afea88c338a38327cd84e08703c5daa384ec6
26531 Author: Paul Pogonyshev <pogonyshev@gmx.net>
26532 Date: Tue Nov 10 22:32:33 2009 +0200
26534 Move threads_init() function from 'gobject' to 'glib'
26536 Retain in original place for backward compatibility, but remove it
26539 docs/reference/pygobject-functions.xml | 36
26540 +++++++---------------------------
26541 glib/glibmodule.c | 16 +++++++++++++++
26542 2 files changed, 23 insertions(+), 29 deletions(-)
26544 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
26545 Author: Simon van der Linden <svdlinden@src.gnome.org>
26546 Date: Mon Nov 9 22:44:12 2009 +0100
26548 Remove PyGObject patches since they've been merged to master
26550 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
26551 patches/0002-Fix-girpository-build-setup.patch | 186
26552 -------------------
26553 ...capabilities-to-import-wrappers-from-pygi.patch | 200
26554 ---------------------
26555 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
26556 4 files changed, 493 deletions(-)
26558 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
26559 Author: Simon van der Linden <svdlinden@src.gnome.org>
26560 Date: Sat Nov 7 23:42:07 2009 +0100
26562 Create instances by calling tp_alloc rather than PyObject_NEW
26564 PyObject_NEW calls a generic allocator and should only be called by
26566 that the type's free function agrees. In pyg_boxed_new, we may
26568 PyGBoxed subtypes, so the subtype's allocation function must be
26571 gobject/pygboxed.c | 3 ++-
26572 1 file changed, 2 insertions(+), 1 deletion(-)
26574 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
26575 Author: Simon van der Linden <svdlinden@src.gnome.org>
26576 Date: Sat Nov 7 16:43:35 2009 +0100
26578 Add capabilities to import wrappers from pygi
26580 At instance creation for boxed and pointers, at lookup for objects,
26581 when the gtype has no wrapper yet, a wrapper may be imported from
26584 The feature is turned on at configure time by --enable-pygi.
26586 Because we couldn't create a circular build dependency, PyGI's import
26588 API definition had to be copied in this tree.
26590 configure.ac | 8 ++++++
26591 gobject/pygboxed.c | 10 ++++++++
26592 gobject/pygi-external.h | 66
26593 +++++++++++++++++++++++++++++++++++++++++++++++++
26594 gobject/pygobject.c | 10 ++++++++
26595 gobject/pygpointer.c | 11 +++++++++
26596 5 files changed, 105 insertions(+)
26598 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
26599 Author: Simon van der Linden <svdlinden@src.gnome.org>
26600 Date: Sun Nov 8 20:03:58 2009 +0100
26602 Update PyGObject patches
26604 A file, pygi-external.h, was missing in patch #3.
26606 ...capabilities-to-import-wrappers-from-pygi.patch | 74
26607 ++++++++++++++++++++--
26608 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
26609 2 files changed, 69 insertions(+), 7 deletions(-)
26611 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
26612 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
26613 Date: Sun Nov 8 16:52:18 2009 +0100
26615 Add myself to pygi.doap
26617 pygi.doap | 5 +++++
26618 1 file changed, 5 insertions(+)
26620 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
26621 Author: Simon van der Linden <svdlinden@src.gnome.org>
26622 Date: Sun Nov 8 15:40:51 2009 +0100
26626 pygi.doap | 17 +++++++++++++++++
26627 1 file changed, 17 insertions(+)
26629 commit ce673b9027868e6add4eeb438bc707eb40bfd046
26630 Author: Simon van der Linden <svdlinden@src.gnome.org>
26631 Date: Sun Nov 8 13:06:54 2009 +0100
26633 Add PyGObject patches
26635 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
26636 patches/0002-Fix-girpository-build-setup.patch | 186
26637 +++++++++++++++++++++
26638 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
26639 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
26640 4 files changed, 431 insertions(+)
26642 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
26643 Author: Simon van der Linden <svdlinden@src.gnome.org>
26644 Date: Sun Nov 8 12:35:08 2009 +0100
26650 autogen.sh | 159 +++
26651 configure.ac | 53 +
26652 gi/Makefile.am | 50 +
26653 gi/__init__.py | 24 +
26654 gi/gimodule.c | 144 ++
26655 gi/importer.py | 89 ++
26656 gi/module.py | 167 +++
26657 gi/overrides/Gdk.py | 21 +
26658 gi/overrides/Gtk.py | 13 +
26659 gi/overrides/Makefile.am | 10 +
26660 gi/overrides/__init__.py | 0
26661 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
26662 gi/pygi-argument.h | 65 +
26663 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
26664 gi/pygi-info.h | 64 +
26665 gi/pygi-private.h | 55 +
26666 gi/pygi-repository.c | 238 ++++
26667 gi/pygi-repository.h | 39 +
26668 gi/pygi-struct.c | 175 +++
26669 gi/pygi-struct.h | 40 +
26670 gi/pygi-type.c | 96 ++
26671 gi/pygi-type.h | 43 +
26673 gi/pygobject-external.h | 83 ++
26674 gi/repository/Makefile.am | 8 +
26675 gi/repository/__init__.py | 30 +
26676 gi/types.py | 163 +++
26677 tests/Makefile.am | 48 +
26678 tests/libtestgi.c | 3397
26679 +++++++++++++++++++++++++++++++++++++++++++++
26680 tests/libtestgi.h | 643 +++++++++
26681 tests/runtests.py | 22 +
26682 tests/test_gi.py | 1416 +++++++++++++++++++
26683 34 files changed, 11566 insertions(+)
26685 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
26686 Author: Simon van der Linden <svdlinden@src.gnome.org>
26687 Date: Sat Nov 7 13:23:53 2009 +0100
26689 Fix girpository build setup
26691 configure.ac | 21 ++++++-----
26692 girepository/Makefile.am | 13 ++++---
26693 m4/introspection.m4 | 92
26694 ++++++++++++++++++++++++++++++++++++++++++++++++
26695 3 files changed, 111 insertions(+), 15 deletions(-)
26697 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
26698 Author: Simon van der Linden <svdlinden@src.gnome.org>
26699 Date: Fri Nov 6 19:17:36 2009 +0100
26701 Make GType.pytype aware of the interface, enum, flags, pointer and
26704 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
26705 1 file changed, 33 insertions(+), 6 deletions(-)
26707 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
26708 Author: Philippe Normad <phil@base-art.net>
26709 Date: Wed Oct 21 18:01:16 2009 +0200
26711 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
26715 glib/pygmainloop.c | 95
26716 ++++++++++++++++++++++++++++--------------------------
26717 1 file changed, 50 insertions(+), 45 deletions(-)
26719 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
26720 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26721 Date: Fri Sep 25 20:12:21 2009 +0200
26723 Post release version bump to 2.21.0
26725 configure.ac | 2 +-
26726 1 file changed, 1 insertion(+), 1 deletion(-)
26728 commit 33920eb013628a5e22b7b32403fb965ae3210f47
26729 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26730 Date: Wed Sep 23 21:52:04 2009 +0200
26732 Update NEWS and release 2.20.0
26735 1 file changed, 6 insertions(+)
26737 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
26738 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26739 Date: Wed Sep 23 21:51:43 2009 +0200
26741 Bump version to 2.20.0
26743 configure.ac | 2 +-
26744 1 file changed, 1 insertion(+), 1 deletion(-)
26746 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
26747 Author: Brian Cameron <Brian.Cameron@sun.com>
26748 Date: Wed Sep 23 12:11:50 2009 -0500
26750 Updated uninstalled.pc file so that it contains the right paths for
26751 defsdir files and codegen files. See bug #596023.
26753 pygobject-2.0-uninstalled.pc.in | 4 ++--
26754 1 file changed, 2 insertions(+), 2 deletions(-)
26756 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
26757 Author: Paul Pogonyshev <pogonyshev@gmx.net>
26758 Date: Tue Sep 22 22:02:27 2009 +0300
26760 Plug reference leak of GSource in pyg_main_loop_init()
26762 Bug #579406, second change.
26764 glib/pygmainloop.c | 1 +
26765 1 file changed, 1 insertion(+)
26767 commit 640be8109d066e85ed77c810830a5f73c750415b
26768 Author: Frédéric Péters <fpeters@0d.be>
26769 Date: Sun Aug 30 16:46:02 2009 +0200
26771 Specify programming language in .devhelp file
26773 This add a new language attribute (hardcoded to python) in the
26775 file that is produced when using ref-html-style.xsl.
26777 docs/xsl/devhelp.xsl | 2 +-
26778 1 file changed, 1 insertion(+), 1 deletion(-)
26780 commit c888b5ca722fcad6a03de585606c677c2969ebd6
26781 Author: Paolo Borelli <pborelli@gnome.org>
26782 Date: Thu Aug 13 21:32:07 2009 +0200
26784 Allow to use automake 1.11
26786 autogen.sh | 13 +++++++------
26787 1 file changed, 7 insertions(+), 6 deletions(-)
26789 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
26790 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26791 Date: Tue Aug 11 22:19:50 2009 +0200
26795 README | 10 ++++++++--
26796 1 file changed, 8 insertions(+), 2 deletions(-)
26798 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
26799 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26800 Date: Tue Aug 11 22:16:52 2009 +0200
26804 AUTHORS | 8 +++++---
26805 1 file changed, 5 insertions(+), 3 deletions(-)
26807 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
26808 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26809 Date: Tue Aug 11 22:11:43 2009 +0200
26811 Add myself and Paul as maintainers
26813 MAINTAINERS | 8 ++++++++
26814 pygobject.doap | 14 ++++++++++++++
26815 2 files changed, 22 insertions(+)
26817 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
26818 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26819 Date: Tue Aug 11 20:52:44 2009 +0200
26821 Update NEWS release 2.19.0
26823 NEWS | 29 +++++++++++++++++++++++++++++
26824 1 file changed, 29 insertions(+)
26826 commit e82a1841f31ad54dd50569d0d45290713409e0bf
26827 Author: John Finlay <finlay@moeraki.com>
26828 Date: Tue Aug 11 00:04:31 2009 -0700
26830 Add macros to help with Python list to/from GList/GSList conversions.
26832 gobject/pygobject.h | 242
26833 +++++++++++++++++++++++++++++++++++++++++++++++++++-
26834 1 file changed, 241 insertions(+), 1 deletion(-)
26836 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
26837 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26838 Date: Sat Aug 8 21:37:54 2009 +0200
26840 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
26842 gio/gfileinfo.override | 4 ++--
26843 1 file changed, 2 insertions(+), 2 deletions(-)
26845 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
26846 Author: Johan Dahlin <johan@gnome.org>
26847 Date: Fri Jul 24 14:30:37 2009 -0300
26849 Remove myself as a maintainer
26851 MAINTAINERS | 4 ----
26852 pygobject.doap | 7 -------
26853 2 files changed, 11 deletions(-)
26855 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
26856 Author: John Finlay <finlay@moeraki.com>
26857 Date: Wed Jul 8 15:47:44 2009 -0700
26859 * codegen/defsgen.py (clean_patterns): Strip out Windows
26862 codegen/defsgen.py | 6 +++---
26863 1 file changed, 3 insertions(+), 3 deletions(-)
26865 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
26866 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26867 Date: Tue Jun 23 21:18:23 2009 +0200
26869 Fix the gio.unix namespace in docs
26871 docs/Makefile.am | 2 ++
26872 docs/reference/pygio-classes.xml | 2 --
26873 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
26874 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
26875 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
26876 docs/reference/pygobject-ref.xml | 1 +
26877 6 files changed, 42 insertions(+), 28 deletions(-)
26879 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
26880 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26881 Date: Mon Jun 22 23:13:36 2009 +0200
26883 Add docs for gio functions (mostly for content types)
26885 docs/Makefile.am | 2 +
26886 docs/reference/pygio-classes.xml | 1 +
26887 docs/reference/pygio-functions.xml | 395
26888 +++++++++++++++++++++++++++++++++++++
26889 3 files changed, 398 insertions(+)
26891 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
26892 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26893 Date: Sun Jun 21 18:35:56 2009 +0200
26895 Add docs for gio.Unix[In|Out]putStream classes
26897 docs/Makefile.am | 4 +
26898 docs/reference/pygio-classes.xml | 2 +
26899 docs/reference/pygio-unixinputstream.xml | 202
26900 ++++++++++++++++++++++++++++++
26901 docs/reference/pygio-unixoutputstream.xml | 202
26902 ++++++++++++++++++++++++++++++
26903 4 files changed, 410 insertions(+)
26905 commit 5b71e58117c85634d95d08449eb54079b246e5be
26906 Author: Paul Pogonyshev <pogonyshev@gmx.net>
26907 Date: Sun Jun 21 16:50:03 2009 +0300
26909 Document that many functions got moved gobject -> glib
26911 docs/reference/pygobject-functions.xml | 7 +++++++
26912 1 file changed, 7 insertions(+)
26914 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
26915 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26916 Date: Sat Jun 20 19:23:25 2009 +0200
26918 Add docs for class gio.DataOutputStream
26920 docs/Makefile.am | 2 +
26921 docs/reference/pygio-classes.xml | 1 +
26922 docs/reference/pygio-dataoutputstream.xml | 504
26923 ++++++++++++++++++++++++++++++
26924 3 files changed, 507 insertions(+)
26926 commit 549313fc4886fa3deb31761de6f5400708165d86
26927 Author: Murray Cumming <murrayc@murrayc.com>
26928 Date: Thu Jun 18 18:48:37 2009 +0200
26930 Allow h2def.py to work when there are tabs or multiple spaces after
26931 the struct keyword.
26933 codegen/h2def.py | 8 ++++----
26934 1 file changed, 4 insertions(+), 4 deletions(-)
26936 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
26937 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26938 Date: Mon Jun 15 23:02:34 2009 +0200
26940 Add dpcs for class gio.DataInputStream
26942 docs/Makefile.am | 2 +
26943 docs/reference/pygio-classes.xml | 1 +
26944 docs/reference/pygio-constants.xml | 66 +++
26945 docs/reference/pygio-datainputstream.xml | 799
26946 +++++++++++++++++++++++++++++++
26947 4 files changed, 868 insertions(+)
26949 commit a8b36c343c6850af929c1d5a930f923831b4e637
26950 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
26951 Date: Mon Jun 15 23:25:01 2009 +0300
26953 Fix build when builddir is not the same as srcdir
26957 girepository/Makefile.am | 2 +-
26958 1 file changed, 1 insertion(+), 1 deletion(-)
26960 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
26961 Author: Paul Pogonyshev <pogonyshev@gmx.net>
26962 Date: Mon Jun 15 23:19:47 2009 +0300
26964 Make gio.Emblem constructor new-style
26966 Add optional 'origin' parameter. Expand gio.Emblem documentation and
26967 mark gio.emblem_new_with_origin as sort-of-deprecated.
26969 docs/reference/pygio-emblem.xml | 51
26970 +++++++++++++++++++++++++++++++++++++++--
26971 gio/gio.defs | 5 ++--
26972 2 files changed, 52 insertions(+), 4 deletions(-)
26974 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
26975 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26976 Date: Sat Jun 13 14:44:47 2009 +0200
26978 Add docs for gio.BufferedOutputStream class
26980 docs/Makefile.am | 96 ++++-----
26981 docs/reference/pygio-bufferedoutputstream.xml | 275
26982 ++++++++++++++++++++++++++
26983 docs/reference/pygio-classes.xml | 1 +
26984 3 files changed, 325 insertions(+), 47 deletions(-)
26986 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
26987 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
26988 Date: Sat Jun 13 14:38:34 2009 +0200
26990 Fix gio.BufferedInputStream docs
26992 Added the constructor reference and fixed a typo in properties header
26994 docs/reference/pygio-bufferedinputstream.xml | 34
26995 ++++++++++++++++++++++++++--
26996 1 file changed, 32 insertions(+), 2 deletions(-)
26998 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
26999 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27000 Date: Sat Jun 13 01:25:06 2009 +0200
27002 Add docs for gio.BufferedInputStream
27004 docs/Makefile.am | 2 +
27005 docs/reference/pygio-bufferedinputstream.xml | 431
27006 +++++++++++++++++++++++++++
27007 docs/reference/pygio-classes.xml | 1 +
27008 3 files changed, 434 insertions(+)
27010 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
27011 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27012 Date: Sun May 31 18:25:47 2009 +0300
27014 Cleanup GIO overrides to use Python function/method names
27016 Also move several gio.Mount overrides over from 'gio.override' to
27017 existing 'gmount.override'. Part of bug #584289.
27019 gio/gfile.override | 20 ++---
27020 gio/gfileenumerator.override | 6 +-
27021 gio/ginputstream.override | 2 +-
27022 gio/gio.override | 204
27023 -------------------------------------------
27024 gio/gmount.override | 204
27025 +++++++++++++++++++++++++++++++++++++++++++
27026 5 files changed, 218 insertions(+), 218 deletions(-)
27028 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
27029 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27030 Date: Sun May 31 18:56:55 2009 +0300
27032 Make codegen report errors using Python function/method names
27034 Part of bug #584289.
27036 codegen/codegen.py | 9 +++++----
27037 codegen/definitions.py | 10 +++++++++-
27038 2 files changed, 14 insertions(+), 5 deletions(-)
27040 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
27041 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27042 Date: Fri Jun 12 00:12:17 2009 +0200
27044 Fix object type in gio.BufferedInputStream_fill_async
27046 gio/gbufferedinputstream.override | 2 +-
27047 1 file changed, 1 insertion(+), 1 deletion(-)
27049 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
27050 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27051 Date: Tue Jun 9 00:08:21 2009 +0200
27053 Wrap gio.BufferedInputStream.fill_async
27055 Wrap the method gio.BufferedInputStream.fill_async and add a test
27057 gio/Makefile.am | 1 +
27058 gio/gbufferedinputstream.override | 70
27059 +++++++++++++++++++++++++++++++++++++++
27060 gio/gio.override | 1 +
27061 tests/test_gio.py | 25 ++++++++++++++
27062 4 files changed, 97 insertions(+)
27064 commit b7c96b41b287685fe57504e0add3a6f16e649975
27065 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27066 Date: Mon Jun 8 15:42:40 2009 +0200
27068 Add gio.BufferedOutputStream which was forgotten in the types
27071 gio/gio-types.defs | 7 +++++++
27072 1 file changed, 7 insertions(+)
27074 commit 3666f75af4ef2c8e038116aee5afada59d59f689
27075 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27076 Date: Mon Jun 8 14:20:02 2009 +0200
27078 Add docs for gio.MemoryOutputStream
27080 docs/Makefile.am | 2 +
27081 docs/reference/pygio-classes.xml | 1 +
27082 docs/reference/pygio-memoryoutputstream.xml | 175
27083 ++++++++++++++++++++++++++++
27084 3 files changed, 178 insertions(+)
27086 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
27087 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27088 Date: Mon Jun 8 13:30:15 2009 +0200
27090 Split overrides for gio.MemoryOutputStream
27092 gio/Makefile.am | 1 +
27093 gio/gio.override | 1 +
27094 gio/gmemoryoutputstream.override | 45
27095 ++++++++++++++++++++++++++++++++++++++++
27096 gio/goutputstream.override | 24 ---------------------
27097 4 files changed, 47 insertions(+), 24 deletions(-)
27099 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
27100 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27101 Date: Mon Jun 8 11:45:11 2009 +0200
27103 Wrap gio.memory_input_stream_new_from_data
27105 Add the wrapper for gio.memory_input_stream_new_from_data including
27108 docs/Makefile.am | 4 +-
27109 docs/reference/pygio-classes.xml | 1 +
27110 docs/reference/pygio-memoryinputstream.xml | 151
27111 +++++++++++++++++++++++++++++
27112 gio/Makefile.am | 1 +
27113 gio/ginputstream.override | 34 -------
27114 gio/gio.override | 1 +
27115 gio/gmemoryinputstream.override | 91 +++++++++++++++++
27116 tests/test_gio.py | 4 +
27117 8 files changed, 252 insertions(+), 35 deletions(-)
27119 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
27120 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
27121 Date: Mon Jun 8 19:15:24 2009 +0200
27123 Fixes whitespaces style issues with girepository.
27125 girepository/Makefile.am | 2 +-
27126 girepository/bank-repository.c | 67
27127 +++++++++++++++++++++---------------------
27128 girepository/bank.h | 2 +-
27129 girepository/btypes.py | 6 ++--
27130 girepository/module.py | 2 +-
27131 5 files changed, 39 insertions(+), 40 deletions(-)
27133 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
27134 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
27135 Date: Fri Jun 5 19:03:59 2009 +0200
27137 Removes the header but the modeline in test_girepository.py.
27139 tests/test_girepository.py | 26 +-------------------------
27140 1 file changed, 1 insertion(+), 25 deletions(-)
27142 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
27143 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
27144 Date: Wed Jun 3 10:47:58 2009 +0200
27146 Adds overrides modules from PyBank.
27148 girepository/Makefile.am | 3 +++
27149 girepository/importer.py | 3 +--
27150 girepository/overrides/Gdk.py | 14 ++++++++++++++
27151 girepository/overrides/Gtk.py | 8 ++++++++
27152 girepository/overrides/__init__.py | 0
27153 5 files changed, 26 insertions(+), 2 deletions(-)
27155 commit c12964e6a3354d8063355225c94e6d21d621e08b
27156 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
27157 Date: Tue Jun 2 23:40:41 2009 +0200
27159 Disables the tests that fail in tests/test_girepository.py.
27161 tests/test_girepository.py | 242
27162 ++++++++++++++++++++++++++++++++++-----------
27163 1 file changed, 182 insertions(+), 60 deletions(-)
27165 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
27166 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
27167 Date: Tue Jun 2 23:03:26 2009 +0200
27169 Imports test_girepository.py from former PyBank's
27170 everything_unittest.py.
27172 tests/test_girepository.py | 288
27173 +++++++++++++++++++++++++++++++++++++++++++++
27174 1 file changed, 288 insertions(+)
27176 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
27177 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
27178 Date: Thu May 28 17:45:11 2009 +0200
27180 Introduces the girepository module from the former PyBank.
27184 configure.ac | 12 +
27185 girepository/Makefile.am | 52 ++
27186 girepository/__init__.py | 24 +
27187 girepository/bank-argument.c | 379 +++++++++++++
27188 girepository/bank-info.c | 1194
27189 ++++++++++++++++++++++++++++++++++++++++
27190 girepository/bank-repository.c | 237 ++++++++
27191 girepository/bank.c | 155 ++++++
27192 girepository/bank.h | 80 +++
27193 girepository/btypes.py | 300 ++++++++++
27194 girepository/importer.py | 52 ++
27195 girepository/module.py | 224 ++++++++
27196 girepository/repository.py | 51 ++
27197 14 files changed, 2799 insertions(+), 32 deletions(-)
27199 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
27200 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27201 Date: Tue Jun 2 18:28:22 2009 +0200
27203 Fix the docs for gio.FilterOutputStream
27205 docs/reference/pygio-filteroutputstream.xml | 6 +++---
27206 1 file changed, 3 insertions(+), 3 deletions(-)
27208 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
27209 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27210 Date: Tue Jun 2 18:27:00 2009 +0200
27212 Add gio.FilterOutputStream docs
27214 docs/Makefile.am | 2 +
27215 docs/reference/pygio-classes.xml | 1 +
27216 docs/reference/pygio-filteroutputstream.xml | 152
27217 ++++++++++++++++++++++++++++
27218 3 files changed, 155 insertions(+)
27220 commit e2c31f916967229b6547e68013628ce0082cf875
27221 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27222 Date: Tue Jun 2 13:29:59 2009 +0200
27224 Add gio.FilterInputStream docs
27226 docs/Makefile.am | 2 +
27227 docs/reference/pygio-classes.xml | 1 +
27228 docs/reference/pygio-filterinputstream.xml | 152
27229 +++++++++++++++++++++++++++++
27230 3 files changed, 155 insertions(+)
27232 commit 49a467eee445bc75554db0374006722ac075194b
27233 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27234 Date: Tue Jun 2 11:33:20 2009 +0200
27236 Add API appeared in 2.20 but not marked as such in gio docs
27238 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
27239 1 file changed, 30 insertions(+)
27241 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
27242 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27243 Date: Tue Jun 2 10:41:26 2009 +0200
27245 Wrap gio.FileOutputStream.query_info_async
27247 Add the wrapper for gio.FileOutputStream.query_info_async
27248 including docs and a test.
27250 docs/Makefile.am | 2 +
27251 docs/reference/pygio-classes.xml | 1 +
27252 docs/reference/pygio-fileoutputstream.xml | 257
27253 ++++++++++++++++++++++++++++++
27254 gio/Makefile.am | 3 +-
27255 gio/gfileoutputstream.override | 68 ++++++++
27256 gio/gio.override | 1 +
27257 tests/test_gio.py | 27 ++++
27258 7 files changed, 358 insertions(+), 1 deletion(-)
27260 commit 4673577d1f6c3d54423808dd575987092fb05ad2
27261 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27262 Date: Tue Jun 2 10:17:41 2009 +0200
27264 Fix gio.FileInputStream docs
27266 Add implemented interface section and remove a method description
27268 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
27269 1 file changed, 9 insertions(+), 16 deletions(-)
27271 commit 1e1cad02879d514745b5233658654cbe944530a5
27272 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27273 Date: Mon Jun 1 22:54:26 2009 +0200
27275 Fix the method name
27277 gio/gfileinputstream.override | 14 +++++++-------
27278 1 file changed, 7 insertions(+), 7 deletions(-)
27280 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
27281 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27282 Date: Mon Jun 1 22:40:56 2009 +0200
27284 Wrap gio.FileInputStream.query_async
27286 Add the wrapper for gio.FileInputStream.query_async including docs and
27289 docs/Makefile.am | 2 +
27290 docs/reference/pygio-classes.xml | 1 +
27291 docs/reference/pygio-fileinputstream.xml | 221
27292 +++++++++++++++++++++++++++++++
27293 gio/Makefile.am | 1 +
27294 gio/gfileinputstream.override | 68 ++++++++++
27295 gio/gio.override | 1 +
27296 tests/test_gio.py | 27 ++++
27297 7 files changed, 321 insertions(+)
27299 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
27300 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27301 Date: Sun May 31 17:43:16 2009 +0300
27303 Install executable codegen parts with executing permissions
27305 Also add shebang where it was missing. Bug #583979.
27307 codegen/Makefile.am | 23 ++++++++++++-----------
27308 codegen/code-coverage.py | 2 ++
27309 codegen/codegen.py | 2 ++
27310 codegen/createdefs.py | 0
27311 codegen/defsconvert.py | 2 ++
27312 codegen/defsgen.py | 0
27313 codegen/docgen.py | 0
27314 codegen/scmexpr.py | 0
27315 8 files changed, 18 insertions(+), 11 deletions(-)
27317 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
27318 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27319 Date: Sat May 30 16:57:49 2009 +0300
27321 Wrap gio.DataInputStream.read_line_async and read_until_async
27323 Wrap the functions and their corresponding *_finish() functions.
27324 Create 'gdatainputstream.override' for these and move two existing
27325 functions there. Add unit tests. Re-enable synchronous read_line
27326 unit test and adjust it for new official GIO behavior. Bug #584285.
27328 gio/Makefile.am | 1 +
27329 gio/gdatainputstream.override | 250
27330 ++++++++++++++++++++++++++++++++++++++++++
27331 gio/ginputstream.override | 65 -----------
27332 gio/gio.defs | 4 +-
27333 gio/gio.override | 1 +
27334 tests/test_gio.py | 51 ++++++++-
27335 6 files changed, 300 insertions(+), 72 deletions(-)
27337 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
27338 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27339 Date: Sat May 30 17:24:15 2009 +0300
27341 Fix gio.OutputStream.splice_async
27345 gio/goutputstream.override | 8 ++++----
27346 1 file changed, 4 insertions(+), 4 deletions(-)
27348 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
27349 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27350 Date: Wed May 27 21:19:27 2009 +0300
27352 Code maintenance: ignore one more file created by unit tests
27354 tests/.gitignore | 1 +
27355 1 file changed, 1 insertion(+)
27357 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
27358 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27359 Date: Mon May 25 20:20:38 2009 +0200
27361 Update the docs with new 2.20 API
27363 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
27364 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
27365 docs/reference/pygio-mount.xml | 156
27366 +++++++++++++++++++++++++++++++++++++++
27367 3 files changed, 367 insertions(+), 3 deletions(-)
27369 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
27370 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27371 Date: Mon May 25 01:33:08 2009 +0200
27375 add the new API added in gio 2.20, some needs to be wrapped manually
27378 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27379 gio/unix.defs | 48 +++++++++++++++++++++-----
27380 2 files changed, 146 insertions(+), 8 deletions(-)
27382 commit 0d08df42514fba6abc896814abfee0d2d083c29e
27383 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27384 Date: Mon May 25 00:14:21 2009 +0200
27386 Post release version bump 2.19.0
27388 configure.ac | 2 +-
27389 1 file changed, 1 insertion(+), 1 deletion(-)
27391 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
27392 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27393 Date: Sun May 24 23:56:29 2009 +0200
27395 Update NEWS, release 2.18.0
27397 NEWS | 14 ++++++++++++++
27398 configure.ac | 4 ++--
27399 2 files changed, 16 insertions(+), 2 deletions(-)
27401 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
27402 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27403 Date: Sun May 24 22:18:40 2009 +0200
27405 Add documentation for the gio.OutputStream class
27407 The docs for this class are not completed, missing methods
27409 The index is complete though, it will be completed once all the
27411 are in place so we can ship a (almost) complete reference.
27413 docs/Makefile.am | 2 +
27414 docs/reference/pygio-classes.xml | 3 +-
27415 docs/reference/pygio-outputstream.xml | 140
27416 ++++++++++++++++++++++++++++++++++
27417 3 files changed, 144 insertions(+), 1 deletion(-)
27419 commit 11524cdf6472d9115a812ce431f6767aec5627bc
27420 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27421 Date: Sun May 24 22:12:04 2009 +0200
27423 Wrap gio.OutputStream.splice_async()
27425 wrap gio.OutputStream.splice_async() and add a test.
27427 gio/goutputstream.override | 58
27428 +++++++++++++++++++++++++++++++++++++++++++++-
27429 tests/test_gio.py | 20 ++++++++++++++++
27430 2 files changed, 77 insertions(+), 1 deletion(-)
27432 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
27433 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
27434 Date: Sun May 24 22:55:16 2009 +0300
27436 Add Python version into installed libpyglib name
27438 Do this now, while no-one (as far as we know) links to the library
27439 besides PyGObject itself. Bug #550235.
27441 configure.ac | 2 ++
27442 gio/Makefile.am | 2 +-
27443 glib/Makefile.am | 10 +++++-----
27444 gobject/Makefile.am | 2 +-
27445 4 files changed, 9 insertions(+), 7 deletions(-)
27447 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
27448 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27449 Date: Sun May 24 11:44:24 2009 +0200
27451 Wrap gio.OutputStream.flush_async()
27453 wrap gio.OutputStream.flush_async() and add a test.
27455 gio/goutputstream.override | 47
27456 +++++++++++++++++++++++++++++++++++++++++++++-
27457 tests/test_gio.py | 11 +++++++++++
27458 2 files changed, 57 insertions(+), 1 deletion(-)
27460 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
27461 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27462 Date: Sun May 17 17:29:37 2009 +0200
27464 Add documentation for the gio.FileMonitor class
27466 The docs for this class are not completed, missing methods
27468 The index is complete though, it will be completed once all the
27470 are in place so we can ship a (almost) complete reference.
27472 docs/Makefile.am | 2 +
27473 docs/reference/pygio-classes.xml | 1 +
27474 docs/reference/pygio-filemonitor.xml | 128
27475 +++++++++++++++++++++++++++++++++++
27476 3 files changed, 131 insertions(+)
27478 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
27479 Author: Josselin Mouette <joss@malsain.org>
27480 Date: Sun May 17 18:03:44 2009 +0300
27482 Use 'Requires.private' for libffi in '.pc' files
27484 Correction for patch in bug #550231.
27486 pygobject-2.0-uninstalled.pc.in | 3 ++-
27487 pygobject-2.0.pc.in | 3 ++-
27488 2 files changed, 4 insertions(+), 2 deletions(-)
27490 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
27491 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27492 Date: Wed May 13 21:54:39 2009 +0200
27494 Add wrapper for gio.FileAttributeMatcher
27496 added a boxed type for gio.FileAttributeMatcher which has been
27498 wrapping the gio API. This should probably be done in gio itself.
27500 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
27501 gio/gio-types.defs | 7 +++++++
27502 gio/gio.override | 2 ++
27503 3 files changed, 31 insertions(+), 2 deletions(-)
27505 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
27506 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27507 Date: Wed May 13 22:06:25 2009 +0300
27509 Mark relevant glib.IOChannel methods as METH_NOARGS
27511 Additionally fix glib.IOChannel.set_close_on_unref: was marked
27512 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
27514 glib/pygiochannel.c | 83
27515 +++++++++++++----------------------------------------
27516 1 file changed, 20 insertions(+), 63 deletions(-)
27518 commit 002915e5f458fec5a89766a54e8119a70a80caa7
27519 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27520 Date: Tue May 12 20:37:24 2009 +0200
27522 Add documentation for the gio.FileInfo class
27524 The docs for this class are not completed, missing methods
27526 The index is complete though, it will be completed once all the
27528 are in place so we can ship a (almost) complete reference.
27530 docs/Makefile.am | 2 +
27531 docs/reference/pygio-classes.xml | 1 +
27532 docs/reference/pygio-fileinfo.xml | 346
27533 ++++++++++++++++++++++++++++++++++++++
27534 3 files changed, 349 insertions(+)
27536 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
27537 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27538 Date: Sat May 9 16:46:04 2009 +0300
27540 Retire hand-written ChangeLog; autocreate from Git history
27542 Basically copied over from GLib source tree.
27545 ---------------------------------------------------
27546 ChangeLog.pre-2.18 | 3608
27547 ++++++++++++++++++++++++++++++++++++++++++++++++++++
27549 3 files changed, 3640 insertions(+), 3606 deletions(-)
27551 commit 23556bdbcf9cf06db866901fb822dd78a9043648
27552 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27553 Date: Sat May 9 00:03:05 2009 +0200
27555 Fix a bug in InputStream.skip_async
27557 use the count argument instead of buffer_size which is always zero
27559 gio/ginputstream.override | 3 ++-
27560 1 file changed, 2 insertions(+), 1 deletion(-)
27562 commit ed6b06315c17441b41c001d38537c904b8fe18de
27563 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27564 Date: Sat May 9 00:02:33 2009 +0200
27566 Add docs for the gio.InputStream class
27568 docs/Makefile.am | 2 +
27569 docs/reference/pygio-classes.xml | 1 +
27570 docs/reference/pygio-inputstream.xml | 730
27571 +++++++++++++++++++++++++++++++++++
27572 3 files changed, 733 insertions(+)
27574 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
27575 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27576 Date: Mon May 4 23:40:28 2009 +0200
27578 Wrap gio.InputStream.skip_async()
27580 wrap gio.InputStream.skip_async() and add a test.
27582 gio/ginputstream.override | 50
27583 ++++++++++++++++++++++++++++++++++++++++++++++-
27584 tests/test_gio.py | 20 +++++++++++++++++++
27585 2 files changed, 69 insertions(+), 1 deletion(-)
27587 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
27588 Author: Siavash Safi <siavash@siavashs.org>
27589 Date: Mon May 4 15:46:49 2009 +0430
27591 Add -n --namespace option and the code to remove
27592 dll API in headers, Added documentation
27594 Patch from bug #579275
27597 codegen/h2def.py | 133
27598 +++++++++++++++++++++++++++++++++++++++++++++----------
27599 2 files changed, 117 insertions(+), 24 deletions(-)
27601 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
27602 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27603 Date: Sat May 2 23:54:52 2009 +0300
27605 Properly mark glib.get_user_special_dir() as a keywords method
27609 glib/glibmodule.c | 2 +-
27610 1 file changed, 1 insertion(+), 1 deletion(-)
27612 commit f466dca880cc6ea68b9fe236943eea7a07d33520
27613 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27614 Date: Sun May 3 11:03:25 2009 +0200
27616 Add docs for the gio.LoadableIcon class
27618 docs/Makefile.am | 2 +
27619 docs/reference/pygio-classes.xml | 1 +
27620 docs/reference/pygio-loadableicon.xml | 198
27621 ++++++++++++++++++++++++++++++++++
27622 3 files changed, 201 insertions(+)
27624 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
27625 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27626 Date: Sun May 3 01:21:55 2009 +0200
27628 Add docs for the gio.ThemedIcon class
27630 docs/Makefile.am | 2 +
27631 docs/reference/pygio-classes.xml | 1 +
27632 docs/reference/pygio-themedicon.xml | 204
27633 ++++++++++++++++++++++++++++++++++++
27634 3 files changed, 207 insertions(+)
27636 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
27637 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27638 Date: Sat May 2 12:25:19 2009 +0200
27640 post release version bump to 2.17.1
27642 configure.ac | 2 +-
27643 1 file changed, 1 insertion(+), 1 deletion(-)
27645 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
27646 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27647 Date: Fri May 1 23:40:31 2009 +0200
27649 Fix the class title
27651 docs/reference/pygio-mountoperation.xml | 2 +-
27652 1 file changed, 1 insertion(+), 1 deletion(-)
27654 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
27655 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27656 Date: Fri May 1 22:24:33 2009 +0200
27658 Add docs for the gio.MountOperation class
27660 docs/Makefile.am | 2 +
27661 docs/reference/pygio-classes.xml | 1 +
27662 docs/reference/pygio-constants.xml | 107 +++++
27663 docs/reference/pygio-mountoperation.xml | 726
27664 ++++++++++++++++++++++++++++++++
27665 4 files changed, 836 insertions(+)
27667 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
27668 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
27669 Date: Thu Apr 30 22:13:06 2009 +0200
27671 Update NEWS, release 2.17.0
27674 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27675 1 file changed, 93 insertions(+)
27677 commit 47389217d1a65a8e3f404d486c508cf5d3164756
27678 Author: Paul Pogonyshev <pogonyshev@gmx.net>
27679 Date: Thu Apr 30 22:47:19 2009 +0300
27681 Fix memory leak in gio.File.query_info_async()
27683 After the recent patch it would leak exception data if old argument
27684 order was used. Properly decref the objects.
27686 gio/gfile.override | 4 ++++
27687 1 file changed, 4 insertions(+)