1 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
2 Author: Simon Feltman <sfeltman@src.gnome.org>
3 Date: Mon May 26 03:01:13 2014 -0700
5 Python 3.4 make check fixes
7 Bump GI required version to 1.39.0. This is needed to get rid of
8 expectedFailures which pass when built with 1.39.0 (unexpected
10 fail unittesting in Python 3.4).
11 Silence deprecation warning when using imp.reload.
13 https://bugzilla.gnome.org/show_bug.cgi?id=730411
16 pygtkcompat/pygtkcompat.py | 4 +++-
17 tests/test_gi.py | 1 -
18 tests/test_repository.py | 2 --
19 4 files changed, 4 insertions(+), 5 deletions(-)
21 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
22 Author: Simon Feltman <sfeltman@src.gnome.org>
23 Date: Mon May 26 01:53:14 2014 -0700
25 tests: Don't use deprecated positional argument for Gio.Settings
28 tests/test_gio.py | 6 +++---
29 1 file changed, 3 insertions(+), 3 deletions(-)
31 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
32 Author: Simon Feltman <sfeltman@src.gnome.org>
33 Date: Sun May 25 23:03:35 2014 -0700
35 overrides: Add Gtk.Container.child_get/set overrides
37 Add overrides for child_get and child_set to Gtk.Container since these
38 are not introspectable methods.
40 https://bugzilla.gnome.org/show_bug.cgi?id=685076
42 gi/overrides/Gtk.py | 10 ++++++++++
43 tests/test_overrides_gtk.py | 16 ++++++++++++++++
44 2 files changed, 26 insertions(+)
46 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
47 Author: Simon Feltman <sfeltman@src.gnome.org>
48 Date: Sun May 25 22:07:07 2014 -0700
50 overrides: Make value argument to Widget.style_get_property optional
52 Override Gtk.Widget.style_get_property to optionally accept the
54 argument. If "value" is not supplied, the override will locate
56 property value type and create the GValue. Additionally return
58 GValue converted to a native Python value.
60 https://bugzilla.gnome.org/show_bug.cgi?id=685076
62 gi/overrides/Gtk.py | 11 +++++++++++
63 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
64 2 files changed, 40 insertions(+)
66 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
67 Author: Simon Feltman <sfeltman@src.gnome.org>
68 Date: Sun May 25 21:08:47 2014 -0700
70 overrides: Make value argument to Container.child_get_property
73 Override Gtk.Container.child_get_property to optionally accept the
75 argument. If "value" is not supplied, the override will locate
77 property value type and create the GValue. Additionally return
79 GValue converted to a native Python value.
81 https://bugzilla.gnome.org/show_bug.cgi?id=685076
83 gi/overrides/Gtk.py | 11 +++++++++++
84 tests/test_overrides_gtk.py | 47
85 +++++++++++++++++++++++++++++++++++++++++++++
86 2 files changed, 58 insertions(+)
88 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
89 Author: Johan Dahlin <johan@gnome.org>
90 Date: Mon Oct 1 06:42:24 2012 -0700
92 Add GTypeClass methods as Python GObject class methods
94 Take all the methods from an objects type classs and add them
95 as class methods. For instance, GObject.ObjectClass.list_properties
96 is available as GObject.Object.list_properties().
98 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
100 https://bugzilla.gnome.org/show_bug.cgi?id=685218
102 gi/types.py | 13 +++++++++++++
103 tests/test_typeclass.py | 13 +++++++++++++
104 2 files changed, 26 insertions(+)
106 commit 778d05c93e079ba207a250b754bda9377cb47457
107 Author: Simon Feltman <sfeltman@src.gnome.org>
108 Date: Sun May 25 19:05:56 2014 -0700
110 Add marshalling coercion for Python classes and instances to
113 Automatically marshal Python GObject classes and instances to
115 structs (GObjectClass). This allows usage of the GTypeClass methods by
116 passing a Python GObject class or instance to the GTypeClass method.
117 This is needed to support usage of GTypeClass methods since we don't
118 manually bind GTypeClasses and they are not very well supported with
121 https://bugzilla.gnome.org/show_bug.cgi?id=685218
123 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
124 tests/Makefile.am | 1 +
125 tests/test_typeclass.py | 67
126 ++++++++++++++++++++++++++++++++++++++++++++++++
127 3 files changed, 117 insertions(+), 5 deletions(-)
129 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
130 Author: Simon Feltman <sfeltman@src.gnome.org>
131 Date: Sun May 25 02:00:00 2014 -0700
133 Cleanup struct marshalling function names
135 Use a consistent naming scheme for struct marshalling cache related
136 functions. This removes prefixed underscores from function names
137 as well as redundant wording.
139 To ignore this commit with git blame use:
140 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
142 https://bugzilla.gnome.org/show_bug.cgi?id=685218
144 gi/pygi-argument.c | 34 ++++----
145 gi/pygi-array.c | 2 +-
146 gi/pygi-struct-marshal.c | 221
147 ++++++++++++++++++++---------------------------
148 gi/pygi-struct-marshal.h | 56 ++++++------
149 4 files changed, 142 insertions(+), 171 deletions(-)
151 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
152 Author: Simon Feltman <sfeltman@src.gnome.org>
153 Date: Fri May 16 15:08:35 2014 -0700
155 Use accessors for getting and setting PyGParamSpec pointers
157 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
158 setting the GParamSpec pointer field held by the Python wrapper. This
159 is preliminary cleanup work for supporting fundamental types.
161 https://bugzilla.gnome.org/show_bug.cgi?id=631901
163 gi/pygi-value.c | 2 +-
164 gi/pygobject.h | 9 +++++++--
165 gi/pygparamspec.c | 22 +++++++++++-----------
166 3 files changed, 19 insertions(+), 14 deletions(-)
168 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
169 Author: Simon Feltman <sfeltman@src.gnome.org>
170 Date: Fri May 16 14:50:57 2014 -0700
172 Use accessors for getting and setting PyGPointer fields
174 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
175 setting the pointer field. This is preliminary cleanup work for
179 https://bugzilla.gnome.org/show_bug.cgi?id=631901
182 gi/pygi-struct.c | 6 +++---
183 gi/pygobject.h | 2 ++
184 gi/pygpointer.c | 14 +++++++-------
185 4 files changed, 13 insertions(+), 11 deletions(-)
187 commit 92fe52243d819ffe91597744a6a1c2362a295bce
188 Author: Simon Feltman <sfeltman@src.gnome.org>
189 Date: Fri May 16 14:19:47 2014 -0700
191 Use accessors for getting and setting PyGBoxed pointers
193 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
195 the boxed pointer field. This is preliminary cleanup work for
199 https://bugzilla.gnome.org/show_bug.cgi?id=631901
201 gi/pygboxed.c | 20 ++++++++++----------
202 gi/pygi-boxed.c | 6 +++---
203 gi/pygobject.h | 2 ++
205 4 files changed, 17 insertions(+), 14 deletions(-)
207 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
208 Author: Simon Feltman <sfeltman@src.gnome.org>
209 Date: Sun May 11 16:04:55 2014 -0700
211 tests: Use assertRaises as a context manager for GError test
213 Simplify tests/test_error.py:TestMarshalling.test_exception so that
214 it no longer needs to pull exception information out of sys.exc_info.
216 tests/test_error.py | 14 ++++++--------
217 1 file changed, 6 insertions(+), 8 deletions(-)
219 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
220 Author: Andrew Grigorev <andrew@ei-grad.ru>
221 Date: Sun May 11 23:54:46 2014 +0400
223 Replace direct parent class call by super()
225 Super works, it just needs the correct class.
227 https://bugzilla.gnome.org/show_bug.cgi?id=729970
229 demos/gtk-demo/gtk-demo.py | 6 ++----
230 1 file changed, 2 insertions(+), 4 deletions(-)
232 commit de827d00762f2a741f90bc38f8b55518593f4509
233 Author: Simon Feltman <sfeltman@src.gnome.org>
234 Date: Sun Mar 23 01:59:00 2014 -0700
236 Add cairo marshaling support for non-introspected signals
238 Add link dependency of cairo-gobject to _gi_cairo_la needed for
240 the GTypes of cairo classes.
241 Add GValue marshalers for cairo Context, Surface, FontFace,
245 https://bugzilla.gnome.org/show_bug.cgi?id=694604
248 gi/pygi-foreign-cairo.c | 186
249 ++++++++++++++++++++++++++++++++++++++++++++++++
252 tests/test_cairo.py | 65 +++++++++++++++++
253 5 files changed, 256 insertions(+)
255 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
256 Author: Simon Feltman <sfeltman@src.gnome.org>
257 Date: Mon May 5 19:37:18 2014 -0700
259 [New API] Add gi.require_foreign
261 Add gi.require_foreign(namespace, symbol=None) API for determining
262 if a foreign marshaling module is available. This can be used in an
263 applications import statement block to verify the existence of a
264 specific foreign marshaling module (cairo).
265 Additionally it forces loading of the foreign marshaling module as
266 well as the GI repository module. This allows non-introspected signal
267 closures to correctly marshal their arguments (bug 694604).
269 https://bugzilla.gnome.org/show_bug.cgi?id=707735
271 gi/__init__.py | 28 +++++++++++++++++++++++++
273 gi/pygi-foreign.c | 60
274 ++++++++++++++++++++++++++++++++++++++++++++++-------
275 gi/pygi-foreign.h | 4 ++++
276 tests/test_cairo.py | 9 ++++++++
277 5 files changed, 95 insertions(+), 8 deletions(-)
279 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
280 Author: Simon Feltman <sfeltman@src.gnome.org>
281 Date: Mon May 5 19:48:06 2014 -0700
283 tests: Move cairo tests into test_cairo.py
285 Move cairo related tests from test_everything.py into test_cairo.py
287 https://bugzilla.gnome.org/show_bug.cgi?id=694604
289 tests/Makefile.am | 1 +
290 tests/test_cairo.py | 67
291 ++++++++++++++++++++++++++++++++++++++++++++++++
292 tests/test_everything.py | 43 +------------------------------
293 3 files changed, 69 insertions(+), 42 deletions(-)
295 commit 31ecd935564984068e6646676392122bdc03e42e
296 Author: Simon Feltman <sfeltman@src.gnome.org>
297 Date: Mon May 5 19:42:59 2014 -0700
299 Initialize the foreign API at PyGI load time
301 Initialize the foreign struct list at gi._gi module load time. This
303 we always have a valid (non-null) list of foreign marshalers outside
305 context of marshaling.
307 https://bugzilla.gnome.org/show_bug.cgi?id=694604
309 gi/gimodule.c | 3 ++-
310 gi/pygi-foreign.c | 12 ++++++++----
311 gi/pygi-foreign.h | 2 ++
312 3 files changed, 12 insertions(+), 5 deletions(-)
314 commit def47144b63a1492ebf47a4eadb535f45253ff3a
315 Author: Simon Feltman <sfeltman@src.gnome.org>
316 Date: Sat Mar 22 14:13:01 2014 -0700
318 Move pygi foreign API into pygi-foreign-api.h
320 Move limited set of APIs necessary for registering foreign marshalers
322 pygi-foreign-api.h. Remove "_real" from internally used APIs and
324 includes to the rest of pygobject for calling directly (instead of
326 the PyCapsule API within PyGI itself).
327 This is needed to avoid compilation errors when including pygobject.h
329 foreign marshaling plugins which conflicts with pygobject-private.h.
331 https://bugzilla.gnome.org/show_bug.cgi?id=694604
334 gi/gimodule.c | 6 +--
338 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
339 gi/pygi-foreign-cairo.c | 8 ++--
340 gi/pygi-foreign.c | 10 ++---
341 gi/pygi-foreign.h | 14 +++----
342 gi/pygi-property.c | 8 ++--
343 gi/pygi-property.h | 14 ++++---
344 gi/pygi-signal-closure.c | 12 +++---
345 gi/pygi-signal-closure.h | 15 +++----
346 gi/pygi-type.c | 4 +-
347 gi/pygi-type.h | 2 +-
349 -----------------------------------------------
350 gi/pygobject.c | 3 ++
351 gi/pygpointer.c | 1 +
352 18 files changed, 139 insertions(+), 154 deletions(-)
354 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
355 Author: Simon Feltman <sfeltman@src.gnome.org>
356 Date: Sun May 4 23:19:30 2014 -0700
358 Clobber GLib.Error with custom implementation
360 Clobber the introspection GLib.Error class with the custom Python
361 implementation found in gi._error.GError. Update references to
365 https://bugzilla.gnome.org/show_bug.cgi?id=712519
368 gi/overrides/GLib.py | 9 ++++++---
369 gi/pygi-error.c | 10 +++++-----
370 tests/test_error.py | 24 ++++++++++++------------
371 4 files changed, 25 insertions(+), 21 deletions(-)
373 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
374 Author: Simon Feltman <sfeltman@src.gnome.org>
375 Date: Sun May 4 23:43:50 2014 -0700
377 Simplify pygi_error_marshal to use GError initializer arguments
379 https://bugzilla.gnome.org/show_bug.cgi?id=712519
381 gi/pygi-error.c | 25 ++++++-------------------
382 1 file changed, 6 insertions(+), 19 deletions(-)
384 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
385 Author: Simon Feltman <sfeltman@src.gnome.org>
386 Date: Sun May 4 04:13:46 2014 -0700
388 Add Python implementation of GError
390 Add internally used gi/_error.py module as a basis for implementing
391 a unified GError between introspection and static bindings. Patch
393 implementations of GError.matches and GError.new_literal in the GLib
396 https://bugzilla.gnome.org/show_bug.cgi?id=712519
400 ++++++++++++++++++++++++++++++++++++++++++++++++++++
401 gi/_option.py | 3 ++-
402 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
403 gi/pygi-error.c | 18 +++++++-----------
404 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
405 6 files changed, 125 insertions(+), 14 deletions(-)
407 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
408 Author: Simon Feltman <sfeltman@src.gnome.org>
409 Date: Sun May 4 23:14:27 2014 -0700
411 tests: Move GError tests into test_error.py
413 https://bugzilla.gnome.org/show_bug.cgi?id=712519
415 tests/Makefile.am | 1 +
416 tests/test_error.py | 81
417 +++++++++++++++++++++++++++++++++++++++++++++++++++++
418 tests/test_gi.py | 49 --------------------------------
419 3 files changed, 82 insertions(+), 49 deletions(-)
421 commit 649895d83a90cd3a370da215a6f98a606b987419
422 Author: Simon Feltman <sfeltman@src.gnome.org>
423 Date: Sun May 4 00:18:41 2014 -0700
425 Consolidate GError related code into pygi-error
427 Rename all pyglib_error_* functions to pygi_error_* and move them into
429 Register GError as part of the gi._gi module instead of gi._gi._glib.
430 Update all code to use new naming.
432 https://bugzilla.gnome.org/show_bug.cgi?id=712519
436 gi/glibmodule.c | 19 -----
437 gi/gobjectmodule.c | 54 +-----------
438 gi/overrides/GLib.py | 3 +-
439 gi/pygi-argument.c | 6 +-
440 gi/pygi-cache.c | 4 +-
441 gi/pygi-error.c | 222
442 ++++++++++++++++++++++++++++++++++++++++++++++++-
443 gi/pygi-error.h | 21 ++++-
444 gi/pygi-invoke.c | 5 +-
445 gi/pyglib-private.h | 1 -
446 gi/pyglib.c | 199 --------------------------------------------
448 gi/pygobject-private.h | 3 -
449 gi/pygoptioncontext.c | 3 +-
450 gi/pygoptiongroup.c | 3 +-
452 17 files changed, 262 insertions(+), 299 deletions(-)
454 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
455 Author: Simon Feltman <sfeltman@src.gnome.org>
456 Date: Sat May 3 22:56:49 2014 -0700
458 Add gi.CallableInfo.can_throw_gerror()
460 Add static binding for g_callable_info_can_throw_gerror.
462 gi/pygi-info.c | 10 ++++++++++
463 tests/test_repository.py | 16 ++++++++++++++++
464 2 files changed, 26 insertions(+)
466 commit f129e78d579b7897cb86111c524d87b5b12019ad
467 Author: Simon Feltman <sfeltman@src.gnome.org>
468 Date: Sat May 3 22:56:03 2014 -0700
470 Derive PyCallbackInfo from PyCallableInfo
472 Update the static GI bindings for PyGICallbackInfo to derive
473 from PyGICallableInfo. This makes all the gi.CallableInfo methods
474 available to gi.CallbackInfo for use from Python.
476 gi/pygi-info.c | 4 ++--
477 tests/test_repository.py | 7 +++++++
478 2 files changed, 9 insertions(+), 2 deletions(-)
480 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
481 Author: Simon Feltman <sfeltman@src.gnome.org>
482 Date: Fri May 2 21:36:25 2014 -0700
486 Use infix 'not' instead of prefixed.
487 Don't use double comments (##).
488 Use space between comment and text.
489 Un-comment tests that now work.
490 Move broken (and won't fix) implicit int64 signal tests into
491 a new skipped test function.
493 gi/overrides/GIMarshallingTests.py | 4 ++--
494 gi/overrides/Gio.py | 4 ++--
495 gi/overrides/Gtk.py | 6 +++---
497 pygtkcompat/pygtkcompat.py | 4 ++--
498 tests/test_everything.py | 1 -
499 tests/test_gi.py | 9 +++------
500 tests/test_iochannel.py | 2 +-
501 tests/test_option.py | 2 +-
502 tests/test_signal.py | 28 +++++++++++++---------------
503 10 files changed, 28 insertions(+), 34 deletions(-)
505 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
506 Author: Simon Feltman <sfeltman@src.gnome.org>
507 Date: Mon Apr 28 14:06:30 2014 -0700
509 configure.ac: post release version bump to 3.13.2
512 1 file changed, 1 insertion(+), 1 deletion(-)
514 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
515 Author: Simon Feltman <sfeltman@src.gnome.org>
516 Date: Mon Apr 28 14:00:59 2014 -0700
520 NEWS | 14 ++++++++++++++
521 1 file changed, 14 insertions(+)
523 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
524 Author: Christoph Reiter <reiter.christoph@gmail.com>
525 Date: Mon Apr 14 23:33:52 2014 +0200
527 Raise TypeError if arguments are passed to Boxed.__init__
529 This is a partial revert of
530 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
531 which removed a type check in __new__. This adds it back
532 into __init__. Overrides which define __new__ now have to
533 filter out any arguments in __init__ and not the other way
534 around, which is a bit less surprising in the common case.
536 https://bugzilla.gnome.org/show_bug.cgi?id=727810
538 gi/overrides/GLib.py | 6 ++++++
539 gi/overrides/Gtk.py | 6 ++++++
540 gi/overrides/Pango.py | 3 +++
541 gi/pygi-boxed.c | 6 ++++++
542 tests/test_gi.py | 4 ++++
543 5 files changed, 25 insertions(+)
545 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
546 Author: Christoph Reiter <reiter.christoph@gmail.com>
547 Date: Mon Apr 14 15:40:50 2014 +0200
549 Gdk.Event: Override __setattr__ to set fields based on the event type
551 Pass the setting of attributes through to the underlying union based
552 on event type. This mirrors the logic in __getattr__.
554 https://bugzilla.gnome.org/show_bug.cgi?id=727810
556 gi/overrides/Gdk.py | 7 +++++++
557 tests/test_overrides_gdk.py | 13 ++++++++++---
558 2 files changed, 17 insertions(+), 3 deletions(-)
560 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
561 Author: Christoph Reiter <reiter.christoph@gmail.com>
562 Date: Mon Apr 14 13:06:02 2014 +0200
564 Gdk.Event: Include GdkEventType in __repr__
566 https://bugzilla.gnome.org/show_bug.cgi?id=727810
568 gi/overrides/Gdk.py | 4 ++++
569 tests/test_overrides_gdk.py | 4 ++++
570 2 files changed, 8 insertions(+)
572 commit 23965455f060793ffcbc0d8288527d41a667579c
573 Author: Simon Feltman <sfeltman@src.gnome.org>
574 Date: Mon Apr 14 15:10:01 2014 -0700
576 Fix crash with type checking for GObject arguments
578 Ensure we have a valid GObject before attempting to call g_type_is_a.
579 Swap conditional blocks to make if condition more readable.
581 https://bugzilla.gnome.org/show_bug.cgi?id=727604
583 gi/pygi-object.c | 19 ++++++++++---------
584 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
585 2 files changed, 45 insertions(+), 9 deletions(-)
587 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
588 Author: Paolo Borelli <pborelli@gnome.org>
589 Date: Sun Mar 30 18:27:59 2014 +0200
591 Do not leak info of destroy notify
593 gi/pygi-closure.c | 11 ++++++-----
594 1 file changed, 6 insertions(+), 5 deletions(-)
596 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
597 Author: Simon Feltman <sfeltman@src.gnome.org>
598 Date: Fri Mar 28 19:51:58 2014 -0700
600 configure.ac: Update PyGObject wiki link in AC_INIT
603 1 file changed, 1 insertion(+), 1 deletion(-)
605 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
606 Author: Simon Feltman <sfeltman@src.gnome.org>
607 Date: Mon Mar 24 18:57:56 2014 -0700
609 Ignore GValueArray deprecations
611 Wrap calls to GValueArray related calls with
612 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
613 Although GValueArray is deprecated, we still need to support the
615 them in PyGObject. The deprecations add noise to the build processes
617 new warnings could be lost. Essentially losing the element of surprise
619 warning should have on maintainers.
621 gi/pygi-value.c | 23 ++++++++++++++++++++---
622 tests/testhelpermodule.c | 3 +++
623 2 files changed, 23 insertions(+), 3 deletions(-)
625 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
626 Author: Simon Feltman <sfeltman@src.gnome.org>
627 Date: Mon Mar 24 18:09:10 2014 -0700
629 Raise ImportError when importing modules not found in repository
631 Raise an ImportError with extra information noting the typelib was not
632 found. This removes the need to log a similar message which adds
634 noise when attempting controlled imports within try/except statements.
635 In Python 2, the additional information is lost but in Python 3 it
638 https://bugzilla.gnome.org/show_bug.cgi?id=726877
640 gi/importer.py | 9 ++++-----
641 tests/test_import_machinery.py | 18 ++++++++++++++++++
642 2 files changed, 22 insertions(+), 5 deletions(-)
644 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
645 Author: Simon Feltman <sfeltman@src.gnome.org>
646 Date: Mon Mar 24 18:04:27 2014 -0700
648 tests: Rename test_overrides to test_import_machinery
650 Rename this test to better suit the contents of the file. This
652 us a more concise location to grow other tests related to import
656 https://bugzilla.gnome.org/show_bug.cgi?id=726877
658 tests/Makefile.am | 2 +-
659 tests/test_import_machinery.py | 58
660 ++++++++++++++++++++++++++++++++++++++++++
661 tests/test_overrides.py | 58
662 ------------------------------------------
663 3 files changed, 59 insertions(+), 59 deletions(-)
665 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
666 Author: Simon Feltman <sfeltman@src.gnome.org>
667 Date: Mon Mar 24 04:39:47 2014 -0700
669 HACKING: Update branch creation instructions to include -b
672 1 file changed, 1 insertion(+), 1 deletion(-)
674 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
675 Author: Simon Feltman <sfeltman@src.gnome.org>
676 Date: Mon Mar 24 04:35:52 2014 -0700
678 configure.ac: post release version bump to 3.13.1
680 configure.ac | 4 ++--
681 1 file changed, 2 insertions(+), 2 deletions(-)
683 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
684 Author: Simon Feltman <sfeltman@src.gnome.org>
685 Date: Mon Mar 24 03:35:21 2014 -0700
690 1 file changed, 2 insertions(+)
692 commit 70020e9934abb39cbccfa49e582fb838465c0490
693 Author: Simon Feltman <sfeltman@src.gnome.org>
694 Date: Mon Mar 24 03:05:16 2014 -0700
696 pre-release version bump to 3.12.0
698 configure.ac | 4 ++--
699 1 file changed, 2 insertions(+), 2 deletions(-)
701 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
702 Author: Simon Feltman <sfeltman@src.gnome.org>
703 Date: Mon Mar 17 15:17:12 2014 -0700
705 configure.ac: post release version bump to 3.11.93
708 1 file changed, 1 insertion(+), 1 deletion(-)
710 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
711 Author: Simon Feltman <sfeltman@src.gnome.org>
712 Date: Mon Mar 17 15:12:33 2014 -0700
717 1 file changed, 6 insertions(+)
719 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
720 Author: Simon Feltman <sfeltman@src.gnome.org>
721 Date: Mon Mar 17 14:55:52 2014 -0700
723 configure.ac: Remove option to build without libffi
725 We've always had a hard dependency on libffi headers.
726 Commit 5798f94b6a727b93 added a direct module dependency on libffi
727 instead of indirect via GI. Remove the option to build without libffi.
729 configure.ac | 21 +++------------------
730 1 file changed, 3 insertions(+), 18 deletions(-)
732 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
733 Author: Simon Feltman <sfeltman@src.gnome.org>
734 Date: Sat Mar 15 00:50:14 2014 -0700
736 docs: Standardize Python doc strings
738 Use consistent doc string quotations (three double quotes).
739 Update usage of GObject.GObject in docs to GObject.Object.
740 Use reStructuredText markup for parameter annotations, instance
742 admonitions, and code examples.
743 This allows for better Sphinx documentation generation for the
745 Preliminary style guide:
746 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
748 gi/_option.py | 67 +++++++++++++++------------
749 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
750 gi/_signalhelper.py | 117
751 ++++++++++++++++++++++++-----------------------
752 gi/docstring.py | 17 ++++---
753 gi/glibmodule.c | 3 +-
754 gi/overrides/GLib.py | 20 ++++----
755 gi/overrides/GObject.py | 39 ++++++++++------
756 gi/overrides/Gtk.py | 28 ++++++++----
757 gi/overrides/__init__.py | 66 +++++++++++++-------------
759 10 files changed, 242 insertions(+), 203 deletions(-)
761 commit 2d268ef661badabcb63e696dab01857d57cb3371
762 Author: Simon Feltman <sfeltman@src.gnome.org>
763 Date: Sat Mar 15 00:49:00 2014 -0700
765 Quote argument names in initializer deprecation warning
767 Add quotation marks around names of deprecated positional arguments.
768 This makes the message clearer in stating what has been deprecated
769 in cases when only a single argument is displayed.
771 gi/overrides/__init__.py | 2 +-
772 tests/test_gi.py | 6 +++---
773 2 files changed, 4 insertions(+), 4 deletions(-)
775 commit a070e712526e433c236753813acc3ef300f0d203
776 Author: Simon Feltman <sfeltman@src.gnome.org>
777 Date: Sat Mar 15 00:35:03 2014 -0700
779 docs: Ignore meta-class bases in dynamic docstring generation
781 Skip attempts at generating a doc string for GObject meta-class bases
782 since they do not contain an __info__ attribute.
783 This circumvents errors with documentation generators (Sphinx).
785 gi/types.py | 7 ++++++-
786 1 file changed, 6 insertions(+), 1 deletion(-)
788 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
789 Author: Simon Feltman <sfeltman@src.gnome.org>
790 Date: Thu Mar 13 10:13:34 2014 -0700
792 Update Free Software Foundation addresses
794 Update all references to the FSF physical address
795 to use the web address: http://www.gnu.org/licenses
797 gi/_constants.py | 4 +---
798 gi/_gobject/__init__.py | 4 +---
799 gi/_option.py | 4 +---
800 gi/_propertyhelper.py | 4 +---
801 gi/_signalhelper.py | 4 +---
802 gi/glibmodule.c | 4 +---
803 gi/gobjectmodule.c | 4 +---
804 gi/overrides/keysyms.py | 4 +---
805 gi/pygboxed.c | 4 +---
806 gi/pygboxed.h | 4 +---
807 gi/pygenum.c | 4 +---
808 gi/pygenum.h | 4 +---
809 gi/pygflags.c | 4 +---
810 gi/pygflags.h | 4 +---
811 gi/pygi-argument.c | 4 +---
812 gi/pygi-argument.h | 4 +---
813 gi/pygi-boxed.c | 4 +---
814 gi/pygi-boxed.h | 4 +---
815 gi/pygi-cache.c | 4 +---
816 gi/pygi-cache.h | 4 +---
817 gi/pygi-ccallback.c | 4 +---
818 gi/pygi-ccallback.h | 4 +---
819 gi/pygi-info.c | 4 +---
820 gi/pygi-info.h | 4 +---
821 gi/pygi-invoke.c | 4 +---
822 gi/pygi-invoke.h | 4 +---
823 gi/pygi-marshal-cleanup.c | 4 +---
824 gi/pygi-marshal-cleanup.h | 4 +---
825 gi/pygi-repository.c | 4 +---
826 gi/pygi-repository.h | 4 +---
827 gi/pygi-signal-closure.c | 4 +---
828 gi/pygi-struct.c | 4 +---
829 gi/pygi-struct.h | 4 +---
830 gi/pygi-type.c | 4 +---
831 gi/pygi-type.h | 4 +---
833 gi/pyginterface.c | 4 +---
834 gi/pyginterface.h | 4 +---
835 gi/pyglib-private.h | 4 +---
836 gi/pyglib-python-compat.h | 4 +---
839 gi/pygobject-external.h | 4 +---
840 gi/pygobject.c | 4 +---
841 gi/pygoptioncontext.c | 4 +---
842 gi/pygoptioncontext.h | 4 +---
843 gi/pygoptiongroup.c | 4 +---
844 gi/pygoptiongroup.h | 4 +---
845 gi/pygparamspec.c | 4 +---
846 gi/pygparamspec.h | 4 +---
847 gi/pygpointer.c | 4 +---
848 gi/pygpointer.h | 4 +---
849 gi/pygspawn.c | 4 +---
850 gi/pygspawn.h | 4 +---
851 gi/pygtype.c | 4 +---
852 gi/pygtype.h | 4 +---
853 pygtkcompat/generictreemodel.py | 4 +---
854 tests/test_generictreemodel.py | 4 +---
855 58 files changed, 58 insertions(+), 174 deletions(-)
857 commit bbfcebdfdc5e574999221b60520422ea6da82435
858 Author: Owen W. Taylor <otaylor@fishsoup.net>
859 Date: Wed Mar 12 18:32:47 2014 -0400
861 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
863 Any (transfer full) return of a cairo type other than a path
866 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
867 it for the cairo foreign type. For paths we can only handle
868 (transfer full) so throw an error for (transfer none).
870 https://bugzilla.gnome.org/show_bug.cgi?id=726206
872 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
873 gi/pygi-foreign.c | 3 ++-
874 gi/pygi-foreign.h | 1 +
875 gi/pygi-invoke.c | 1 +
876 gi/pygi-struct-marshal.c | 1 +
878 6 files changed, 31 insertions(+), 8 deletions(-)
880 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
881 Author: Simon Feltman <sfeltman@src.gnome.org>
882 Date: Mon Mar 3 15:20:02 2014 -0800
884 configure.ac: post release version bump to 3.11.92
887 1 file changed, 1 insertion(+), 1 deletion(-)
889 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
890 Author: Simon Feltman <sfeltman@src.gnome.org>
891 Date: Mon Mar 3 15:16:43 2014 -0800
896 1 file changed, 7 insertions(+)
898 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
899 Author: Simon Feltman <sfeltman@src.gnome.org>
900 Date: Mon Mar 3 06:49:09 2014 -0800
902 build: Update release-news to use srcdir
904 Use $(top_srcdir)/NEWS for pulling in news items to ensure
905 "make release-news" works in a vpath build environment.
908 1 file changed, 1 insertion(+), 1 deletion(-)
910 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
911 Author: Simon Feltman <sfeltman@src.gnome.org>
912 Date: Fri Feb 7 20:16:21 2014 -0800
914 Use ffi_call directly instead of g_callable_info_invoke
916 Cleanup internal callable cache and state tracking by removing
918 counting schemes for differently sized "in" and "out" argument arrays.
919 Use a single count based on the total number of arguments passed to C
920 (inclusive of instance argument and GError exception where
922 Size all state tracking arrays to the same size and ensure argument
924 indices always line up with these arrays. This cleans up logic
926 required by g_callable_info_invoke for splitting "in" and "out"
930 Cleanup array marshaling which can now rely on the new scheme
932 the "arg_values" array always points to the correct location for
936 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
938 related GI methods. Overall, these changes can give a performance
940 almost 2x for simple function calls (see ticket for micro benchmarks).
942 https://bugzilla.gnome.org/show_bug.cgi?id=723642
944 gi/pygi-array.c | 26 ++---
945 gi/pygi-cache.c | 61 +++++++++--
946 gi/pygi-cache.h | 10 +-
947 gi/pygi-ccallback.c | 3 +-
948 gi/pygi-closure.c | 6 +-
949 gi/pygi-invoke-state-struct.h | 42 +++++---
950 gi/pygi-invoke.c | 241
951 +++++++++++++++++++++++-------------------
952 gi/pygi-invoke.h | 2 +-
953 gi/pygi-marshal-cleanup.c | 4 +-
954 9 files changed, 230 insertions(+), 165 deletions(-)
956 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
957 Author: Simon Feltman <sfeltman@src.gnome.org>
958 Date: Mon Mar 3 04:51:09 2014 -0800
960 tests: Move class definition depending on GTK+ within function
963 Move the definition of WindowWithSizeAllocOverride inside of the test
964 function call to so it is lazily defined. This avoids problems
966 on systems without GTK+ installed.
968 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
969 1 file changed, 16 insertions(+), 16 deletions(-)
971 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
972 Author: Simon Feltman <sfeltman@src.gnome.org>
973 Date: Mon Mar 3 04:45:59 2014 -0800
975 tests: Conditionalize usage of GTK+ in tests_generictreemodel
977 This allows running make check without GTK+ installed.
979 tests/test_generictreemodel.py | 16 +++++++++++++---
980 1 file changed, 13 insertions(+), 3 deletions(-)
982 commit 038563ed620e0d966e385a1779455d9b0e148c41
983 Author: Simon Feltman <sfeltman@src.gnome.org>
984 Date: Mon Mar 3 04:39:35 2014 -0800
986 tests: Conditionalize usage of regress typelib in test_properties
988 Unconditional usage of regress breaks tests when PyGObject is
992 tests/test_properties.py | 27 +++++++++++++++++----------
993 1 file changed, 17 insertions(+), 10 deletions(-)
995 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
996 Author: Simon Feltman <sfeltman@src.gnome.org>
997 Date: Mon Mar 3 02:44:12 2014 -0800
999 configure.ac: Use -std=c90 and error on declaration-after-statement
1001 Replace gcc option of -std=c9x with c90 and add
1002 -Werror=declaration-after-statement
1003 This ensures we keep compatibility with msvc builds.
1005 configure.ac | 3 ++-
1006 1 file changed, 2 insertions(+), 1 deletion(-)
1008 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
1009 Author: Simon Feltman <sfeltman@src.gnome.org>
1010 Date: Mon Mar 3 02:38:30 2014 -0800
1012 Use g_snprintf instead of snprintf
1014 Use g_snprintf for consistency with the rest of gobjectmodule.c
1016 gi/gobjectmodule.c | 2 +-
1017 1 file changed, 1 insertion(+), 1 deletion(-)
1019 commit b016ae6793839b2a6a00a69d00de30937bc611be
1020 Author: Simon Feltman <sfeltman@src.gnome.org>
1021 Date: Thu Feb 27 04:27:41 2014 -0800
1023 Use C style comments
1025 Update various locations which use C99 single line comments to
1027 C90 style comments. Found with: make CFLAGS="-std=C90"
1029 gi/gimodule.c | 2 +-
1030 gi/pygi-array.c | 3 ++-
1031 gi/pygi-property.c | 2 +-
1033 4 files changed, 5 insertions(+), 4 deletions(-)
1035 commit df7cba1495c167f1019dec7f4398dc5de62a5937
1036 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
1037 Date: Tue Feb 25 14:38:41 2014 +0800
1039 Fix Build on Visual Studio
1041 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
1043 included the use of the NAN and INFINITY macros/constants, so the
1044 definitions for those need to be moved to pygi-basictype.c as well.
1046 avoid defining a variable in the middle of the block.
1048 https://bugzilla.gnome.org/show_bug.cgi?id=725122
1050 gi/pygi-basictype.c | 16 ++++++++++++++++
1051 gi/pygi-cache.c | 3 ++-
1052 gi/pygi-enum-marshal.c | 16 ----------------
1053 3 files changed, 18 insertions(+), 17 deletions(-)
1055 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
1056 Author: Simon Feltman <sfeltman@src.gnome.org>
1057 Date: Mon Feb 17 17:22:40 2014 -0800
1059 Update release steps to be more explicit in regards to NEWS
1061 Add an explicit step to commit the NEWS changes and push prior
1064 HACKING | 11 ++++++-----
1065 1 file changed, 6 insertions(+), 5 deletions(-)
1067 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
1068 Author: Simon Feltman <sfeltman@src.gnome.org>
1069 Date: Mon Feb 17 17:18:10 2014 -0800
1071 configure.ac: post release version bump to 3.11.91
1074 1 file changed, 1 insertion(+), 1 deletion(-)
1076 commit f87e341c5528d066371d4ec493956db28dd0bafa
1077 Author: Simon Feltman <sfeltman@src.gnome.org>
1078 Date: Mon Feb 17 17:08:13 2014 -0800
1083 1 file changed, 4 insertions(+)
1085 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
1086 Author: Simon Feltman <sfeltman@src.gnome.org>
1087 Date: Wed Feb 12 10:28:35 2014 -0800
1089 Use GObject type checking for instance arguments
1091 Add a g_type_is_a check to interface/object instance arguments
1093 to the Python IsInstance check. This loosens restrictions on
1095 don't use gi.overrides.override() and is needed to keep API
1097 which broke with commit:
1098 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
1100 https://bugzilla.gnome.org/show_bug.cgi?id=724009
1102 gi/pygi-object.c | 6 +++++-
1103 1 file changed, 5 insertions(+), 1 deletion(-)
1105 commit 419e13e1717b725d5c6815bae9672649b0afddd4
1106 Author: Simon Feltman <sfeltman@src.gnome.org>
1107 Date: Mon Feb 3 15:58:30 2014 -0800
1109 configure.ac: post release version bump to 3.11.90
1112 1 file changed, 1 insertion(+), 1 deletion(-)
1114 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
1115 Author: Simon Feltman <sfeltman@src.gnome.org>
1116 Date: Mon Feb 3 15:51:27 2014 -0800
1120 NEWS | 16 ++++++++++++++++
1121 1 file changed, 16 insertions(+)
1123 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
1124 Author: Simon Feltman <sfeltman@src.gnome.org>
1125 Date: Mon Feb 3 06:45:09 2014 -0800
1127 Restore pygobject_version API needed for pygobject.h
1129 Add gi._gobject.pygobject_version which was removed with commit:
1130 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
1131 This is needed for pygobject.h to function properly.
1133 gi/_gobject/__init__.py | 1 +
1134 1 file changed, 1 insertion(+)
1136 commit f3be4cedcb1d395a3fabee95d7460bce86268153
1137 Author: Simon Feltman <sfeltman@src.gnome.org>
1138 Date: Mon Feb 3 06:29:07 2014 -0800
1140 cache refactoring: Add comments to arg cache setup functions
1142 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1144 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
1145 1 file changed, 36 insertions(+)
1147 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
1148 Author: Simon Feltman <sfeltman@src.gnome.org>
1149 Date: Mon Feb 3 06:24:18 2014 -0800
1151 cache refactoring: Use consistent prefix for arg cache functions
1153 Use "pygi_arg_cache" as the prefix for arg cache memory related
1156 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1158 gi/pygi-array.c | 6 ++--
1159 gi/pygi-basictype.c | 4 +--
1160 gi/pygi-cache.c | 74
1161 ++++++++++++++++++++++++------------------------
1162 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
1163 gi/pygi-ccallback.c | 2 +-
1164 gi/pygi-closure.c | 6 ++--
1165 gi/pygi-enum-marshal.c | 4 +--
1166 gi/pygi-error.c | 4 +--
1167 gi/pygi-hashtable.c | 30 ++++++++++----------
1168 gi/pygi-info.c | 2 +-
1169 gi/pygi-invoke.c | 2 +-
1170 gi/pygi-list.c | 2 +-
1171 gi/pygi-object.c | 2 +-
1172 gi/pygi-struct-marshal.c | 2 +-
1173 14 files changed, 102 insertions(+), 96 deletions(-)
1175 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
1176 Author: Simon Feltman <sfeltman@src.gnome.org>
1177 Date: Sun Jan 12 12:26:30 2014 -0800
1179 marshal refactoring: Move GValue marshaling from pytype into
1182 Move marshaling of GValues to and from PyObjects into
1184 PyGTypeMarshal struct and related functions accessible via pygtype.h.
1186 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1188 gi/gobjectmodule.c | 2 +
1189 gi/pygi-struct-marshal.c | 1 +
1190 gi/pygi-value.c | 720
1191 +++++++++++++++++++++++++++++++++++++++++++++-
1192 gi/pygi-value.h | 12 +
1193 gi/pygobject-private.h | 16 --
1194 gi/pygobject.c | 2 +-
1196 +----------------------------------------------
1197 gi/pygtype.h | 17 ++
1198 8 files changed, 757 insertions(+), 741 deletions(-)
1200 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
1201 Author: Simon Feltman <sfeltman@src.gnome.org>
1202 Date: Sun Jan 12 11:41:20 2014 -0800
1204 marshal refactoring: Move GIArgument from GValue code to new file
1206 Add gi/pygi-value.h and .c files with initial contents of
1207 _pygi_argument_from_g_value. Eventually this file will contain
1209 related to GValue marshaling from various code locations in the
1212 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1214 gi/Makefile.am | 2 +
1215 gi/pygi-argument.c | 126 +----------------------------------------
1216 gi/pygi-argument.h | 3 -
1217 gi/pygi-signal-closure.c | 1 +
1218 gi/pygi-value.c | 144
1219 +++++++++++++++++++++++++++++++++++++++++++++++
1220 gi/pygi-value.h | 32 +++++++++++
1221 6 files changed, 180 insertions(+), 128 deletions(-)
1223 commit c2d5857e9b964427190e1230be32ae7919e86bc0
1224 Author: Simon Feltman <sfeltman@src.gnome.org>
1225 Date: Sat Oct 12 21:26:55 2013 -0700
1227 cache refactoring: Move enum and flags arg setup and marshaling to
1230 Move enum and flags argument cache setup and marshaling fragments into
1231 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
1233 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1235 gi/Makefile.am | 6 +-
1236 gi/pygi-argument.c | 2 -
1237 gi/pygi-cache.c | 74 ++-------
1238 gi/pygi-enum-marshal.c | 408
1239 ++++++++++++++++++++++++++++++++++++++++++++++
1240 gi/pygi-enum-marshal.h | 42 +++++
1241 gi/pygi-marshal-from-py.c | 206 -----------------------
1242 gi/pygi-marshal-from-py.h | 57 -------
1243 gi/pygi-marshal-to-py.c | 152 -----------------
1244 gi/pygi-marshal-to-py.h | 34 ----
1245 9 files changed, 464 insertions(+), 517 deletions(-)
1247 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
1248 Author: Simon Feltman <sfeltman@src.gnome.org>
1249 Date: Sat Oct 12 20:00:12 2013 -0700
1251 cache refactoring: Move various struct arg setup and marshaling to
1254 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
1256 cache setup and marshaling fragments into isolated file:
1257 pygi-struct-marshal.c.
1258 Remove redundant and dead code related to boxed and union marshaling.
1260 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1262 gi/Makefile.am | 2 +
1263 gi/pygi-argument.c | 1 +
1264 gi/pygi-array.c | 3 +
1265 gi/pygi-cache.c | 72 +------
1266 gi/pygi-cache.h | 1 +
1267 gi/pygi-marshal-cleanup.c | 48 -----
1268 gi/pygi-marshal-cleanup.h | 16 --
1269 gi/pygi-marshal-from-py.c | 288 --------------------------
1270 gi/pygi-marshal-from-py.h | 33 ---
1271 gi/pygi-marshal-to-py.c | 120 -----------
1272 gi/pygi-marshal-to-py.h | 27 ---
1273 gi/pygi-object.c | 2 +-
1274 gi/pygi-struct-marshal.c | 516
1275 ++++++++++++++++++++++++++++++++++++++++++++++
1276 gi/pygi-struct-marshal.h | 73 +++++++
1277 14 files changed, 607 insertions(+), 595 deletions(-)
1279 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
1280 Author: Simon Feltman <sfeltman@src.gnome.org>
1281 Date: Sat Oct 12 16:40:58 2013 -0700
1283 cache refactoring: Move GObject arg setup and marshaling into new file
1285 Move GObject argument cache setup and marshaling fragments into
1286 isolated file: pygi-object.c.
1287 Break GIInterfaceCache creation and setup into API for interface based
1288 argument cache usage.
1290 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1292 gi/Makefile.am | 2 +
1293 gi/pygi-argument.c | 7 +-
1294 gi/pygi-cache.c | 183 ++++++++++++++-----------------
1295 gi/pygi-cache.h | 7 ++
1296 gi/pygi-marshal-cleanup.c | 27 -----
1297 gi/pygi-marshal-cleanup.h | 10 --
1298 gi/pygi-marshal-from-py.c | 123 ---------------------
1299 gi/pygi-marshal-from-py.h | 12 --
1300 gi/pygi-marshal-to-py.c | 31 ------
1301 gi/pygi-marshal-to-py.h | 8 --
1302 gi/pygi-object.c | 273
1303 ++++++++++++++++++++++++++++++++++++++++++++++
1304 gi/pygi-object.h | 46 ++++++++
1305 12 files changed, 416 insertions(+), 313 deletions(-)
1307 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
1308 Author: Simon Feltman <sfeltman@src.gnome.org>
1309 Date: Sat Oct 12 12:39:20 2013 -0700
1311 cache refactoring: Move closure setup and marshaling into pygi-closure
1313 Move closure argument caching and marshaling fragments into
1316 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1318 gi/pygi-cache.c | 111 ++--------------
1319 gi/pygi-cache.h | 9 --
1320 gi/pygi-closure.c | 314
1321 +++++++++++++++++++++++++++++++++++++++++++++-
1322 gi/pygi-closure.h | 13 +-
1323 gi/pygi-marshal-cleanup.c | 14 ---
1324 gi/pygi-marshal-cleanup.h | 5 -
1325 gi/pygi-marshal-from-py.c | 160 -----------------------
1326 gi/pygi-marshal-from-py.h | 6 -
1327 gi/pygi-marshal-to-py.c | 13 --
1328 gi/pygi-marshal-to-py.h | 4 -
1329 10 files changed, 333 insertions(+), 316 deletions(-)
1331 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
1332 Author: Simon Feltman <sfeltman@src.gnome.org>
1333 Date: Sat Oct 12 11:30:36 2013 -0700
1335 cache refactoring: Move GError arg setup and marshaling to new file
1337 Move GError argument caching and marshaling fragments into
1338 isolated file: pygi-error.c.
1340 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1342 gi/Makefile.am | 2 +
1343 gi/pygi-cache.c | 93 ++++++++++++---------------------------
1344 gi/pygi-error.c | 109
1345 ++++++++++++++++++++++++++++++++++++++++++++++
1346 gi/pygi-error.h | 35 +++++++++++++++
1347 gi/pygi-marshal-from-py.c | 13 ------
1348 gi/pygi-marshal-from-py.h | 6 ---
1349 gi/pygi-marshal-to-py.c | 22 ----------
1350 gi/pygi-marshal-to-py.h | 4 --
1351 8 files changed, 174 insertions(+), 110 deletions(-)
1353 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
1354 Author: Simon Feltman <sfeltman@src.gnome.org>
1355 Date: Sat Oct 12 03:07:53 2013 -0700
1357 cache refactoring: Move GArray arg setup and marshaling into new file
1359 Move GArray argument caching and marshaling fragments into an
1360 isolated file: pygi-array.c.
1362 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1364 gi/Makefile.am | 2 +
1365 gi/pygi-array.c | 906
1366 ++++++++++++++++++++++++++++++++++++++++++++++
1367 gi/pygi-array.h | 42 +++
1368 gi/pygi-cache.c | 236 +-----------
1369 gi/pygi-marshal-cleanup.c | 150 --------
1370 gi/pygi-marshal-cleanup.h | 10 -
1371 gi/pygi-marshal-from-py.c | 354 ------------------
1372 gi/pygi-marshal-from-py.h | 6 -
1373 gi/pygi-marshal-to-py.c | 210 -----------
1374 gi/pygi-marshal-to-py.h | 4 -
1375 10 files changed, 963 insertions(+), 957 deletions(-)
1377 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
1378 Author: Simon Feltman <sfeltman@src.gnome.org>
1379 Date: Fri Oct 11 23:26:08 2013 -0700
1381 cache refactoring: Move GList/GSList arg setup and marshaling into
1384 Move GList and GSList argument caching and marshaling fragments
1386 isolated file: pygi-list.c.
1388 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1390 gi/Makefile.am | 2 +
1391 gi/pygi-cache.c | 71 ++-----
1392 gi/pygi-list.c | 466
1393 ++++++++++++++++++++++++++++++++++++++++++++++
1394 gi/pygi-list.h | 38 ++++
1395 gi/pygi-marshal-cleanup.c | 80 --------
1396 gi/pygi-marshal-cleanup.h | 10 -
1397 gi/pygi-marshal-from-py.c | 156 ----------------
1398 gi/pygi-marshal-from-py.h | 12 --
1399 gi/pygi-marshal-to-py.c | 98 ----------
1400 gi/pygi-marshal-to-py.h | 8 -
1401 10 files changed, 517 insertions(+), 424 deletions(-)
1403 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
1404 Author: Simon Feltman <sfeltman@src.gnome.org>
1405 Date: Fri Oct 11 21:30:45 2013 -0700
1407 cache refactoring: Break sequence cache up for array vs list
1409 Add new arg cache type specialized for arrays. This cleans up
1411 sequence cache type which does not need length and size related
1413 fixed length checks from GList and GSList from_py marshaling
1417 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1419 gi/pygi-cache.c | 160
1420 +++++++++++++++++++++++++++++++++++-----------
1421 gi/pygi-cache.h | 16 ++++-
1422 gi/pygi-invoke.c | 4 +-
1423 gi/pygi-marshal-cleanup.c | 28 ++++----
1424 gi/pygi-marshal-from-py.c | 37 ++++-------
1425 gi/pygi-marshal-to-py.c | 23 +++----
1426 6 files changed, 177 insertions(+), 91 deletions(-)
1428 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
1429 Author: Simon Feltman <sfeltman@src.gnome.org>
1430 Date: Fri Oct 11 20:12:01 2013 -0700
1432 cache refactoring: Move basic type arg setup and marshaling into
1435 Move all basic type arg caching and marshaling fragments into
1437 file where most functions are made static. pygi-basictype.h exposes:
1438 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
1440 _pygi_marshal_to_py_basic_type which allows continued use for all
1444 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1446 gi/Makefile.am | 2 +
1447 gi/pygi-argument.c | 1 +
1448 gi/pygi-basictype.c | 824
1449 ++++++++++++++++++++++++++++++++++++++++++++++
1450 gi/pygi-basictype.h | 42 +++
1451 gi/pygi-cache.c | 82 +----
1452 gi/pygi-cache.h | 1 +
1453 gi/pygi-marshal-cleanup.c | 26 --
1454 gi/pygi-marshal-cleanup.h | 10 -
1455 gi/pygi-marshal-from-py.c | 478 ---------------------------
1456 gi/pygi-marshal-from-py.h | 18 -
1457 gi/pygi-marshal-to-py.c | 155 ---------
1458 gi/pygi-marshal-to-py.h | 11 -
1459 12 files changed, 880 insertions(+), 770 deletions(-)
1461 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
1462 Author: Simon Feltman <sfeltman@src.gnome.org>
1463 Date: Fri Oct 11 17:39:31 2013 -0700
1465 cache refactoring: Move PyGIHashCache and related marshaling into
1468 Re-organize hash table arg cache and its marshaling by moving all
1469 related code fragments into an isolated file where most of it is made
1470 static. pygi-hashtable.h exposes a single function:
1471 pygi_arg_hash_table_new_from_info. This is all the caching system
1473 produce the proper bits for handling hash table marshaling.
1475 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1477 gi/Makefile.am | 4 +-
1478 gi/pygi-cache.c | 103 +-----------
1479 gi/pygi-cache.h | 21 ++-
1480 gi/pygi-hashtable.c | 413
1481 ++++++++++++++++++++++++++++++++++++++++++++++
1482 gi/pygi-hashtable.h | 35 ++++
1483 gi/pygi-marshal-cleanup.c | 63 -------
1484 gi/pygi-marshal-cleanup.h | 10 --
1485 gi/pygi-marshal-from-py.c | 125 --------------
1486 gi/pygi-marshal-from-py.h | 6 -
1487 gi/pygi-marshal-to-py.c | 85 ----------
1488 gi/pygi-marshal-to-py.h | 4 -
1489 11 files changed, 471 insertions(+), 398 deletions(-)
1491 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
1492 Author: Simon Feltman <sfeltman@src.gnome.org>
1493 Date: Fri Oct 11 15:49:32 2013 -0700
1495 cache refactoring: Separate ArgCache creation and setup
1497 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
1498 functions: pygi_arg_base_setup and pygi_arg_interface_setup
1500 Shift argument order and move arguments which will eventually
1502 from the signature into the tail with comment. Isolate special
1504 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
1505 _arg_cache_new_for_interface.
1507 https://bugzilla.gnome.org/show_bug.cgi?id=709700
1509 gi/pygi-cache.c | 263
1510 ++++++++++++++++++++++++++++++++------------------------
1511 gi/pygi-cache.h | 15 ++++
1512 2 files changed, 167 insertions(+), 111 deletions(-)
1514 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
1515 Author: Simon Feltman <sfeltman@src.gnome.org>
1516 Date: Sun Feb 2 15:52:24 2014 -0800
1518 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
1520 https://bugzilla.gnome.org/show_bug.cgi?id=722899
1522 tests/test_gi.py | 3 +++
1523 1 file changed, 3 insertions(+)
1525 commit e79d2acc54c1e3b052835de5de20feb0b7069476
1526 Author: Mike Gorse <mgorse@suse.com>
1527 Date: Fri Jan 24 05:17:06 2014 -0600
1529 tests: Add test for an owned boxed struct passed in a callback
1531 https://bugzilla.gnome.org/show_bug.cgi?id=722899
1533 tests/test_gi.py | 11 +++++++++++
1534 1 file changed, 11 insertions(+)
1536 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
1537 Author: Simon Feltman <sfeltman@src.gnome.org>
1538 Date: Thu Jan 23 17:19:12 2014 -0800
1540 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
1542 Rename GIObjectMeta to GObjectMeta reverting it to its original
1544 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
1545 That change could have been considered an API break for anyone
1547 gi.types.GObjectMeta since it is essentially public API. Rename
1549 class to _GObjectMetaBase which was previously gi._gobject before
1550 commit 2624bd2b (private API).
1552 gi/module.py | 8 ++++----
1553 gi/types.py | 10 +++++-----
1554 2 files changed, 9 insertions(+), 9 deletions(-)
1556 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
1557 Author: Patrick Welche <prlw1@cam.ac.uk>
1558 Date: Thu Jan 23 23:49:51 2014 +0000
1560 build: Add --without-common configure option for package maintainers
1562 https://bugzilla.gnome.org/show_bug.cgi?id=721646
1565 configure.ac | 7 +++++++
1566 gi/Makefile.am | 2 ++
1567 3 files changed, 11 insertions(+)
1569 commit df21dbbc84fa319af2a0f0664de436ca30df616e
1570 Author: Simon Feltman <sfeltman@src.gnome.org>
1571 Date: Thu Jan 16 16:33:41 2014 -0800
1573 tests: Add skipped test for GLib.Source inheritance problems
1575 Add test showing memory problems with sub-classes of GLib.Source.
1577 https://bugzilla.gnome.org/show_bug.cgi?id=722387
1579 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
1580 1 file changed, 45 insertions(+)
1582 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
1583 Author: Simon Feltman <sfeltman@src.gnome.org>
1584 Date: Wed Jan 15 12:51:57 2014 -0800
1586 Fix reference sharing of gi sub-modules in Python 2
1588 Ensure we add a new reference to sub-modules added to gi._gi. This may
1589 have caused GC errors upon exiting the Python process since a
1591 shared by sys.modules and gi._gi.
1593 https://bugzilla.gnome.org/show_bug.cgi?id=722274
1595 gi/gimodule.c | 11 +++++++++++
1596 1 file changed, 11 insertions(+)
1598 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
1599 Author: Simon Feltman <sfeltman@src.gnome.org>
1600 Date: Tue Jan 14 23:46:44 2014 -0800
1602 demo: Add TreeModel interface implementation demonstration
1604 Add demo which shows how to implement the Gtk.TreeModel interfaces
1608 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
1609 +++++++++++++++++++++++
1610 1 file changed, 143 insertions(+)
1612 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
1613 Author: Simon Feltman <sfeltman@src.gnome.org>
1614 Date: Tue Jan 14 23:33:16 2014 -0800
1616 demo: Remove "Icon View" and "Tree View" directories
1618 demos/gtk-demo/demos/Icon View/__init__.py | 0
1619 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
1620 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
1621 demos/gtk-demo/demos/Tree View/__init__.py | 0
1622 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
1623 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
1625 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
1626 ---------------------
1627 7 files changed, 1041 deletions(-)
1629 commit f89fa08ba756a1c529ff48beb39025f834a249bf
1630 Author: Simon Feltman <sfeltman@src.gnome.org>
1631 Date: Tue Jan 14 23:08:33 2014 -0800
1633 demo: Remove spaces from demo sub-directories
1635 Move "Icon View" to IconView and "Tree View" to TreeView. This
1637 ability to package the demos in tarball releases in future versions.
1639 demos/gtk-demo/demos/IconView/__init__.py | 0
1640 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
1641 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
1642 demos/gtk-demo/demos/TreeView/__init__.py | 0
1643 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
1644 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
1646 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
1647 +++++++++++++++++++++
1648 7 files changed, 1041 insertions(+)
1650 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
1651 Author: Simon Feltman <sfeltman@src.gnome.org>
1652 Date: Tue Jan 14 14:28:52 2014 -0800
1654 build: Remove _glib directory include from testhelper CFLAGS
1656 tests/Makefile.am | 2 +-
1657 1 file changed, 1 insertion(+), 1 deletion(-)
1659 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
1660 Author: Colin Walters <walters@verbum.org>
1661 Date: Tue Jan 14 16:33:38 2014 -0500
1663 build: Set PLATFORM_VERSION again to 3.0
1665 We are installing headers to:
1666 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
1668 If the variable isn't set, then things attempting to use pygobject
1671 This was a regression from a build system refactoring.
1673 gi/Makefile.am | 2 ++
1674 1 file changed, 2 insertions(+)
1676 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
1677 Author: Simon Feltman <sfeltman@src.gnome.org>
1678 Date: Tue Jan 14 12:54:42 2014 -0800
1680 Fix Python 2 build warning for module definitions
1682 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
1684 needed now that the function signature created with
1685 PYGLIB_MODULE_START is
1686 consistent between the two versions.
1688 gi/pyglib-python-compat.h | 5 ++---
1689 1 file changed, 2 insertions(+), 3 deletions(-)
1691 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
1692 Author: Simon Feltman <sfeltman@src.gnome.org>
1693 Date: Tue Jan 14 12:26:16 2014 -0800
1695 tests: Run PyFlakes and PEP8 only on SUBDIRS
1697 Move PyFlakes and PEP8 checks into check-local of the root
1699 run these tools on selective subdirs of top_srcdir. This fixes
1701 where vpath build directories within the srcdir would contain links
1703 source files, causing these tools to run multiple times slowing
1707 Makefile.am | 21 ++++++++++++++++++++-
1708 tests/Makefile.am | 6 ------
1709 2 files changed, 20 insertions(+), 7 deletions(-)
1711 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
1712 Author: Simon Feltman <sfeltman@src.gnome.org>
1713 Date: Tue Jan 14 12:25:09 2014 -0800
1715 Remove _glib include path from gi module target
1717 gi/Makefile.am | 7 ++-----
1718 1 file changed, 2 insertions(+), 5 deletions(-)
1720 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
1721 Author: Simon Feltman <sfeltman@src.gnome.org>
1722 Date: Wed Jan 8 19:22:08 2014 -0800
1724 Move Python glib options module into gi package
1726 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
1730 https://bugzilla.gnome.org/show_bug.cgi?id=712197
1734 gi/Makefile.am | 1 -
1735 gi/_glib/Makefile.am | 21 ---
1736 gi/_glib/__init__.py | 20 ---
1737 gi/_glib/option.py | 363
1738 ------------------------------------------------
1740 ++++++++++++++++++++++++++++++++++++++++++++++++
1741 gi/overrides/GLib.py | 2 +-
1742 gi/overrides/GObject.py | 2 +-
1743 9 files changed, 367 insertions(+), 409 deletions(-)
1745 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
1746 Author: Simon Feltman <sfeltman@src.gnome.org>
1747 Date: Wed Jan 8 18:57:58 2014 -0800
1749 Merge static PyGLib module into PyGI
1751 Remove gi._glib._glib as a separately compiled module. Move all C
1753 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
1755 shared dependency since we do not distribute header files for it.
1756 Remove unused threading macros.
1758 https://bugzilla.gnome.org/show_bug.cgi?id=712197
1760 gi/Makefile.am | 16 +-
1761 gi/_glib/Makefile.am | 74 +------
1762 gi/_glib/__init__.py | 5 -
1763 gi/_glib/glibmodule.c | 103 ---------
1764 gi/_glib/option.py | 2 +-
1765 gi/_glib/pyglib-private.h | 49 -----
1766 gi/_glib/pyglib-python-compat.h | 195 -----------------
1767 gi/_glib/pyglib.c | 475
1768 ----------------------------------------
1769 gi/_glib/pyglib.h | 77 -------
1770 gi/_glib/pygoptioncontext.c | 337 ----------------------------
1771 gi/_glib/pygoptioncontext.h | 39 ----
1772 gi/_glib/pygoptiongroup.c | 298 -------------------------
1773 gi/_glib/pygoptiongroup.h | 42 ----
1774 gi/_glib/pygspawn.c | 259 ----------------------
1775 gi/_glib/pygspawn.h | 32 ---
1777 gi/glibmodule.c | 77 +++++++
1778 gi/gobjectmodule.c | 5 +-
1779 gi/overrides/GLib.py | 2 +-
1780 gi/pyglib-private.h | 43 ++++
1781 gi/pyglib-python-compat.h | 195 +++++++++++++++++
1782 gi/pyglib.c | 402 ++++++++++++++++++++++++++++++++++
1783 gi/pyglib.h | 67 ++++++
1784 gi/pygoptioncontext.c | 337 ++++++++++++++++++++++++++++
1785 gi/pygoptioncontext.h | 39 ++++
1786 gi/pygoptiongroup.c | 298 +++++++++++++++++++++++++
1787 gi/pygoptiongroup.h | 42 ++++
1788 gi/pygspawn.c | 259 ++++++++++++++++++++++
1789 gi/pygspawn.h | 32 +++
1790 29 files changed, 1819 insertions(+), 1991 deletions(-)
1792 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
1793 Author: Simon Feltman <sfeltman@src.gnome.org>
1794 Date: Thu Oct 31 03:13:53 2013 -0700
1796 Move gobject sub-module Python files into the main gi package
1798 This moves the signalhelper, propertyhelper, and constants Python
1800 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
1802 still needed to maintain the "_PyGObject_API" exposed by
1804 allows external modules compiled with prior versions of PyGObject to
1805 continue working with newer versions.
1807 https://bugzilla.gnome.org/show_bug.cgi?id=712197
1810 gi/__init__.py | 19 +-
1811 gi/_constants.py | 49 +++++
1812 gi/_gobject/Makefile.am | 5 +-
1813 gi/_gobject/__init__.py | 42 +----
1814 gi/_gobject/constants.py | 50 -----
1815 gi/_gobject/propertyhelper.py | 417
1816 ------------------------------------------
1817 gi/_gobject/signalhelper.py | 259 --------------------------
1818 gi/_propertyhelper.py | 417
1819 ++++++++++++++++++++++++++++++++++++++++++
1820 gi/_signalhelper.py | 258 ++++++++++++++++++++++++++
1821 gi/module.py | 16 +-
1822 gi/overrides/GObject.py | 7 +-
1823 gi/overrides/__init__.py | 2 +-
1824 gi/types.py | 41 ++++-
1825 pygtkcompat/pygtkcompat.py | 4 +-
1826 tests/test_gi.py | 2 +-
1827 tests/test_gobject.py | 4 +-
1828 tests/test_properties.py | 2 +-
1829 tests/test_signal.py | 2 +-
1830 19 files changed, 796 insertions(+), 805 deletions(-)
1832 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
1833 Author: Simon Feltman <sfeltman@src.gnome.org>
1834 Date: Thu Oct 31 02:22:03 2013 -0700
1836 Merge gobject static code into the gi module
1838 Remove gi._gobject._gobject as a separately compiled static module and
1839 move all the files into gi._gi.
1840 Remove dead module initialization macros from "pyglib-python-compat.h"
1842 https://bugzilla.gnome.org/show_bug.cgi?id=712197
1844 gi/Makefile.am | 31 +-
1845 gi/_glib/pyglib-python-compat.h | 62 +-
1846 gi/_gobject/Makefile.am | 69 +-
1847 gi/_gobject/__init__.py | 4 +-
1848 gi/_gobject/constants.py | 3 +-
1849 gi/_gobject/gobjectmodule.c | 2213
1850 -----------------------------------
1851 gi/_gobject/propertyhelper.py | 16 +-
1852 gi/_gobject/pygboxed.c | 235 ----
1853 gi/_gobject/pygboxed.h | 27 -
1854 gi/_gobject/pygenum.c | 371 ------
1855 gi/_gobject/pygenum.h | 27 -
1856 gi/_gobject/pygflags.c | 497 --------
1857 gi/_gobject/pygflags.h | 27 -
1858 gi/_gobject/pyginterface.c | 124 --
1859 gi/_gobject/pyginterface.h | 40 -
1860 gi/_gobject/pygobject-private.h | 204 ----
1861 gi/_gobject/pygobject.c | 2473
1862 ---------------------------------------
1863 gi/_gobject/pygobject.h | 636 ----------
1864 gi/_gobject/pygparamspec.c | 418 -------
1865 gi/_gobject/pygparamspec.h | 31 -
1866 gi/_gobject/pygpointer.c | 198 ----
1867 gi/_gobject/pygpointer.h | 27 -
1868 gi/_gobject/pygtype.c | 1927 ------------------------------
1869 gi/_gobject/pygtype.h | 28 -
1870 gi/_gobject/signalhelper.py | 3 +-
1871 gi/gimodule.c | 13 +-
1872 gi/gobjectmodule.c | 2213
1873 +++++++++++++++++++++++++++++++++++
1875 gi/pygboxed.c | 235 ++++
1876 gi/pygboxed.h | 27 +
1877 gi/pygenum.c | 371 ++++++
1879 gi/pygflags.c | 497 ++++++++
1880 gi/pygflags.h | 27 +
1881 gi/pygi-argument.c | 3 +-
1882 gi/pygi-boxed.c | 2 +-
1883 gi/pygi-ccallback.c | 2 +-
1884 gi/pygi-foreign.c | 2 +-
1885 gi/pygi-info.c | 2 +-
1886 gi/pygi-marshal-to-py.c | 3 +-
1887 gi/pygi-private.h | 2 +-
1888 gi/pygi-source.c | 3 +-
1889 gi/pygi-struct.c | 2 +-
1891 gi/pyginterface.c | 124 ++
1892 gi/pyginterface.h | 40 +
1893 gi/pygobject-private.h | 205 ++++
1894 gi/pygobject.c | 2473
1895 +++++++++++++++++++++++++++++++++++++++
1896 gi/pygobject.h | 636 ++++++++++
1897 gi/pygparamspec.c | 418 +++++++
1898 gi/pygparamspec.h | 33 +
1899 gi/pygpointer.c | 198 ++++
1900 gi/pygpointer.h | 27 +
1901 gi/pygtype.c | 1927 ++++++++++++++++++++++++++++++
1904 tests/Makefile.am | 2 +-
1905 57 files changed, 9594 insertions(+), 9649 deletions(-)
1907 commit a329f559002f2be0898309c9d81cdf2c34aef158
1908 Author: Simon Feltman <sfeltman@src.gnome.org>
1909 Date: Tue Jan 14 10:15:53 2014 -0800
1911 tests: Fix test_torture_profile to return a number from its callback
1913 Return a number from rather than None from the callback passed to
1914 regress_test_torture_signature_2. This fixes a TypeError being
1916 callback return argument marshaling which was ignored by the test
1919 tests/test_everything.py | 2 +-
1920 1 file changed, 1 insertion(+), 1 deletion(-)
1922 commit a50a8386aae54dace7e46569415fdef85758fb9c
1923 Author: Martin Pitt <martinpitt@gnome.org>
1924 Date: Tue Jan 14 08:53:25 2014 +0100
1926 Add test for callback user data arguments with following arguments
1928 In this case we can't use the varargs userdata handling. Provides
1930 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
1932 tests/test_everything.py | 48
1933 ++++++++++++++++++++++++++++++++++++++++++++++++
1934 1 file changed, 48 insertions(+)
1936 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
1937 Author: Simon Feltman <sfeltman@src.gnome.org>
1938 Date: Mon Jan 13 08:19:02 2014 -0800
1940 valgrind: Add suppression files for python3.3 and python3.3dm
1942 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
1943 suppression filename in the various make check.valgrind
1945 python.supp to python2.7.supp
1947 tests/Makefile.am | 6 +-
1948 tests/python.supp | 387 ----------------------------------------
1949 tests/python2.7.supp | 387 ++++++++++++++++++++++++++++++++++++++++
1950 tests/python3.3.supp | 471
1951 +++++++++++++++++++++++++++++++++++++++++++++++++
1952 tests/python3.3dm.supp | 471
1953 +++++++++++++++++++++++++++++++++++++++++++++++++
1954 5 files changed, 1332 insertions(+), 390 deletions(-)
1956 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
1957 Author: Simon Feltman <sfeltman@src.gnome.org>
1958 Date: Mon Jan 13 18:53:55 2014 -0800
1960 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
1962 Make sure NEWS generation uses top_srcdir to allow "make release-news"
1964 work under a vpath build (directory outside the source tree).
1965 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
1967 where running "make dist" under a vpath build directory would
1971 Makefile.am | 6 +++---
1972 1 file changed, 3 insertions(+), 3 deletions(-)
1974 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
1975 Author: Simon Feltman <sfeltman@src.gnome.org>
1976 Date: Mon Jan 13 18:53:02 2014 -0800
1978 Update HACKING to include better release tagging instructions
1980 HACKING | 15 ++++++++-------
1981 1 file changed, 8 insertions(+), 7 deletions(-)
1983 commit c0a43d259c003c5d06db23debd0675b87e805b74
1984 Author: Simon Feltman <sfeltman@src.gnome.org>
1985 Date: Mon Jan 13 17:20:17 2014 -0800
1987 configure.ac: post release version bump to 3.11.5
1989 NEWS | 16 ++++++++++++++++
1991 2 files changed, 17 insertions(+), 1 deletion(-)
1993 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
1994 Author: Simon Feltman <sfeltman@src.gnome.org>
1995 Date: Mon Jan 13 16:51:41 2014 -0800
1997 Fix mid-argument list callback user data expecting a tuple
1999 Ensure user data arguments are always packed into a tuple during
2001 marshaling. This fixes cases where there is mid-argument user data
2003 not in the form of a variable length tuple.
2005 https://bugzilla.gnome.org/show_bug.cgi?id=722104
2007 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
2008 1 file changed, 15 insertions(+), 1 deletion(-)
2010 commit 415b240e3baab522f3bf9752995610f950ba609e
2011 Author: Simon Feltman <sfeltman@src.gnome.org>
2012 Date: Tue Oct 15 03:57:52 2013 -0700
2014 Remove special case GObject base class check when creating GI classes
2016 Replace explicit GObject.Object string name check when calculating the
2017 introspection class hierarchy with a more generalized technique. This
2019 any C based wrapper of a GType to "underride" an introspection class
2020 automatically. This currently only handles the case of GObject.Object,
2022 will be used for fundamentals and GParamSpec.
2024 https://bugzilla.gnome.org/show_bug.cgi?id=631901
2026 gi/module.py | 17 +++++++++++------
2027 1 file changed, 11 insertions(+), 6 deletions(-)
2029 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
2030 Author: Simon Feltman <sfeltman@src.gnome.org>
2031 Date: Tue Jan 7 09:16:54 2014 -0800
2033 overrides: Fix __repr__ for various Gdk structs
2035 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
2037 string reprentation that is valid Python given an expected
2039 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
2041 gi/overrides/Gdk.py | 10 +++++-----
2042 tests/test_atoms.py | 7 +++++--
2043 tests/test_overrides_gdk.py | 9 +++++++++
2044 3 files changed, 19 insertions(+), 7 deletions(-)
2046 commit f6a87935596a3b59c238a5572b288f34691b53d1
2047 Author: Simon Feltman <sfeltman@src.gnome.org>
2048 Date: Tue Jan 7 07:31:22 2014 -0800
2050 docs: Fix array length argument skipping with preceding out arguments
2052 Remove split_function_info_args and use a list of all arguments for
2053 generating skipped index lists. Determine argument skipping based
2055 full argument list in each in/inout and out/inout argument list
2057 This fixes a problem where out arguments preceding array length
2059 would still show array length arguments in the docstring. This was
2061 index mismatch when using split lists instead of list of all
2064 gi/docstring.py | 38 ++++++++++++--------------------------
2065 tests/test_docstring.py | 37 +++++++++++++++----------------------
2066 2 files changed, 27 insertions(+), 48 deletions(-)
2068 commit f114edc0a0afa64077a13459034afc4255b7a3f1
2069 Author: Simon Feltman <sfeltman@src.gnome.org>
2070 Date: Mon Jan 6 22:10:47 2014 -0800
2072 overrides: Remove GLib.Source.attach
2074 Remove GLib.Source.attach override now that tail end allow-none
2076 default to None when not specified.
2078 gi/overrides/GLib.py | 5 -----
2079 tests/test_glib.py | 7 +++++++
2080 2 files changed, 7 insertions(+), 5 deletions(-)
2082 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
2083 Author: Simon Feltman <sfeltman@src.gnome.org>
2084 Date: Mon Jan 6 21:42:09 2014 -0800
2086 overrides: Remove Gtk overrides with tail end allow-none keywords
2088 Remove overrides for Widget.render_icon, TextIter.begins_tag,
2090 toggles_tag, and TreeModel.filter_new. These overrides added an
2091 optional keyword=None for allow-none arguments. This is now implicitly
2092 accepted by the PyGObject machinery so the overrides can go away.
2094 gi/overrides/Gtk.py | 16 ----------------
2095 tests/test_overrides_gtk.py | 11 +++++++++++
2096 2 files changed, 11 insertions(+), 16 deletions(-)
2098 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
2099 Author: Simon Feltman <sfeltman@src.gnome.org>
2100 Date: Mon Jan 6 21:22:41 2014 -0800
2102 overrides: Remove Pango.Context.get_metrics
2104 Remove the override for Pango.Context and the get_metrics method. This
2106 be done now that tail end method arguments with "allow-none"
2108 defaulted to use None/NULL.
2110 gi/overrides/Pango.py | 9 ---------
2111 tests/test_overrides_pango.py | 12 ++++++++++++
2112 2 files changed, 12 insertions(+), 9 deletions(-)
2114 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
2115 Author: Simon Feltman <sfeltman@src.gnome.org>
2116 Date: Mon Jan 6 17:35:04 2014 -0800
2118 Add enum and flags member methods
2120 Add all methods from GIEnumInfo to both enums and flags classes.
2122 https://bugzilla.gnome.org/show_bug.cgi?id=693099
2125 tests/test_gi.py | 9 +++++++++
2126 2 files changed, 11 insertions(+)
2128 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
2129 Author: Patrick Welche <prlw1@cam.ac.uk>
2130 Date: Mon Jan 6 22:31:48 2014 +0000
2132 python.m4: g/c JD_PYTHON_CHECK_VERSION
2134 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
2135 is identical (made here).
2137 https://bugzilla.gnome.org/show_bug.cgi?id=721662
2139 configure.ac | 4 ++--
2140 m4/python.m4 | 23 ++---------------------
2141 2 files changed, 4 insertions(+), 23 deletions(-)
2143 commit aaaead18e2167c2becb309f1d9ae199222c0256b
2144 Author: Simon Feltman <sfeltman@src.gnome.org>
2145 Date: Sat Jan 4 16:31:56 2014 -0800
2147 Support union creation with PyGIStruct
2149 Add additional case for allowing the creation bare unions wrapped with
2150 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
2153 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
2154 tests/test_repository.py | 13 +++++++++++++
2155 2 files changed, 47 insertions(+), 5 deletions(-)
2157 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
2158 Author: Simon Feltman <sfeltman@src.gnome.org>
2159 Date: Sat Jan 4 16:07:44 2014 -0800
2161 Fix crash in error handling when creating struct with mismatched
2164 Error handling code was attempting to get the PyType of a pointer to a
2165 pointer. Use the correct amount of indirection so an exception is
2167 intended rather than a segfault.
2169 gi/pygi-info.c | 2 +-
2170 1 file changed, 1 insertion(+), 1 deletion(-)
2172 commit 07abf8343bbeac6f36d370ced654fa6506b22175
2173 Author: Simon Feltman <sfeltman@src.gnome.org>
2174 Date: Wed Jan 1 20:23:17 2014 -0800
2176 docs: Skip display of default constructor for disguised structs
2178 Structs which have zero length should now show a default constructor.
2179 Structs with a length should not show keyword arguments in the default
2182 https://bugzilla.gnome.org/show_bug.cgi?id=708060
2184 gi/docstring.py | 9 ++++++++-
2185 tests/test_docstring.py | 18 ++++++++++++++++--
2186 2 files changed, 24 insertions(+), 3 deletions(-)
2188 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
2189 Author: Simon Feltman <sfeltman@src.gnome.org>
2190 Date: Wed Jan 1 19:57:06 2014 -0800
2192 Cleanup disguised struct constructor error and add it to boxed
2194 Give a cleaner error message when an attempt is made to create
2196 struct which also gives a hint to look at the pydoc. Add similar
2198 disguised boxed/unions.
2200 https://bugzilla.gnome.org/show_bug.cgi?id=647249
2202 gi/pygi-boxed.c | 17 ++++++++++++++---
2203 gi/pygi-struct.c | 2 +-
2204 tests/test_everything.py | 1 -
2205 tests/test_glib.py | 4 ++++
2206 4 files changed, 19 insertions(+), 5 deletions(-)
2208 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
2209 Author: Simon Feltman <sfeltman@src.gnome.org>
2210 Date: Wed Jan 1 19:54:59 2014 -0800
2212 docs: List default constructor in doc strings
2214 Add default constructor to class docs strings as:
2215 Object(**properties)
2217 https://bugzilla.gnome.org/show_bug.cgi?id=708060
2219 gi/docstring.py | 10 ++++------
2220 1 file changed, 4 insertions(+), 6 deletions(-)
2222 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
2223 Author: Simon Feltman <sfeltman@src.gnome.org>
2224 Date: Wed Jan 1 17:34:32 2014 -0800
2226 docs: List constructors in object and struct doc strings
2228 Add type dispatching to gi.docstring documentation generator for
2230 of StructInfo and ObjectInfo. Add lazy doc string generation to
2231 Object and Struct meta classes by using a property for __doc__. This
2233 available constructors immediately in all GObject.Object and Struct
2239 Button(**properties)
2241 new_from_icon_name(icon_name:str, size:int)
2242 new_from_stock(stock_id:str)
2243 new_with_label(label:str)
2244 new_with_mnemonic(label:str)
2246 https://bugzilla.gnome.org/show_bug.cgi?id=708060
2248 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
2249 gi/types.py | 9 +++++++++
2250 tests/test_docstring.py | 8 ++++++++
2251 3 files changed, 46 insertions(+), 7 deletions(-)
2253 commit 44612636575dd93c97210a7255c4490e2c84db67
2254 Author: Simon Feltman <sfeltman@src.gnome.org>
2255 Date: Wed Jan 1 17:10:15 2014 -0800
2257 docs: Cleanup PyGIBaseInfo repr
2259 Remove angle brackets and pointer address from
2260 PyGIBaseInfo.__repr__. This
2261 cleans up documentation and makes it easier to read.
2263 gi/pygi-info.c | 5 ++---
2264 1 file changed, 2 insertions(+), 3 deletions(-)
2266 commit 826c0e63eabac68fd665335950d311988a1405e3
2267 Author: Simon Feltman <sfeltman@src.gnome.org>
2268 Date: Tue Dec 31 21:45:21 2013 -0800
2270 docs: Add return values and skip implicit out arguments in functions
2272 Add gi.CallableInfo.skip_return static binding for testing if
2274 value should show up in docs. Skip implicit list index arguments
2278 https://bugzilla.gnome.org/show_bug.cgi?id=697356
2280 gi/docstring.py | 26 +++++++++++++++++++++-----
2281 gi/pygi-info.c | 7 +++++++
2282 tests/test_docstring.py | 6 ++++++
2283 3 files changed, 34 insertions(+), 5 deletions(-)
2285 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
2286 Author: Simon Feltman <sfeltman@src.gnome.org>
2287 Date: Tue Dec 31 21:15:27 2013 -0800
2289 docs: Replace usage of functools.wraps with a custom version
2291 Using functools.wraps in overrides would cause docstring evaluation
2293 can hurt performance during overrides loading. Add custom wraps
2295 which only copies __name__ and __module__ attributes. Remove function
2296 wrapping used within gi.overrides.overridefunc because the wrapping
2298 doing anything, this preserves __doc__ ability without causing an
2302 https://bugzilla.gnome.org/show_bug.cgi?id=697356
2304 gi/overrides/GObject.py | 3 +--
2305 gi/overrides/__init__.py | 21 ++++++++++++---------
2306 2 files changed, 13 insertions(+), 11 deletions(-)
2308 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
2309 Author: Simon Feltman <sfeltman@src.gnome.org>
2310 Date: Tue Dec 31 19:42:02 2013 -0800
2312 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
2314 Move the C implementation of pytype hinting into pure Python. Now that
2315 doc strings are lazily evaluated we can simplify this tedious bit of C
2316 code with Python. This is precursory work for getting return
2318 function doc strings.
2320 https://bugzilla.gnome.org/show_bug.cgi?id=697356
2322 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
2323 gi/pygi-info.c | 49 ----------------------------------------
2325 ------------------------------------------------
2326 gi/pygi-type.h | 2 --
2327 tests/test_docstring.py | 8 ++++---
2328 tests/test_repository.py | 1 -
2329 6 files changed, 52 insertions(+), 116 deletions(-)
2331 commit 28a178e385e32c56910f1c430b370a8872218081
2332 Author: Simon Feltman <sfeltman@src.gnome.org>
2333 Date: Tue Dec 31 17:50:36 2013 -0800
2335 docs: Skip implicit array length args when building function doc
2338 https://bugzilla.gnome.org/show_bug.cgi?id=697356
2340 gi/docstring.py | 8 ++++++--
2341 tests/test_docstring.py | 4 ++++
2342 2 files changed, 10 insertions(+), 2 deletions(-)
2344 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
2345 Author: Simon Feltman <sfeltman@src.gnome.org>
2346 Date: Tue Dec 31 13:41:20 2013 -0800
2348 gtk-demo: Avoid crash in CSS demos
2350 Avoid a potential crash in the CSS demos where the text editing
2352 out of sync with the last good CSS parsing buffer. In the case of CSS
2353 warnings, we get a parsing-error callback but no exception is raised.
2354 This would cause the buffers to become out of sync and accessing
2356 information from the parsing-error section would crash the text
2358 to an out of range iterator being created.
2360 demos/gtk-demo/demos/Css/css_basics.py | 31
2361 +++++++++++++++++++++--------
2362 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
2363 +++++++++++++++++++++--------
2364 2 files changed, 46 insertions(+), 16 deletions(-)
2366 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
2367 Author: Simon Feltman <sfeltman@src.gnome.org>
2368 Date: Tue Dec 31 02:05:46 2013 -0800
2370 gtk-demo: Add info bar and better error handling to CSS demos
2372 Use an info bar for displaying CSS parsing errors. Store the last good
2373 stylesheet text for use as a backup when a parsing error occures. This
2375 a seamless look while typing changes into the text editor.
2377 https://bugzilla.gnome.org/show_bug.cgi?id=719722
2379 demos/gtk-demo/demos/Css/css_basics.py | 28
2380 +++++++++++++++++++++-------
2381 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
2382 ++++++++++++++++++++++-------
2383 2 files changed, 43 insertions(+), 14 deletions(-)
2385 commit becb56734e13df182fd31cfe46c465477dfc4d2c
2386 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
2387 Date: Mon Dec 30 16:36:28 2013 +0100
2389 gtk-demo: Add CSS demos
2391 Add a couple of demos demostrating the use of CSS, the css files are
2392 stored into a GResource binary file compiled with
2393 glib-compile-resources,
2394 the comments in gtk-demo.py explain the usage of GResource.
2396 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
2398 https://bugzilla.gnome.org/show_bug.cgi?id=719722
2401 demos/gtk-demo/demos/Css/__init__.py | 0
2402 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
2403 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
2404 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
2405 ++++++++++++++++++++++++++
2406 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
2407 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
2408 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
2409 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
2410 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
2411 ++++++++++++++++++++++
2412 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
2413 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
2414 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
2415 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
2416 demos/gtk-demo/gtk-demo.py | 16 ++-
2417 15 files changed, 723 insertions(+), 1 deletion(-)
2419 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
2420 Author: Colin Watson <cjwatson@ubuntu.com>
2421 Date: Tue Dec 24 22:19:02 2013 +0000
2423 build: Avoid clash between gi/types.py and stdlib
2425 Use non-recursive make for the Python modules in gi/ to work around a
2426 clash between gi/types.py and the standard library's types module when
2429 https://bugzilla.gnome.org/show_bug.cgi?id=721025
2431 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2433 Makefile.am | 24 ++++++++++++++++++++++++
2434 gi/Makefile.am | 20 ++------------------
2435 2 files changed, 26 insertions(+), 18 deletions(-)
2437 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
2438 Author: Simon Feltman <sfeltman@src.gnome.org>
2439 Date: Mon Dec 16 04:17:28 2013 -0800
2441 configure.ac: post-release bump to 3.11.4
2444 1 file changed, 1 insertion(+), 1 deletion(-)
2446 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
2447 Author: Simon Feltman <sfeltman@src.gnome.org>
2448 Date: Mon Dec 16 04:10:54 2013 -0800
2453 1 file changed, 4 insertions(+)
2455 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
2456 Author: Simon Feltman <sfeltman@src.gnome.org>
2457 Date: Thu Dec 12 01:35:11 2013 -0800
2459 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
2461 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
2463 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
2464 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
2465 we can use the GIStructInfo API for boxed types because we also
2467 base classes on GType checks as seen in:
2468 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
2469 This fixes some of the issues noted in bug 581525.
2471 https://bugzilla.gnome.org/show_bug.cgi?id=581525
2473 gi/pygi-info.c | 13 +------------
2474 1 file changed, 1 insertion(+), 12 deletions(-)
2476 commit b3c85eec75c62c138c136531ebe49a33351941f0
2477 Author: Simon Feltman <sfeltman@src.gnome.org>
2478 Date: Sun Nov 17 20:12:50 2013 -0800
2480 configure.ac: post release version bump to 3.11.3
2483 1 file changed, 1 insertion(+), 1 deletion(-)
2485 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
2486 Author: Simon Feltman <sfeltman@src.gnome.org>
2487 Date: Sun Nov 17 20:04:49 2013 -0800
2492 1 file changed, 6 insertions(+)
2494 commit 6fc3d977f17397e514aed492055e93d03c410f60
2495 Author: Simon Feltman <sfeltman@src.gnome.org>
2496 Date: Tue Nov 12 23:04:50 2013 -0800
2498 gtk-demo: Fix pyflakes error after recent commit
2500 demos/gtk-demo/demos/pixbuf.py | 2 +-
2501 1 file changed, 1 insertion(+), 1 deletion(-)
2503 commit a309b3baf5ee99139cc2d1817339233e24391bc2
2504 Author: Simon Feltman <sfeltman@src.gnome.org>
2505 Date: Tue Nov 12 18:41:35 2013 -0800
2507 gkt-demo: Change main info/source notebook into a GtkStack
2509 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
2511 and Source tabs. Beyond giving a newer look and feel to the demo,
2513 provides an example for how to use a GtkStack.
2515 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
2516 1 file changed, 17 insertions(+), 6 deletions(-)
2518 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
2519 Author: Simon Feltman <sfeltman@src.gnome.org>
2520 Date: Tue Nov 12 19:32:18 2013 -0800
2522 gtk-demo: Cleanup deprecated calls throughout demo code
2524 Specify constructor arguments as keyword args for various object
2525 creation calls. Update combobox demo to use bind_property instead
2527 signal connections with update callbacks.
2529 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
2530 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
2531 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
2532 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
2533 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
2534 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
2535 demos/gtk-demo/demos/appwindow.py | 4 +--
2536 demos/gtk-demo/demos/combobox.py | 30
2537 +++-------------------
2538 demos/gtk-demo/demos/dialogs.py | 26
2540 demos/gtk-demo/demos/expander.py | 9 +++----
2541 demos/gtk-demo/demos/images.py | 2 +-
2542 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
2543 demos/gtk-demo/demos/links.py | 10 ++++----
2544 demos/gtk-demo/demos/menus.py | 4 +--
2545 demos/gtk-demo/demos/pickers.py | 8 +++---
2546 demos/gtk-demo/demos/pixbuf.py | 4 +--
2547 demos/gtk-demo/demos/rotatedtext.py | 2 +-
2548 17 files changed, 64 insertions(+), 90 deletions(-)
2550 commit 890fb7b97823985d5c800284ead43a49174db244
2551 Author: Simon Feltman <sfeltman@src.gnome.org>
2552 Date: Tue Nov 12 18:19:34 2013 -0800
2554 Revert TreeStore and ListStore initializer replacements
2556 Revert changes to Tree/ListStore where the __init__ overrides were
2558 with __new__ overrides which accept column types directly. The
2560 the change is sub-classes of these types can override __init__
2562 passing in their own column types to the super class. These
2564 expect the super class to handle column type setup via __init__
2566 the change described is an API break. This reverts parts of commit:
2567 2f2069c9efcd8f312ce9ffa572df371fbc08822d
2569 gi/overrides/Gtk.py | 10 ++++++----
2570 1 file changed, 6 insertions(+), 4 deletions(-)
2572 commit 795201873a3aae530598f5e16470b6a8d2d55c23
2573 Author: Simon Feltman <sfeltman@src.gnome.org>
2574 Date: Thu Aug 15 20:01:48 2013 -0700
2576 Deprecate Gdk.Cursor constructor dispatching
2578 Give deprecation warning for the overridden __new__ method on
2579 Gdk.Cursor when more than one argument is used. Recommend using
2580 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
2583 https://bugzilla.gnome.org/show_bug.cgi?id=705810
2585 gi/overrides/Gdk.py | 48
2586 ++++++++++++++++++++++++++-------------------
2587 tests/test_overrides_gdk.py | 17 ++++++++++++----
2588 2 files changed, 41 insertions(+), 24 deletions(-)
2590 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
2591 Author: Simon Feltman <sfeltman@src.gnome.org>
2592 Date: Thu Aug 15 19:23:18 2013 -0700
2594 Cleanup overzealous new and init implementations
2596 Remove PyGObject initializer code attempting to set properties on
2597 GObjects that have already been created. There were a number of
2598 overridden __new__ and __init__ methods that stripped away
2599 arguments before calling the base class to work around attempted
2600 property sets and argument count errors (fixing the symptom not
2602 Use Gtk.ListStore/TreeStore.new with __new__ override instead
2603 of __init__ with set_column_types.
2605 https://bugzilla.gnome.org/show_bug.cgi?id=705810
2607 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
2608 gi/_gobject/pygobject.c | 16 ++++++++++++++--
2609 gi/overrides/GObject.py | 3 ---
2610 gi/overrides/Gdk.py | 15 ---------------
2611 gi/overrides/Gtk.py | 11 ++++-------
2612 gi/overrides/Pango.py | 5 -----
2613 gi/pygi-boxed.c | 6 ------
2614 7 files changed, 32 insertions(+), 59 deletions(-)
2616 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
2617 Author: Simon Feltman <sfeltman@src.gnome.org>
2618 Date: Tue Aug 13 18:02:54 2013 -0700
2620 Add deprecation warnings and cleanup class initializer overrides
2622 Print deprecation warnings for calls to class initializers which
2623 don't explicitly specify keywords. Print deprecation warning
2624 for overrides that have renamed keywords (Gtk.Table.rows should
2625 be n_rows). Additionally deprecate non-standard defaults with
2626 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
2627 and VERTICAL in PyGI).
2628 Remove AboutDialog override because it doesn't do anything.
2630 https://bugzilla.gnome.org/show_bug.cgi?id=705810
2632 gi/overrides/Gio.py | 6 +-
2633 gi/overrides/Gtk.py | 367
2634 ++++++++++++++++++++++----------------------
2635 gi/overrides/__init__.py | 88 +++++++++++
2636 tests/test_gi.py | 75 +++++++++
2637 tests/test_overrides_gtk.py | 95 ++++++++----
2638 5 files changed, 411 insertions(+), 220 deletions(-)
2640 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
2641 Author: Simon Feltman <sfeltman@src.gnome.org>
2642 Date: Tue Aug 13 17:42:11 2013 -0700
2644 tests: Use explicit keywords args when calling initializers
2646 Replace all usage of GObject creation that relies on positional
2647 arguments from overrides. Positional initializer args will be
2648 deprecated, updating the tests as a first pass proves backwards
2649 and forwards compatibility of the deprecation.
2651 https://bugzilla.gnome.org/show_bug.cgi?id=705810
2653 tests/test_overrides_gtk.py | 107
2654 +++++++++++++++++++++++---------------------
2655 1 file changed, 55 insertions(+), 52 deletions(-)
2657 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
2658 Author: Simon Feltman <sfeltman@src.gnome.org>
2659 Date: Tue Nov 12 03:46:08 2013 -0800
2661 Revert "Add type checking to positional Gtk.Box and Gtk.Window
2664 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
2666 gi/overrides/Gtk.py | 7 -------
2667 tests/test_overrides_gtk.py | 18 ------------------
2668 tests/test_properties.py | 9 ---------
2669 3 files changed, 34 deletions(-)
2671 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
2672 Author: Simon Feltman <sfeltman@src.gnome.org>
2673 Date: Sun Nov 10 03:26:10 2013 -0800
2675 Fix dir method for static GParamSpec in Python 3
2677 Add a __dir__ method which lists GParamSpec attributes and remove
2679 getattr which made use of the deprecated __members__ technique for dir
2680 (removed in Python 3). This makes dir(pspec) work again in Python 3.
2682 gi/_gobject/pygparamspec.c | 218
2683 ++++++++++++++++++++++++---------------------
2684 tests/test_gi.py | 10 +++
2685 2 files changed, 126 insertions(+), 102 deletions(-)
2687 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
2688 Author: Martin Pitt <martinpitt@gnome.org>
2689 Date: Tue Nov 5 15:28:12 2013 +0100
2691 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
2693 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
2695 when trying to create a subclass of them through the GObject
2697 positional arguments by at least verifying that their type is
2699 you can do things like
2701 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
2703 which succeeds, but does not have the desired effect (it sets the
2705 property of the Gtk.Box superclass instead).
2707 https://bugzilla.gnome.org/show_bug.cgi?id=711487
2709 gi/overrides/Gtk.py | 7 +++++++
2710 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
2711 tests/test_properties.py | 9 +++++++++
2712 3 files changed, 34 insertions(+)
2714 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
2715 Author: Simon Feltman <sfeltman@src.gnome.org>
2716 Date: Mon Nov 4 03:29:57 2013 -0800
2718 Remove overzealous argument checking for callback userdata
2720 Remove check which ensures userdata is None if the callback is None.
2721 This check would need to become more complicated with recent
2723 PyGObject where userdata can be variable (would also need to check
2725 a tuple containing None). Instead of adding more complex checking,
2727 remove the checking as it is unnecessary to begin with.
2729 https://bugzilla.gnome.org/show_bug.cgi?id=711173
2731 gi/pygi-marshal-from-py.c | 7 -------
2732 tests/test_overrides_gtk.py | 11 +++++++----
2733 2 files changed, 7 insertions(+), 11 deletions(-)
2735 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
2736 Author: Martin Pitt <martinpitt@gnome.org>
2737 Date: Mon Oct 28 16:00:57 2013 +0100
2739 configure.ac: post-release bump to 3.11.2
2742 1 file changed, 1 insertion(+), 1 deletion(-)
2744 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
2745 Author: Martin Pitt <martinpitt@gnome.org>
2746 Date: Mon Oct 28 15:59:51 2013 +0100
2750 NEWS | 27 +++++++++++++++++++++++++++
2751 1 file changed, 27 insertions(+)
2753 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
2754 Author: Simon Feltman <sfeltman@src.gnome.org>
2755 Date: Sun Oct 27 22:09:27 2013 -0700
2757 Fix toggleref safety problems by always enabling the GIL
2759 Call PyEval_InitThreads for the base gi module import. This forces the
2760 Python internals create the GIL and always support threading with the
2761 various thread state enter/exit funcs. This is needed since we cannot
2762 predict which GI repositories might accept Python callbacks and run
2764 non-Python threads or trigger toggle ref notifications in a thread
2768 https://bugzilla.gnome.org/show_bug.cgi?id=709223
2770 gi/__init__.py | 2 --
2771 gi/gimodule.c | 18 +++++++-----------
2772 gi/overrides/GLib.py | 8 ++------
2773 3 files changed, 9 insertions(+), 19 deletions(-)
2775 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
2776 Author: Simon Feltman <sfeltman@src.gnome.org>
2777 Date: Sun Oct 27 16:02:13 2013 -0700
2779 Add consistent GLib.MainLoop SIGINT cleanup
2781 Remove auto cleanup of SIGINT source handling by returning True
2783 signal callback. This gives the __del__ method consistent cleanup
2785 regardless of whether or not a SIGINT occurred.
2787 https://bugzilla.gnome.org/show_bug.cgi?id=710978
2789 gi/overrides/GLib.py | 4 ++++
2790 1 file changed, 4 insertions(+)
2792 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
2793 Author: Simon Feltman <sfeltman@src.gnome.org>
2794 Date: Sun Oct 27 15:16:09 2013 -0700
2796 tests: Fix source testing to handle critical with non-existing sources
2798 Silence new critical coming from g_source_remove on non-existing
2800 This function still returns False, but we need to silence the new
2802 so the test suite doesn't fail. See bug 710724.
2804 https://bugzilla.gnome.org/show_bug.cgi?id=710978
2806 tests/test_source.py | 18 ++++++++++++------
2807 1 file changed, 12 insertions(+), 6 deletions(-)
2809 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
2810 Author: Simon Feltman <sfeltman@src.gnome.org>
2811 Date: Sun Jul 28 00:01:35 2013 -0700
2813 docs: Add a keyword value of None for allow-none annotations
2815 Update documentation generator for allow-none arguments and
2816 user_data arguments to show a keyword value of None.
2817 Add skip for GDestroyNotify closure arguments.
2819 https://bugzilla.gnome.org/show_bug.cgi?id=640812
2821 gi/docstring.py | 20 +++++++++++++++++---
2822 tests/test_docstring.py | 10 ++++++++++
2823 2 files changed, 27 insertions(+), 3 deletions(-)
2825 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
2826 Author: Simon Feltman <sfeltman@src.gnome.org>
2827 Date: Sat Oct 19 19:03:12 2013 -0700
2829 Remove overrides for supporting pre-3.10 GObject signal functions
2831 Remove GObject override code for supporting pre-3.10 signal functions
2833 annotate the object argument as "gpointer". With PyGObject 3.11
2835 dependency on GObject 3.10, clear the special case overrides out.
2837 gi/overrides/GObject.py | 76
2838 ++++++-------------------------------------------
2839 1 file changed, 9 insertions(+), 67 deletions(-)
2841 commit 0c308de528c402f67808b13760ca30d55d4c99d7
2842 Author: Simon Feltman <sfeltman@src.gnome.org>
2843 Date: Fri Oct 18 17:15:06 2013 -0700
2845 Add threads_init back as a requirement for non-Python threaded repos
2847 Re-add a "threads_init" function to gi for explicit intialization
2849 threading support. This was marked as deprecated in the previous cycle
2850 because using Python threads already initializes everything.
2851 However, we still need an explicit initalization when using
2853 with non-Python threads which may interact with Python callbacks
2856 https://bugzilla.gnome.org/show_bug.cgi?id=710447
2858 gi/__init__.py | 2 ++
2859 gi/gimodule.c | 10 ++++++++++
2860 gi/overrides/GLib.py | 11 +++++++----
2861 3 files changed, 19 insertions(+), 4 deletions(-)
2863 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
2864 Author: Simon Feltman <sfeltman@src.gnome.org>
2865 Date: Mon Oct 14 20:38:13 2013 -0700
2867 Add dir method to GObject props accessor
2869 Remove special case __members__ attribute from the props accessor
2870 objects getattr method. This has been deprecated since Python 2.3 and
2871 removed in Python 3. Replace this with a __dir__ method making use
2873 old members list building code. Additionally fix error where the
2874 GObjectClass was being unref'd too many times when using
2876 causing a GLib critical.
2878 https://bugzilla.gnome.org/show_bug.cgi?id=705754
2880 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
2881 tests/test_gi.py | 14 ++++++++++++++
2882 2 files changed, 35 insertions(+), 8 deletions(-)
2884 commit 799989ada2f6b1d729f078f204445651c808a2c7
2885 Author: Simon Feltman <sfeltman@src.gnome.org>
2886 Date: Fri May 3 04:37:13 2013 -0700
2888 Remove PyGObjectWeakRef now that g_binding_unbind exists
2890 Remove the static code for managing GBinding weak references now
2892 has a method (unbind) for clearing out bindings.
2894 https://bugzilla.gnome.org/show_bug.cgi?id=699571
2896 gi/_gobject/pygobject.c | 59
2897 +------------------------------------------------
2898 gi/overrides/GObject.py | 19 ++++++++++++++++
2899 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
2900 3 files changed, 44 insertions(+), 75 deletions(-)
2902 commit fe217e0afbd63f05285e59628533f351896377d9
2903 Author: Simon Feltman <sfeltman@src.gnome.org>
2904 Date: Wed Oct 9 00:34:37 2013 -0700
2906 Fix GArray, GList, GSList, and GHashTable marshaling leaks
2908 Remove calling of cleanup code for transfer-everything modes by
2910 cleanup_data is set to NULL in from_py marshalers. Use array and hash
2911 table ref/unref functions for container transfer mode to ensure we
2913 valid container ref after invoke and during from_py cleanup of
2915 Rework restrictions with to_py marshaling cleanup so we always
2917 container for transfer-everything and transfer-container modes.
2919 https://bugzilla.gnome.org/show_bug.cgi?id=693402
2921 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
2922 gi/pygi-marshal-from-py.c | 77
2923 ++++++++++++++++++++++++++++++++++++++++-------
2924 2 files changed, 84 insertions(+), 47 deletions(-)
2926 commit 7407367f424595c2780a2d6a47d936ad0bd91735
2927 Author: Simon Feltman <sfeltman@src.gnome.org>
2928 Date: Mon Oct 7 14:11:39 2013 -0700
2930 Add cleanup_data argument used for Python to C marshaler cleanup
2932 Add a new output argument to all from_py marshalers which is used for
2933 keeping track of marshaling data that later needs cleanup. Previously
2935 marshalers would rely on the GIArgument->v_pointer as the means
2937 cleanup. However, this pointer would get clobbered in the case of
2938 bi-directional arguments (inout) and the memory lost.
2939 Use the new cleanup_data for storing temporarily wrapped C arrays
2941 don't need to re-calculate the length argument during cleanup.
2943 Additionally delay the from_py marshaling cleanup function until after
2944 _invoke_marshal_out_args is called. This gives inout arguments
2946 modify the pointer sufficient time to exist until they marshaled
2948 Python (gi_marshalling_tests_gvalue_inout).
2950 https://bugzilla.gnome.org/show_bug.cgi?id=693402
2952 gi/pygi-argument.c | 4 +-
2953 gi/pygi-cache.h | 3 +-
2954 gi/pygi-invoke-state-struct.h | 7 +-
2955 gi/pygi-invoke.c | 20 +++---
2956 gi/pygi-marshal-cleanup.c | 43 +++++-------
2957 gi/pygi-marshal-from-py.c | 160
2958 ++++++++++++++++++++++++++++--------------
2959 gi/pygi-marshal-from-py.h | 45 ++++++++----
2960 7 files changed, 177 insertions(+), 105 deletions(-)
2962 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
2963 Author: Simon Feltman <sfeltman@src.gnome.org>
2964 Date: Wed Aug 7 12:08:15 2013 -0700
2966 Add support for variable user data arguments
2968 Support a variable number of user data arguments for all callback
2969 connection function where the user data is the last explicit argument.
2970 This adds convience as well as consistency with the rest of PyGObject.
2971 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
2972 io_add_watch, and child_watch_add which manually implemented this
2975 https://bugzilla.gnome.org/show_bug.cgi?id=640812
2977 gi/overrides/GLib.py | 75
2978 +++++++++++++++--------------------------------
2979 gi/pygi-cache.c | 14 +++++++++
2980 gi/pygi-cache.h | 3 ++
2981 gi/pygi-closure.c | 37 +++++++++++++++--------
2982 gi/pygi-invoke.c | 71
2983 +++++++++++++++++++++++++++++++-------------
2984 gi/pygi-marshal-from-py.c | 5 ++++
2985 tests/test_everything.py | 32 ++++++++++++++++++++
2986 tests/test_glib.py | 21 +++++++++++++
2987 tests/test_subprocess.py | 8 ++---
2988 9 files changed, 177 insertions(+), 89 deletions(-)
2990 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
2991 Author: Martin Pitt <martinpitt@gnome.org>
2992 Date: Mon Oct 14 12:57:04 2013 +0200
2994 Bump glib and g-i dependencies to latest stable.
2996 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
3000 Drop @unittest.skipUnless tags from tests which didn't work with
3004 configure.ac | 6 +++---
3005 tests/test_gi.py | 2 --
3006 3 files changed, 5 insertions(+), 6 deletions(-)
3008 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
3009 Author: Nuno Araujo <nuno.araujo@russo79.com>
3010 Date: Fri Oct 11 18:41:48 2013 +0200
3012 Fix TypeError when setting drag target_list to None
3014 When calling Widget.drag_dest_set_target_list(None) or
3015 Widget.drag_source_set_target_list(None)
3016 a "TypeError: 'NoneType' object is not iterable" is thrown.
3018 According to Gtk documentation [1] [2], this shouldn't be the case
3019 since client code should be
3020 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
3021 gtk_drag_source_set_target_list.
3023 We now check if the target_list is None and do not try to create a
3024 TargetList if it is the case.
3027 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
3029 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
3031 https://bugzilla.gnome.org/show_bug.cgi?id=709926
3033 gi/overrides/Gtk.py | 4 ++--
3034 tests/test_overrides_gtk.py | 2 ++
3035 2 files changed, 4 insertions(+), 2 deletions(-)
3037 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
3038 Author: Simon Feltman <sfeltman@src.gnome.org>
3039 Date: Tue Oct 1 17:09:39 2013 -0700
3041 Use qdata for wrapper retrieval in toggle reference notifications
3043 Replace usage of user data holding PyGObject wrappers in toggle ref
3044 notifications with GObject qdata retrieval. This fixes thread
3046 where a toggle notify may be called from another thread during
3048 wrappers dealloc. In this case the toggle notify is blocked because
3050 is held in dealloc, and when it continues, the user data would be
3052 invalid PyGObject wrapper. Using qdata solves this by ensuring
3054 retrieval is done within the safety of the GIL and may turn up
3057 https://bugzilla.gnome.org/show_bug.cgi?id=709223
3059 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
3060 1 file changed, 14 insertions(+), 7 deletions(-)
3062 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
3063 Author: Simon Feltman <sfeltman@src.gnome.org>
3064 Date: Thu Oct 10 16:10:16 2013 -0700
3066 Add expected failure to deal with fixes in gimarshallingtests.c
3068 Fix test_object_full_inout based on newer gimarshallingtests.c >
3070 Add expectedFailure to deal with previous versions of
3071 gimarshallingtests.c.
3073 https://bugzilla.gnome.org/show_bug.cgi?id=709796
3075 tests/test_gi.py | 6 +++++-
3076 1 file changed, 5 insertions(+), 1 deletion(-)
3078 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
3079 Author: Simon Feltman <sfeltman@src.gnome.org>
3080 Date: Mon Oct 7 01:17:08 2013 -0700
3082 Fix memory leaks for inout array arguments
3084 Add tracking for array allocations to from_py marashalers in the
3085 argument states extra data (arg_data). This is then used later
3087 marshaling cleanup to call the array cleanup function.
3089 https://bugzilla.gnome.org/show_bug.cgi?id=693402
3091 gi/pygi-invoke.c | 1 +
3092 gi/pygi-marshal-cleanup.c | 1 +
3093 gi/pygi-marshal-from-py.c | 13 +++++++++----
3094 3 files changed, 11 insertions(+), 4 deletions(-)
3096 commit 31263ac117027446c8e2fd1b56d7e348384aabef
3097 Author: Simon Feltman <sfeltman@src.gnome.org>
3098 Date: Sun Oct 6 21:54:15 2013 -0700
3100 Fix to Python marshaling leaks for arrays holding GVariants
3102 Add early check for array items holding pointers and simply assign the
3103 pointer to GIArgument.v_pointer prior giving it to the per-item
3105 This simplifies marshaling and fixes leaks regarding arrays of
3107 removing the unneeded g_variant_ref_sink (variants are always
3109 Conditionalize the use of g_variant_ref_sink based on transfer mode
3111 per-item marshaler. This fixes a reference leak where we are given
3113 of the variant (transfer full) but added a new ref anyway.
3115 https://bugzilla.gnome.org/show_bug.cgi?id=693402
3117 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
3118 1 file changed, 18 insertions(+), 16 deletions(-)
3120 commit c9580ce1156789221aa19b00c7aab404db5431b5
3121 Author: Simon Feltman <sfeltman@src.gnome.org>
3122 Date: Sun Oct 6 04:26:18 2013 -0700
3124 Cleanup per-item array marshaling code for flat arrays
3126 Add an early per-item check which tests if the item being marshaled
3128 pointer and simply copies the pointer into the array. This takes
3130 GdkAtom and GVariant special cases because these items are always
3133 Fix error condition cleanup code when an item fails marshaling in
3137 https://bugzilla.gnome.org/show_bug.cgi?id=693402
3139 gi/pygi-marshal-from-py.c | 87
3140 +++++++++++++++++++++--------------------------
3141 tests/test_gi.py | 32 +++++++++++++++++
3142 2 files changed, 71 insertions(+), 48 deletions(-)
3144 commit 4623caa71c54958ab821db27a9eff2790acb3975
3145 Author: Simon Feltman <sfeltman@src.gnome.org>
3146 Date: Sat Oct 5 17:00:54 2013 -0700
3148 Fix GValue array marshaling leaks and crash fallout
3150 * Decrement references for results of PySequence_GetItem. There were
3152 places we were not decrementing the Python reference, leaking
3154 * Add tracking of Python arguments with recursive marshaling
3156 allows arrays of GValues which have been coerced from Python types
3158 properly free'd (also fixes bug 703662).
3159 * Use g_variant_ref for variant arguments marked as transfer
3161 This fixes double free's caused by the decrementing of
3165 https://bugzilla.gnome.org/show_bug.cgi?id=693402
3167 gi/pygi-cache.h | 1 +
3168 gi/pygi-invoke.c | 1 +
3169 gi/pygi-marshal-cleanup.c | 50
3170 +++++++++++++++++++++++++++++++++++++++++------
3171 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
3172 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
3173 gi/pygi-marshal-to-py.c | 1 +
3174 6 files changed, 78 insertions(+), 9 deletions(-)
3176 commit 549f849ef8854352483657df3d7558688a4b0007
3177 Author: Simon Feltman <sfeltman@src.gnome.org>
3178 Date: Sat Sep 28 00:26:28 2013 -0700
3180 Refactor GLib.io_add_watch to make it more testable
3182 Break the argument munging code into a separate function which
3183 can be tested in isolation of adding an io watch.
3184 Add additional failing test which specifies all args as keywords
3185 which we eventually need to support for consistency with the
3188 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3190 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
3191 1 file changed, 18 insertions(+), 5 deletions(-)
3193 commit bc780ed17bc4cc62959c63c3f0142161a924679f
3194 Author: Simon Feltman <sfeltman@src.gnome.org>
3195 Date: Fri Sep 27 20:59:45 2013 -0700
3197 Refactor GLib.child_watch_add to make it more testable
3199 Break the argument munging code into a separate function which
3200 can be tested in isolation of adding a child watch. Update tests
3201 to reflect this. Add additional failing test which specify
3202 all args as keywords which we eventually need to support for
3203 consistency with the rest of PyGObject.
3205 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3207 gi/overrides/GLib.py | 25 +++++++++-----
3208 tests/test_subprocess.py | 88
3209 +++++++++++++++++++++---------------------------
3210 2 files changed, 56 insertions(+), 57 deletions(-)
3212 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
3213 Author: Simon Feltman <sfeltman@src.gnome.org>
3214 Date: Thu Sep 26 19:05:20 2013 -0700
3216 Don't pass None to callbacks when user data is not specified
3218 For APIs which support a callback and optional user data,
3219 don't pass the user data to the callback if it was not explicitly
3220 specified when the callback was connected.
3222 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3224 gi/pygi-closure.c | 17 ++++++++++++++---
3225 gi/pygi-marshal-from-py.c | 5 -----
3226 tests/test_everything.py | 7 ++-----
3227 3 files changed, 16 insertions(+), 13 deletions(-)
3229 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
3230 Author: Simon Feltman <sfeltman@src.gnome.org>
3231 Date: Fri Oct 4 17:27:47 2013 -0700
3233 Add missing methods on PyGIBaseInfo and sub-classes
3235 Expose all methods of GIBaseBase info and its sub-classes.
3237 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3239 gi/_glib/pyglib-python-compat.h | 1 +
3240 gi/pygi-info.c | 550
3241 +++++++++++++++++++++++++++++++++++++++-
3242 tests/test_repository.py | 134 ++++++++++
3243 3 files changed, 677 insertions(+), 8 deletions(-)
3245 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
3246 Author: Simon Feltman <sfeltman@src.gnome.org>
3247 Date: Fri Oct 4 13:46:36 2013 -0700
3249 Expose all GI enum and flags types
3251 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
3252 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
3254 GInfoType. These types are found in the gi._gi module exposed
3256 "GI" prefix and contain all of their values as class attributes. e.g.
3257 gi._gi.Transfer.EVERYTHING.
3259 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3261 gi/docstring.py | 10 ++--
3262 gi/pygi-info.c | 150
3263 ++++++++++++++++++++++++++++++++++++++++++++---
3264 tests/test_repository.py | 13 +++-
3265 3 files changed, 158 insertions(+), 15 deletions(-)
3267 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
3268 Author: Simon Feltman <sfeltman@src.gnome.org>
3269 Date: Fri Oct 4 13:42:34 2013 -0700
3271 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
3273 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
3275 cause a crash. Avoid this by adding _safe_base_info_get_name and
3277 throughout the bindings.
3278 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
3280 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3282 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
3283 1 file changed, 25 insertions(+), 10 deletions(-)
3285 commit c86b2fe8d01070f06c45fffd910d890afba1313a
3286 Author: Simon Feltman <sfeltman@src.gnome.org>
3287 Date: Fri Oct 4 13:41:08 2013 -0700
3289 Add GIBaseInfo.equal method
3291 Break PyGIBaseInfo rich compare into two methods: equal and
3293 Equal is a direct exposure of the GI method and richcompare makes
3295 this with additional support for Pyton "==" and "!=" operators.
3297 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3299 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
3300 tests/test_repository.py | 1 +
3301 2 files changed, 25 insertions(+), 8 deletions(-)
3303 commit e7b758badd0ab0b147117859f7871c39fb5399c1
3304 Author: Simon Feltman <sfeltman@src.gnome.org>
3305 Date: Fri Oct 4 13:36:11 2013 -0700
3307 Move info string retrieval into generic function
3309 Add get_info_string for sharing binding of simple string retrieval on
3312 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3314 gi/pygi-info.c | 15 +++++++++++++--
3315 1 file changed, 13 insertions(+), 2 deletions(-)
3317 commit d2aef364de778da966bc1cfffe184d649f9ebb21
3318 Author: Simon Feltman <sfeltman@src.gnome.org>
3319 Date: Tue Sep 24 06:26:17 2013 -0700
3321 Move child info retrieval into generic function
3323 Add a generic function for bindings which return a single child info.
3324 This trivializes binding methods like PyGIObjectInfo.get_parent and
3325 fixes leaks in PyGIObjectInfo.get_class_struct and
3326 PyGIVFuncInfo.get_invoker.
3328 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3331 +++++++++++++++++++++++---------------------------------
3332 1 file changed, 23 insertions(+), 33 deletions(-)
3334 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
3335 Author: Simon Feltman <sfeltman@src.gnome.org>
3336 Date: Tue Sep 24 02:52:22 2013 -0700
3338 Move info tuple retrieval into generic function
3340 Create new generic function for retrieving a tuple of child infos.
3341 This greatly simplifies all the bindings which return tuples from
3342 a common pattern of functions on GIBaseInfo based instances.
3344 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3346 gi/pygi-info.c | 469
3347 ++++++++-------------------------------------------------
3348 1 file changed, 59 insertions(+), 410 deletions(-)
3350 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
3351 Author: Simon Feltman <sfeltman@src.gnome.org>
3352 Date: Sun Oct 6 16:41:37 2013 -0700
3354 tests: Update check.valgrind with always-malloc and add logging
3357 Based on notes in https://wiki.gnome.org/Valgrind we need to use
3358 always-malloc for valgrind runs.
3359 Add check.valgrindlog and check.valgrindxml which output valgrind
3361 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
3363 can track commits and use diff tools on the logs.
3366 Makefile.am | 6 ++++++
3367 tests/Makefile.am | 10 +++++++++-
3368 3 files changed, 16 insertions(+), 1 deletion(-)
3370 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
3371 Author: Simon Feltman <sfeltman@src.gnome.org>
3372 Date: Fri Oct 4 20:43:02 2013 -0700
3374 Move existing repository tests into test_repository
3376 Move flags and enum double registration tests into test_repository.py.
3377 Remove duplicate ObjectInfo tests from test_gi.py.
3379 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3381 tests/test_gi.py | 38 --------------------------------------
3382 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
3383 2 files changed, 28 insertions(+), 38 deletions(-)
3385 commit 31840888c8948aab78041da93c329572f3aabb64
3386 Author: Simon Feltman <sfeltman@src.gnome.org>
3387 Date: Fri Oct 4 17:31:21 2013 -0700
3389 Add unittests for GIRepository
3391 Add basic unittests for the existing classes and methods exposed for
3392 the GIRepository module (gi._gi).
3394 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3396 tests/Makefile.am | 1 +
3397 tests/test_repository.py | 170
3398 +++++++++++++++++++++++++++++++++++++++++++++++
3399 2 files changed, 171 insertions(+)
3401 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
3402 Author: Simon Feltman <sfeltman@src.gnome.org>
3403 Date: Fri Oct 4 15:50:05 2013 -0700
3405 Derive SignalInfo info from CallableInfo
3407 Change Python class derivation of PyGISignalInfo to use
3409 the base class. This accurately reflects the GI class layout and
3411 the callable information for signals.
3413 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3415 gi/pygi-info.c | 7 ++++---
3416 1 file changed, 4 insertions(+), 3 deletions(-)
3418 commit b01daba04ff001b9e63d343938e879d339d9a98c
3419 Author: Simon Feltman <sfeltman@src.gnome.org>
3420 Date: Fri Oct 4 15:48:05 2013 -0700
3422 Use PYGLIB_PyLong_FromLong for GIDirection return
3424 https://bugzilla.gnome.org/show_bug.cgi?id=709008
3426 gi/pygi-info.c | 2 +-
3427 1 file changed, 1 insertion(+), 1 deletion(-)
3429 commit d644cbd0c0ad85142286754838db848c4eb1707f
3430 Author: Simon Feltman <sfeltman@src.gnome.org>
3431 Date: Thu Oct 3 19:25:34 2013 -0700
3433 Fix memory leak for caller allocated GValue out arguments
3435 Swizzle the order of type checks in _cleanup_caller_allocates so
3436 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
3438 important because G_TYPE_VALUE is a sub-type of boxed and so its
3440 cleanup code was never being called (g_value_unset).
3441 Additionally update check to use g_type_is_a instead of a compare
3443 the potential case of a G_TYPE_VALUE sub-type.
3445 https://bugzilla.gnome.org/show_bug.cgi?id=709397
3447 gi/pygi-marshal-cleanup.c | 11 ++++++-----
3448 1 file changed, 6 insertions(+), 5 deletions(-)
3450 commit 510789d52e9e2fd863d26613f3282364eb175601
3451 Author: Simon Feltman <sfeltman@src.gnome.org>
3452 Date: Sun Jul 28 14:44:51 2013 -0700
3454 Add support for default arguments annotated with allow-none
3456 Support default value of NULL for tail end arguments which are
3457 marked with allow-none.
3458 The implementation uses a place holder object for un-supplied
3460 which are annotated with allow-none. This is then used later during
3461 marshaling to supply NULL as the default.
3462 Additionally support an implicit default for callback user_data
3463 using the same technique.
3465 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3467 gi/gimodule.c | 6 +++
3468 gi/pygi-cache.c | 103
3469 ++++++++++++++++++++++++++++++----------------
3470 gi/pygi-cache.h | 8 ++++
3471 gi/pygi-invoke.c | 42 +++++++++++++------
3472 gi/pygi-marshal-from-py.c | 5 +++
3474 tests/test_everything.py | 16 +++++++
3475 tests/test_gi.py | 30 ++++++++++++++
3476 8 files changed, 162 insertions(+), 49 deletions(-)
3478 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
3479 Author: Simon Feltman <sfeltman@src.gnome.org>
3480 Date: Fri Aug 2 22:27:10 2013 -0700
3482 cache refactoring: Move arg cache field assignments into
3485 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3487 gi/pygi-cache.c | 23 +++++++++++------------
3488 1 file changed, 11 insertions(+), 12 deletions(-)
3490 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
3491 Author: Simon Feltman <sfeltman@src.gnome.org>
3492 Date: Fri Aug 2 20:27:02 2013 -0700
3494 cache refactoring: Cleanup array length argument marshaling
3496 Add shared function: _arg_cache_array_len_arg_setup for use
3497 with both to and from array marshaling setup. This function
3498 consolidates all of the edge cases regarding array length setup
3499 and removes the need for flagging arguments with
3500 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
3502 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3504 gi/pygi-cache.c | 145
3505 +++++++++++++++++++++++++++-----------------------------
3506 gi/pygi-cache.h | 5 --
3507 2 files changed, 71 insertions(+), 79 deletions(-)
3509 commit c9d8639401ae82977e960de44d80b94a501a2184
3510 Author: Simon Feltman <sfeltman@src.gnome.org>
3511 Date: Sat Aug 3 00:26:11 2013 -0700
3513 cache refactoring: Move variable declarations to blocks where they
3516 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3518 gi/pygi-cache.c | 25 ++++++++++++++-----------
3519 1 file changed, 14 insertions(+), 11 deletions(-)
3521 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
3522 Author: Simon Feltman <sfeltman@src.gnome.org>
3523 Date: Thu Aug 1 19:33:27 2013 -0700
3525 cache refactoring: Remove continue statements from
3526 _args_cache_generate
3528 Remove continue and goto statements from the large loop within
3529 _args_cache_generate. This simplifies the sharing of parts of
3530 the loop for future refactoring.
3532 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3534 gi/pygi-cache.c | 126
3535 +++++++++++++++++++++++++++-----------------------------
3536 1 file changed, 61 insertions(+), 65 deletions(-)
3538 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
3539 Author: Simon Feltman <sfeltman@src.gnome.org>
3540 Date: Wed Jul 31 18:10:05 2013 -0700
3542 cache refactoring: Use bit field for PyGIDirection instead of enum
3544 This supports cleaner logic when testing the direction of
3545 arguments due to the majority of these tests being along the
3546 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
3547 Which is replaced with: (direction & FROM_PYTHON)
3549 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3551 gi/pygi-cache.c | 64
3552 ++++++++++++++++++++++++++++-----------------------------
3553 gi/pygi-cache.h | 6 +++---
3554 2 files changed, 35 insertions(+), 35 deletions(-)
3556 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
3557 Author: Simon Feltman <sfeltman@src.gnome.org>
3558 Date: Sun Jul 28 20:45:05 2013 -0700
3560 cache refactoring: Remove special case marshaling for instance
3563 Remove duplicate code for marshaling struct and objects for
3564 instance arguments. Re-use individual cache marshalers for
3565 structs and objects with the instance argument. This required
3566 removal of passing GITypeInfo to the marshaler because it is
3567 not available for instance arguments. Instead always assume
3568 "is_pointer" for the instance argument by using the cache.
3570 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3572 gi/pygi-argument.c | 4 +--
3573 gi/pygi-cache.c | 16 ++++-----
3574 gi/pygi-marshal-from-py.c | 87
3575 +++--------------------------------------------
3576 gi/pygi-marshal-from-py.h | 16 ++-------
3577 4 files changed, 16 insertions(+), 107 deletions(-)
3579 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
3580 Author: Simon Feltman <sfeltman@src.gnome.org>
3581 Date: Sun Jul 28 16:44:01 2013 -0700
3583 cache refactoring: Use GPtrArray for callable arg cache
3585 Replace manual management of the C array holding individual
3586 argument caches with usage of GPtrArray. This provides storage
3587 of the array length along with item memory management.
3589 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3591 gi/pygi-cache.c | 62
3592 +++++++++++++++++++++++------------------------
3593 gi/pygi-cache.h | 16 +++++++++---
3594 gi/pygi-invoke.c | 16 ++++++------
3595 gi/pygi-marshal-cleanup.c | 8 +++---
3596 gi/pygi-marshal-from-py.c | 6 ++---
3597 gi/pygi-marshal-to-py.c | 6 ++---
3598 6 files changed, 62 insertions(+), 52 deletions(-)
3600 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
3601 Author: Simon Feltman <sfeltman@src.gnome.org>
3602 Date: Sun Jul 28 15:02:51 2013 -0700
3604 cache refactoring: Move PyGI direction code into new function
3606 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3608 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
3609 1 file changed, 21 insertions(+), 21 deletions(-)
3611 commit 83208bf495b152e93a28a231d445f43ea827d2eb
3612 Author: Simon Feltman <sfeltman@src.gnome.org>
3613 Date: Fri Aug 2 15:59:25 2013 -0700
3615 cache refactoring: Add comments to callable cache structure
3617 Add comments to count fields on _PyGICallableCache.
3619 https://bugzilla.gnome.org/show_bug.cgi?id=640812
3621 gi/pygi-cache.h | 13 ++++++++++++-
3622 1 file changed, 12 insertions(+), 1 deletion(-)
3624 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
3625 Author: Simon Feltman <sfeltman@src.gnome.org>
3626 Date: Wed Jul 24 01:14:29 2013 -0700
3628 Remove support for allowing PyObjects as void pointers
3630 Final removal of marshaling Python object addresses as
3631 void pointers. This ensures we can successfully pass
3632 integer values as the pointer without the Python object
3633 leaking or crashing due to invalid memory.
3635 https://bugzilla.gnome.org/show_bug.cgi?id=688081
3637 gi/pygi-marshal-from-py.c | 20 ++++++--------------
3638 gi/pygi-marshal-to-py.c | 14 ++------------
3639 tests/test_signal.py | 5 +----
3640 3 files changed, 9 insertions(+), 30 deletions(-)
3642 commit 1469403ee2faa699430055384b338f0cd8e672d7
3643 Author: Simon Feltman <sfeltman@src.gnome.org>
3644 Date: Wed Sep 25 18:21:22 2013 -0700
3646 configure.ac: bump trunk to 3.11.1
3649 1 file changed, 1 insertion(+), 1 deletion(-)
3651 commit 8e774e61d62c82efa3d907c1201359121878b4b5
3652 Author: Simon Feltman <sfeltman@src.gnome.org>
3653 Date: Mon Sep 23 03:57:03 2013 -0700
3655 configure.ac: post-release bump to 3.10.1
3658 1 file changed, 1 insertion(+), 1 deletion(-)
3660 commit 95af6279a9affff5c816db2db53207ff0f19872d
3661 Author: Simon Feltman <sfeltman@src.gnome.org>
3662 Date: Mon Sep 23 03:17:19 2013 -0700
3667 configure.ac | 4 ++--
3668 2 files changed, 5 insertions(+), 2 deletions(-)
3670 commit c626be6317b610277c95461108573d1ae6f42b6d
3671 Author: Martin Pitt <martinpitt@gnome.org>
3672 Date: Mon Sep 23 12:06:11 2013 +0200
3674 Fix test_gi.TestProjectVersion.test_version_str()
3676 In this test case we only do a string comparison, not a proper
3678 component" numerical one. So relax the test to also work with 3.10.
3680 tests/test_gi.py | 2 +-
3681 1 file changed, 1 insertion(+), 1 deletion(-)
3683 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
3684 Author: Martin Pitt <martinpitt@gnome.org>
3685 Date: Mon Sep 16 10:12:33 2013 -0500
3690 1 file changed, 7 insertions(+)
3692 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
3693 Author: Simon Feltman <sfeltman@src.gnome.org>
3694 Date: Mon Sep 16 01:23:49 2013 -0700
3696 Update current maintainers list in README
3699 1 file changed, 2 insertions(+), 1 deletion(-)
3701 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
3702 Author: Simon Feltman <sfeltman@src.gnome.org>
3703 Date: Tue Sep 10 17:11:21 2013 -0700
3705 Fix union argument regression when marshaling from python
3707 Check for union members when marshaling boxed types from Python.
3708 This is a regression caused by stricter type checking added when
3709 merging code from pygi-argument.c.
3710 Re-add pyg_boxed_check to the same bit of code in addition to
3711 __gtype__ checking to avoid a double regression.
3713 https://bugzilla.gnome.org/show_bug.cgi?id=703873
3715 gi/pygi-marshal-from-py.c | 53
3716 ++++++++++++++++++++++++++---------------------
3717 1 file changed, 29 insertions(+), 24 deletions(-)
3719 commit 59a2964141e963d2961e55d4b84a777927b4f21b
3720 Author: Simon Feltman <sfeltman@src.gnome.org>
3721 Date: Wed Sep 11 05:05:33 2013 -0700
3723 Fix GLib.Source sub-classing with initializer args
3725 Add variable args and keyword args to the GLib.Source.__new__
3726 method to support sub-classes which want to implement __init__.
3728 https://bugzilla.gnome.org/show_bug.cgi?id=707904
3730 gi/overrides/GLib.py | 2 +-
3731 tests/test_source.py | 11 +++++++++++
3732 2 files changed, 12 insertions(+), 1 deletion(-)
3734 commit afa42ab95327da1de0cf86005974cd8ab0d46872
3735 Author: Vratislav Podzimek <vpodzime@redhat.com>
3736 Date: Wed Sep 4 14:17:31 2013 +0200
3738 Copy __doc__ when wrapping function
3740 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
3741 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
3743 gi/overrides/__init__.py | 1 +
3744 1 file changed, 1 insertion(+)
3746 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
3747 Author: Martin Pitt <martinpitt@gnome.org>
3748 Date: Mon Sep 2 14:56:24 2013 +0200
3750 configure.ac: post-release bump to 3.9.92
3753 1 file changed, 1 insertion(+), 1 deletion(-)
3755 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
3756 Author: Martin Pitt <martinpitt@gnome.org>
3757 Date: Mon Sep 2 14:38:41 2013 +0200
3761 NEWS | 10 ++++++++++
3762 1 file changed, 10 insertions(+)
3764 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
3765 Author: Simon Feltman <sfeltman@src.gnome.org>
3766 Date: Mon Sep 2 04:19:35 2013 -0700
3768 Fix GObject signal methods to work with new annotations
3770 Add conditional support for signal methods annotated as gpointer
3771 or GObject.Object. This is needed to work with newer versions of
3772 glib which changed annotations to GObject.Object (bug #685387).
3774 https://bugzilla.gnome.org/show_bug.cgi?id=707280
3776 gi/overrides/GObject.py | 106
3777 ++++++++++++++++++++++++++++++------------------
3778 1 file changed, 66 insertions(+), 40 deletions(-)
3780 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
3781 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
3782 Date: Thu Aug 15 14:41:40 2013 +0800
3784 Fix build on C89 Compilers
3786 Avoid a variable declaration at the middle of the block
3788 https://bugzilla.gnome.org/show_bug.cgi?id=707264
3790 gi/pygi-closure.c | 3 ++-
3791 1 file changed, 2 insertions(+), 1 deletion(-)
3793 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
3794 Author: Simon Feltman <sfeltman@src.gnome.org>
3795 Date: Sun Sep 1 20:44:26 2013 -0700
3797 Change boxed type checking in marshaling to use __gtype__ attribute
3799 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
3800 pyg_type_from_object. This has the effect of using the __gtype__
3801 attribute stashed on object class instead of the PyGBoxed
3802 internally held gtype. This fixes type descrepencies for objects
3803 marshaled into overridden signal class closures and passed back
3804 to functions taking an alias their type.
3806 https://bugzilla.gnome.org/show_bug.cgi?id=707140
3808 gi/pygi-marshal-from-py.c | 8 +++++++-
3809 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
3810 2 files changed, 41 insertions(+), 1 deletion(-)
3812 commit dab0c09f1996e124ca98334e5aea0852904b44b5
3813 Author: Simon Feltman <sfeltman@src.gnome.org>
3814 Date: Sun Sep 1 17:49:09 2013 -0700
3816 Use G_IS_VALUE for checking return values in closure marshaling
3818 Replace return_value argument NULL checks in GClosureMarshal
3819 implementations with G_IS_VALUE. This checks both NULL and
3820 validity of the value (!= G_TYPE_INVALID). This is needed
3821 because GLib can pass either NULL or an invalid value based
3822 on whether or not G_ENABLE_DEBUG is set.
3823 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
3825 https://bugzilla.gnome.org/show_bug.cgi?id=707170
3827 gi/_gobject/pygtype.c | 4 ++--
3828 gi/pygi-signal-closure.c | 2 +-
3829 2 files changed, 3 insertions(+), 3 deletions(-)
3831 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
3832 Author: Yanko Kaneti <yaneti@declera.com>
3833 Date: Wed Aug 21 08:53:07 2013 +0200
3835 Fix PEP-8 errors in propertyhelper.py
3837 https://bugzilla.gnome.org/show_bug.cgi?id=706319
3839 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
3841 gi/_gobject/propertyhelper.py | 12 ++++++------
3842 1 file changed, 6 insertions(+), 6 deletions(-)
3844 commit 6fdd58404103596accb6ab04d4de33846d853c58
3845 Author: Martin Pitt <martinpitt@gnome.org>
3846 Date: Mon Aug 19 17:13:30 2013 +0200
3848 configure.ac: post-release bump to 3.9.91
3851 1 file changed, 1 insertion(+), 1 deletion(-)
3853 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
3854 Author: Martin Pitt <martinpitt@gnome.org>
3855 Date: Mon Aug 19 17:10:52 2013 +0200
3860 1 file changed, 9 insertions(+)
3862 commit a8d5da559ef088b05062681206758d2718946269
3863 Author: Martin Pitt <martinpitt@gnome.org>
3864 Date: Mon Aug 19 11:38:31 2013 +0200
3866 NEWS: retroactively fix last version number
3869 1 file changed, 1 insertion(+), 1 deletion(-)
3871 commit aba45eb2617c4b35168089bc9028f351732a617f
3872 Author: Benjamin Berg <benjamin@sipsolutions.net>
3873 Date: Tue Aug 6 00:41:52 2013 +0200
3875 Create GLib.Pid in the same way on python 2 and 3
3877 https://bugzilla.gnome.org/show_bug.cgi?id=705451
3879 gi/_glib/pygspawn.c | 8 --------
3880 1 file changed, 8 deletions(-)
3882 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
3883 Author: Benjamin Berg <benjamin@sipsolutions.net>
3884 Date: Mon Aug 5 17:04:15 2013 +0200
3886 Use PyLong_Type.tp_new for GLib.Pid
3888 For GLib.Pid the original implementation for __new__ needs to be used,
3889 as it is able to initialize the integer correctly.
3891 https://bugzilla.gnome.org/show_bug.cgi?id=705451
3893 gi/_glib/pygspawn.c | 1 +
3894 tests/test_subprocess.py | 1 +
3895 2 files changed, 2 insertions(+)
3897 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
3898 Author: Simon Feltman <sfeltman@src.gnome.org>
3899 Date: Mon Aug 5 14:40:38 2013 -0700
3901 Add accumulator and accu_data arguments to GObject.Signal decorator
3903 Update __init__, __call__, and copy methods to accept and pass
3904 accumulators and associated user data through them. Update
3905 accumulator unittests to use Signal decorators for testing accumulator
3906 pass throughs. Verified the __gsignals__ dictionary accepts None
3907 as valid values for accumulator and accu_data so specialization
3908 for these arguments is not necessary.
3910 https://bugzilla.gnome.org/show_bug.cgi?id=705533
3912 gi/_gobject/signalhelper.py | 17 ++++++++++-----
3913 tests/test_signal.py | 52
3914 ++++++++++++++++++++++++---------------------
3915 2 files changed, 40 insertions(+), 29 deletions(-)
3917 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
3918 Author: Simon Feltman <sfeltman@src.gnome.org>
3919 Date: Mon Aug 5 14:12:24 2013 -0700
3921 Pass return values through the GObject.Signal.emit wrapper
3923 Return the result of GObject.emit from the Signal decorators wrapping.
3924 Update unittest for decorated return type to use skipUnless for
3926 Add test for Signal decorator return type.
3928 https://bugzilla.gnome.org/show_bug.cgi?id=705530
3930 gi/_gobject/signalhelper.py | 2 +-
3931 tests/test_signal.py | 37 +++++++++++++++++++++----------------
3932 2 files changed, 22 insertions(+), 17 deletions(-)
3934 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
3935 Author: Simon Feltman <sfeltman@src.gnome.org>
3936 Date: Mon Jul 29 03:33:40 2013 -0700
3938 configure.ac: post-release bump to 3.9.90
3941 1 file changed, 1 insertion(+), 1 deletion(-)
3943 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
3944 Author: Simon Feltman <sfeltman@src.gnome.org>
3945 Date: Mon Jul 29 02:23:02 2013 -0700
3949 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
3951 2 files changed, 42 insertions(+), 1 deletion(-)
3953 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
3954 Author: Simon Feltman <sfeltman@src.gnome.org>
3955 Date: Mon Jul 29 01:21:19 2013 -0700
3957 Ensure exceptions set in closure out argument marshaling are printed
3959 Call PyErr_Print when an exception occurs after marshaling closure
3960 out arguments. These exceptions were being ignored and cleared out
3961 only to show up in debug builds of Python.
3963 https://bugzilla.gnome.org/show_bug.cgi?id=705064
3965 gi/pygi-closure.c | 8 ++++++++
3966 tests/test_generictreemodel.py | 17 +++++++++++------
3967 2 files changed, 19 insertions(+), 6 deletions(-)
3969 commit b5dcb1800839f747a052e487643c234668384677
3970 Author: Simon Feltman <sfeltman@src.gnome.org>
3971 Date: Sun Jul 28 23:00:26 2013 -0700
3973 Use Python error messages for marshaling integers from Python
3975 Use Pythons default error messages where possible.
3976 Change all explicitly raised ValueError to use OverflowError
3977 for out of range data.
3979 https://bugzilla.gnome.org/show_bug.cgi?id=705057
3981 gi/pygi-marshal-from-py.c | 76
3982 +++++++++++++++++------------------------------
3983 tests/test_everything.py | 52 ++++++++++++++++----------------
3984 tests/test_gi.py | 64 +++++++++++++++++++--------------------
3985 tests/test_gobject.py | 2 +-
3986 4 files changed, 86 insertions(+), 108 deletions(-)
3988 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
3989 Author: Simon Feltman <sfeltman@src.gnome.org>
3990 Date: Sat Jul 27 21:10:07 2013 -0700
3992 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
3994 gi/pygi-closure.c | 11 ++---------
3995 1 file changed, 2 insertions(+), 9 deletions(-)
3997 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
3998 Author: Simon Feltman <sfeltman@src.gnome.org>
3999 Date: Sat Jul 27 15:25:20 2013 -0700
4001 Cleanup invoke args and kwargs combiner code
4003 Change _py_args_combine_and_check_length use cleaner reference
4005 It no longer DECREFs input arguments and always returns a new value
4007 Use PyGICallableCache directly as an argument instead of passing
4011 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
4012 1 file changed, 17 insertions(+), 27 deletions(-)
4014 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
4015 Author: Simon Feltman <sfeltman@src.gnome.org>
4016 Date: Wed Jul 17 16:10:25 2013 -0700
4018 Replace Python VFunc descriptor directly with PyGIVFuncInfo
4020 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
4021 to be used directly as a callable descriptor. This piggy backs
4022 off the added support for functions and constructors in previous
4025 https://bugzilla.gnome.org/show_bug.cgi?id=704037
4027 gi/pygi-info.c | 25 +++++++++++++++++++++++--
4028 gi/types.py | 33 ++++-----------------------------
4029 2 files changed, 27 insertions(+), 31 deletions(-)
4031 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
4032 Author: Simon Feltman <sfeltman@src.gnome.org>
4033 Date: Tue Jul 16 16:00:14 2013 -0700
4035 Add callable and descriptor protocols to PyGICallableInfo
4037 Add tp_call (__call__) function to callable info objects.
4038 This allows for replacement of wrapped invoke methods directly
4039 with the already created callable info object. This has the
4040 additional side effect of making doc strings lazily bound
4041 (only generated when __doc__ is accessed).
4043 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
4044 a bound version of itself for methods and constructors.
4046 Update various internal type checks to reflect the changes.
4047 Update tests to reflect the new callable type being the same
4048 across Python 2 & 3.
4050 This patch gives roughly a %17 speedup for Gtk imports and
4051 an %11 speedup for GI method calls.
4053 https://bugzilla.gnome.org/show_bug.cgi?id=704037
4056 gi/overrides/__init__.py | 10 ++-
4057 gi/pygi-info.c | 179
4058 ++++++++++++++++++++++++++++++++++++++++++--
4060 gi/types.py | 35 +--------
4061 tests/test_docstring.py | 6 +-
4062 tests/test_gi.py | 32 +++-----
4063 tests/test_overrides_gtk.py | 4 +-
4064 8 files changed, 212 insertions(+), 72 deletions(-)
4066 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
4067 Author: Simon Feltman <sfeltman@src.gnome.org>
4068 Date: Fri Jul 26 19:33:32 2013 -0700
4070 Move "from Python" GObject out arg marshaler into specialized function
4072 Move hacks specific to out argument marshaling for vfuncs into a
4073 a specialized function. This allows standard function call marshaling
4074 to continue working correctly when there are no extra references
4075 holding the arguments "foo(SomeObject())". This is currently being
4076 masked because all GI functions are wrapped by additional layers
4077 of Python functions. When these layers are removed, it exposes
4078 bugs introduced by reference counting hacks intended for vfunc
4081 https://bugzilla.gnome.org/show_bug.cgi?id=704037
4083 gi/pygi-argument.c | 2 +-
4084 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
4085 gi/pygi-marshal-from-py.h | 3 +++
4086 3 files changed, 34 insertions(+), 8 deletions(-)
4088 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
4089 Author: Simon Feltman <sfeltman@src.gnome.org>
4090 Date: Fri Jul 26 17:34:01 2013 -0700
4092 Add underscore prefix and _cache_adapter suffix to marshaling
4095 Add underscores to all _pygi_marshal_* functions. We don't currently
4096 export symbols, but we might need to for C unittesting. This will
4097 ensure we don't have a "public API".
4098 Add _cache_adapter suffix to marshaling functions which are light
4099 weight wrappers intended only for cached marshalers.
4101 gi/pygi-argument.c | 40 +++++++++++-----------
4102 gi/pygi-cache.c | 10 +++---
4103 gi/pygi-marshal-from-py.c | 86
4104 +++++++++++++++++++++++------------------------
4105 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
4106 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
4107 gi/pygi-marshal-to-py.h | 34 +++++++++----------
4108 6 files changed, 131 insertions(+), 131 deletions(-)
4110 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
4111 Author: Simon Feltman <sfeltman@src.gnome.org>
4112 Date: Tue Jul 16 11:13:17 2013 -0700
4114 Add common attribute accessors to PyGIBaseInfo
4116 Add __name__, __module__, and __doc__ accessors to
4117 PyGIBaseInfo object. This is a precursory patch for setting
4118 up PyGICallableInfo as a directly callable object with lazy
4119 doc string evaluation.
4121 https://bugzilla.gnome.org/show_bug.cgi?id=704037
4123 gi/_glib/pyglib-python-compat.h | 5 +++
4125 +++++++++++++++++++++++++++++++++++++++--
4126 gi/types.py | 7 ++--
4127 3 files changed, 88 insertions(+), 7 deletions(-)
4129 commit ea194404843a16555f9a475cc973872a4428bfe1
4130 Author: Simon Feltman <sfeltman@src.gnome.org>
4131 Date: Sat Jul 13 23:10:31 2013 -0700
4133 Merge method and constructor setup
4135 Merge _setup_constructors into _setup_methods as they contain same
4136 basic logic. This removes an unnecessary call with additional
4137 filtering of GIObjectInfo.get_methods() which can be large for
4138 objects with many methods.
4140 https://bugzilla.gnome.org/show_bug.cgi?id=704037
4142 gi/types.py | 15 ++++-----------
4143 1 file changed, 4 insertions(+), 11 deletions(-)
4145 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
4146 Author: Simon Feltman <sfeltman@src.gnome.org>
4147 Date: Sat Jul 13 18:11:18 2013 -0700
4149 Remove redundant info.get_name calls
4151 Remove a number of redundant calls to GIBaseInfo.get_name. Info
4152 names are already cached on function objects so re-use them when
4153 possible. This gives a small load time improvement by removing over
4154 2000 calls when importing Gtk.
4156 https://bugzilla.gnome.org/show_bug.cgi?id=704037
4159 gi/types.py | 8 +++-----
4160 2 files changed, 3 insertions(+), 6 deletions(-)
4162 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
4163 Author: Simon Feltman <sfeltman@src.gnome.org>
4164 Date: Fri Jul 12 12:21:54 2013 -0700
4166 Move doc string generator into separate module
4168 Move the doc string generator for creating function signatures
4169 into "gi.docstring". This includes a new API for getting and
4170 setting the doc string creation functions:
4172 gi.docstring.get_doc_string_generator
4173 gi.docstring.set_doc_string_generator
4174 gi.docstring.generate_doc_string
4176 Beyond adding the ability for custom doc string generators,
4177 this API is a necessary step for adding lazy __doc__
4178 attribute access for optimization.
4180 https://bugzilla.gnome.org/show_bug.cgi?id=704037
4182 gi/Makefile.am | 3 +-
4183 gi/docstring.py | 106
4184 ++++++++++++++++++++++++++++++++++++++++++++++++
4185 gi/types.py | 55 ++-----------------------
4186 tests/Makefile.am | 1 +
4187 tests/test_docstring.py | 49 ++++++++++++++++++++++
4188 tests/test_gi.py | 30 --------------
4189 6 files changed, 161 insertions(+), 83 deletions(-)
4191 commit f86701b15ee04c717d9c6bf688101606165e4f83
4192 Author: Simon Feltman <sfeltman@src.gnome.org>
4193 Date: Wed Jul 24 19:36:28 2013 -0700
4195 tests: Change GHashTable<string,GValue> marshaling test to use GValue
4197 Add test to explicitly use a boxed GStrv GValue in addition to a
4198 Python list sub-class.
4200 https://bugzilla.gnome.org/show_bug.cgi?id=666636
4202 tests/test_everything.py | 21 +++++++++++++++------
4203 1 file changed, 15 insertions(+), 6 deletions(-)
4205 commit 6ea41b60691e1ba7e21374582d7aea072af71103
4206 Author: Simon Feltman <sfeltman@src.gnome.org>
4207 Date: Thu Jul 25 18:00:47 2013 -0700
4209 gtk-demo: Change demo to use Gtk.Application
4211 Replace deriving from Gtk.Window with deriving from Gtk.Application
4212 connected to a Gtk.ApplicationWindow instance.
4214 https://bugzilla.gnome.org/show_bug.cgi?id=698547
4216 demos/gtk-demo/demos/printing.py | 2 +-
4217 demos/gtk-demo/gtk-demo.py | 40
4218 ++++++++++++++++++++--------------------
4219 2 files changed, 21 insertions(+), 21 deletions(-)
4221 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
4222 Author: Simon Feltman <sfeltman@src.gnome.org>
4223 Date: Tue Jul 23 14:25:01 2013 -0700
4225 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
4227 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
4228 and rename to _pygi_marshal_to_py_basic_type.
4229 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
4232 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4234 gi/pygi-argument.c | 73 +-----------------------------
4235 gi/pygi-argument.h | 4 --
4236 gi/pygi-cache.c | 4 +-
4237 gi/pygi-marshal-to-py.c | 115
4238 +++++++++++++++++++++++++++++++++++++-----------
4239 gi/pygi-marshal-to-py.h | 27 +++---------
4240 5 files changed, 99 insertions(+), 124 deletions(-)
4242 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
4243 Author: Simon Feltman <sfeltman@src.gnome.org>
4244 Date: Tue Jul 23 13:06:33 2013 -0700
4246 Unify and clean up from Python marshalers for basic types
4248 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
4249 and filename marshalers.
4251 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4253 gi/pygi-cache.c | 101
4254 ++--------------------------------------------
4255 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
4256 gi/pygi-marshal-from-py.h | 30 --------------
4257 3 files changed, 28 insertions(+), 189 deletions(-)
4259 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
4260 Author: Simon Feltman <sfeltman@src.gnome.org>
4261 Date: Tue Jul 23 12:35:06 2013 -0700
4263 Unify from Python int64 and uint64 marshalers
4265 Replaced int64 and uint64 cached marshalers with usage of the
4266 unified basic type marshaler. Replace a large amount of int64
4267 exception formatting code with usage of %S for Python 3 and
4268 give a more vague message for Python 2.
4270 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4272 gi/pygi-cache.c | 36 +--------
4273 gi/pygi-marshal-from-py.c | 193
4274 ++++++++++------------------------------------
4275 gi/pygi-marshal-from-py.h | 10 ---
4276 3 files changed, 43 insertions(+), 196 deletions(-)
4278 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
4279 Author: Simon Feltman <sfeltman@src.gnome.org>
4280 Date: Tue Jul 23 11:03:14 2013 -0700
4282 Unify from Python int16 and int32 marshalers
4284 Add PyNumber_Check to unified basic type marshaler.
4285 Add bounds checking to unified int16 and int32 marshalers.
4286 Replaced int16 and int32 cached marshalers with usage of
4287 unified basic type marshaler.
4289 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4291 gi/pygi-cache.c | 69 +--------------
4292 gi/pygi-marshal-from-py.c | 218
4293 ++++++++++------------------------------------
4294 gi/pygi-marshal-from-py.h | 20 -----
4295 3 files changed, 48 insertions(+), 259 deletions(-)
4297 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
4298 Author: Simon Feltman <sfeltman@src.gnome.org>
4299 Date: Tue Jul 23 00:27:14 2013 -0700
4301 Unify from Python boolean, int8, and uint8 marshalers
4303 Replaced boolean, int8, and uint8 cached marshalers with usage of
4304 unified basic type marshaler. Add bounds checking to unified int8
4307 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4309 gi/pygi-cache.c | 48 +++------------
4310 gi/pygi-marshal-from-py.c | 146
4311 +++++++++++-----------------------------------
4312 gi/pygi-marshal-from-py.h | 20 ++-----
4313 3 files changed, 45 insertions(+), 169 deletions(-)
4315 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
4316 Author: Simon Feltman <sfeltman@src.gnome.org>
4317 Date: Mon Jul 22 23:24:13 2013 -0700
4319 Add support for PyBytes with int8 and uint8 from Python marshaler
4321 This additional type marshaling is necessary for unifying marhalers
4322 due to the same feature being available with cached argument
4325 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4327 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
4328 1 file changed, 14 insertions(+)
4330 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
4331 Author: Simon Feltman <sfeltman@src.gnome.org>
4332 Date: Mon Jul 22 23:23:29 2013 -0700
4334 Move from Python integer marshaling into separate function
4336 Add _pygi_marshal_from_py_long for marshaling Python objects
4337 that can convert to a PyLong type. This allows for better
4338 sharing of code amongst marshalers along with unifying
4339 them across Python 2.7 and 3.0.
4341 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4343 gi/pygi-argument.c | 3 +-
4344 gi/pygi-marshal-from-py.c | 159
4345 ++++++++++++++++++++++++----------------------
4346 2 files changed, 84 insertions(+), 78 deletions(-)
4348 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
4349 Author: Simon Feltman <sfeltman@src.gnome.org>
4350 Date: Mon Jul 22 22:19:26 2013 -0700
4352 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
4354 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
4355 and rename to: _pygi_marshal_from_py_basic_type
4357 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4359 gi/pygi-argument.c | 149
4360 +---------------------------------------------
4361 gi/pygi-marshal-from-py.c | 147
4362 +++++++++++++++++++++++++++++++++++++++++++++
4363 gi/pygi-marshal-from-py.h | 4 ++
4364 3 files changed, 152 insertions(+), 148 deletions(-)
4366 commit 9c9510eec782f242280af24e86adf3561e4fac72
4367 Author: Simon Feltman <sfeltman@src.gnome.org>
4368 Date: Fri Jul 19 23:37:35 2013 -0700
4370 Move basic type marshaling out of _pygi_argument_from_object
4372 Move the marshaling of Python objects to GI arguments for basic types
4373 into a new function: _pygi_argument_from_object_basic_type
4374 This is staging work needed before unifying basic type marshaling
4375 of arguments from Python to GI.
4377 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4379 gi/pygi-argument.c | 73
4380 ++++++++++++++++++++++++++++++++++--------------------
4381 1 file changed, 46 insertions(+), 27 deletions(-)
4383 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
4384 Author: Simon Feltman <sfeltman@src.gnome.org>
4385 Date: Fri Jul 19 20:16:10 2013 -0700
4387 Replace to Python cached marshalers with unified basic type marshaler
4389 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
4390 unifies functions, vfuncs, signals, and property marshaling for
4391 "basic types". Remove all the individual cached arg marshalers
4394 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4396 gi/pygi-argument.c | 104 +++++++++++------------------------
4397 gi/pygi-argument.h | 4 ++
4398 gi/pygi-cache.c | 114 +++++++-------------------------------
4399 gi/pygi-marshal-to-py.c | 142
4400 ++++--------------------------------------------
4401 gi/pygi-marshal-to-py.h | 48 ++--------------
4402 5 files changed, 73 insertions(+), 339 deletions(-)
4404 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
4405 Author: Simon Feltman <sfeltman@src.gnome.org>
4406 Date: Fri Jul 19 18:00:40 2013 -0700
4408 Move to Python basic type marshaling out of _pygi_argument_to_object
4410 Move the marshaling of GI arguments to Python objects for basic types
4411 into a new function. The required information for this marshaler
4412 is a GITypeTag and GITransfer. Argument marshaling matching these
4413 requirments are now found in: _pygi_argument_to_object_basic_type.
4414 The new marshaler can be used with a generic argument cache marshaler
4415 to unify all of the "basic type" marshaling.
4417 https://bugzilla.gnome.org/show_bug.cgi?id=693405
4419 gi/pygi-argument.c | 86
4420 +++++++++++++++++++++++++++++++++++++++---------------
4421 1 file changed, 63 insertions(+), 23 deletions(-)
4423 commit dd43a1e19440dbe025451d2e4e07a6074086498d
4424 Author: Simon Feltman <sfeltman@src.gnome.org>
4425 Date: Sat Jul 6 14:16:36 2013 -0700
4427 Override GValue.set/get_boxed with static C marshaler
4429 Override boxed type get/set methods on GValue to use the static C
4430 GValue marshaler. This works around the inability of the introspection
4431 version of these methods to know what the held GValue type is.
4432 With this, all boxed types will now marshal properly with GValues as
4435 https://bugzilla.gnome.org/show_bug.cgi?id=688081
4437 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
4438 gi/overrides/GObject.py | 9 +++++++++
4439 2 files changed, 47 insertions(+)
4441 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
4442 Author: Simon Feltman <sfeltman@src.gnome.org>
4443 Date: Sat Jul 6 14:10:20 2013 -0700
4445 Refactor pyg_value_from_pyobject into two functions
4447 Break pyg_value_from_pyobject into two functions. One which keeps
4448 Python exceptions queued (pyg_value_from_pyobject_with_error) and
4449 one which clears them (pyg_value_from_pyobject). This allows for
4450 re-use for code which want to keep the errors around
4452 https://bugzilla.gnome.org/show_bug.cgi?id=688081
4454 gi/_gobject/gobjectmodule.c | 4 ++-
4455 gi/_gobject/pygobject-private.h | 1 +
4456 gi/_gobject/pygobject.h | 2 ++
4457 gi/_gobject/pygtype.c | 67
4458 ++++++++++++++++++++++++++++++++---------
4459 4 files changed, 59 insertions(+), 15 deletions(-)
4461 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
4462 Author: Simon Feltman <sfeltman@src.gnome.org>
4463 Date: Sat Jul 6 20:41:19 2013 -0700
4465 Fix indentation for pyg_value_from_pyobject
4467 https://bugzilla.gnome.org/show_bug.cgi?id=688081
4469 gi/_gobject/pygtype.c | 744
4470 +++++++++++++++++++++++++-------------------------
4471 1 file changed, 372 insertions(+), 372 deletions(-)
4473 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
4474 Author: Simon Feltman <sfeltman@src.gnome.org>
4475 Date: Sat Jul 6 13:32:39 2013 -0700
4477 Add deprecation warning for marshaling arbitrary objects as pointers
4479 Add deprecation warning for marshaling arbitrary objects to/from void
4480 pointers with the exception of integers, PyCapsules, and None.
4482 https://bugzilla.gnome.org/show_bug.cgi?id=688081
4484 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
4485 gi/pygi-marshal-to-py.c | 10 ++++++++--
4486 2 files changed, 24 insertions(+), 3 deletions(-)
4488 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
4489 Author: Simon Feltman <sfeltman@src.gnome.org>
4490 Date: Sat Jul 6 13:34:53 2013 -0700
4492 Move PyGIDeprecationWarning to C for shared Python/C usage
4494 https://bugzilla.gnome.org/show_bug.cgi?id=688081
4496 gi/__init__.py | 19 ++++---------------
4497 gi/gimodule.c | 18 ++++++++++++++++++
4499 3 files changed, 24 insertions(+), 15 deletions(-)
4501 commit 90427107af36ea3c624b36967ee181ed13b9828f
4502 Author: Simon Feltman <sfeltman@src.gnome.org>
4503 Date: Thu Jul 18 14:59:55 2013 -0700
4505 Replace usage of __import__ with importlib.import_module
4507 https://bugzilla.gnome.org/show_bug.cgi?id=682320
4509 gi/module.py | 8 ++++----
4510 1 file changed, 4 insertions(+), 4 deletions(-)
4512 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
4513 Author: Mike Gorse <mgorse@suse.com>
4514 Date: Wed Jul 10 16:44:23 2013 -0500
4516 Always unref the GiTypeInfo when generating an argument cache
4518 We were leaking a GiTypeInfo when handling child arguments.
4520 https://bugzilla.gnome.org/show_bug.cgi?id=703973
4522 gi/pygi-cache.c | 1 +
4523 1 file changed, 1 insertion(+)
4525 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
4526 Author: Mike Gorse <mgorse@suse.com>
4527 Date: Wed Jul 10 12:10:16 2013 -0500
4529 Unref interface info when fetching enums or flags
4531 When calling g_type_info_get_interface, the resulting interface should
4532 be dereferenced by calling g_base_info_unref.
4534 https://bugzilla.gnome.org/show_bug.cgi?id=703960
4536 gi/pygi-marshal-from-py.c | 8 +++++++-
4537 gi/pygi-marshal-to-py.c | 3 +++
4538 2 files changed, 10 insertions(+), 1 deletion(-)
4540 commit a93755ddba9a1761b627583d7b9be63783c2c063
4541 Author: Daniel Drake <dsd@laptop.org>
4542 Date: Tue Jul 9 13:03:36 2013 -0600
4544 Speed up MRO calculation
4546 Optimize gi.type.mro() with the following observations and tricks:
4548 1. Python prepares all the base classes before trying to calculate the
4549 MRO of the current one (it first needs to populate __bases__, for
4550 example). So we can assume that the base class MRO is already
4552 in __mro__ and this will have been previously calculated (by us,
4554 case of gi classes). This avoids repeating a lot of MRO-calculating
4556 and also avoids (re)calculating MROs for inheritance chains
4558 have any gi classes in them anyway.
4560 2. With that simplification in place, we can avoid recursion, which
4562 all that great in Python...
4564 3. ...except in the uncommon case of a Python2 old-style classes,
4566 __mro__ is not available. There doesn't seem to be any existing
4567 function to calculate or read MRO of old-style python classes,
4569 keep doing as before: calculate the C3 MRO of the old-style
4571 recursion. That behaviour is not really correct, and the
4573 not desirable, so we print a warning here.
4575 This makes the "hello world" Sugar app start up approximately
4579 https://bugzilla.gnome.org/show_bug.cgi?id=703829
4581 gi/types.py | 30 +++++++++++++++++++++++++++---
4582 tests/test_gi.py | 16 ++++++++++++----
4583 2 files changed, 39 insertions(+), 7 deletions(-)
4585 commit 7aca95781fc76f3e820e63325ccc07d128a60075
4586 Author: Daniel Drake <dsd@laptop.org>
4587 Date: Wed Jul 10 10:45:47 2013 -0600
4589 tests: Add tests for MRO override
4591 Add tests for the MRO override to prevent against unintended
4594 https://bugzilla.gnome.org/show_bug.cgi?id=703829
4596 tests/test_gi.py | 66
4597 ++++++++++++++++++++++++++++++++++++++++++--------------
4598 1 file changed, 50 insertions(+), 16 deletions(-)
4600 commit a15333a36e31b76ea6b80251553840269ec5deb1
4601 Author: Simon Feltman <sfeltman@src.gnome.org>
4602 Date: Sat Jul 6 13:34:13 2013 -0700
4604 Add GIL safety to pyobject_copy for copying boxed PyObjects
4606 https://bugzilla.gnome.org/show_bug.cgi?id=688081
4608 gi/_gobject/pygobject.c | 3 +++
4609 1 file changed, 3 insertions(+)
4611 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
4612 Author: Simon Feltman <sfeltman@src.gnome.org>
4613 Date: Sat Jul 6 09:48:35 2013 -0700
4615 testhelper: Fix import requirement for GObject
4617 Replace the importing of gi._gobject._gobject with
4618 gi.repository.GObject
4619 in tests/testhelpermodule.c
4621 The testhelper module was only importing the static bindings
4622 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
4623 This was causing some tests to fail when test_thread was the first
4624 test to run in the suite due to it registering new types based on
4627 https://bugzilla.gnome.org/show_bug.cgi?id=703647
4629 tests/testhelpermodule.c | 2 +-
4630 1 file changed, 1 insertion(+), 1 deletion(-)
4632 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
4633 Author: Simon Feltman <sfeltman@src.gnome.org>
4634 Date: Wed Jul 3 05:26:12 2013 -0700
4636 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
4638 Replace assertion for this case with a simple marshalling of the
4639 pointer value to a Python int. While not particularly useful
4640 this allows some callbacks in WebKit to function without causing
4643 https://bugzilla.gnome.org/show_bug.cgi?id=694233
4645 gi/pygi-argument.c | 4 ++--
4646 1 file changed, 2 insertions(+), 2 deletions(-)
4648 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
4649 Author: Cole Robinson <crobinso@redhat.com>
4650 Date: Sat Feb 16 17:26:43 2013 -0500
4652 GTK overrides: Make connect_signals handle tuple
4654 This is used for passing extra arguments to callbacks during
4655 signal emission in the form of:
4656 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
4658 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
4660 https://bugzilla.gnome.org/show_bug.cgi?id=693994
4662 gi/overrides/Gtk.py | 51 ++++++++----
4663 tests/test_overrides_gtk.py | 196
4664 +++++++++++++++++++++++++++++---------------
4665 2 files changed, 165 insertions(+), 82 deletions(-)
4667 commit 466567373289e6f141709f08efa80ba588d3d64a
4668 Author: Simon Feltman <sfeltman@src.gnome.org>
4669 Date: Tue Jul 2 18:06:01 2013 -0700
4671 Re-add support for passing GValue's by reference
4673 Fix special casing when marshaling from a Python held GValue
4674 to a GValue argument intended for a function call.
4675 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
4676 broke this by always making a copy of the GValue. This removed the
4677 ability to retrieve values with functions like
4678 gtk_style_context_get_style_property.
4680 https://bugzilla.gnome.org/show_bug.cgi?id=701058
4682 gi/pygi-argument.c | 2 +-
4683 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
4684 2 files changed, 16 insertions(+), 18 deletions(-)
4686 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
4687 Author: Simon Feltman <sfeltman@src.gnome.org>
4688 Date: Tue Jul 2 19:20:04 2013 -0700
4690 tests: Add test for pass-by-reference GValue
4692 https://bugzilla.gnome.org/show_bug.cgi?id=701058
4694 tests/test_gi.py | 7 +++++++
4695 1 file changed, 7 insertions(+)
4697 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
4698 Author: Simon Feltman <sfeltman@src.gnome.org>
4699 Date: Tue Jul 2 23:02:17 2013 -0700
4701 Clear return value of closures to zero when an exception occures
4703 For return types other than void, set the ffi closure return argument
4704 to 0 when a Python exception occures. This a good default in general
4705 but also has the side affect of fixing failing idle callbacks
4706 by causing them to be removed from main loops (after their stack
4709 https://bugzilla.gnome.org/show_bug.cgi?id=702552
4711 gi/pygi-closure.c | 14 ++++++++++++++
4712 tests/test_gi.py | 8 ++++++++
4713 2 files changed, 22 insertions(+)
4715 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
4716 Author: Martin Pitt <martinpitt@gnome.org>
4717 Date: Wed Jul 3 10:40:28 2013 +0200
4719 Don't use doctest syntax in docstrings for examples
4721 These are not actual doctests, so don't use the >>> syntax there. Just
4725 This fixes pyflakes 0.7 failures.
4727 https://bugzilla.gnome.org/show_bug.cgi?id=701009
4729 gi/_gobject/propertyhelper.py | 11 +++++------
4730 gi/overrides/GObject.py | 8 ++++----
4731 gi/overrides/Gtk.py | 2 +-
4732 3 files changed, 10 insertions(+), 11 deletions(-)
4734 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
4735 Author: Garrett Regier <garrettregier@gmail.com>
4736 Date: Tue Jul 2 06:07:15 2013 -0700
4738 Add support for properties of type GInterface
4740 Add support for G_TYPE_INTERFACE/GInterface to switch
4741 statement which handles G_TYPE_OBJECT based properties.
4743 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
4745 https://bugzilla.gnome.org/show_bug.cgi?id=703456
4747 gi/_gobject/gobjectmodule.c | 1 +
4748 gi/_gobject/propertyhelper.py | 3 ++-
4749 tests/test_properties.py | 16 ++++++++++++++++
4750 3 files changed, 19 insertions(+), 1 deletion(-)
4752 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
4753 Author: Martin Pitt <martinpitt@gnome.org>
4754 Date: Fri Jun 21 07:27:48 2013 +0200
4756 pygtkcompat: Fix for missing methods on Windows
4758 Deal with non-existing Gtk.Clipboard.get() and
4759 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
4761 https://bugzilla.gnome.org/show_bug.cgi?id=702787
4763 pygtkcompat/pygtkcompat.py | 10 ++++++++--
4764 1 file changed, 8 insertions(+), 2 deletions(-)
4766 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
4767 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
4768 Date: Fri Jun 21 12:32:33 2013 +0800
4770 gi/pygi-info.c: Avoid C99-style variable declaration
4772 https://bugzilla.gnome.org/show_bug.cgi?id=702786
4774 gi/pygi-info.c | 3 ++-
4775 1 file changed, 2 insertions(+), 1 deletion(-)
4777 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
4778 Author: Martin Pitt <martinpitt@gnome.org>
4779 Date: Wed May 29 11:20:35 2013 +0200
4781 GLib overrides: fix typo in deprecation message
4783 Spotted by Dmitrijs Ledkovs, thanks!
4785 gi/overrides/GLib.py | 2 +-
4786 1 file changed, 1 insertion(+), 1 deletion(-)
4788 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
4789 Author: Martin Pitt <martinpitt@gnome.org>
4790 Date: Tue May 28 17:57:20 2013 +0200
4792 configure.ac: post-release version bump to 3.9.3
4795 1 file changed, 1 insertion(+), 1 deletion(-)
4797 commit 10f703189ed6a7104252907d1b1a114f26d79559
4798 Author: Martin Pitt <martinpitt@gnome.org>
4799 Date: Tue May 28 17:56:07 2013 +0200
4803 NEWS | 15 +++++++++++++++
4804 1 file changed, 15 insertions(+)
4806 commit af8d048442b924c72a1d0ae868ee63ccf292759d
4807 Author: Martin Pitt <martinpitt@gnome.org>
4808 Date: Fri May 24 13:03:07 2013 +0200
4810 examples/option.py: Port to GI and Python 3
4812 examples/option.py | 38 +++++++++++++++++++-------------------
4813 1 file changed, 19 insertions(+), 19 deletions(-)
4815 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
4816 Author: Simon Feltman <sfeltman@src.gnome.org>
4817 Date: Sun May 12 18:58:06 2013 -0700
4819 Fix vfunc info search for classes with multiple inheritance
4821 Ensure the search for vfunc GI info continues recursively even if the
4822 current class being looked at does not contain GI info of type
4823 InterfaceInfo. This more exhaustive search is needed for setups with
4824 multiple sub-classes and multiple inheritance.
4826 https://bugzilla.gnome.org/show_bug.cgi?id=700092
4828 gi/types.py | 12 +++++++-----
4829 tests/test_gi.py | 1 -
4830 2 files changed, 7 insertions(+), 6 deletions(-)
4832 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
4833 Author: Simon Feltman <sfeltman@src.gnome.org>
4834 Date: Sun May 12 22:19:38 2013 -0700
4836 Fix closure argument conversion for enum and flag in args
4838 Replace incorrect cast and assignment of double with uint for flags
4841 gi/pygi-closure.c | 2 +-
4842 1 file changed, 1 insertion(+), 1 deletion(-)
4844 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
4845 Author: Simon Feltman <sfeltman@src.gnome.org>
4846 Date: Sat May 11 21:47:54 2013 -0700
4848 tests: Add tests for overriding vfunc implementations
4850 Add tests for overriding vfuncs for both single inheritance
4851 and multiple inheritance with an interface (currently failing).
4853 https://bugzilla.gnome.org/show_bug.cgi?id=700092
4855 tests/test_gi.py | 23 +++++++++++++++++++++++
4856 1 file changed, 23 insertions(+)
4858 commit c4e1112840004af264b4f2a052f333ea38f95cb6
4859 Author: Simon Feltman <sfeltman@src.gnome.org>
4860 Date: Sat May 11 20:28:22 2013 -0700
4862 Fix marshaling Python to FFI return value for enum and flags
4864 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
4866 assignment of arg.v_pointer to the ffi return arg.
4868 gi/pygi-closure.c | 1 +
4869 1 file changed, 1 insertion(+)
4871 commit a703217eaf4075e9720d4247351e1dfc4f553772
4872 Author: Simon Feltman <sfeltman@src.gnome.org>
4873 Date: Fri Apr 19 06:37:24 2013 -0700
4875 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
4877 Remove half implemented GC tracking from PyGIBaseInfo as it was not
4878 needed (the implemented was also missing usage of
4879 PyObject_GC_New/Track).
4880 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
4883 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
4884 for both PyGIStruct and PyGIBoxed as these types were not being
4885 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
4887 https://bugzilla.gnome.org/show_bug.cgi?id=677091
4889 gi/pygi-boxed.c | 4 ----
4890 gi/pygi-info.c | 20 +++++---------------
4891 gi/pygi-struct.c | 4 ----
4892 3 files changed, 5 insertions(+), 23 deletions(-)
4894 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
4895 Author: Simon Feltman <sfeltman@src.gnome.org>
4896 Date: Fri May 3 02:00:07 2013 -0700
4898 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
4900 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
4901 of Py_BEGIN_ALLOW_THREADS.
4903 https://bugzilla.gnome.org/show_bug.cgi?id=699440
4905 gi/_glib/pyglib.h | 4 ----
4906 gi/_glib/pygoptioncontext.c | 4 ++--
4907 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
4908 gi/gimodule.c | 4 ++--
4909 gi/pygi-invoke.c | 4 ++--
4910 5 files changed, 22 insertions(+), 27 deletions(-)
4912 commit c9e95663d05de98a9abd3d1479554b1f09753382
4913 Author: Simon Feltman <sfeltman@src.gnome.org>
4914 Date: Thu May 2 03:57:05 2013 -0700
4916 Remove and deprecate API for setting of thread blocking functions
4918 Remove pyglib_set_thread_block_funcs and deprecate
4919 pyg_set_thread_block_funcs.
4920 The thread block function APIs are no longer be neccessary because
4922 can use the Python C API directly when working with threads.
4924 https://bugzilla.gnome.org/show_bug.cgi?id=699440
4926 gi/_glib/pyglib.c | 41 -----------------------------------
4927 gi/_glib/pyglib.h | 9 ++++----
4928 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
4929 gi/_gobject/pygobject-private.h | 33 ----------------------------
4930 gi/_gobject/pygobject.h | 48
4931 ++++++++++++++++++++---------------------
4932 gi/gimodule.c | 15 +++++++------
4933 6 files changed, 46 insertions(+), 125 deletions(-)
4935 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
4936 Author: Martin Pitt <martinpitt@gnome.org>
4937 Date: Tue Apr 30 11:51:05 2013 -0700
4939 configure.ac: Post-release bump to 3.9.2
4942 1 file changed, 1 insertion(+), 1 deletion(-)
4944 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
4945 Author: Martin Pitt <martinpitt@gnome.org>
4946 Date: Tue Apr 30 11:49:03 2013 -0700
4950 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
4951 1 file changed, 49 insertions(+)
4953 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
4954 Author: Simon Feltman <sfeltman@src.gnome.org>
4955 Date: Sun Apr 28 19:59:35 2013 -0700
4957 gtk-demo: Wrap description strings at 80 characters
4959 Wrap trailing demo description strings so they are easier to read
4960 in a programming editor. The gtk-demo itself re-wraps this using
4961 textwrap and the Gtk.TextView dynamic wrapping.
4963 https://bugzilla.gnome.org/show_bug.cgi?id=698547
4965 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
4966 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
4967 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
4968 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
4969 demos/gtk-demo/demos/images.py | 6 ++++--
4970 demos/gtk-demo/demos/menus.py | 20
4971 ++++++++++++++++----
4972 demos/gtk-demo/demos/pickers.py | 4 ++--
4973 demos/gtk-demo/demos/pixbuf.py | 5 +++--
4974 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
4975 9 files changed, 43 insertions(+), 22 deletions(-)
4977 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
4978 Author: Simon Feltman <sfeltman@src.gnome.org>
4979 Date: Sat Apr 27 22:30:35 2013 -0700
4981 gtk-demo: Use textwrap to reformat description for Gtk.TextView
4983 https://bugzilla.gnome.org/show_bug.cgi?id=698547
4985 demos/gtk-demo/gtk-demo.py | 8 +++++++-
4986 1 file changed, 7 insertions(+), 1 deletion(-)
4988 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
4989 Author: Simon Feltman <sfeltman@src.gnome.org>
4990 Date: Sat Apr 27 21:58:28 2013 -0700
4992 gtk-demo: Use GtkSource.View for showing source code
4994 Replace manual syntax highlighting of Gtk.TextView with usage of
4995 GtkSource.View when available. Fall back to TextView with no
4996 hightlighting when GtkSource is not available.
4998 https://bugzilla.gnome.org/show_bug.cgi?id=698547
5000 demos/gtk-demo/gtk-demo.py | 170
5001 ++++++++++++---------------------------------
5002 1 file changed, 44 insertions(+), 126 deletions(-)
5004 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
5005 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
5006 Date: Sun Apr 28 01:40:34 2013 -0500
5008 Use correct class for GtkEditable's get_selection_bounds() function
5010 https://bugzilla.gnome.org/show_bug.cgi?id=699096
5012 gi/overrides/Gtk.py | 2 +-
5013 1 file changed, 1 insertion(+), 1 deletion(-)
5015 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
5016 Author: Simon Feltman <sfeltman@src.gnome.org>
5017 Date: Thu Apr 25 05:27:35 2013 -0700
5019 Test results of g_base_info_get_name for NULL
5021 Block against potential NULL result when generating type hint with
5022 _g_arg_get_pytype_hint.
5024 https://bugzilla.gnome.org/show_bug.cgi?id=698829
5026 gi/pygi-info.c | 12 ++++++++++--
5027 1 file changed, 10 insertions(+), 2 deletions(-)
5029 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
5030 Author: Jose Rostagno <joserostagno@vijona.com.ar>
5031 Date: Sun Apr 21 19:09:59 2013 -0300
5033 Remove g_type_init conditional call
5035 It's deprecated in the glib version we depend on.
5037 https://bugzilla.gnome.org/show_bug.cgi?id=698763
5039 gi/_gobject/gobjectmodule.c | 3 ---
5040 1 file changed, 3 deletions(-)
5042 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
5043 Author: Jose Rostagno <joserostagno@vijona.com.ar>
5044 Date: Sat Mar 30 20:59:44 2013 -0300
5046 Update deps versions also in README
5048 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
5051 https://bugzilla.gnome.org/show_bug.cgi?id=698763
5054 1 file changed, 2 insertions(+), 2 deletions(-)
5056 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
5057 Author: Jose Rostagno <joserostagno@vijona.com.ar>
5058 Date: Sat Mar 30 20:50:35 2013 -0300
5060 Drop compat code for old python version
5062 https://bugzilla.gnome.org/show_bug.cgi?id=698763
5064 gi/_glib/pyglib-python-compat.h | 12 ------------
5065 1 file changed, 12 deletions(-)
5067 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
5068 Author: Niklas Koep <niklas.koep@gmail.com>
5069 Date: Thu Apr 25 06:14:12 2013 +0200
5071 Remove duplicate call to _gi.Repository.require()
5073 repository.require() was called twice in IntrospectionModule's
5076 https://bugzilla.gnome.org/show_bug.cgi?id=698797
5079 1 file changed, 1 deletion(-)
5081 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
5082 Author: Johan Dahlin <johan@gnome.org>
5083 Date: Mon Oct 1 03:02:10 2012 -0700
5085 Add ObjectInfo.get_class_struct()
5087 https://bugzilla.gnome.org/show_bug.cgi?id=685218
5089 gi/pygi-info.c | 15 +++++++++++++++
5090 tests/test_gi.py | 4 ++++
5091 2 files changed, 19 insertions(+)
5093 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
5094 Author: Simon Feltman <sfeltman@src.gnome.org>
5095 Date: Mon Apr 22 03:43:23 2013 -0700
5097 Change interpretation of NULL pointer field from None to 0
5099 The usage of 0 is needed because these fields should generally
5100 be used to store integer indices or hashes, not necessarily
5101 pointers to actual data.
5103 https://bugzilla.gnome.org/show_bug.cgi?id=698366
5105 gi/pygi-argument.c | 11 +----------
5106 tests/test_everything.py | 5 +++--
5107 2 files changed, 4 insertions(+), 12 deletions(-)
5109 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
5110 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
5111 Date: Fri Mar 8 08:25:58 2013 +0330
5113 Do not build tests until needed
5115 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
5117 https://bugzilla.gnome.org/show_bug.cgi?id=698444
5119 tests/Makefile.am | 12 ++++++------
5120 1 file changed, 6 insertions(+), 6 deletions(-)
5122 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
5123 Author: Kai Willadsen <kai.willadsen@gmail.com>
5124 Date: Sun Apr 14 15:16:40 2013 +1000
5126 pygi-convert: Support toolbar styles
5128 https://bugzilla.gnome.org/show_bug.cgi?id=698477
5130 pygi-convert.sh | 1 +
5131 1 file changed, 1 insertion(+)
5133 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
5134 Author: Kai Willadsen <kai.willadsen@gmail.com>
5135 Date: Sun Apr 14 10:54:04 2013 +1000
5137 pygi-convert: Support new-style constructors for Gio.File
5139 https://bugzilla.gnome.org/show_bug.cgi?id=698477
5141 pygi-convert.sh | 2 ++
5142 1 file changed, 2 insertions(+)
5144 commit 1e8120992dc103ac817351be3c150e6cb25f719f
5145 Author: Kai Willadsen <kai.willadsen@gmail.com>
5146 Date: Sun Apr 14 10:22:55 2013 +1000
5148 pygi-convert: Add some support for recent manager constructs
5150 https://bugzilla.gnome.org/show_bug.cgi?id=698477
5152 pygi-convert.sh | 3 +++
5153 1 file changed, 3 insertions(+)
5155 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
5156 Author: Kai Willadsen <kai.willadsen@gmail.com>
5157 Date: Sun Apr 14 07:37:24 2013 +1000
5159 pygi-convert: Check for double quote in require statement
5161 https://bugzilla.gnome.org/show_bug.cgi?id=698477
5163 pygi-convert.sh | 1 +
5164 1 file changed, 1 insertion(+)
5166 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
5167 Author: Kai Willadsen <kai.willadsen@gmail.com>
5168 Date: Sun Apr 14 07:37:00 2013 +1000
5170 pygi-convert: Don't transform arbitrary keysym imports
5172 https://bugzilla.gnome.org/show_bug.cgi?id=698477
5174 pygi-convert.sh | 2 +-
5175 1 file changed, 1 insertion(+), 1 deletion(-)
5177 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
5178 Author: Simon Feltman <sfeltman@src.gnome.org>
5179 Date: Thu Apr 11 04:09:59 2013 -0700
5181 Remove Python keyword escapement in Repository.find_by_name
5183 Strip trailing underscore from module level items before
5184 calling g_irepository_find_by_name. This fixes a problem
5185 with GI module level items having the same name as a Python
5186 keyword raising an AttributeError during access (Pango.break_).
5188 https://bugzilla.gnome.org/show_bug.cgi?id=697363
5190 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
5191 gi/pygi-info.h | 2 ++
5192 gi/pygi-repository.c | 16 ++++++++++++++++
5193 tests/test_overrides_pango.py | 5 +++++
5194 4 files changed, 45 insertions(+), 10 deletions(-)
5196 commit c07404461b126206e369270b56e613f81369c70a
5197 Author: Daniel Drake <dsd@laptop.org>
5198 Date: Mon Mar 18 16:08:09 2013 -0600
5200 Optimize signal lookup in gi repository
5202 Now that we have GSignalQuery results available to us when connecting
5203 signals, we already know which GType implements the signal in
5206 Therefore there is no need to traverse the class parent hierarchy
5207 looking for this, which takes a considerable amount of CPU time.
5209 There is also no need to canonicalize the signal name; both before
5210 and after this patch, by the time we reach this point we have already
5211 successfully looked up the signal name as presented from Python.
5213 https://bugzilla.gnome.org/show_bug.cgi?id=696143
5215 gi/_gobject/pygobject.c | 5 ++--
5216 gi/pygi-signal-closure.c | 59
5217 +++++++++++++-----------------------------------
5218 gi/pygi-signal-closure.h | 1 +
5220 4 files changed, 23 insertions(+), 46 deletions(-)
5222 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
5223 Author: Daniel Drake <dsd@laptop.org>
5224 Date: Mon Mar 18 15:38:19 2013 -0600
5226 Optimize connection of Python-implemented signals
5228 Like properties, when working with signals we must detect if the
5229 signal is implemented in a Python class or if it originates from the
5230 gi repository, and act accordingly.
5232 Asking the gi repository if it can find a signal that is implemented
5233 in a Python class (it can't) takes a considerable amount of CPU time.
5235 Use g_signal_query() to find out which GType implements the signal.
5236 Then perform a simple test to see if this type is implemented at the
5237 Python level, allowing us to to skip the GI querying in this case.
5239 https://bugzilla.gnome.org/show_bug.cgi?id=696143
5241 gi/_gobject/pygobject.c | 19 +++++++++++++++----
5242 1 file changed, 15 insertions(+), 4 deletions(-)
5244 commit e91b35d72f93678a79623347dce271148d57046f
5245 Author: Daniel Drake <dsd@laptop.org>
5246 Date: Mon Mar 18 15:24:52 2013 -0600
5248 Consolidate signal connection code
5250 This code was repeated 4 times with very little variance;
5251 consolidate it and add simple tests to ensure basic coverage.
5253 https://bugzilla.gnome.org/show_bug.cgi?id=696143
5255 gi/_gobject/pygobject.c | 129
5256 +++++++++++++++--------------------------------
5257 tests/test_everything.py | 33 ++++++++++++
5258 2 files changed, 74 insertions(+), 88 deletions(-)
5260 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
5261 Author: Daniel Drake <dsd@laptop.org>
5262 Date: Mon Mar 18 15:11:16 2013 -0600
5264 Fix setting of struct property values
5266 "goto out" in this context means that an error occurred, but this
5267 particular instance was sitting in the "good" codepath.
5269 Fixes setting of struct property values.
5271 gi/pygi-property.c | 3 ++-
5272 1 file changed, 2 insertions(+), 1 deletion(-)
5274 commit 8981ea0422c6837d488311dafe8937593372e736
5275 Author: Daniel Drake <dsd@laptop.org>
5276 Date: Mon Mar 18 14:25:45 2013 -0600
5278 Optimize property get/set when using GObject.props
5280 Skip GI repository lookup for properties defined on Python
5281 defined GObject types.
5283 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
5285 https://bugzilla.gnome.org/show_bug.cgi?id=696143
5287 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
5288 1 file changed, 19 insertions(+), 18 deletions(-)
5290 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
5291 Author: Christoph Reiter <reiter.christoph@gmail.com>
5292 Date: Sat Apr 13 17:28:26 2013 +0200
5294 configure.ac: Fix PYTHON_SO with Python3.3
5296 https://bugzilla.gnome.org/show_bug.cgi?id=696646
5298 configure.ac | 5 ++++-
5299 1 file changed, 4 insertions(+), 1 deletion(-)
5301 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
5302 Author: Daniel Drake <dsd@laptop.org>
5303 Date: Mon Mar 18 14:13:37 2013 -0600
5305 Simplify registration of custom types
5307 Use custom quark data to track Python created GTypes.
5309 Remove previous mechanism to track registration of python-implemented
5310 GTypes as it was unused (no custom registration was ever tracked).
5312 Leave vtable pointer and set to NULL to avoid an ABI break.
5314 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
5316 https://bugzilla.gnome.org/show_bug.cgi?id=696143
5318 gi/_gobject/gobjectmodule.c | 11 +++++--
5319 gi/_gobject/pygobject-private.h | 8 ++---
5320 gi/_gobject/pygobject.c | 8 ++---
5321 gi/_gobject/pygobject.h | 9 +++---
5322 gi/_gobject/pygtype.c | 69
5323 +++--------------------------------------
5324 5 files changed, 22 insertions(+), 83 deletions(-)
5326 commit 50702a09344825e3a8aa54365d78de807f989d88
5327 Author: Christoph Reiter <reiter.christoph@gmail.com>
5328 Date: Sat Apr 13 16:04:17 2013 +0200
5330 pygi-convert.sh: Add GStreamer rules
5332 https://bugzilla.gnome.org/show_bug.cgi?id=697951
5334 pygi-convert.sh | 17 +++++++++++++++++
5335 1 file changed, 17 insertions(+)
5337 commit b289176e6b37cb2825bd555cea019b85b68d5c57
5338 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
5339 Date: Sun Mar 10 15:04:40 2013 +0200
5341 pygi-convert: Add rule for TreeModelFlags
5343 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
5345 pygi-convert.sh | 1 +
5346 1 file changed, 1 insertion(+)
5348 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
5349 Author: Simon Feltman <sfeltman@src.gnome.org>
5350 Date: Fri Mar 29 03:20:44 2013 -0700
5352 Unify interface struct to Python GI marshaling code
5354 Add pygi_marshal_to_py_interface_struct used for direct gi method
5355 call out args and vfunc in args.
5357 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5359 gi/pygi-argument.c | 72 ++++++-------------------------
5360 gi/pygi-marshal-to-py.c | 112
5361 +++++++++++++++++++++++++++++-------------------
5362 gi/pygi-marshal-to-py.h | 8 ++++
5363 3 files changed, 91 insertions(+), 101 deletions(-)
5365 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
5366 Author: Simon Feltman <sfeltman@src.gnome.org>
5367 Date: Thu Mar 28 22:41:51 2013 -0700
5369 Unify Python interface struct to GI marshaling code
5371 Add pygi_marshal_from_py_interface_struct used for direct gi method
5372 call in args and vfunc out args.
5374 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5376 gi/pygi-argument.c | 75 +++++++--------------
5377 gi/pygi-cache.c | 12 +---
5378 gi/pygi-marshal-from-py.c | 167
5379 +++++++++++++++++++++++++++++-----------------
5380 gi/pygi-marshal-from-py.h | 11 +++
5381 4 files changed, 141 insertions(+), 124 deletions(-)
5383 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
5384 Author: Simon Feltman <sfeltman@src.gnome.org>
5385 Date: Thu Mar 28 06:17:15 2013 -0700
5387 Unify Python float and double to GI marshaling code
5389 Change _pygi_argument_from_object to use the cachers marshalers
5390 (_pygi_marshal_from_py_float/double) directly instead of keeping a
5392 Refactor _pygi_marshal_from_py_float/double to use a common utility
5393 _pygi_py_arg_to_double for initial error checking and conversion.
5395 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5397 gi/pygi-argument.c | 26 ++++----------------------
5398 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
5399 2 files changed, 24 insertions(+), 44 deletions(-)
5401 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
5402 Author: Simon Feltman <sfeltman@src.gnome.org>
5403 Date: Thu Mar 28 05:29:08 2013 -0700
5405 Unify filename to Python GI marshaling code
5407 Change _pygi_argument_to_object to use the cachers marshaler
5408 (_pygi_marshal_to_py_filename) directly instead of keeping a
5411 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5413 gi/pygi-argument.c | 22 ++--------------------
5414 gi/pygi-marshal-to-py.c | 6 ++----
5415 2 files changed, 4 insertions(+), 24 deletions(-)
5417 commit 54aa043d96deb02589e13042a46917405ca53780
5418 Author: Simon Feltman <sfeltman@src.gnome.org>
5419 Date: Thu Mar 28 05:20:00 2013 -0700
5421 Unify utf8 to Python GI marshaling code
5423 Change _pygi_argument_to_object to use the cachers marshaler
5424 (_pygi_marshal_to_py_utf8) directly instead of keeping a
5427 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5429 gi/pygi-argument.c | 11 ++++-------
5430 gi/pygi-marshal-to-py.c | 4 +---
5431 2 files changed, 5 insertions(+), 10 deletions(-)
5433 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
5434 Author: Simon Feltman <sfeltman@src.gnome.org>
5435 Date: Thu Mar 28 05:10:45 2013 -0700
5437 Unify unichar to Python GI marshaling code
5439 Change _pygi_argument_to_object to use the cachers marshaler
5440 (_pygi_marshal_to_py_unichar) directly instead of keeping a
5443 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5445 gi/pygi-argument.c | 19 ++-----------------
5446 1 file changed, 2 insertions(+), 17 deletions(-)
5448 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
5449 Author: Simon Feltman <sfeltman@src.gnome.org>
5450 Date: Sat Feb 16 19:49:59 2013 -0800
5452 Unify Python unicode to filename GI marshaling code
5454 Change _pygi_argument_from_object to use the cachers marshaler
5455 (_pygi_marshal_from_py_filename) directly instead of keeping a
5458 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5460 gi/pygi-argument.c | 30 ++----------------------------
5461 1 file changed, 2 insertions(+), 28 deletions(-)
5463 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
5464 Author: Simon Feltman <sfeltman@src.gnome.org>
5465 Date: Sat Feb 16 19:32:54 2013 -0800
5467 Unify Python unicode to utf8 GI marshaling code
5469 Change _pygi_argument_from_object to use the cachers marshaler
5470 (_pygi_marshal_from_py_utf8) directly instead of keeping a
5473 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5475 gi/pygi-argument.c | 32 ++------------------------------
5476 1 file changed, 2 insertions(+), 30 deletions(-)
5478 commit e253c73335fccabc61e0329f8528a90f79858c67
5479 Author: Simon Feltman <sfeltman@src.gnome.org>
5480 Date: Sat Feb 16 19:16:43 2013 -0800
5482 Unify Python unicode to unichar GI marshaling code
5484 Change _pygi_argument_from_object to use the cachers marshaler
5485 (_pygi_marshal_from_py_unichar) directly instead of keeping a
5488 https://bugzilla.gnome.org/show_bug.cgi?id=693405
5490 gi/pygi-argument.c | 34 ++--------------------------------
5491 gi/pygi-marshal-from-py.c | 9 +++++++++
5492 2 files changed, 11 insertions(+), 32 deletions(-)
5494 commit 216caf590b262fed40d10bb34d020089d1197160
5495 Author: Simon Feltman <sfeltman@src.gnome.org>
5496 Date: Thu Apr 4 15:57:12 2013 -0700
5498 Fix enum and flags marshaling type assumptions
5500 Replace assignments of GFlags and GEnum values to various GIArgument
5501 members with v_uint and v_int respectively.
5503 gi/pygi-argument.c | 6 +++---
5504 gi/pygi-property.c | 4 ++--
5505 2 files changed, 5 insertions(+), 5 deletions(-)
5507 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
5508 Author: Christoph Reiter <reiter.christoph@gmail.com>
5509 Date: Thu Apr 4 10:08:38 2013 +0200
5511 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
5513 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
5515 m4/python.m4 | 4 ++--
5516 1 file changed, 2 insertions(+), 2 deletions(-)
5518 commit f82f755a0f419539c223e4a74e33145726c6e69f
5519 Author: Christoph Reiter <reiter.christoph@gmail.com>
5520 Date: Thu Apr 4 09:05:48 2013 +0200
5522 Use distutils.sysconfig to retrieve the python include path.
5524 https://bugzilla.gnome.org/show_bug.cgi?id=696648
5526 m4/python.m4 | 8 ++------
5527 1 file changed, 2 insertions(+), 6 deletions(-)
5529 commit cf81dd66e6387bf27122a71176e91ca39beb6519
5530 Author: Martin Pitt <martinpitt@gnome.org>
5531 Date: Thu Apr 4 06:47:56 2013 +0200
5533 Use g_strdup() consistently
5535 https://bugzilla.gnome.org/show_bug.cgi?id=696650
5537 gi/pygi-marshal-from-py.c | 2 +-
5538 1 file changed, 1 insertion(+), 1 deletion(-)
5540 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
5541 Author: Christoph Reiter <reiter.christoph@gmail.com>
5542 Date: Tue Mar 26 16:03:59 2013 +0100
5544 Support PEP 3149 (ABI version tagged .so files)
5546 Add a ABI suffix to the shared library retrieved from
5548 instead of hardcoding it. This should also make things more robust
5551 https://bugzilla.gnome.org/show_bug.cgi?id=696646
5553 configure.ac | 3 +++
5554 gi/Makefile.am | 14 +++++++-------
5555 gi/_glib/Makefile.am | 14 +++++++-------
5556 gi/_gobject/Makefile.am | 14 +++++++-------
5557 4 files changed, 24 insertions(+), 21 deletions(-)
5559 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
5560 Author: Simon Feltman <sfeltman@src.gnome.org>
5561 Date: Sun Mar 31 01:32:34 2013 -0700
5563 Fix stack corruption due to incorrect format for argument parser
5565 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
5566 of "l" meaning long (8 bytes) in combination with an output pointer
5567 of guint (4 bytes). Change to use gulong with a format of "k".
5569 https://bugzilla.gnome.org/show_bug.cgi?id=696892
5571 gi/_gobject/pygflags.c | 4 ++--
5572 1 file changed, 2 insertions(+), 2 deletions(-)
5574 commit 48e52210ece0e144b4c959e773ea542a912358e7
5575 Author: Simon Feltman <sfeltman@src.gnome.org>
5576 Date: Thu Mar 7 00:26:37 2013 -0800
5578 Deprecate GLib and GObject threads_init
5580 Remove a handful of Python threading related helper functions
5581 from pyglib and pygobject. The binding internals required
5582 GLib.threads_init to be called for PyGObject to work with
5583 Python threads. This was removed as it should not be a requirement.
5584 Using the Python threading module already initializes threading
5585 for us (PyEval_InitThreads).
5587 https://bugzilla.gnome.org/show_bug.cgi?id=686914
5589 gi/_glib/glibmodule.c | 16 --------
5590 gi/_glib/pyglib.c | 94
5591 ---------------------------------------------
5592 gi/_glib/pyglib.h | 28 +++++++-------
5593 gi/_gobject/gobjectmodule.c | 31 ++++-----------
5594 gi/overrides/GLib.py | 8 +++-
5595 gi/overrides/GObject.py | 2 +-
5596 6 files changed, 28 insertions(+), 151 deletions(-)
5598 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
5599 Author: Martin Pitt <martinpitt@gnome.org>
5600 Date: Mon Mar 25 09:03:51 2013 +0100
5602 Drop support for Python 2.6
5604 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
5606 this unblocks e. g. GNOME #682320.
5608 Drop usage of PyCObject_* (which has been superseded by PyCapsule
5610 and drop Python 2.6 specific workarounds.
5613 gi/_glib/pyglib-python-compat.h | 20 ------------------
5614 gi/_gobject/pygobject.h | 6 ------
5617 tests/runtests.py | 45
5618 +----------------------------------------
5619 tests/test_gobject.py | 1 -
5620 tests/test_signal.py | 4 ----
5621 8 files changed, 3 insertions(+), 81 deletions(-)
5623 commit 56347953abb1e214817186581eaf2b2d8762cf97
5624 Author: Martin Pitt <martinpitt@gnome.org>
5625 Date: Wed Oct 24 16:43:25 2012 +0200
5627 Remove static PollFD bindings
5629 Use the GLib API through GI instead, and provide an override to keep a
5630 backwards compatible constructor syntax.
5632 https://bugzilla.gnome.org/show_bug.cgi?id=686795
5634 gi/_glib/Makefile.am | 2 --
5635 gi/_glib/glibmodule.c | 2 --
5636 gi/_glib/pygsource.c | 98
5637 ---------------------------------------------------
5638 gi/_glib/pygsource.h | 36 -------------------
5639 gi/overrides/GLib.py | 17 +++++++--
5640 5 files changed, 15 insertions(+), 140 deletions(-)
5642 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
5643 Author: Martin Pitt <martinpitt@gnome.org>
5644 Date: Mon Mar 25 08:44:24 2013 +0100
5646 Drop test skipping due to too old g-i
5648 We depend on gobject-introspection 1.35.9 now, which has all this API.
5650 tests/test_gi.py | 24 ------------------------
5651 tests/test_object_marshaling.py | 14 --------------
5652 2 files changed, 38 deletions(-)
5654 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
5655 Author: Martin Pitt <martinpitt@gnome.org>
5656 Date: Mon Mar 25 08:37:37 2013 +0100
5658 Bump glib and g-i dependencies
5660 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
5662 versions. This allows us to drop the conditional test suite skips
5664 static PollFD bindings.
5666 configure.ac | 6 +++---
5667 1 file changed, 3 insertions(+), 3 deletions(-)
5669 commit 252556d044322207429c0d0c269365f48e4d819a
5670 Author: Martin Pitt <martinpitt@gnome.org>
5671 Date: Mon Mar 25 08:43:53 2013 +0100
5673 configure.ac: post-release version bump to 3.9.1
5675 configure.ac | 4 ++--
5676 1 file changed, 2 insertions(+), 2 deletions(-)
5678 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
5679 Author: Martin Pitt <martinpitt@gnome.org>
5680 Date: Mon Mar 25 08:12:10 2013 +0100
5685 1 file changed, 4 insertions(+)
5687 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
5688 Author: Simon Feltman <sfeltman@src.gnome.org>
5689 Date: Wed Mar 20 23:45:01 2013 -0700
5691 tests: Fix incorrect assumption when testing pyglib version
5693 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
5694 value that can be used for a future proof unittest here.
5696 tests/test_glib.py | 4 ++--
5697 1 file changed, 2 insertions(+), 2 deletions(-)
5699 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
5700 Author: Martin Pitt <martinpitt@gnome.org>
5701 Date: Mon Mar 18 14:02:29 2013 +0100
5703 configure.ac: post-release bump to 3.8.0
5705 configure.ac | 4 ++--
5706 1 file changed, 2 insertions(+), 2 deletions(-)
5708 commit defbd63e95faafaa84230f160bc95dad0f55e37d
5709 Author: Martin Pitt <martinpitt@gnome.org>
5710 Date: Mon Mar 18 14:01:05 2013 +0100
5714 NEWS | 18 ++++++++++++++++++
5715 1 file changed, 18 insertions(+)
5717 commit a0844a896603c5c91bed24cf94106765f0ced74e
5718 Author: Simon Feltman <sfeltman@src.gnome.org>
5719 Date: Sun Mar 17 23:22:38 2013 -0700
5721 Fix stack smasher when marshaling enums as a vfunc return value
5723 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
5724 flag types. Default interfaces to marshal as a pointer.
5725 Add explicit cases for GType and Unichar out/return marshaling.
5726 Fix leaking of GIBaseInfo when marshaling interface as out arg.
5728 https://bugzilla.gnome.org/show_bug.cgi?id=637832
5730 gi/pygi-closure.c | 69
5731 ++++++++++++++++++++++++++++++++++++++++++++++---------
5732 tests/test_gi.py | 19 +++++++++++++++
5733 2 files changed, 77 insertions(+), 11 deletions(-)
5735 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
5736 Author: Simon Feltman <sfeltman@src.gnome.org>
5737 Date: Sun Mar 17 15:37:09 2013 -0700
5739 Change base class of PyGIDeprecationWarning based on minor version
5741 Use RuntimeWarning as the base class of PyGIDeprecationWarning
5742 for unstable (odd minor version) and use DeprecationWarning for
5743 stable (even minor version). This is so PyGObject deprecations
5744 behave the same as regular Python deprecations in stable releases.
5746 https://bugzilla.gnome.org/show_bug.cgi?id=696011
5748 gi/__init__.py | 14 +++++++++++---
5749 1 file changed, 11 insertions(+), 3 deletions(-)
5751 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
5752 Author: Alban Browaeys <prahal@yahoo.com>
5753 Date: Thu Feb 28 18:57:21 2013 +0100
5755 autogen.sh: Source gnome-autogen to fix out of source builddir
5757 https://bugzilla.gnome.org/show_bug.cgi?id=694889
5760 1 file changed, 1 insertion(+), 1 deletion(-)
5762 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
5763 Author: Martin Pitt <martinpitt@gnome.org>
5764 Date: Tue Mar 5 12:22:15 2013 +0100
5766 Add 3.7.91.1 NEWS entry
5768 Forgot to push this back then.
5771 1 file changed, 3 insertions(+)
5773 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
5774 Author: Simon Feltman <sfeltman@src.gnome.org>
5775 Date: Sun Mar 17 04:19:57 2013 -0700
5777 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
5779 Make get_geometry return a tuple of (x, y, width, height, depth)
5780 as it did in pygtk 2.
5781 Update pygtkcompat.enable_gtk() to default to version 3.0 because
5782 version 2.0 core dumps trying to use introspection with gtk 2.
5784 pygtkcompat/pygtkcompat.py | 8 +++++++-
5785 1 file changed, 7 insertions(+), 1 deletion(-)
5787 commit 38683f721c33cc35f0260868e58643fd35f04cbe
5788 Author: Simon Feltman <sfeltman@src.gnome.org>
5789 Date: Sun Mar 17 02:08:03 2013 -0700
5791 testhelpermodule: Fix build warning for PyGObject_Type redefinition
5793 Remove dynamic retrieval of PyGObject_Type as it is available
5794 in pygobject.h since commit 2656bc47 (causing this compile warning)
5796 tests/testhelpermodule.c | 14 +-------------
5797 1 file changed, 1 insertion(+), 13 deletions(-)
5799 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
5800 Author: Simon Feltman <sfeltman@src.gnome.org>
5801 Date: Sun Mar 17 01:51:33 2013 -0700
5803 pygtkcompat: Initialize hint to zero in set_geometry_hints
5805 pygtkcompat/pygtkcompat.py | 2 +-
5806 1 file changed, 1 insertion(+), 1 deletion(-)
5808 commit 471204953d6fc93b3d311afd133d40f7d75ec541
5809 Author: Simon Feltman <sfeltman@src.gnome.org>
5810 Date: Fri Mar 15 04:33:22 2013 -0700
5812 Remove incorrect bounds check with property helper flags
5814 Remove bounds check for flags as it is not necessary for the
5815 helper to make these kind of judgement calls in general.
5816 e.g. leave it to marshaling/internals to complain about potential
5817 problems. The flags were being bounds checked to a maximum
5818 value of 32 (the intention was most likely to limit it to 32 bits).
5820 gi/_gobject/propertyhelper.py | 3 ---
5821 tests/test_properties.py | 1 -
5822 2 files changed, 4 deletions(-)
5824 commit 2656bc47ca1219b329066da1c2c58018ae624866
5825 Author: Simon Feltman <sfeltman@src.gnome.org>
5826 Date: Thu Mar 7 18:07:17 2013 -0800
5828 Fix crash when setting property of type object to an incorrect type
5830 Add type check when marshaling an object from Python for GObject
5832 Add PyGObject_Type as part of the pygobject API to check for this.
5834 https://bugzilla.gnome.org/show_bug.cgi?id=695420
5836 gi/_gobject/gobjectmodule.c | 3 ++-
5837 gi/_gobject/pygobject.h | 2 ++
5838 gi/pygi-marshal-from-py.c | 8 ++++++++
5839 tests/test_object_marshaling.py | 4 ++++
5840 4 files changed, 16 insertions(+), 1 deletion(-)
5842 commit 44587f42224a44a480629223c8d78a426bc32a12
5843 Author: Simon Feltman <sfeltman@src.gnome.org>
5844 Date: Thu Mar 7 17:59:02 2013 -0800
5846 Remove skipping of object property tests
5848 These were showing up as unexpected successes now that bug 675726
5851 https://bugzilla.gnome.org/show_bug.cgi?id=695420
5853 tests/test_object_marshaling.py | 7 ++-----
5854 1 file changed, 2 insertions(+), 5 deletions(-)
5856 commit 10214ba2d96fd6d66eeea159219f585abff8632a
5857 Author: Simon Feltman <sfeltman@src.gnome.org>
5858 Date: Thu Mar 7 15:34:49 2013 -0800
5860 Give more informative error when setting property to incorrect type
5862 https://bugzilla.gnome.org/show_bug.cgi?id=695420
5864 gi/_gobject/pygobject.c | 10 ++++++++--
5865 1 file changed, 8 insertions(+), 2 deletions(-)
5867 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
5868 Author: Martin Pitt <martinpitt@gnome.org>
5869 Date: Tue Mar 5 12:04:55 2013 +0100
5871 Revert "Drop gi.overrides.overridefunc()"
5873 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
5875 like GEdit plugins use @overrides for functions as well, we must
5879 https://bugzilla.gnome.org/show_bug.cgi?id=695199
5881 gi/overrides/Gtk.py | 7 ++++---
5882 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
5883 2 files changed, 26 insertions(+), 5 deletions(-)
5885 commit 862de794bf01a66aa6d796c674bce375cad37ba7
5886 Author: Martin Pitt <martinpitt@gnome.org>
5887 Date: Mon Mar 4 17:33:51 2013 +0100
5889 configure.ac: Post-release bump to 3.7.92
5892 1 file changed, 1 insertion(+), 1 deletion(-)
5894 commit bb12e652d661cf6ce931b44a89c11951894101bf
5895 Author: Martin Pitt <martinpitt@gnome.org>
5896 Date: Mon Mar 4 17:27:50 2013 +0100
5900 NEWS | 33 +++++++++++++++++++++++++++++++++
5901 1 file changed, 33 insertions(+)
5903 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
5904 Author: Martin Pitt <martinpitt@gnome.org>
5905 Date: Mon Mar 4 17:16:22 2013 +0100
5907 Dot not clobber original Gdk/Gtk functions with overrides
5909 https://bugzilla.gnome.org/show_bug.cgi?id=686835
5911 gi/overrides/Gdk.py | 3 ++-
5912 gi/overrides/Gtk.py | 3 ++-
5913 2 files changed, 4 insertions(+), 2 deletions(-)
5915 commit d50d16428edf42799489fe1befbc4ce56f0fa181
5916 Author: Martin Pitt <martinpitt@gnome.org>
5917 Date: Mon Mar 4 15:30:31 2013 +0100
5919 tests: Reorganize GError and GClosure tests
5921 Split TestGClosure.test_gclosure_in() into its three components.
5923 Merge the various TestGError* classes into one, to match the structure
5927 tests/test_gi.py | 59
5928 +++++++++++++++++++++++++-------------------------------
5929 1 file changed, 26 insertions(+), 33 deletions(-)
5931 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
5932 Author: Martin Pitt <martinpitt@gnome.org>
5933 Date: Mon Mar 4 15:16:25 2013 +0100
5935 Fix memory leaks in property setting/getting
5937 Do not leak GValues and string arrays, free them properly. As we
5939 the intermediate GValues, use g_value_dup_boxed() instead of
5940 g_value_get_boxed() when appropriate.
5942 Detected by test_gi.TestPropertiesObject.test_strv test case.
5944 gi/pygi-property.c | 21 ++++++++++++++++-----
5945 1 file changed, 16 insertions(+), 5 deletions(-)
5947 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
5948 Author: Martin Pitt <martinpitt@gnome.org>
5949 Date: Mon Mar 4 12:43:24 2013 +0100
5951 Fix memory leak in pyg_flags_get_value_nicks()
5953 Discovered by test_gi.TestKeywords.test_uppercase() test.
5955 gi/_gobject/pygflags.c | 7 +++++--
5956 1 file changed, 5 insertions(+), 2 deletions(-)
5958 commit 002a834dd993b82508a4fe262269befcf1a6d341
5959 Author: Martin Pitt <martinpitt@gnome.org>
5960 Date: Mon Mar 4 12:10:03 2013 +0100
5962 Fix memory leak in _pygi_argument_to_array()
5964 Free the originally allocated GArray data before setting it to
5968 Discovered by test_gi.TestStructure.test_boxed_struct_return test
5971 gi/pygi-argument.c | 1 +
5972 1 file changed, 1 insertion(+)
5974 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
5975 Author: Martin Pitt <martinpitt@gnome.org>
5976 Date: Mon Mar 4 10:19:34 2013 +0100
5978 Fix leaking inout C arrays
5980 g_*_info_invoke() changes the original state->in_args and state->args
5982 to the output values for (inout) arguments, thus losing the pointer
5984 originally allocated array. Remember that in state->args_data,
5986 free it in _pygi_marshal_cleanup_from_py_array().
5988 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
5990 gi/pygi-marshal-cleanup.c | 6 ++++++
5991 gi/pygi-marshal-from-py.c | 4 ++++
5992 2 files changed, 10 insertions(+)
5994 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
5995 Author: Martin Pitt <martinpitt@gnome.org>
5996 Date: Fri Mar 1 15:12:31 2013 +0100
5998 Fix leak in _PyGI_ERROR_PREFIX()
6000 Properly clean up our allocated py_error_prefix string.
6002 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
6004 gi/pygi-private.h | 1 +
6005 1 file changed, 1 insertion(+)
6007 commit b388c3e87ce86d26560337c88eb33d0a95647db8
6008 Author: Martin Pitt <martinpitt@gnome.org>
6009 Date: Fri Mar 1 15:01:06 2013 +0100
6011 Fix leaking of boxed array elements
6013 Commit 631d8ef879a copies struct array elements, but this needlessly
6015 and leaks the array element for boxed types. So only do it for
6018 This fixes the memory leak with
6019 test_gi.TestGValue.test_gvalue_flat_array_out.
6021 https://bugzilla.gnome.org/show_bug.cgi?id=693402
6023 gi/pygi-marshal-to-py.c | 3 ++-
6024 1 file changed, 2 insertions(+), 1 deletion(-)
6026 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
6027 Author: Martin Pitt <martinpitt@gnome.org>
6028 Date: Fri Mar 1 14:04:34 2013 +0100
6030 Drop gi.overrides.overridefunc()
6032 This just adds an unnecessary extra function call and is not really
6034 Drop it from the only remaining function which uses this
6036 drop overridefunc().
6038 https://bugzilla.gnome.org/show_bug.cgi?id=686835
6040 gi/overrides/Gtk.py | 7 +++----
6041 gi/overrides/__init__.py | 24 ++----------------------
6042 2 files changed, 5 insertions(+), 26 deletions(-)
6044 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
6045 Author: Martin Pitt <martinpitt@gnome.org>
6046 Date: Fri Mar 1 14:02:02 2013 +0100
6048 Add some tests for overridden Gdk/Gtk functions
6050 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
6052 have overrides for them.
6054 tests/test_overrides_gdk.py | 7 +++++++
6055 tests/test_overrides_gtk.py | 15 +++++++++++++++
6056 2 files changed, 22 insertions(+)
6058 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
6059 Author: Martin Pitt <martinpitt@gnome.org>
6060 Date: Fri Mar 1 11:10:01 2013 +0100
6062 Fix GLib.Source ref leak upon destruction
6064 In GLib.Source.__del__(), manually unref the source if we are a
6066 As we use a static binding to create it, the GI part won't unref it
6068 leading to finalize() method not being called and the GSource
6071 https://bugzilla.gnome.org/show_bug.cgi?id=510511
6073 gi/overrides/GLib.py | 4 ++++
6074 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
6075 2 files changed, 35 insertions(+)
6077 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
6078 Author: Martin Pitt <martinpitt@gnome.org>
6079 Date: Thu Feb 28 15:08:56 2013 +0100
6081 Add performance test for Gtk.ListStore.append
6083 We are going to optimize this in various ways, so let's measure it.
6085 tests/test_overrides_gtk.py | 14 ++++++++++++++
6086 1 file changed, 14 insertions(+)
6088 commit b1ff74b085bdca72c272f019be4dd387073a991a
6089 Author: Simon Feltman <sfeltman@src.gnome.org>
6090 Date: Thu Feb 28 04:32:30 2013 -0800
6092 Optimize GValue.get/set_value by setting GValue.g_type to a local
6094 This increases performance by a factor of 2x for types later
6097 https://bugzilla.gnome.org/show_bug.cgi?id=694857
6099 gi/overrides/GObject.py | 98
6100 +++++++++++++++++++++++++------------------------
6101 1 file changed, 51 insertions(+), 47 deletions(-)
6103 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
6104 Author: Martin Pitt <martinpitt@gnome.org>
6105 Date: Thu Feb 28 11:43:47 2013 +0100
6107 Fix leak of caller-allocated boxed values
6109 Add a new "allocated_slice" argument to _pygi_boxed_new() which
6111 whether its "boxed" pointer was allocated using a slice (by giving
6113 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
6117 Use this in _pygi_marshal_to_py_interface_struct() for
6118 caller-allocated boxed
6119 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
6121 which would otherwise leak.
6123 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
6125 https://bugzilla.gnome.org/show_bug.cgi?id=691501
6127 gi/gimodule.c | 2 +-
6128 gi/pygi-argument.c | 2 +-
6129 gi/pygi-boxed.c | 14 ++++++++++----
6130 gi/pygi-boxed.h | 3 ++-
6131 gi/pygi-marshal-to-py.c | 6 ++++--
6132 gi/pygi-source.c | 3 ++-
6133 6 files changed, 20 insertions(+), 10 deletions(-)
6135 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
6136 Author: Martin Pitt <martinpitt@gnome.org>
6137 Date: Thu Feb 28 10:48:18 2013 +0100
6139 Fix memory handling of caller-allocated boxed types
6141 _pygi_marshal_to_py_interface_struct() and other places treat
6143 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
6144 _caller_alloc() and _cleanup_caller_allocates() to consider
6146 subtypes as well and use the slice allocator instead of malloc()'ing
6148 This avoids trying to free an malloc'ed struct with g_slice_free()
6150 cleans up the boxed values.
6152 The leak was produced with:
6154 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
6155 --leak-check=full --show-possibly-lost=no \
6156 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
6157 (s,e) = b.get_bounds()'
6159 gi/pygi-invoke.c | 2 +-
6160 gi/pygi-marshal-cleanup.c | 2 +-
6161 2 files changed, 2 insertions(+), 2 deletions(-)
6163 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
6164 Author: Martin Pitt <martinpitt@gnome.org>
6165 Date: Wed Feb 27 23:21:34 2013 +0100
6167 Fix cleanup of GValue arrays
6169 Commit bc1fd8 introduced a thinko: We must not change
6170 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
6172 change, and instead put the hack into
6173 _pygi_marshal_cleanup_from_py_array(),
6174 which now short-circuits
6175 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
6176 trying to release a slice which has never been allocated in
6177 _pygi_marshal_from_py_array().
6179 https://bugzilla.gnome.org/show_bug.cgi?id=672224
6181 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
6182 gi/pygi-marshal-from-py.c | 10 +++-------
6183 2 files changed, 13 insertions(+), 8 deletions(-)
6185 commit 70118c3840b10e1585d066a4be485c097cd23e99
6186 Author: Martin Pitt <martinpitt@gnome.org>
6187 Date: Wed Feb 27 21:52:43 2013 +0100
6189 Revert "Mark caller-allocated boxed structures as having a slice
6192 This is wrong after all, as it sets slice_allocated to TRUE, but
6194 corresponding size. Also, poking in internal fields from that place
6196 this should rather be fixed in gi/pygi-marshal-cleanup.c
6197 _cleanup_caller_allocates().
6199 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
6201 gi/pygi-marshal-to-py.c | 4 +---
6202 1 file changed, 1 insertion(+), 3 deletions(-)
6204 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
6205 Author: Martin Pitt <martinpitt@gnome.org>
6206 Date: Wed Feb 27 21:51:30 2013 +0100
6208 Run tests with G_SLICE=debug_blocks
6210 This will help finding regressions in slice management, like in
6211 https://bugzilla.gnome.org/show_bug.cgi?id=691501
6213 tests/Makefile.am | 3 ++-
6214 1 file changed, 2 insertions(+), 1 deletion(-)
6216 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
6217 Author: Martin Pitt <martinpitt@gnome.org>
6218 Date: Wed Feb 27 18:30:23 2013 +0100
6220 Add override helper for stripping boolean returns
6222 Introduce a gi.overrides.strip_boolean_result() helper which checks
6224 return value and if True, return the remaining arguments, otherwise
6226 default. This pattern is being used by a lot of overrides, which get
6227 significantly smaller and more consistent that way.
6229 https://bugzilla.gnome.org/show_bug.cgi?id=694431
6231 gi/overrides/Gdk.py | 27 +-------
6232 gi/overrides/Gtk.py | 156
6233 +++++++++--------------------------------------
6234 gi/overrides/__init__.py | 22 +++++++
6235 3 files changed, 53 insertions(+), 152 deletions(-)
6237 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
6238 Author: Martin Pitt <martinpitt@gnome.org>
6239 Date: Wed Feb 27 15:39:23 2013 +0100
6241 Drop obsolete pygobject_register_sinkfunc() declaration
6243 There is no definition for this any more, nor is it being used
6246 https://bugzilla.gnome.org/show_bug.cgi?id=639849
6248 gi/_gobject/pygobject-private.h | 2 --
6249 1 file changed, 2 deletions(-)
6251 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
6252 Author: Martin Pitt <martinpitt@gnome.org>
6253 Date: Wed Feb 27 13:41:55 2013 +0100
6255 Fix marshalling of C arrays with explicit length in signal arguments
6257 We need _pygi_argument_to_array() from both closure marshalling
6259 the arguments as GIArgument array) and signal closure marshalling
6261 have the arguments in a GValue array). Add an alternative
6263 parameter to _pygi_argument_to_array() so that callers can specify
6265 other depending on which type they have available.
6267 This allows us to pass on the full argument list for signal closures,
6269 _pygi_argument_to_array() can access the explicit length argument
6273 This fixes the GSettings:change-event signal.
6275 https://bugzilla.gnome.org/show_bug.cgi?id=662241
6277 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
6278 gi/pygi-argument.h | 1 +
6279 gi/pygi-closure.c | 2 +-
6280 gi/pygi-info.c | 4 ++--
6281 gi/pygi-signal-closure.c | 3 ++-
6282 tests/test_gio.py | 18 ++++++++++++++++++
6283 6 files changed, 52 insertions(+), 12 deletions(-)
6285 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
6286 Author: Martin Pitt <martinpitt@gnome.org>
6287 Date: Wed Feb 27 08:07:20 2013 +0100
6289 Fix signedness, overflow checking, and 32 bit overflow of GFlags
6291 GFlagsValue.value is a guint, so we must access it as unsigned
6293 new macros PYGLIB_PyLong_FromUnsignedLong() and
6294 PYGLIB_PyLong_AsUnsignedLong()
6295 for that purpose, and consistently use them for handling flag
6297 checked variant of these functions which produce OverflowErrors
6299 of the unchecked PYGLIB_PyLong_AS_LONG().
6301 Insert zero padding after the PyLongObject in PyGFlags and
6303 this, the directly adjacent GType field seems to confuse
6304 PyLong_FromUnsignedLong() and includes the GType into the numeric
6307 https://bugzilla.gnome.org/show_bug.cgi?id=693121
6309 gi/_glib/pyglib-python-compat.h | 8 +++++++
6310 gi/_gobject/gobjectmodule.c | 2 +-
6311 gi/_gobject/pygflags.c | 52
6312 +++++++++++++++++++++++++----------------
6313 gi/_gobject/pygobject-private.h | 10 ++++----
6314 gi/_gobject/pygobject.h | 4 ++--
6315 gi/_gobject/pygtype.c | 6 ++---
6316 tests/test_overrides_gdk.py | 15 ++++++++++++
6317 7 files changed, 67 insertions(+), 30 deletions(-)
6319 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
6320 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
6321 Date: Tue Feb 26 16:15:36 2013 +0800
6323 gi/pygi-marshal-from-py.c: Fix build on Visual C++
6325 Since Visual C++ does not provide the INFINITY and NAN constants
6327 math.h (they are items defined by C99), provide fallback
6329 for it here. The INFINITY constant can be provided with HUGE_VAL,
6331 we are using INFINITY to check the value of a variable of double
6333 we could use a rather simple workaround for NAN.
6335 Also avoid declaring variables in the middle of the block.
6337 https://bugzilla.gnome.org/show_bug.cgi?id=692856
6339 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
6340 1 file changed, 18 insertions(+), 1 deletion(-)
6342 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
6343 Author: Martin Pitt <martinpitt@gnome.org>
6344 Date: Tue Feb 26 16:42:19 2013 +0100
6346 Fix some style issues with previous patch
6348 gi/pygi-cache.c | 6 +++---
6349 1 file changed, 3 insertions(+), 3 deletions(-)
6351 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
6352 Author: Martin Pitt <martinpitt@gnome.org>
6353 Date: Tue Feb 26 10:15:22 2013 +0100
6355 Raise DeprecationWarning on deprecated callables
6357 Check if a callable is marked as deprecated and raise a
6358 DeprecationWarning in
6362 - Python hides DeprecationWarning by default, you need to enable
6364 - The deprecation message is currently not in the typelib (bug
6367 https://bugzilla.gnome.org/show_bug.cgi?id=665084
6369 gi/pygi-cache.c | 14 ++++++++++++++
6370 tests/test_gi.py | 10 ++++++++++
6371 2 files changed, 24 insertions(+)
6373 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
6374 Author: Simon Feltman <sfeltman@src.gnome.org>
6375 Date: Mon Feb 18 00:39:45 2013 -0800
6377 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
6379 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
6380 Add Gtk.Widget.window property which uses get_window()
6381 Add Gtk.TextView.scroll_to_mark with defaults
6382 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
6384 https://bugzilla.gnome.org/show_bug.cgi?id=694067
6386 gi/pygtkcompat.py | 2 ++
6387 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
6388 2 files changed, 16 insertions(+)
6390 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
6391 Author: Simon Feltman <sfeltman@src.gnome.org>
6392 Date: Sun Dec 16 02:56:06 2012 -0800
6394 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
6397 Monkey patch a keyword argument version of set_geometry_hints onto
6399 This version is compatible with pygtk and takes keywords instead of a
6400 Gdk.Geometry and Gdk.GeometryMask.
6402 https://bugzilla.gnome.org/show_bug.cgi?id=694067
6404 pygtkcompat/pygtkcompat.py | 44
6405 ++++++++++++++++++++++++++++++++++++++++++++
6406 1 file changed, 44 insertions(+)
6408 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
6409 Author: Martin Pitt <martinpitt@gnome.org>
6410 Date: Tue Feb 26 10:09:47 2013 +0100
6412 tests: Fix warning behaviour
6414 -Werror::* does not seem to do what it says on the tin, these
6416 ignored entirely apparently. Just keep -Wd to actually show all
6418 including DeprecationWarning, which is hidden by default.
6420 tests/Makefile.am | 2 +-
6421 1 file changed, 1 insertion(+), 1 deletion(-)
6423 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
6424 Author: Martin Pitt <martinpitt@gnome.org>
6425 Date: Tue Feb 26 08:49:10 2013 +0100
6427 Ship pygobject.doap for autogen.sh
6429 https://bugzilla.gnome.org/show_bug.cgi?id=694591
6432 1 file changed, 1 insertion(+)
6434 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
6435 Author: Simon Feltman <sfeltman@src.gnome.org>
6436 Date: Tue Feb 19 03:07:19 2013 -0800
6438 Fix crashes in various GObject signal handler functions
6440 Fix crashes in a large amount of signal handler functions exposed
6441 on the GObject module. This is possible now that the underlying
6442 GObject pointer is exposed to Python as a PyCapsule which marshaling
6443 can handle. The following functions in the GObject module have been
6446 signal_handler_unblock
6447 signal_handler_disconnect
6448 signal_handler_is_connected
6449 signal_stop_emission
6450 signal_stop_emission_by_name
6451 signal_has_handler_pending
6452 signal_connect_closure
6453 signal_connect_closure_by_id
6455 signal_handlers_destroy
6457 https://bugzilla.gnome.org/show_bug.cgi?id=633927
6459 gi/_gobject/gobjectmodule.c | 57 ++--------------
6460 gi/overrides/GObject.py | 158
6461 ++++++++++++++++++++++++++++++++++----------
6462 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
6463 3 files changed, 247 insertions(+), 89 deletions(-)
6465 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
6466 Author: Olivier Crête <olivier.crete@collabora.com>
6467 Date: Fri Sep 14 21:29:53 2012 -0400
6469 pygi-closure: Protect the GSList prepend with the GIL
6471 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
6473 https://bugzilla.gnome.org/show_bug.cgi?id=684060
6475 gi/pygi-closure.c | 4 ++--
6476 1 file changed, 2 insertions(+), 2 deletions(-)
6478 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
6479 Author: Simon Feltman <sfeltman@src.gnome.org>
6480 Date: Wed Feb 20 01:21:32 2013 -0800
6482 generictreemodel: Fix bad default return type for get_column_type
6484 pygtkcompat/generictreemodel.py | 2 +-
6485 1 file changed, 1 insertion(+), 1 deletion(-)
6487 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
6488 Author: Martin Pitt <martinpitt@gnome.org>
6489 Date: Tue Feb 19 12:23:13 2013 +0100
6491 configure.ac: post-release bump to 3.7.91
6494 1 file changed, 1 insertion(+), 1 deletion(-)
6496 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
6497 Author: Martin Pitt <martinpitt@gnome.org>
6498 Date: Tue Feb 19 12:19:35 2013 +0100
6502 NEWS | 17 +++++++++++++++++
6504 2 files changed, 18 insertions(+), 1 deletion(-)
6506 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
6507 Author: Simon Feltman <sfeltman@src.gnome.org>
6508 Date: Mon Feb 18 01:46:22 2013 -0800
6510 overrides: Fix inconsistencies with drag and drop target list API
6512 Add support to Gtk.Widget.drag_dest_set_target_list and
6513 Gtk.Widget.drag_source_set_target_list to accept iterables containing
6514 mixed TargetEntry or a tuple of (target, flags, info).
6515 Add support to Gtk.TreeView.enable_model_drag_source and
6516 Gtk.TreeView.enable_model_drag_dest to accept a list of
6520 https://bugzilla.gnome.org/show_bug.cgi?id=680640
6522 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
6523 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
6524 2 files changed, 61 insertions(+), 11 deletions(-)
6526 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
6527 Author: Simon Feltman <sfeltman@src.gnome.org>
6528 Date: Mon Feb 18 03:19:34 2013 -0800
6530 tests: Add test_marshaling_object to Makefile.am
6532 tests/Makefile.am | 1 +
6533 1 file changed, 1 insertion(+)
6535 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
6536 Author: Simon Feltman <s.feltman@gmail.com>
6537 Date: Wed Aug 29 03:46:23 2012 -0700
6539 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
6541 Add Python implementation of the GenericTreeModel that was
6542 available in pygtk. The implementation attempts a better job
6543 than the original at ref counting by guaranteeing no leaks
6544 upon deletion of the model itself. Or by using the extra "node"
6545 argument to the row_deleted signal. The model is available in
6546 the pygtkcompat package directly as
6547 pygtkcompat.generictreemodel.GenericTreeModel or with as
6548 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
6550 Add file list and tree demos making use of GenericTreeModel
6553 Auto-expand gtk-demo app tree to give a better overview of
6554 the demos available.
6556 https://bugzilla.gnome.org/show_bug.cgi?id=682933
6558 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
6559 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
6560 demos/gtk-demo/gtk-demo.py | 2 +-
6561 gi/pygtkcompat.py | 2 +-
6562 pygtkcompat/Makefile.am | 1 +
6563 pygtkcompat/generictreemodel.py | 420
6564 +++++++++++++++++++++
6565 pygtkcompat/pygtkcompat.py | 3 +
6566 tests/Makefile.am | 1 +
6567 tests/test_generictreemodel.py | 406
6568 ++++++++++++++++++++
6569 9 files changed, 1346 insertions(+), 2 deletions(-)
6571 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
6572 Author: Simon Feltman <sfeltman@src.gnome.org>
6573 Date: Mon Feb 18 02:54:14 2013 -0800
6575 overrides: Add support for iterables besides tuples for TreePath
6578 Allow Gtk.TreePath to accept any iterable for creation of the path.
6580 https://bugzilla.gnome.org/show_bug.cgi?id=682933
6582 gi/overrides/Gtk.py | 2 +-
6583 1 file changed, 1 insertion(+), 1 deletion(-)
6585 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
6586 Author: Simon Feltman <sfeltman@src.gnome.org>
6587 Date: Fri Feb 15 22:56:29 2013 -0800
6589 Unify Python callable to GClosure GI marshaling code
6591 Add pygi_marshal_from_py_gclosure which can be used for direct
6593 call args and vfunc out args.
6595 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6597 gi/pygi-argument.c | 14 +-----------
6598 gi/pygi-marshal-from-py.c | 55
6599 ++++++++++++++++++++++++++++-------------------
6600 gi/pygi-marshal-from-py.h | 3 +++
6601 3 files changed, 37 insertions(+), 35 deletions(-)
6603 commit 9e47afe459df942d9ffc4f71b39f1443976293df
6604 Author: Simon Feltman <sfeltman@src.gnome.org>
6605 Date: Fri Feb 15 20:56:12 2013 -0800
6607 Unify Python object to GValue GI marshaling code
6609 Add pygi_marshal_from_py_g_value which can be used for direct
6611 call args and vfunc out args. The new method also adds an
6613 parameter that will be used to fix leaks in the future.
6615 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6617 gi/pygi-argument.c | 43 +++++++--------------------
6618 gi/pygi-marshal-from-py.c | 74
6619 ++++++++++++++++++++++++++++++++---------------
6620 gi/pygi-marshal-from-py.h | 5 ++++
6621 3 files changed, 65 insertions(+), 57 deletions(-)
6623 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
6624 Author: Simon Feltman <sfeltman@src.gnome.org>
6625 Date: Fri Feb 15 23:07:57 2013 -0800
6627 Rename pygi_marshal_from_py_object to make it more explicit
6629 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
6630 to make it more explicit and give consistency with future refactoring.
6632 https://bugzilla.gnome.org/show_bug.cgi?id=693405
6634 gi/pygi-argument.c | 2 +-
6635 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
6636 gi/pygi-marshal-from-py.h | 6 +++---
6637 3 files changed, 17 insertions(+), 13 deletions(-)
6639 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
6640 Author: Niklas Koep <niklas.koep@gmail.com>
6641 Date: Fri Feb 15 21:23:01 2013 -0800
6643 Prefix __module__ attribute of function objects with gi.repository
6645 This allows gi module methods to work with pydoc and help().
6646 Additionally correct typo in two docstrings of the same module.
6648 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
6650 https://bugzilla.gnome.org/show_bug.cgi?id=693839
6652 gi/overrides/__init__.py | 3 ++-
6653 gi/types.py | 6 +++---
6654 2 files changed, 5 insertions(+), 4 deletions(-)
6656 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
6657 Author: Jonathan Ballet <jon@multani.info>
6658 Date: Thu Feb 14 07:50:02 2013 +0100
6660 configure.ac: only enable code coverage when available
6662 When building with an older gnome-common which does not yet provide
6664 coverage support, disable it instead of breaking the configure script.
6666 https://bugzilla.gnome.org/show_bug.cgi?id=693328
6668 configure.ac | 10 +++++++++-
6669 1 file changed, 9 insertions(+), 1 deletion(-)
6671 commit 42cbff60e2032f715d9be6ab280954211899e03c
6672 Author: Jonathan Ballet <jon@multani.info>
6673 Date: Tue Feb 12 23:03:00 2013 +0100
6675 Correctly set properties on object with statically defined properties
6677 Fix failures in GObject.Object.set_properties() when used with
6678 statically defined properties:
6680 * Calling the method was raising a "SystemError: error return without
6681 exception set" since `result` was (most of the time) still NULL at the
6682 end of pygobject_set_properties()
6684 * Calling the method with several properties would only set one of
6685 the properties, since the function was exiting too early.
6687 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
6689 https://bugzilla.gnome.org/show_bug.cgi?id=693618
6691 gi/_gobject/pygobject.c | 19 +++++++++++--------
6692 tests/test_gi.py | 6 ++++++
6693 2 files changed, 17 insertions(+), 8 deletions(-)
6695 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
6696 Author: Martin Pitt <martinpitt@gnome.org>
6697 Date: Mon Feb 11 18:08:37 2013 +0100
6699 autogen.sh: Use gnome-autogen.sh
6701 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
6703 in a much better error message when gnome-common is not installed,
6706 https://bugzilla.gnome.org/show_bug.cgi?id=693328
6708 autogen.sh | 30 +++++++++++++++++-------------
6709 1 file changed, 17 insertions(+), 13 deletions(-)
6711 commit c107bb1f9275a748b494d3f32818f227e07cadf0
6712 Author: Christoph Reiter <christoph.reiter@gmx.at>
6713 Date: Mon Feb 11 10:07:47 2013 +0100
6715 GTK tests: Add and use context manager for realized widgets
6717 https://bugzilla.gnome.org/show_bug.cgi?id=693377
6719 tests/test_overrides_gtk.py | 91
6720 +++++++++++++++++++++++++--------------------
6721 1 file changed, 50 insertions(+), 41 deletions(-)
6723 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
6724 Author: Martin Pitt <martinpitt@gnome.org>
6725 Date: Mon Feb 11 08:55:19 2013 +0100
6727 _pygi_marshal_from_py_array: Fix uninitialized variable
6729 gi/pygi-marshal-from-py.c | 2 +-
6730 1 file changed, 1 insertion(+), 1 deletion(-)
6732 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
6733 Author: Christoph Reiter <christoph.reiter@gmx.at>
6734 Date: Mon Feb 11 08:34:42 2013 +0100
6736 Skip some vfunc tests with gi 1.34
6738 https://bugzilla.gnome.org/show_bug.cgi?id=693374
6740 tests/test_object_marshaling.py | 14 ++++++++++++++
6741 1 file changed, 14 insertions(+)
6743 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
6744 Author: Simon Feltman <sfeltman@src.gnome.org>
6745 Date: Sun Feb 10 13:40:45 2013 -0800
6747 Remove workaround for g_struct_info_get_size reporting incorrect size
6749 Remove workaround for g_struct_info_get_size reporting incorrect size
6750 for boxed GValues. Verified this now returns the correct size of 24.
6752 https://bugzilla.gnome.org/show_bug.cgi?id=622711
6754 gi/pygi-boxed.c | 31 +++++++++++++------------------
6755 1 file changed, 13 insertions(+), 18 deletions(-)
6757 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
6758 Author: Simon Feltman <sfeltman@src.gnome.org>
6759 Date: Mon Feb 4 20:50:10 2013 -0800
6761 Fix reference leaks with transient floating objects
6763 Unify and refactor caller and callee GObject argument marshalers.
6764 Combine code from the large switch statement used to marshal
6765 arguments to and from vfuncs/closures with the marshalers used
6766 for direct calls to gi functions. This fixes a reference leak
6767 when marshalling GObjects to Python with transfer=full due to
6768 the diverging code paths.
6769 Replace ability in gobject_new_full to optionally sink objects
6770 with ability to optionaly "steal" objects. This fits the premise
6771 that binding layers should always sink objects initially. The
6772 steal argument is then used for marshalling arguments which are
6774 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
6776 https://bugzilla.gnome.org/show_bug.cgi?id=687522
6778 gi/_gobject/gobjectmodule.c | 10 +++++--
6779 gi/_gobject/pygobject-private.h | 2 +-
6780 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
6781 gi/_gobject/pygobject.h | 8 ++++--
6782 gi/pygi-argument.c | 52 +++++++++++++++++------------------
6783 gi/pygi-marshal-from-py.c | 61
6784 +++++++++++++++++++++++++++++++++++++----
6785 gi/pygi-marshal-from-py.h | 6 ++++
6786 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
6787 gi/pygi-marshal-to-py.h | 5 ++++
6788 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
6789 10 files changed, 181 insertions(+), 97 deletions(-)
6791 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
6792 Author: Simon Feltman <sfeltman@src.gnome.org>
6793 Date: Wed Feb 6 12:56:44 2013 -0800
6795 tests: Fix spelling mistakes in new vfunc object marshalling tests
6797 tests/test_object_marshaling.py | 12 ++++++------
6798 1 file changed, 6 insertions(+), 6 deletions(-)
6800 commit cd96fd8b8e10add9890f36ec237bb78548de7002
6801 Author: Martin Pitt <martinpitt@gnome.org>
6802 Date: Tue Feb 5 07:53:38 2013 +0100
6804 configure.ac: post-release bump to 3.7.6
6807 1 file changed, 1 insertion(+), 1 deletion(-)
6809 commit 92b1404e61f46348168f32720eff4a482531e5e3
6810 Author: Martin Pitt <martinpitt@gnome.org>
6811 Date: Tue Feb 5 07:46:46 2013 +0100
6817 2 files changed, 4 insertions(+), 1 deletion(-)
6819 commit a3a30559240077194f23c4651d6f382fa59b7d63
6820 Author: Simon Feltman <sfeltman@src.gnome.org>
6821 Date: Mon Feb 4 15:16:37 2013 -0800
6823 Fix API break with pygobject.h
6825 Move pygobject_new_full after everything in the public API table.
6826 This fixes a break that went in along with bug 675726.
6828 https://bugzilla.gnome.org/show_bug.cgi?id=675726
6830 gi/_gobject/gobjectmodule.c | 5 +++--
6831 gi/_gobject/pygobject.h | 2 +-
6832 2 files changed, 4 insertions(+), 3 deletions(-)
6834 commit b3ca7e27494c35620995840d777037a097082661
6835 Author: Martin Pitt <martinpitt@gnome.org>
6836 Date: Mon Feb 4 19:53:26 2013 +0100
6838 configure.ac: post-release bump to 3.7.6
6841 1 file changed, 1 insertion(+), 1 deletion(-)
6843 commit 77f638411314218748f349b337a36e2864eed1f4
6844 Author: Martin Pitt <martinpitt@gnome.org>
6845 Date: Mon Feb 4 19:37:14 2013 +0100
6849 NEWS | 24 ++++++++++++++++++++++++
6850 1 file changed, 24 insertions(+)
6852 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
6853 Author: Simon Feltman <sfeltman@src.gnome.org>
6854 Date: Sun Feb 3 23:56:14 2013 -0800
6856 Fix pointer cast warning that was missed in bug 675726
6858 https://bugzilla.gnome.org/show_bug.cgi?id=675726
6860 gi/_gobject/pygobject.h | 2 +-
6861 1 file changed, 1 insertion(+), 1 deletion(-)
6863 commit b31d8a952cd57dc92b06a381e054199660a2d570
6864 Author: Simon Feltman <sfeltman@src.gnome.org>
6865 Date: Thu Jan 31 02:35:36 2013 -0800
6867 Move various signal methods from static bindings to gi and python
6869 Move disconnect, handler_is_connected, handler_block, handler_unblock,
6870 and stop_emission from static to gi python overrides.
6872 https://bugzilla.gnome.org/show_bug.cgi?id=692918
6874 gi/_gobject/pygobject.c | 90
6875 -------------------------------------------------
6876 gi/overrides/GObject.py | 44 +++++++++++++++++-------
6877 tests/test_signal.py | 19 ++++++-----
6878 3 files changed, 42 insertions(+), 111 deletions(-)
6880 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
6881 Author: Paolo Borelli <pborelli@gnome.org>
6882 Date: Fri Feb 1 21:09:26 2013 +0100
6884 GLib overrides: Support unpacking 'maybe' variants
6886 Automatically unpack 'maybe' variants to None or to their actual value
6887 as we do for other kind of variants
6889 https://bugzilla.gnome.org/show_bug.cgi?id=693032
6891 gi/overrides/GLib.py | 5 +++++
6892 tests/test_overrides_glib.py | 8 ++++++++
6893 2 files changed, 13 insertions(+)
6895 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
6896 Author: Mike Gorse <mgorse@suse.com>
6897 Date: Mon Jan 21 16:45:52 2013 -0600
6899 Fix ref count leak when creating pygobject wrappers for input args
6901 Only sink input references for closures and vfuncs when transfer is
6902 everything. This fixes cases where incoming floating references for
6903 callbacks need to maintain their floating state throughout the
6904 callback so they don't leak a strong reference. Re-introduce a
6905 working "sink" argument to pygobject_new_full which allows for this.
6906 Change existing callers to always sink in order maintain behavior.
6908 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6910 https://bugzilla.gnome.org/show_bug.cgi?id=675726
6912 gi/_gobject/gobjectmodule.c | 5 +--
6913 gi/_gobject/pygobject.c | 7 ++--
6914 gi/_gobject/pygobject.h | 2 ++
6915 gi/pygi-argument.c | 13 +++----
6916 tests/test_object_marshaling.py | 76
6917 +++++++++++++++++++++++++++++++++++++----
6918 5 files changed, 85 insertions(+), 18 deletions(-)
6920 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
6921 Author: Simon Feltman <sfeltman@src.gnome.org>
6922 Date: Thu Jan 31 01:50:44 2013 -0800
6924 Add tests for signal stop_emission, disconnect, and
6925 handler_is_connected
6927 Add tests for methods which will be moving from static bindings to gi
6928 by using the new __gpointer__ attribute of GObject.
6930 https://bugzilla.gnome.org/show_bug.cgi?id=692918
6932 tests/test_signal.py | 51
6933 ++++++++++++++++++++++++++++++++++++++++++++++++++-
6934 1 file changed, 50 insertions(+), 1 deletion(-)
6936 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
6937 Author: Simon Feltman <sfeltman@src.gnome.org>
6938 Date: Wed Jan 30 21:37:07 2013 -0800
6940 Add __gpointer__ property to GObject static binding
6942 Add access to the underlying C GObject pointer by wrapping it in a
6943 PyCapsule/PyCPointer and exposing it as __gpointer__.
6944 Add special case marshaling for gi parameters annotated as gpointer
6945 to accept a PyCapsule and extract the underlying pointer as the arg.
6946 This allows usage of methods like GObject.signal_handler_disconnect
6947 which we can start replacing the static bindings with.
6949 https://bugzilla.gnome.org/show_bug.cgi?id=692918
6951 gi/_gobject/pygobject.c | 11 +++++++++--
6952 gi/pygi-marshal-from-py.c | 6 +++++-
6953 2 files changed, 14 insertions(+), 3 deletions(-)
6955 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
6956 Author: Simon Feltman <sfeltman@src.gnome.org>
6957 Date: Sun Jan 27 01:22:37 2013 -0800
6959 Prefix names of typeless enums and flags for GType registration
6961 Prefix names given to g_flags_register_static and
6962 g_enum_register_static
6963 with "Py". This avoids conflicts with GTypes of the same name being
6964 registered later by a library which does not provide a "get-type"
6967 https://bugzilla.gnome.org/show_bug.cgi?id=692515
6969 gi/gimodule.c | 10 ++++++++--
6970 tests/test_gi.py | 4 ++--
6971 2 files changed, 10 insertions(+), 4 deletions(-)
6973 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
6974 Author: Simon Feltman <sfeltman@src.gnome.org>
6975 Date: Wed Jan 30 04:35:32 2013 -0800
6977 Add tests for vfunc object arguments and returns
6979 Add tests which use different combinations of floating, transfer full,
6980 transfer none, and held wrapper as in, out, or return arguments
6982 Most of these are marked as skip or expectedFailure due to various
6986 https://bugzilla.gnome.org/show_bug.cgi?id=687522
6988 gi/overrides/GObject.py | 15 +-
6989 tests/test_object_marshaling.py | 540
6990 ++++++++++++++++++++++++++++++++++++++++
6991 2 files changed, 550 insertions(+), 5 deletions(-)
6993 commit 73a83186329ede7702501d5bc49df269482461e4
6994 Author: Paolo Borelli <pborelli@gnome.org>
6995 Date: Wed Jan 30 17:48:12 2013 +0100
6997 Cosmetic fix to last patch
6999 gi/pygi-argument.c | 7 +++++--
7000 1 file changed, 5 insertions(+), 2 deletions(-)
7002 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
7003 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7004 Date: Fri Jan 25 13:05:18 2013 +0800
7006 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
7008 Drop the array forward static declarations. They are not necessary
7012 Also move declarations of variables to the top of their respective
7015 https://bugzilla.gnome.org/show_bug.cgi?id=692856
7017 gi/pygi-info.c | 18 ++++++++++--------
7018 gi/pygi-repository.c | 2 --
7019 2 files changed, 10 insertions(+), 10 deletions(-)
7021 commit 2e7c458ef6377a872043634b47737ef12eed744a
7022 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7023 Date: Fri Jan 25 13:00:48 2013 +0800
7025 Move variable declaration to top of blocks (C99ism)
7027 Move variable declarations to the top of their respective blocks,
7029 code will build under C89 compilers such as Visual C++.
7031 https://bugzilla.gnome.org/show_bug.cgi?id=692856
7033 gi/pygi-argument.c | 10 ++++++----
7034 gi/pygi-closure.c | 23 +++++++++++++++--------
7035 gi/pygi-invoke.c | 3 ++-
7036 gi/pygi-marshal-cleanup.c | 3 ++-
7037 gi/pygi-property.c | 3 ++-
7038 5 files changed, 27 insertions(+), 15 deletions(-)
7040 commit 20fc5aa7514215fc7807adceb603d17f7943304a
7041 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7042 Date: Fri Jan 25 12:58:26 2013 +0800
7044 gi/pygobject-external.h: Remove GCCism
7046 We can use G_GNUC_UNUSED from GLib that does the same purpose of
7047 __attribute__ ( (unused)) when we are using a GCC that provides this.
7049 The GLib headers that defines that macro should have already been
7051 before this header is included (due to use of gboolean).
7053 https://bugzilla.gnome.org/show_bug.cgi?id=692856
7055 gi/pygobject-external.h | 2 +-
7056 1 file changed, 1 insertion(+), 1 deletion(-)
7058 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
7059 Author: Martin Pitt <martinpitt@gnome.org>
7060 Date: Wed Jan 30 14:59:11 2013 +0100
7062 tests: Update test_double() after e65c1248
7064 Commit e65c1248 introduced support for NaN and ±inf as valid
7066 rendering the "expect ValueError on 2*double" check broken. Just
7069 tests/test_everything.py | 1 -
7070 1 file changed, 1 deletion(-)
7072 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
7073 Author: Martin Pitt <martinpitt@gnome.org>
7074 Date: Wed Jan 23 07:14:16 2013 +0100
7076 Do not immediately initialize Gdk and Gtk on import
7078 Raising an exception if Gdk/Gtk cannot be imported makes it
7080 merely import a module for e. g. nosetests without actually running
7083 Programs who want to provide a proper error message should check
7084 Gtk.initialized explicitly after importing. Check initialized
7086 Window.__init__() instead to provide a reasonably early error message
7090 https://bugzilla.gnome.org/show_bug.cgi?id=692300
7092 gi/overrides/Gdk.py | 2 --
7093 gi/overrides/Gtk.py | 5 +++--
7094 2 files changed, 3 insertions(+), 4 deletions(-)
7096 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
7097 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
7098 Date: Fri Jan 25 12:49:18 2013 +0800
7100 gi/overrides/Glib.py: Fix running on Windows/non-Unix
7102 The definition of self._signal_source uses a Unix-specific GLib
7104 does not exist or have a direct equivilant on Windows.
7106 Only define and use that variable when we aren't on Windows.
7108 gi/overrides/GLib.py | 18 ++++++++++--------
7109 1 file changed, 10 insertions(+), 8 deletions(-)
7111 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
7112 Author: Martin Pitt <martinpitt@gnome.org>
7113 Date: Wed Jan 23 14:56:02 2013 +0100
7115 Accept ±inf and NaN as float and double values
7117 Also fix the broken error message when a float value is out of range.
7118 PyErr_Format() does not support float macros.
7120 https://bugzilla.gnome.org/show_bug.cgi?id=692381
7122 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
7123 tests/test_gobject.py | 14 ++++++++++++++
7124 2 files changed, 33 insertions(+), 18 deletions(-)
7126 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
7127 Author: Martin Pitt <martinpitt@gnome.org>
7128 Date: Wed Jan 23 14:28:42 2013 +0100
7130 Fix repr() of GLib.Variant
7132 When using a standard constructor like GLib.Variant.new_*(), the
7134 not have a format_string property, and previously repr() would
7136 to get_type_string() instead.
7138 Also drop the unintended type annotations in repr().
7140 gi/overrides/GLib.py | 6 +++++-
7141 tests/test_overrides_glib.py | 15 ++++++++++++++-
7142 2 files changed, 19 insertions(+), 2 deletions(-)
7144 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
7145 Author: Martin Pitt <martinpitt@gnome.org>
7146 Date: Wed Jan 23 14:14:29 2013 +0100
7148 Fix gtk-demo for Python 3
7150 It was crashing with
7152 package = __import__(packagename, globals(), locals(),
7154 ValueError: level must be >= 0
7156 Using level zero works with both Python 2 and 3.
7158 demos/gtk-demo/gtk-demo.py | 2 +-
7159 1 file changed, 1 insertion(+), 1 deletion(-)
7161 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
7162 Author: Colin Walters <walters@verbum.org>
7163 Date: Tue Jan 22 10:49:57 2013 -0500
7165 build: Add autogen.sh to EXTRA_DIST
7167 So downstreams that patch the autotools can use it.
7170 1 file changed, 1 insertion(+)
7172 commit ed7fb99efa81854d947ae548d41a03f5275c5884
7173 Author: Martin Pitt <martinpitt@gnome.org>
7174 Date: Thu Jan 17 08:23:02 2013 +0100
7176 Define GObject.TYPE_VALUE gtype constant
7178 gi/overrides/GObject.py | 4 +++-
7179 tests/test_gobject.py | 4 ++++
7180 2 files changed, 7 insertions(+), 1 deletion(-)
7182 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
7183 Author: Olivier Crête <olivier.crete@collabora.com>
7184 Date: Mon Sep 17 15:37:04 2012 -0400
7186 gobject: Go through introspection on property setting
7188 Consider introspected properties in object.set_property().
7190 https://bugzilla.gnome.org/show_bug.cgi?id=684062
7192 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
7193 tests/test_properties.py | 13 ++++++++++---
7194 2 files changed, 27 insertions(+), 4 deletions(-)
7196 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
7197 Author: Mike Gorse <mgorse@suse.com>
7198 Date: Tue Jan 15 20:04:46 2013 -0600
7200 Clean up caller-allocated GValues and their memory
7202 When space for a GValue is allocated by the caller (as in
7203 gtk_tree_model_get_value), we need to free the space allocated for the
7204 value along with its contents. The GValue is not needed after
7205 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
7206 have it unset the value and deallocate the memory.
7208 https://bugzilla.gnome.org/show_bug.cgi?id=691820
7210 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
7211 1 file changed, 18 insertions(+), 2 deletions(-)
7213 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
7214 Author: Dmitry Shachnev <mitya57@ubuntu.com>
7215 Date: Wed Jan 16 13:44:42 2013 +0400
7217 tests: define correct unittest.skipIf for python 2.6
7219 tests/runtests.py | 2 +-
7220 1 file changed, 1 insertion(+), 1 deletion(-)
7222 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
7223 Author: Martin Pitt <martinpitt@gnome.org>
7224 Date: Wed Jan 16 09:17:13 2013 +0100
7226 tests: More robust tree view realization
7228 With current GNOME git head, the Gtk.TreeViews were not realized
7230 more to receive property values. Put them into a Gtk.Dialog now and
7232 ensure that they are realized.
7234 tests/test_overrides_gtk.py | 16 ++++++++++------
7235 1 file changed, 10 insertions(+), 6 deletions(-)
7237 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
7238 Author: Martin Pitt <martinpitt@gnome.org>
7239 Date: Tue Jan 15 10:42:49 2013 +0100
7241 Drop deprecated g_thread_create()
7243 Replace with g_thread_new(). This is available with glib >= 2.32,
7245 already require >= 2.34.
7247 tests/test-thread.c | 3 +--
7248 1 file changed, 1 insertion(+), 2 deletions(-)
7250 commit 98504273dead9eade6e53c2297bcaec7bea6265a
7251 Author: Martin Pitt <martinpitt@gnome.org>
7252 Date: Tue Jan 15 10:37:52 2013 +0100
7254 Drop usage of deprecated GStaticPrivate
7256 Replace with GPrivate.
7258 gi/_gobject/gobjectmodule.c | 6 +++---
7259 1 file changed, 3 insertions(+), 3 deletions(-)
7261 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
7262 Author: Martin Pitt <martinpitt@gnome.org>
7263 Date: Tue Jan 15 10:29:47 2013 +0100
7265 Don't call g_type_init() with glib >= 2.35.x
7267 This fixes a deprecation warning.
7269 gi/_gobject/gobjectmodule.c | 2 ++
7270 1 file changed, 2 insertions(+)
7272 commit 206e736380ba798c68de09f661d75c8e27451117
7273 Author: Martin Pitt <martinpitt@gnome.org>
7274 Date: Tue Jan 15 09:47:11 2013 +0100
7276 Use GNOME_COMPILE_WARNINGS from gnome-common
7278 As we are now using gnome-common anyway for the code coverage macro,
7280 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
7284 This also enables -Wstrict-prototypes.
7286 configure.ac | 14 ++++----------
7287 1 file changed, 4 insertions(+), 10 deletions(-)
7289 commit 137679426ff39507e15f08e9e6428d851fee06b7
7290 Author: Martin Pitt <martinpitt@gnome.org>
7291 Date: Tue Jan 15 09:46:01 2013 +0100
7293 Fix function prototypes and static functions
7295 These cause errors/warnings with -Wstrict-prototypes.
7297 gi/_glib/pyglib-python-compat.h | 2 ++
7298 gi/pygi-foreign.c | 2 +-
7299 gi/pygi-marshal-from-py.c | 4 ++--
7300 gi/pygi-marshal-to-py.c | 4 ++--
7301 gi/pygi-source.c | 2 +-
7302 gi/pygi-source.h | 2 +-
7303 6 files changed, 9 insertions(+), 7 deletions(-)
7305 commit d47927f1701a11aec8566425f22688c5df73d7f2
7306 Author: Martin Pitt <martinpitt@gnome.org>
7307 Date: Mon Jan 14 17:38:23 2013 +0100
7309 configure.ac: post-release bump to 3.7.5
7312 1 file changed, 1 insertion(+), 1 deletion(-)
7314 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
7315 Author: Martin Pitt <martinpitt@gnome.org>
7316 Date: Mon Jan 14 17:30:48 2013 +0100
7320 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
7321 1 file changed, 38 insertions(+)
7323 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
7324 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
7325 Date: Tue Dec 4 15:45:00 2012 +0200
7327 Allow setting values through GtkTreeModelFilter
7329 Previously, trying to set a value through filter throwed an exception
7331 model has no set_value() method. You had to first retrieve the
7333 model and set value to it.
7335 https://bugzilla.gnome.org/show_bug.cgi?id=689624
7337 gi/overrides/Gtk.py | 5 +++++
7338 tests/test_overrides_gtk.py | 11 +++++++++++
7339 2 files changed, 16 insertions(+)
7341 commit b092630efc691a6f7ae94ae896193254f5a961a6
7342 Author: Martin Pitt <martinpitt@gnome.org>
7343 Date: Mon Jan 14 12:37:18 2013 +0100
7345 tests: Add (failing) test case for GParamSpec arguments
7348 https://bugzilla.gnome.org/show_bug.cgi?id=682355
7350 tests/test_gi.py | 9 +++++++++
7351 1 file changed, 9 insertions(+)
7353 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
7354 Author: Martin Pitt <martinpitt@gnome.org>
7355 Date: Mon Jan 14 12:20:27 2013 +0100
7357 tests: Skip struct string member tests with g-i 1.34
7359 We still support building against gobject-introspection 1.34, so
7361 which do not work with that version yet.
7363 tests/test_gi.py | 8 ++++++++
7364 1 file changed, 8 insertions(+)
7366 commit f9429192cb1002725a11a75a7b8f9300375b9caf
7367 Author: Martin Pitt <martinpitt@gnome.org>
7368 Date: Mon Jan 14 12:15:27 2013 +0100
7370 Support GParamSpec signal arguments from Python
7372 In pyg_value_from_pyobject(), recognize both the real GI
7373 GObject.ParamSpec type
7374 as well as the statically wrapped _gobject.GParamSpec type.
7376 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
7378 https://bugzilla.gnome.org/show_bug.cgi?id=683099
7380 gi/_gobject/pygtype.c | 6 +++++-
7381 tests/test_signal.py | 12 ++++++++++++
7382 tests/testhelpermodule.c | 13 +++++++++++++
7383 3 files changed, 30 insertions(+), 1 deletion(-)
7385 commit 99f72925c7de76611f7592bce9d8217a9ff46809
7386 Author: Martin Pitt <martinpitt@gnome.org>
7387 Date: Mon Jan 14 11:48:11 2013 +0100
7389 pygobject_emit(): Fix cleanup on error
7391 Dot not try to unset GValues which have not been initialized yet,
7393 conversion fails for a parameter.
7395 gi/_gobject/pygobject.c | 8 ++++----
7396 1 file changed, 4 insertions(+), 4 deletions(-)
7398 commit acef1d3266d11b2465d61185a55526df879a5c62
7399 Author: Simon Feltman <sfeltman@src.gnome.org>
7400 Date: Mon Dec 31 19:01:57 2012 -0800
7402 Add signal emission methods to TreeModel which coerce the path
7405 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
7406 row_deleted, and rows_reordered methods to accept python iterables as
7407 the path parameter. This is for compatibility with pygtk and
7409 with the rest of the TreeModel and TreePath overrides.
7411 https://bugzilla.gnome.org/show_bug.cgi?id=682933
7413 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
7414 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
7415 2 files changed, 55 insertions(+), 3 deletions(-)
7417 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
7418 Author: Martin Pitt <martinpitt@gnome.org>
7419 Date: Mon Jan 14 10:36:36 2013 +0100
7421 Simplify overrides and tests using the new GObject.Value override
7423 The previous commit added support for constructing a GObject.Value
7425 GType and Python object conversion. Use this to simplify the Gtk
7427 the tests that construct GValues.
7429 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
7431 gi/overrides/Gtk.py | 88
7432 +++------------------------------------------
7433 tests/test_gi.py | 26 +++++---------
7434 tests/test_overrides_gtk.py | 2 +-
7435 tests/test_signal.py | 12 ++-----
7436 4 files changed, 17 insertions(+), 111 deletions(-)
7438 commit f62b98398177991bfdbe0b6753342e79e6cf170a
7439 Author: Bastian Winkler <buz@netbuz.org>
7440 Date: Mon Jan 14 10:26:08 2013 +0100
7442 Add override for GValue
7444 Override GValue with a custom constructor and set_value()/get_value()
7445 methods. This allows you to call
7447 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
7451 >>> value = GObject.Value()
7452 >>> value.init(GObject.TYPE_FLOAT)
7453 >>> value.set_float(42.23)
7455 This is especially useful for overrides that need to convert a Python
7456 value to a expected type like G_TYPE_FLOAT.
7458 https://bugzilla.gnome.org/show_bug.cgi?id=677473
7460 gi/overrides/GObject.py | 127
7461 +++++++++++++++++++++++++++++++++++++++++++++++-
7462 tests/test_gobject.py | 47 +++++++++++++++++-
7463 2 files changed, 172 insertions(+), 2 deletions(-)
7465 commit dc3d21173b75232f7ea0b9913f7309486456a69d
7466 Author: Mike Gorse <mgorse@suse.com>
7467 Date: Thu Jan 10 15:48:30 2013 -0600
7469 Mark caller-allocated boxed structures as having a slice allocated
7471 When a C function takes a pointer and fills it with a boxed structure
7473 gtk_tree_store_insert_with_values), pygi should deallocate the slice
7475 box is no longer being used.
7477 https://bugzilla.gnome.org/show_bug.cgi?id=699501
7479 gi/pygi-marshal-to-py.c | 4 +++-
7480 1 file changed, 3 insertions(+), 1 deletion(-)
7482 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
7483 Author: Olivier Crête <olivier.crete@collabora.com>
7484 Date: Fri Sep 14 21:31:32 2012 -0400
7486 pygi-property: Support boxed GSList/GList types
7488 Note that this does not yet work for construct properties.
7490 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7492 https://bugzilla.gnome.org/show_bug.cgi?id=684059
7494 gi/pygi-property.c | 10 ++++++++--
7495 tests/test_gi.py | 21 +++++++++++++++++++++
7496 2 files changed, 29 insertions(+), 2 deletions(-)
7498 commit 074f10d815453e58f4bee2f440c5db799add3876
7499 Author: Martin Pitt <martinpitt@gnome.org>
7500 Date: Mon Jan 14 07:48:31 2013 +0100
7502 test_gio: Fix for Python 2
7504 Python 2 does not yet take an "encoding" argument for str(), while
7506 requires it. Use a less fancy static test string instead.
7508 tests/test_gio.py | 2 +-
7509 1 file changed, 1 insertion(+), 1 deletion(-)
7511 commit 734979d0c8317201148a7e94a323225fba2d1635
7512 Author: Martin Pitt <martinpitt@gnome.org>
7513 Date: Mon Jan 14 07:40:10 2013 +0100
7515 tests: Add missing backwards compat methods for Python 2.6
7517 Define skipIf(), assertLess(), and assertLessEqual() for running
7521 https://bugzilla.gnome.org/show_bug.cgi?id=691646
7523 tests/runtests.py | 17 +++++++++++++++++
7524 1 file changed, 17 insertions(+)
7526 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
7527 Author: Martin Pitt <martinpitt@gnome.org>
7528 Date: Mon Jan 14 07:34:46 2013 +0100
7530 tests: Stop using assertSequenceEqual()
7532 assertSequenceEqual() does not yet exist in Python 2.6, and is
7534 either as assertEqual() on sequences automatically does list
7537 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
7539 tests/test_gtype.py | 6 ++----
7540 tests/test_signal.py | 6 ++----
7541 2 files changed, 4 insertions(+), 8 deletions(-)
7543 commit 0a5587b6a56d417a6703e342f153596f08cd5889
7544 Author: Simon Feltman <sfeltman@src.gnome.org>
7545 Date: Sun Jan 13 18:19:51 2013 -0800
7547 Allow setting TreeModel values to None
7549 Change TreeModel.set_value to use an empty but initialized GValue when
7550 None is used as the value argument. This allows clearing of cell data
7551 which was not accessible due to auto-coercion.
7553 https://bugzilla.gnome.org/show_bug.cgi?id=684094
7555 gi/overrides/Gtk.py | 11 ++++++++---
7556 tests/test_overrides_gtk.py | 8 ++++++++
7557 2 files changed, 16 insertions(+), 3 deletions(-)
7559 commit 5ae129da436793478750f0dc9427a174a980e10b
7560 Author: Mike Gorse <mgorse@suse.com>
7561 Date: Thu Jan 10 16:42:17 2013 -0600
7563 Set clean-up handler for marshalled arrays
7565 Arrays did not have a cleanup handler set in some cases, resulting
7568 https://bugzilla.gnome.org/show_bug.cgi?id=691509
7570 gi/pygi-cache.c | 1 +
7571 1 file changed, 1 insertion(+)
7573 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
7574 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
7575 Date: Fri Jan 11 15:41:27 2013 +0100
7577 Support setting string fields in structs
7579 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7581 https://bugzilla.gnome.org/show_bug.cgi?id=678401
7583 gi/pygi-info.c | 3 ++-
7584 tests/test_gi.py | 16 ++++++++++++++++
7585 2 files changed, 18 insertions(+), 1 deletion(-)
7587 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
7588 Author: Martin Pitt <martinpitt@gnome.org>
7589 Date: Fri Jan 11 14:58:44 2013 +0100
7591 Re-enable test_gi.TestPropertiesObject.test_char test
7593 The gobject-introspection bug got fixed:
7594 https://bugzilla.gnome.org/show_bug.cgi?id=691524
7596 tests/test_gi.py | 14 +++-----------
7597 1 file changed, 3 insertions(+), 11 deletions(-)
7599 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
7600 Author: Martin Pitt <martinpitt@gnome.org>
7601 Date: Fri Jan 11 09:46:56 2013 +0100
7603 tests: Re-enable test_callback_scope_call_array() check
7605 Drop the expected failure from test_callback_scope_call_array()
7607 the explicit array length arguments. While it would look cleaner to
7609 them, it is probably not worth breaking the API for this.
7611 tests/test_everything.py | 9 +++------
7612 1 file changed, 3 insertions(+), 6 deletions(-)
7614 commit 609636424b5f9b659e99a4bb53a48c165187c430
7615 Author: Martin Pitt <martinpitt@gnome.org>
7616 Date: Fri Jan 11 09:13:36 2013 +0100
7618 Permit plain integers for "gchar" values
7620 Similar to guchar/guint8, allow plain integers (withing correct
7622 values for gchar/gint8 types.
7624 This is covered by the test_gi.TestPropertiesObject.test_char
7626 removing the "expected failure" flag.
7628 gi/_gobject/pygtype.c | 16 ++++++++++++----
7629 1 file changed, 12 insertions(+), 4 deletions(-)
7631 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
7632 Author: Martin Pitt <martinpitt@gnome.org>
7633 Date: Fri Jan 11 09:09:41 2013 +0100
7635 Allow single byte values for int8 types
7637 When fixing gobject-introspection to consider "gchar" as signed (see
7638 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
7640 single-element "bytes" array as a valid value for int8, not just
7643 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
7646 gi/pygi-argument.c | 4 ++--
7647 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
7648 2 files changed, 23 insertions(+), 15 deletions(-)
7650 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
7651 Author: Mike Gorse <mgorse@suse.com>
7652 Date: Thu Jan 10 14:11:56 2013 -0600
7654 Fix invalid memory access handling errors when registering an
7657 Don't free the name until we are done with it.
7659 gi/gimodule.c | 8 ++++----
7660 1 file changed, 4 insertions(+), 4 deletions(-)
7662 commit ecd235959317d39b6d598662c00829e0ec717b17
7663 Author: Martin Pitt <martinpitt@gnome.org>
7664 Date: Thu Jan 10 16:42:46 2013 +0100
7666 Fix (out) arguments in callbacks
7668 Do not ignore the first argument in _pygi_closure_set_out_arguments().
7669 Presumably that has been done to skip over "self", but callbacks
7671 required to have a self argument. As self is never (out), we can
7675 gi/pygi-closure.c | 2 +-
7676 tests/test_gi.py | 4 ----
7677 2 files changed, 1 insertion(+), 5 deletions(-)
7679 commit d8e241e24a816691acbd592775b73defd9aa4f44
7680 Author: Martin Pitt <martinpitt@gnome.org>
7681 Date: Thu Jan 10 15:14:05 2013 +0100
7683 Fix C to Python marshalling of struct pointer arrays
7685 Do not treat an array of pointers to values like an array of values on
7686 marshalling from C. This makes the test_array_boxed_struct_return()
7690 gi/pygi-marshal-to-py.c | 5 +++--
7691 tests/test_gi.py | 2 --
7692 2 files changed, 3 insertions(+), 4 deletions(-)
7694 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
7695 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
7696 Date: Tue Jan 8 23:22:54 2013 +0200
7700 Most notably this commit contains a test for
7701 Gio.File.replace_contents_async(),
7702 which currently fails. Disable the tests for now as it breaks the
7705 https://bugzilla.gnome.org/show_bug.cgi?id=690525
7707 tests/test_gio.py | 64
7708 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
7709 1 file changed, 64 insertions(+)
7711 commit 118c5eaad045580455515876ba73b9537a8468b4
7712 Author: Martin Pitt <martinpitt@gnome.org>
7713 Date: Thu Jan 10 13:56:11 2013 +0100
7715 Rename test_overrides_gio.py to test_gio.py
7717 As we want to add more tests for non-overridden API.
7719 tests/Makefile.am | 2 +-
7720 tests/test_gio.py | 121
7721 ++++++++++++++++++++++++++++++++++++++++++++
7722 tests/test_overrides_gio.py | 121
7723 --------------------------------------------
7724 3 files changed, 122 insertions(+), 122 deletions(-)
7726 commit 8117e6bce73581e89211371708ff7d5de7d870d4
7727 Author: Martin Pitt <martinpitt@gnome.org>
7728 Date: Thu Jan 10 12:13:16 2013 +0100
7730 Don't let Property.setter() method names define property names
7732 Defining property names in install_properties() is too late when using
7733 @propname.setter decorators; their method names don't define a
7735 nor are they even required to be a valid property identifier.
7737 So change the logic to already fix the property name when using
7739 decorator and use that instead of the member name in
7740 install_properties().
7742 https://bugzilla.gnome.org/show_bug.cgi?id=688971
7744 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
7745 tests/test_properties.py | 18 ++++++++++++++++++
7746 2 files changed, 40 insertions(+), 7 deletions(-)
7748 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
7749 Author: Martin Pitt <martinpitt@gnome.org>
7750 Date: Wed Jan 9 10:39:36 2013 +0100
7752 tests: Force UTF-8 file name encoding
7754 The test_gi.TestFilename tests fail if the environment specifies
7756 file name encoding. Force it to "UTF-8" for the tests.
7758 https://bugzilla.gnome.org/show_bug.cgi?id=691355
7760 tests/runtests.py | 1 +
7761 1 file changed, 1 insertion(+)
7763 commit c02a00ae9599a661076630b21b7e24e78fb88c29
7764 Author: Martin Pitt <martinpitt@gnome.org>
7765 Date: Tue Jan 8 16:56:40 2013 +0100
7767 Use g-i stack allocation API
7769 Where possible, i. e. when not keeping references across functions,
7771 _load_() methods instead of the _get_() ones from
7772 gobject-introspection, which
7773 is faster and less prone to memory leaks:
7775 g_callable_info_get_arg () → g_callable_info_load_arg ()
7776 g_callable_info_get_return_type() →
7777 g_callable_info_load_return_type ()
7778 g_arg_info_get_type() → g_arg_info_load_type ()
7780 https://bugzilla.gnome.org/show_bug.cgi?id=615982
7782 gi/pygi-argument.c | 16 ++++------
7783 gi/pygi-closure.c | 88
7784 ++++++++++++++++++++++++------------------------------
7785 2 files changed, 45 insertions(+), 59 deletions(-)
7787 commit 23d1f14f553069740465c82eaa937b877c41e0cb
7788 Author: Ray Strode <rstrode@redhat.com>
7789 Date: Wed Dec 19 13:04:32 2012 -0500
7791 pyg_value_from_pyobject: support GArray
7793 This commit adds support for marshalling a python list (or other
7795 returned from signal handlers to GArray, if necessary.
7797 This parallels the implementation written to marshal to (the now
7801 This fixes a crash in rhythmbox as seen downstream here:
7802 https://bugzilla.redhat.com/show_bug.cgi?id=872851
7804 https://bugzilla.gnome.org/show_bug.cgi?id=690514
7806 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7808 gi/_gobject/pygtype.c | 60
7809 ++++++++++++++++++++++++++++++++++++++++++++++++
7810 tests/test_everything.py | 22 ++++++++++++++++++
7811 2 files changed, 82 insertions(+)
7813 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
7814 Author: Marko Lindqvist <cazfi74@gmail.com>
7815 Date: Fri Jan 4 07:01:29 2013 +0100
7817 Fix obsolete automake macros
7819 https://bugzilla.gnome.org/show_bug.cgi?id=691101
7821 configure.ac | 3 +--
7822 1 file changed, 1 insertion(+), 2 deletions(-)
7824 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
7825 Author: Simon Feltman <sfeltman@src.gnome.org>
7826 Date: Mon Dec 31 02:53:07 2012 -0800
7828 Change dynamic enum and flag gtype creation to use namespaced naming
7830 Use the combination of g_base_info_get_namespace and
7831 g_base_info_get_name
7832 as the name for registering enum and flag types with glib through
7833 g_enum_register_static and g_flags_register_static. This avoids
7835 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
7836 and memory cleanup for invalid registration problems.
7838 https://bugzilla.gnome.org/show_bug.cgi?id=690455
7840 gi/_gobject/pygenum.c | 6 ++--
7842 ++++++++++++++++++++++++++++++++++++++++++++-------
7843 tests/test_gi.py | 35 +++++++++++++++++++++++
7844 3 files changed, 106 insertions(+), 13 deletions(-)
7846 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
7847 Author: Dan Horák <dan@danny.cz>
7848 Date: Fri Dec 28 22:12:32 2012 +0100
7850 Fix test for GBytes.compare()
7852 The result of the compare method is defined as equal, less than or
7854 and the test must match to that. The underlaying memcmp() function
7856 values than -1, 0 and 1. For example on architectures where it is
7857 implemented directly
7858 via a CPU instruction like on s390(x) where I can see -2 as a result
7862 https://bugzilla.gnome.org/show_bug.cgi?id=690837
7864 tests/test_gi.py | 4 ++--
7865 1 file changed, 2 insertions(+), 2 deletions(-)
7867 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
7868 Author: Jonathan Ballet <jon@multani.info>
7869 Date: Thu Dec 27 16:04:51 2012 +0100
7871 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
7873 The length argument is the size of the buffer in bytes, not in
7876 https://bugzilla.gnome.org/show_bug.cgi?id=690329
7878 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7880 gi/overrides/Gtk.py | 2 +-
7881 tests/test_overrides_gtk.py | 7 +++++++
7882 2 files changed, 8 insertions(+), 1 deletion(-)
7884 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
7885 Author: Mike Gorse <mgorse@suse.com>
7886 Date: Wed Dec 19 20:51:03 2012 -0500
7888 Don't dup strings before passing them to type registration functions
7890 Strings passed to g_enum_register_static and g_flags_register_static
7892 eventually passed to g_quark_from_string, which dups the string
7894 needed and does not take ownership of it, so passing in a
7895 dynamically-allocated
7896 string without freeing it results in a small leak.
7898 https://bugzilla.gnome.org/show_bug.cgi?id=690532
7900 gi/gimodule.c | 2 --
7901 1 file changed, 2 deletions(-)
7903 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
7904 Author: Carlos Garnacho <carlos@lanedo.com>
7905 Date: Tue Dec 18 22:47:09 2012 +0100
7907 Fix marshalling of arrays of boxed struct values
7909 This fixes methods like gtk_selection_set_with_data(). In such cases
7910 data is passed as an array of struct pointers, so it must be converted
7911 to an array of structs.
7913 https://bugzilla.gnome.org/show_bug.cgi?id=656312
7915 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
7917 gi/pygi-marshal-from-py.c | 6 ++++++
7918 tests/test_gi.py | 12 ++++++++++++
7919 2 files changed, 18 insertions(+)
7921 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
7922 Author: Simon Feltman <sfeltman@src.gnome.org>
7923 Date: Tue Dec 18 02:03:41 2012 -0800
7925 Add reference counting tests for Object.bind_property
7927 Add tests which ensure transform callbacks and user_data
7928 are propertly ref-counted.
7930 https://bugzilla.gnome.org/show_bug.cgi?id=690397
7932 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
7933 1 file changed, 36 insertions(+), 4 deletions(-)
7935 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
7936 Author: Martin Pitt <martinpitt@gnome.org>
7937 Date: Tue Dec 18 11:43:04 2012 +0100
7939 testhelpermodule.c: Do not unref called method
7941 In _wrap_test_gerror_exception(), do not unref the method
7943 causes a crash when being run with the stricter refcounting/memory
7945 debug-enabled Python builds.
7947 tests/testhelpermodule.c | 1 -
7948 1 file changed, 1 deletion(-)
7950 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
7951 Author: Martin Pitt <martinpitt@gnome.org>
7952 Date: Mon Dec 17 23:20:50 2012 +0100
7954 configure.ac: post-release bump to 3.7.4
7957 1 file changed, 1 insertion(+), 1 deletion(-)
7959 commit 061b23d14386c0e54d2c3af113554231bbe85f16
7960 Author: Martin Pitt <martinpitt@gnome.org>
7961 Date: Mon Dec 17 23:18:31 2012 +0100
7965 NEWS | 19 +++++++++++++++++++
7966 1 file changed, 19 insertions(+)
7968 commit a242f02823a63c9dca5d0b1ce84b031221053690
7969 Author: Martin Pitt <martinpitt@gnome.org>
7970 Date: Mon Dec 17 23:11:29 2012 +0100
7972 Add (failing) tests for callbacks with out arguments
7974 Most of these fail and need marshalling fixes.
7976 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
7977 1 file changed, 36 insertions(+)
7979 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
7980 Author: Martin Pitt <martinpitt@gnome.org>
7981 Date: Mon Dec 17 22:50:59 2012 +0100
7983 Add tests for internal API
7985 These cover functions like pygobject_new(), pyg_value_from_pyobject()
7987 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
7989 functions can be tested in isolation without the whole GI stack
7992 tests/Makefile.am | 1 +
7993 tests/test_internal_api.py | 73
7994 ++++++++++++++++++++++++++++++++++++++++++++++
7995 2 files changed, 74 insertions(+)
7997 commit e44312139426f51e576ef9e880819542cc224383
7998 Author: Martin Pitt <martinpitt@gnome.org>
7999 Date: Mon Dec 17 18:02:15 2012 +0100
8001 Add support for caller-allocated GArray out arguments
8003 https://bugzilla.gnome.org/show_bug.cgi?id=690041
8005 gi/pygi-cache.c | 2 +-
8006 gi/pygi-invoke.c | 57
8007 ++++++++++++++++++++++++++++++--------------------------
8008 tests/test_gi.py | 5 +++--
8009 3 files changed, 35 insertions(+), 29 deletions(-)
8011 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
8012 Author: Martin Pitt <martinpitt@gnome.org>
8013 Date: Mon Dec 17 16:18:24 2012 +0100
8015 Add (failing) test for caller-allocated GArray return value
8017 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
8019 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
8021 The test is failing and causing a segfault right now, so disable it
8025 tests/test_gi.py | 4 ++++
8026 1 file changed, 4 insertions(+)
8028 commit 1cb4c30c3cf19690210010d39b6272965f489c58
8029 Author: Martin Pitt <martinpitt@gnome.org>
8030 Date: Mon Dec 17 15:56:44 2012 +0100
8032 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
8034 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
8036 available, but fall back to GLib.unix_signal_add_full() until we
8040 gi/overrides/GLib.py | 8 ++++++--
8041 1 file changed, 6 insertions(+), 2 deletions(-)
8043 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
8044 Author: Martin Pitt <martinpitt@gnome.org>
8045 Date: Fri Nov 30 14:17:18 2012 +0100
8047 Re-support calling GLib.io_add_watch with an fd or Python file
8049 This does not strictly adhere to the GLib API, but it's very
8051 unlike the other modes, does not change the number or order of
8053 let's keep support for this and drop the deprecation warning.
8055 gi/overrides/GLib.py | 9 +++------
8056 1 file changed, 3 insertions(+), 6 deletions(-)
8058 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
8059 Author: Martin Pitt <martinpitt@gnome.org>
8060 Date: Fri Nov 30 09:04:20 2012 +0100
8062 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
8064 Use a longer timeout to avoid races on slow architectures, and cut
8066 loop as soon as we received all expected events.
8068 tests/test_glib.py | 5 ++++-
8069 1 file changed, 4 insertions(+), 1 deletion(-)
8071 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
8072 Author: Martin Pitt <martinpitt@gnome.org>
8073 Date: Fri Nov 30 08:44:56 2012 +0100
8075 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
8077 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
8079 unavailable monitor backends in the test environment) to fail
8082 tests/test_overrides_gtk.py | 12 +++++++++---
8083 1 file changed, 9 insertions(+), 3 deletions(-)
8085 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
8086 Author: Martin Pitt <martinpitt@gnome.org>
8087 Date: Thu Nov 29 16:45:49 2012 +0100
8089 pygtkcompat: Work around IndexError on large flags
8091 On 32 bit systems pygtkcompat currently fails with
8093 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
8094 name = flag.value_names[-1].replace(modname + '_', '')
8095 IndexError: cannot fit 'int' into an index-sized integer
8097 on 32 bit systems as some flags in Gdk are too large to fit into a
8099 "long". Work around this crash until this gets fixed properly
8103 pygtkcompat/pygtkcompat.py | 7 ++++++-
8104 1 file changed, 6 insertions(+), 1 deletion(-)
8106 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
8107 Author: Martin Pitt <martinpitt@gnome.org>
8108 Date: Thu Nov 29 14:11:29 2012 +0100
8110 Fix pyg_value_from_pyobject() range check for uint
8112 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
8114 this overflows large uints. Use PyLong_AsLongLong() separately to
8116 negative values, and PyLong_AsUnsignedLong() for the actual
8119 gi/_gobject/pygtype.c | 12 ++++++++----
8120 1 file changed, 8 insertions(+), 4 deletions(-)
8122 commit 05d767a602571805e80099f1db47ad4164575c53
8123 Author: Martin Pitt <martinpitt@gnome.org>
8124 Date: Thu Nov 29 13:30:56 2012 +0100
8126 Fix tests to work with g-i 1.34.2
8128 Do not try to call GIMarshallingTests API which isn't present
8130 against g-i 1.34.2. This can be dropped when the g-i dependency gets
8134 tests/test_gi.py | 8 +++++---
8135 1 file changed, 5 insertions(+), 3 deletions(-)
8137 commit a107c928ef85b4e3b9075a408774b74879586029
8138 Author: Martin Pitt <martinpitt@gnome.org>
8139 Date: Thu Nov 29 13:13:14 2012 +0100
8141 Fix wrong refcount for GVariant property defaults
8143 Drop the bogus DECREF for the GVariant default argument, as we need
8145 around in the class. Otherwise the refcount drops to zero, and
8147 garbage collection run causes segfaults.
8149 https://bugzilla.gnome.org/show_bug.cgi?id=689267
8151 gi/_gobject/gobjectmodule.c | 1 -
8152 1 file changed, 1 deletion(-)
8154 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
8155 Author: Martin Pitt <martinpitt@gnome.org>
8156 Date: Thu Nov 29 11:44:22 2012 +0100
8158 test_gi: Fix TestFilename failure under C locale
8160 tests/test_gi.py | 1 +
8161 1 file changed, 1 insertion(+)
8163 commit 37ab227555ba8628b4fa99aa286bd046208745ed
8164 Author: Martin Pitt <martinpitt@gnome.org>
8165 Date: Thu Nov 29 11:16:26 2012 +0100
8167 Fix array arguments on 32 bit
8169 In _pygi_argument_from_object() we never put the actual element
8171 constructed array. The array contains GIArguments, or bytes in the
8173 passing a string as an array.
8175 This happened to work on 64 bit machines where GIArgument and char*
8177 same size, but not on 32 bit machines
8178 (test_gi.TestPropertiesObject.test_strv
8181 gi/pygi-argument.c | 6 +++++-
8182 1 file changed, 5 insertions(+), 1 deletion(-)
8184 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
8185 Author: Martin Pitt <martinpitt@gnome.org>
8186 Date: Thu Nov 29 10:20:27 2012 +0100
8188 test_gi: Disable failing check in test_module_name()
8190 When calling this under some conditions, such as
8192 TEST_NAMES='test_thread test_gi.TestOverrides'
8194 then the module name of GObject.InitiallyUnowned comes out as
8195 "importlib._bootstrap" instead of "gi.repository.GObject". To be
8197 Add a couple of other tests to ensure that it is not broken in
8200 tests/test_gi.py | 10 +++++++++-
8201 1 file changed, 9 insertions(+), 1 deletion(-)
8203 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
8204 Author: Martin Pitt <martinpitt@gnome.org>
8205 Date: Thu Nov 29 09:40:32 2012 +0100
8207 test_gdbus: Drop failure if timeout=0 works differently
8209 In some test environments we do not actually get a timeout exceptions
8211 timeout=0, but a different error message. So only ensure that we
8215 tests/test_gdbus.py | 4 +++-
8216 1 file changed, 3 insertions(+), 1 deletion(-)
8218 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
8219 Author: Martin Pitt <martinpitt@gnome.org>
8220 Date: Thu Nov 29 09:29:05 2012 +0100
8222 test_glib: Drop some assumptions about XDG dirs
8224 Some directories do not exist in minimal test environments, and this
8226 important for testing that calling these GLib functions works.
8228 tests/test_glib.py | 8 +++++---
8229 1 file changed, 5 insertions(+), 3 deletions(-)
8231 commit e45c690bc83b6d513887649de88965a9752e316d
8232 Author: Martin Pitt <martinpitt@gnome.org>
8233 Date: Wed Nov 28 12:20:31 2012 +0100
8235 Add backwards compatible API for GLib.unix_signal_add_full()
8237 This was renamed to GLib.unix_signal_add() in
8238 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
8240 Provide a backwards compatible shim with a deprecation message.
8242 gi/overrides/GLib.py | 10 ++++++++++
8243 1 file changed, 10 insertions(+)
8245 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
8246 Author: Martin Pitt <martinpitt@gnome.org>
8247 Date: Mon Nov 26 08:11:36 2012 +0100
8249 Drop MININT64/MAXUINT64 workaround
8251 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
8253 properly now. Drop the workaround in the overrides to manually
8257 gi/overrides/GLib.py | 7 -------
8258 1 file changed, 7 deletions(-)
8260 commit d16604f64d25d18409270d7537fc993113b65c19
8261 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
8262 Date: Fri Nov 23 19:57:56 2012 +0200
8264 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
8266 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
8267 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
8268 warnings even tough values are valid.
8270 https://bugzilla.gnome.org/show_bug.cgi?id=688949
8272 gi/_gobject/propertyhelper.py | 6 +++---
8273 tests/test_properties.py | 11 ++++-------
8274 2 files changed, 7 insertions(+), 10 deletions(-)
8276 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
8277 Author: Martin Pitt <martinpitt@gnome.org>
8278 Date: Wed Nov 21 12:58:07 2012 +0100
8280 Test virtual methods with in and out arguments
8282 ... and both caller and callee out argument allocation.
8284 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
8286 tests/test_gi.py | 13 +++++++++++++
8287 1 file changed, 13 insertions(+)
8289 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
8290 Author: Martin Pitt <martinpitt@gnome.org>
8291 Date: Tue Nov 20 07:00:44 2012 +0100
8293 Ship pygi-convert.sh in tarballs
8295 https://bugzilla.gnome.org/show_bug.cgi?id=688697
8298 1 file changed, 1 insertion(+)
8300 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
8301 Author: Martin Pitt <martinpitt@gnome.org>
8302 Date: Mon Nov 19 15:25:38 2012 +0100
8304 Post-release version bump to 3.7.3
8307 1 file changed, 1 insertion(+), 1 deletion(-)
8309 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
8310 Author: Martin Pitt <martinpitt@gnome.org>
8311 Date: Mon Nov 19 15:13:28 2012 +0100
8315 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
8316 1 file changed, 47 insertions(+)
8318 commit 29dc7425dd7584411b52ef07b50f929ed119a000
8319 Author: Martin Pitt <martinpitt@gnome.org>
8320 Date: Mon Nov 19 14:37:02 2012 +0100
8324 Commit e617f76e forgot to rename the file in EXTRA_DIST
8326 tests/Makefile.am | 2 +-
8327 1 file changed, 1 insertion(+), 1 deletion(-)
8329 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
8330 Author: Martin Pitt <martinpitt@gnome.org>
8331 Date: Mon Nov 19 14:34:13 2012 +0100
8333 tests: Fix unicode vs. str issues in Python 2
8335 Some of the tests assumed a system default encoding of UTF-8, which
8337 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
8340 tests/test_gi.py | 8 ++++----
8341 tests/test_iochannel.py | 16 +++++++++-------
8342 2 files changed, 13 insertions(+), 11 deletions(-)
8344 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
8345 Author: Martin Pitt <martinpitt@gnome.org>
8346 Date: Mon Nov 19 14:20:56 2012 +0100
8348 tests: Fix previous commit to fail properly on test failures
8350 tests/Makefile.am | 2 +-
8351 1 file changed, 1 insertion(+), 1 deletion(-)
8353 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
8354 Author: Martin Pitt <martinpitt@gnome.org>
8355 Date: Mon Nov 19 14:09:14 2012 +0100
8357 tests: Run pygtkcompat tests separately
8359 pygtkcompat changes the global namespace, in particular patching
8361 overrides. Run the tests in a separate process so that the main
8363 potentially affected by the pygtkcompat test.
8365 runtests.py runs all tests/test_*.py by default, so rename to
8366 compat_test_pygtk.py and run that explicitly after successfully
8370 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
8372 tests/Makefile.am | 3 +
8373 tests/compat_test_pygtk.py | 147
8374 +++++++++++++++++++++++++++++++++++++++++++++
8375 tests/test_pygtkcompat.py | 147
8376 ---------------------------------------------
8377 3 files changed, 150 insertions(+), 147 deletions(-)
8379 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
8380 Author: Simon Feltman <sfeltman@src.gnome.org>
8381 Date: Thu Nov 15 02:51:52 2012 -0800
8383 Move pygtkcompat into sibling package of gi
8385 Move the pygtkcompat module out of the gi package and into
8386 a sibling package as follows:
8392 This allows for pygtkcompat to grow without affecting the gi package.
8393 Add deprecation message to gi/pygtkcompat.py
8395 https://bugzilla.gnome.org/show_bug.cgi?id=688219
8399 gi/pygtkcompat.py | 524
8400 +++------------------------------------------
8401 pygtkcompat/Makefile.am | 15 ++
8402 pygtkcompat/__init__.py | 20 ++
8403 pygtkcompat/pygtkcompat.py | 501
8404 +++++++++++++++++++++++++++++++++++++++++++
8405 tests/test_pygtkcompat.py | 6 +-
8406 7 files changed, 565 insertions(+), 504 deletions(-)
8408 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
8409 Author: Martin Pitt <martinpitt@gnome.org>
8410 Date: Mon Nov 19 13:59:20 2012 +0100
8412 Bump g-i dependency to >= 1.34.2
8414 We need this for updated GLib annotations and new test API.
8417 1 file changed, 1 insertion(+), 1 deletion(-)
8419 commit f6c994c76cd8010460b76bf455e1a341348d735b
8420 Author: Martin Pitt <martinpitt@gnome.org>
8421 Date: Mon Nov 19 10:39:26 2012 +0100
8423 test_gi: Fix failing tests with g-i 1.34.x
8425 Skip tests which require g-i test API from 1.35.x when building
8429 tests/test_gi.py | 6 ++++++
8430 1 file changed, 6 insertions(+)
8432 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
8433 Author: Martin Pitt <martinpitt@gnome.org>
8434 Date: Wed Nov 14 11:57:21 2012 +0100
8436 test_gi: Add tests for type "filename"
8438 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
8439 1 file changed, 30 insertions(+)
8441 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
8442 Author: Martin Pitt <martinpitt@gnome.org>
8443 Date: Wed Nov 14 11:09:33 2012 +0100
8445 Drop foreign GVariant registration/support
8447 This is dead code. We have tests for GVariant in and out method
8449 callback arguments and return values, properties, etc to ensure that
8453 gi/Makefile.am | 2 --
8454 gi/pygi-foreign-gvariant.c | 63
8455 ----------------------------------------------
8456 gi/pygi-foreign-gvariant.h | 41 ------------------------------
8457 gi/pygi-foreign.c | 8 +-----
8458 4 files changed, 1 insertion(+), 113 deletions(-)
8460 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
8461 Author: Martin Pitt <martinpitt@gnome.org>
8462 Date: Wed Nov 14 10:33:24 2012 +0100
8464 test_properties.py: Fix PEP-8 errors
8466 tests/test_properties.py | 3 +--
8467 1 file changed, 1 insertion(+), 2 deletions(-)
8469 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
8470 Author: Martin Pitt <martinpitt@gnome.org>
8471 Date: Wed Nov 14 10:14:36 2012 +0100
8473 Add support for GVariant properties defined in Python
8475 gi/_gobject/gobjectmodule.c | 13 +++++++
8476 gi/_gobject/propertyhelper.py | 11 ++++--
8477 tests/test_properties.py | 81
8478 +++++++++++++++++++++++++++++++++++++------
8479 3 files changed, 91 insertions(+), 14 deletions(-)
8481 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
8482 Author: Martin Pitt <martinpitt@gnome.org>
8483 Date: Wed Nov 14 09:33:43 2012 +0100
8485 pyg_value_from_pyobject(): Simplify GVariant type check
8487 Use pyg_type_from_object_strict() instead of the much more expensive
8489 pyg_get_gvariant_type().
8491 gi/_gobject/pygtype.c | 23 +----------------------
8492 1 file changed, 1 insertion(+), 22 deletions(-)
8494 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
8495 Author: Martin Pitt <martinpitt@gnome.org>
8496 Date: Wed Nov 14 09:27:42 2012 +0100
8498 test_everything: Add test for callback returning wrong type
8500 This covers the "expected a GVariant, got something else" check in
8501 pyg_value_from_pyobject().
8503 tests/test_everything.py | 16 ++++++++++++++++
8504 1 file changed, 16 insertions(+)
8506 commit 84db7109dfbaf443758a5a4871ee385686d2703d
8507 Author: Martin Pitt <martinpitt@gnome.org>
8508 Date: Wed Nov 14 08:42:53 2012 +0100
8510 Add type checking to GVariant argument assignment
8512 gi/pygi-argument.c | 7 ++++++-
8513 tests/test_gi.py | 5 ++---
8514 2 files changed, 8 insertions(+), 4 deletions(-)
8516 commit e944caf5ff53143a98dd4a5578530996358013ec
8517 Author: Martin Pitt <martinpitt@gnome.org>
8518 Date: Wed Nov 14 08:22:35 2012 +0100
8520 Add support for GVariant properties defined in C
8522 Note that trying to assign a non-GVariant value to a GVariant property
8525 gi/pygi-property.c | 6 +++++-
8526 tests/test_gi.py | 21 +++++++++++++++++++++
8527 2 files changed, 26 insertions(+), 1 deletion(-)
8529 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
8530 Author: Martin Pitt <martinpitt@gnome.org>
8531 Date: Wed Nov 14 07:09:58 2012 +0100
8533 test_unknown.py: Check property interface
8535 NB that the property implementation in test-unknown.c does not
8537 anything, we just want to assert that the properties are properly
8540 tests/test_unknown.py | 10 ++++++++++
8541 1 file changed, 10 insertions(+)
8543 commit 9d7771affcf788d251cced65da56fc2773a278b3
8544 Author: Martin Pitt <martinpitt@gnome.org>
8545 Date: Wed Nov 14 07:01:24 2012 +0100
8547 Fix previous commit for Python 2
8549 gi/pygi-foreign-cairo.c | 2 +-
8550 1 file changed, 1 insertion(+), 1 deletion(-)
8552 commit 997d4e70b2793039d916acf8921087576622152e
8553 Author: Martin Pitt <martinpitt@gnome.org>
8554 Date: Wed Nov 14 06:57:04 2012 +0100
8556 pygi-foreign-cairo.c: Use official py3cairo API
8558 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
8560 instead of our own code.
8562 gi/pygi-foreign-cairo.c | 4 ++--
8563 1 file changed, 2 insertions(+), 2 deletions(-)
8565 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
8566 Author: Martin Pitt <martinpitt@gnome.org>
8567 Date: Wed Nov 14 06:47:23 2012 +0100
8569 Drop dead code from pygi-callbacks.[hc]
8571 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
8573 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
8575 there, and drop pygi-callbacks.[hc] completely.
8577 gi/Makefile.am | 2 -
8578 gi/pygi-callbacks.c | 217
8579 ----------------------------------------------
8580 gi/pygi-callbacks.h | 48 ----------
8581 gi/pygi-marshal-from-py.c | 44 ++++++++++
8582 gi/pygi-private.h | 1 -
8583 5 files changed, 44 insertions(+), 268 deletions(-)
8585 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
8586 Author: Carlos Garnacho <carlos@lanedo.com>
8587 Date: Tue Nov 13 18:24:28 2012 +0100
8589 Fix marshalling of arrays of struct pointers to Python
8591 Fill in the pointer to the struct, not the pointer to the
8592 array position. This makes the GdkAtom** argument in
8593 gtk_clipboard_wait_for_targets() work.
8595 https://bugzilla.gnome.org/show_bug.cgi?id=678620
8597 gi/pygi-marshal-to-py.c | 5 ++++-
8598 1 file changed, 4 insertions(+), 1 deletion(-)
8600 commit fc021516552b1720bacc4afe6b7a610c413194c4
8601 Author: Martin Pitt <martinpitt@gnome.org>
8602 Date: Wed Nov 14 06:27:17 2012 +0100
8604 test_atoms.py: Add test for out array
8606 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
8608 tests/test_atoms.py | 19 +++++++++++++++++++
8609 1 file changed, 19 insertions(+)
8611 commit e2790d22610aae773635d4caef2458082a307283
8612 Author: Martin Pitt <martinpitt@gnome.org>
8613 Date: Tue Nov 13 16:38:36 2012 +0100
8615 Fix Gdk.Atom str()/repr() fallback
8617 Fix regression in commit 6713618: If an atom does not have a name,
8619 recursively call our own str()/repr() methods, but just print
8620 "Gdk.Atom<atom_id>".
8622 gi/overrides/Gdk.py | 6 ++++--
8623 1 file changed, 4 insertions(+), 2 deletions(-)
8625 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
8626 Author: Martin Pitt <martinpitt@gnome.org>
8627 Date: Tue Nov 13 13:16:14 2012 +0100
8629 test_gi: Stop using GLib.bytes.unref_to_array()
8631 This method isn't safe for GI, and should be (skip)ed. Use get_data()
8633 which is safe and works fine.
8635 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
8637 tests/test_gi.py | 6 ------
8638 1 file changed, 6 deletions(-)
8640 commit 671361841de797ef62b59d1d7568fc3d431898c7
8641 Author: Martin Pitt <martinpitt@gnome.org>
8642 Date: Tue Nov 13 12:56:11 2012 +0100
8644 Fix Gdk.Atom to have a proper str() and repr()
8646 Gdk.Atom is not proper GType'd class, so we cannot override the
8648 Just override its __str__() and __repr__() methods so that printing
8650 something sensible. For nameless/invalid atoms, fall back to the old
8651 <void at 0xdeadbeef> output to help with debugging.
8653 https://bugzilla.gnome.org/show_bug.cgi?id=678620
8655 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
8656 tests/test_atoms.py | 12 ++++++++++++
8657 2 files changed, 33 insertions(+)
8659 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
8660 Author: Simon Feltman <sfeltman@src.gnome.org>
8661 Date: Tue Nov 13 02:53:34 2012 -0800
8663 Make sure g_value_set_boxed does not cause a buffer overrun with
8666 Add NULL terminator to gchar** passed to g_value_set_boxed to
8667 make sure it does not overrun memory in pygi_set_property_value_real.
8668 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
8671 https://bugzilla.gnome.org/show_bug.cgi?id=688232
8673 gi/pygi-property.c | 8 ++++++--
8674 tests/Makefile.am | 1 +
8675 2 files changed, 7 insertions(+), 2 deletions(-)
8677 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
8678 Author: Martin Pitt <martinpitt@gnome.org>
8679 Date: Mon Nov 12 08:35:28 2012 +0100
8681 types.py: Fix PEP-8 violation
8684 1 file changed, 1 insertion(+), 1 deletion(-)
8686 commit df589458358d7e7bf178dff4e6ad937a70f806e3
8687 Author: Simon Feltman <sfeltman@src.gnome.org>
8688 Date: Sun Nov 11 22:26:19 2012 -0800
8690 Fix leaks with GValues holding boxed and object types
8692 Expose read access to PyGIBoxed.free_on_dealloc.
8693 Add GObject.Value.__del__ override and call unset() to
8694 correctly free reference counts.
8696 https://bugzilla.gnome.org/show_bug.cgi?id=688137
8698 gi/overrides/GObject.py | 9 +++++++++
8699 gi/pygi-boxed.c | 12 ++++++++++++
8700 tests/test_gi.py | 2 --
8701 3 files changed, 21 insertions(+), 2 deletions(-)
8703 commit c01c95b9fb3d726385efac945f6d1270ae65d109
8704 Author: Simon Feltman <sfeltman@src.gnome.org>
8705 Date: Sun Nov 11 19:46:15 2012 -0800
8707 Add expectantly failing unittests for GValue boxed/object leaks
8709 https://bugzilla.gnome.org/show_bug.cgi?id=688137
8711 tests/test_gi.py | 80
8712 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8713 1 file changed, 80 insertions(+)
8715 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
8716 Author: Simon Feltman <s.feltman@gmail.com>
8717 Date: Thu Aug 16 15:09:08 2012 -0700
8719 Add doc strings showing method signatures for gi methods
8721 Add signature based doc string to all methods pulled in from
8722 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
8723 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
8724 icon_area:cairo.RectangleInt
8726 https://bugzilla.gnome.org/show_bug.cgi?id=681967
8728 gi/overrides/GIMarshallingTests.py | 1 +
8729 gi/pygi-info.c | 103
8730 +++++++++++++++++++++++++++++++++----
8731 gi/pygi-type.c | 60 +++++++++++++++++++++
8732 gi/pygi-type.h | 1 +
8734 ++++++++++++++++++++++++++-------
8735 tests/test_gi.py | 30 +++++++++++
8736 6 files changed, 259 insertions(+), 28 deletions(-)
8738 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
8739 Author: Simon Feltman <sfeltman@src.gnome.org>
8740 Date: Fri Nov 9 19:17:03 2012 -0800
8742 Set Property instance doc string and blurb to getter doc string
8744 Assign Property getter __doc__ strings or explicit blurb parameters
8745 to the Property instances __doc__ attribute. This clobbers the
8746 default Property classes lengthy and unhelpful doc string in the case
8749 https://bugzilla.gnome.org/show_bug.cgi?id=688025
8751 gi/_gobject/propertyhelper.py | 10 +++++++---
8752 tests/test_properties.py | 14 ++++++++++----
8753 2 files changed, 17 insertions(+), 7 deletions(-)
8755 commit c5343d329ebb452d97afac30e4120ebab8477556
8756 Author: Martin Pitt <martinpitt@gnome.org>
8757 Date: Mon Nov 12 07:47:02 2012 +0100
8759 tests: Fix for Python 2
8761 Add quirks for Python 2's string handling, and disable the
8762 Everything.test_array_gint8_in() as there seems to be no way of
8766 tests/test_everything.py | 7 +++++--
8767 1 file changed, 5 insertions(+), 2 deletions(-)
8769 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
8770 Author: Martin Pitt <martinpitt@gnome.org>
8771 Date: Sat Nov 10 15:52:15 2012 +0100
8773 test_everything: Add tests for more Regress data and container types
8775 Add more tests for Regress' data and container type test API.
8777 This detects a number of bugs, which have been marked as expected
8779 disabled completely for the cases where they cause crashes:
8781 * unsigned enums with values >= 0x80000000 do not work
8782 * nested ghashes in return values do not work
8783 * array length arguments in callbacks are passed instead of
8786 tests/test_everything.py | 156
8787 ++++++++++++++++++++++++++++++++++++++++++++++-
8788 1 file changed, 154 insertions(+), 2 deletions(-)
8790 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
8791 Author: Martin Pitt <martinpitt@gnome.org>
8792 Date: Fri Nov 9 18:45:22 2012 +0100
8794 test_everything: Add tests for Regress type tests
8796 Add tests for all the data type handling tests of g-i's Regress
8799 tests/test_everything.py | 183
8800 +++++++++++++++++++++++++++++++++++++++++++++++
8801 1 file changed, 183 insertions(+)
8803 commit 0d7974396e8379b518403983d9d13629066680d7
8804 Author: Martin Pitt <martinpitt@gnome.org>
8805 Date: Fri Nov 9 18:44:50 2012 +0100
8807 Add GObject.G_MINSSIZE
8809 gi/_gobject/gobjectmodule.c | 1 +
8810 gi/overrides/GObject.py | 2 +-
8811 2 files changed, 2 insertions(+), 1 deletion(-)
8813 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
8814 Author: Martin Pitt <martinpitt@gnome.org>
8815 Date: Fri Nov 9 16:02:00 2012 +0100
8817 Fix marshalling of GByteArrays
8819 In _pygi_marshal_from_py_array(), set the array length after copying
8821 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
8823 will always come out as zero length.
8825 Enable the TestGByteArray.test_bytearray_none_in() test case as that
8828 gi/pygi-marshal-from-py.c | 1 +
8829 tests/test_gi.py | 3 +--
8830 2 files changed, 2 insertions(+), 2 deletions(-)
8832 commit fa568949c46dd4b537357f1af74d1f675294b760
8833 Author: Martin Pitt <martinpitt@gnome.org>
8834 Date: Fri Nov 9 15:23:37 2012 +0100
8836 Fix marshalling of ssize_t to smaller ints
8838 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
8839 TestArray.test_array_in test, so drop the expected failure.
8841 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
8842 tests/test_gi.py | 2 --
8843 2 files changed, 29 insertions(+), 3 deletions(-)
8845 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
8846 Author: Martin Pitt <martinpitt@gnome.org>
8847 Date: Fri Nov 9 09:37:00 2012 +0100
8849 test_gi: Enable GByteArray constructor tests
8851 GByteArray annotations have been fixed in GLib now, enable the
8854 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
8856 is the same as disabled_test_bytearray_none_in().
8858 tests/test_gi.py | 16 ++++------------
8859 1 file changed, 4 insertions(+), 12 deletions(-)
8861 commit e2c545896ab08b1f1885b502a8472db83f193d08
8862 Author: Martin Pitt <martinpitt@gnome.org>
8863 Date: Fri Nov 9 09:11:38 2012 +0100
8865 test_gi: Enable GBytes test cases
8867 GBytes annotations are fixed in GLib now, enable the test case and
8869 for g_bytes_new_take() and g_bytes_{compare,equal}().
8871 Please note that calling unref_to_array() on a GBytes object that
8873 ourselves currently causes a double free crash, so disable that part
8876 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
8877 1 file changed, 25 insertions(+), 5 deletions(-)
8879 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
8880 Author: Martin Pitt <martinpitt@gnome.org>
8881 Date: Fri Nov 9 08:26:29 2012 +0100
8883 test_gi: Add missing data type tests from GIMarshallingTests
8885 Add tests for types time_t, GBytes, GByteArray, and various variants
8887 around GValues, flags, enums, arrays, and boxed structs. This tests
8889 is provided by GIMarshallingTests, but which we did not cover yet.
8891 This detects a number of bugs in annotations and our
8892 marshalling. These have
8893 been marked as expected failure, or disabled completely for the
8897 tests/test_gi.py | 152
8898 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
8899 1 file changed, 152 insertions(+)
8901 commit 0456d9c892b76ed79134230a4a8610a23c602964
8902 Author: Martin Pitt <martinpitt@gnome.org>
8903 Date: Fri Nov 9 06:44:46 2012 +0100
8905 autogen.sh: Only enable code coverage if lcov is installed
8907 Otherwise we break minimal build environments.
8909 autogen.sh | 8 +++++++-
8910 1 file changed, 7 insertions(+), 1 deletion(-)
8912 commit 76a3acebf73f930c541d0f30249f67d254f948ab
8913 Author: Martin Pitt <martinpitt@gnome.org>
8914 Date: Fri Nov 9 06:41:58 2012 +0100
8916 Lower autoconf dependency to 2.68 again
8919 1 file changed, 1 insertion(+), 1 deletion(-)
8921 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
8922 Author: Martin Pitt <martinpitt@gnome.org>
8923 Date: Thu Nov 8 14:54:30 2012 +0100
8925 Add support for lcov code coverage
8927 Use gnome-common's new code coverage flags. Default to enabling
8929 in autogen.sh (but not for dist).
8931 To use this, run "make check-code-coverage" after building.
8936 configure.ac | 6 ++++++
8937 4 files changed, 10 insertions(+), 1 deletion(-)
8939 commit e46af4aba220cfaf4b84a9be847f3363da556993
8940 Author: Martin Pitt <martinpitt@gnome.org>
8941 Date: Wed Nov 7 17:14:22 2012 +0100
8943 Update documentation files
8945 Update AUTHORS to have the current maintainers.
8947 Update HACKING to drop Tomeu's GNOME login (this should be set in
8950 Update INSTALL to current upstream version.
8955 +++++++++++++++++++++++++++++++++++++++++++---------------------
8956 3 files changed, 267 insertions(+), 130 deletions(-)
8958 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
8959 Author: Martin Pitt <martinpitt@gnome.org>
8960 Date: Wed Nov 7 17:08:11 2012 +0100
8962 Quiesce automake output
8964 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
8966 existing symlinks on rebuilds.
8968 gi/Makefile.am | 2 +-
8969 gi/_glib/Makefile.am | 2 +-
8970 gi/_gobject/Makefile.am | 2 +-
8971 tests/Makefile.am | 6 +++---
8972 4 files changed, 6 insertions(+), 6 deletions(-)
8974 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
8975 Author: Martin Pitt <martinpitt@gnome.org>
8976 Date: Wed Nov 7 16:50:07 2012 +0100
8978 Drop unused variable, fail builds on those
8980 Build with -Werror=unused-variable, as these could hide programming
8982 incomplete refactoring, and are not platform dependent.
8984 Drop unused variable in pyg_type_add_interfaces().
8987 gi/_gobject/gobjectmodule.c | 1 -
8988 2 files changed, 1 insertion(+), 1 deletion(-)
8990 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
8991 Author: Martin Pitt <martinpitt@gnome.org>
8992 Date: Wed Nov 7 16:37:04 2012 +0100
8994 configure.ac: Drop maintainer mode, modernize libtool declarations
8996 Use all arguments of AC_INIT.
8998 AM_MAINTAINER_MODE is discouraged now, drop it.
9000 Use LT_PREREQ and LT_INIT for libtool initialization instead of
9004 See https://live.gnome.org/GnomeGoals/ModernAutotools
9006 configure.ac | 19 ++++++-------------
9007 1 file changed, 6 insertions(+), 13 deletions(-)
9009 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
9010 Author: Martin Pitt <martinpitt@gnome.org>
9011 Date: Wed Nov 7 16:21:13 2012 +0100
9013 autoupdate configure.ac
9015 Result of "autoupdate", with slight manual beautification.
9017 See https://live.gnome.org/GnomeGoals/ModernAutotools
9019 configure.ac | 21 +++++++++------------
9020 1 file changed, 9 insertions(+), 12 deletions(-)
9022 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
9023 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9024 Date: Mon Nov 5 14:26:05 2012 -0300
9026 pygi-convert: remove deprecated GLib → GObject conversions
9028 Using these functions from the GObject module is deprecated now,
9032 pygi-convert.sh | 5 -----
9033 1 file changed, 5 deletions(-)
9035 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
9036 Author: Simon Feltman <sfeltman@src.gnome.org>
9037 Date: Wed Nov 7 03:49:24 2012 -0800
9039 Use hasattr when testing for __info__ when finding vfuncs
9041 Change gi.types.find_vfunc_info_in_interface to use hasattr
9042 when finding vfuncs. Using '__info__' in __dict__ was skipping
9043 overridden interfaces which don't directly contain the __info__.
9046 1 file changed, 1 insertion(+), 1 deletion(-)
9048 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
9049 Author: Martin Pitt <martinpitt@gnome.org>
9050 Date: Wed Nov 7 12:05:24 2012 +0100
9052 tests: Ensure that the fatal mask is always reset
9054 On test case failures the fatal mask might be left in a wrong state,
9056 with "finally" that it is reset on failed tests as well, to avoid
9060 tests/test_gi.py | 11 ++++++-----
9061 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
9062 tests/test_pygtkcompat.py | 6 ++++--
9063 tests/test_signal.py | 6 ++++--
9064 4 files changed, 33 insertions(+), 23 deletions(-)
9066 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
9067 Author: Simon Feltman <sfeltman@src.gnome.org>
9068 Date: Tue Nov 6 21:34:06 2012 -0800
9070 Replace GObject notify methods with introspection and python
9072 Replace static context managers for freeze_notify and
9073 handler_block with python context managers. Remove notify,
9074 freeze_notify, thaw_notify static methods as the introspection
9077 https://bugzilla.gnome.org/show_bug.cgi?id=672727
9079 gi/_gobject/pygobject.c | 173
9080 ++----------------------------------------------
9081 gi/overrides/GObject.py | 61 +++++++++++++++--
9082 tests/test_gobject.py | 26 ++++++--
9083 tests/test_signal.py | 13 +++-
9084 4 files changed, 91 insertions(+), 182 deletions(-)
9086 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
9087 Author: Simon Feltman <sfeltman@src.gnome.org>
9088 Date: Tue Oct 23 13:56:32 2012 -0700
9090 Add support for overriding GObject.Object
9092 Shift pygi module mechanics so the introspection generated 'Object'
9093 class becomes derived from the static GObject class. Add initial
9094 GObject.Object override which sets all static methods back essentially
9095 leapfrogging the introspection methods. This sets the stage for having
9096 the ability to remove static methods piecemeal in favor of
9097 introspection/python in future commits.
9099 https://bugzilla.gnome.org/show_bug.cgi?id=672727
9101 gi/module.py | 30 +++++++++++---------
9102 gi/overrides/GObject.py | 74
9103 ++++++++++++++++++++++++++++++++++++++++++++++++
9104 gi/pygobject-external.h | 10 +------
9105 gi/types.py | 7 +++++
9106 tests/test_gobject.py | 31 ++++++++++++++++----
9107 tests/testhelpermodule.c | 2 +-
9108 6 files changed, 126 insertions(+), 28 deletions(-)
9110 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
9111 Author: Martin Pitt <martinpitt@gnome.org>
9112 Date: Tue Nov 6 13:55:21 2012 +0100
9114 Bump glib dependency to >= 2.34.2
9116 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
9120 configure.ac | 4 ++--
9121 2 files changed, 3 insertions(+), 3 deletions(-)
9123 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
9124 Author: Martin Pitt <martinpitt@gnome.org>
9125 Date: Tue Nov 6 11:28:42 2012 +0100
9129 Point to python-hackers-list instead of the old pygtk list, update
9131 versions, and point to wiki page and IRC.
9133 README | 19 ++++++++++---------
9134 1 file changed, 10 insertions(+), 9 deletions(-)
9136 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
9137 Author: Martin Pitt <martinpitt@gnome.org>
9138 Date: Tue Nov 6 11:21:32 2012 +0100
9140 Add --with-python configure option
9142 This behaves like setting $PYTHON, but also works in build systems
9144 which do not support setting environment variables.
9146 Update README accordingly.
9148 README | 15 +++++++++------
9149 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
9150 2 files changed, 43 insertions(+), 15 deletions(-)
9152 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
9153 Author: Martin Pitt <martinpitt@gnome.org>
9154 Date: Tue Nov 6 10:39:27 2012 +0100
9156 python.m4: Add python3.3, do not prefer unversioned "python"
9158 Add python 3.3 to the search list.
9160 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
9162 "python", so use that as last fallback if more specific versions do
9167 2 files changed, 2 insertions(+), 2 deletions(-)
9169 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
9170 Author: Martin Pitt <martinpitt@gnome.org>
9171 Date: Tue Nov 6 09:48:50 2012 +0100
9173 m4: Update py-compile to current upstream version
9175 Update py-compile to current versions from automake 1.11.6.
9178 +++++++++++++++++++++++++++++++++++------------------------
9179 1 file changed, 48 insertions(+), 33 deletions(-)
9181 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
9182 Author: Martin Pitt <martinpitt@gnome.org>
9183 Date: Tue Nov 6 09:57:00 2012 +0100
9185 m4: Update introspection.m4 to current upstream version
9187 m4/introspection.m4 | 4 ++++
9188 1 file changed, 4 insertions(+)
9190 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
9191 Author: Martin Pitt <martinpitt@gnome.org>
9192 Date: Tue Nov 6 09:53:15 2012 +0100
9194 option.py: Fix PEP-8 error
9196 gi/_glib/option.py | 2 +-
9197 1 file changed, 1 insertion(+), 1 deletion(-)
9199 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
9200 Author: Simon Feltman <sfeltman@src.gnome.org>
9201 Date: Mon Nov 5 18:27:56 2012 -0800
9203 Remove DynamicGLibModule and DynamicGObjectModule
9205 Move final bits of _glib static binding imports directly into
9206 the GLib override. Change _glib/option use the .so directly
9207 rather than the staged variables in _glib/__init__.py.
9208 Remove DynamicGLibModule and DynamicGObjectModule and update
9211 https://bugzilla.gnome.org/show_bug.cgi?id=687488
9213 gi/_glib/__init__.py | 11 ----------
9214 gi/_glib/option.py | 16 +++++++-------
9215 gi/importer.py | 12 ++---------
9217 ----------------------------------------------------
9218 gi/overrides/GLib.py | 14 ++++++++++++
9219 tests/test_gi.py | 9 ++------
9220 6 files changed, 26 insertions(+), 96 deletions(-)
9222 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
9223 Author: Daniel Drake <dsd@laptop.org>
9224 Date: Thu Nov 1 14:46:22 2012 +0000
9226 Fix property lookup in class hierarchy
9228 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
9229 a Python subclass of a gi-provided base class overrides a property
9233 The new behaviour in the above commit causes pygobject to seek
9235 in the base class and try to read it from there (resulting in
9237 rather than noticing that the property is overridden and present
9239 Python object instance.
9241 To provide a nicer solution here, we can exploit the fact that
9242 g_object_class_find_property() will traverse the hierarchy in order to
9243 find the right GParamSpec, and the returned GParamSpec can tell
9245 which GType introduces the property. The strategy is:
9247 1. Find pspec with g_object_class_find_property()
9248 2. Find the class that owns that property (pspec->owner_type)
9249 3. See if girepository owns that class.
9250 3a. If yes, get property from there.
9251 3b. If not, get property "directly"
9253 And the same for property setting.
9255 Now that _pygi_lookup_property_from_g_type is always passed the
9257 implements the property, it no longer has to go recursing through
9259 classes, which was the original cause of confusion.
9261 https://bugzilla.gnome.org/show_bug.cgi?id=686942
9263 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
9264 gi/pygi-property.c | 130
9265 ++++++++++++++++++++++-------------------------
9266 gi/pygi-property.h | 4 +-
9267 gi/pygi.h | 12 ++---
9268 tests/test_properties.py | 30 +++++++++++
9269 5 files changed, 164 insertions(+), 104 deletions(-)
9271 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
9272 Author: Martin Pitt <martinpitt@gnome.org>
9273 Date: Sat Nov 3 16:14:01 2012 +0100
9275 Move property and signal creation into _class_init()
9277 We must not add class interfaces after g_type_class_ref() has been
9279 first time. Move signal and property creation from pyg_type_register()
9281 pyg_object_class_init(), and drop the hack of registering interfaces
9284 This changed class initialization order now exposes GLib's warning
9286 unknown signals, so adjust
9287 test_signal.TestGSignalsError.test_invalid_name() to
9290 https://bugzilla.gnome.org/show_bug.cgi?id=686149
9292 gi/_gobject/gobjectmodule.c | 177
9293 ++++++++++++++++++--------------------------
9294 tests/test_signal.py | 6 +-
9295 2 files changed, 75 insertions(+), 108 deletions(-)
9297 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
9298 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9299 Date: Sat Nov 3 13:21:52 2012 -0300
9301 Remove unused macro definitions
9303 PYGLIB_*_VERSION are not used anywhere any more, remove those.
9304 (dropped in commit 8d52bceb1)
9306 gi/_glib/glibmodule.c | 5 -----
9307 1 file changed, 5 deletions(-)
9309 commit fa054fd15b8874760bee97d9af168a2969e6ece4
9310 Author: Martin Pitt <martinpitt@gnome.org>
9311 Date: Mon Nov 5 14:38:07 2012 +0100
9313 testhelpermodule.c: Drop obsolete g_thread_init()
9315 We already require a new enough glib version as we dropped
9317 the main code a long time ago. But for formality's sake, bump glib
9321 configure.ac | 4 ++--
9322 tests/testhelpermodule.c | 1 -
9323 2 files changed, 2 insertions(+), 3 deletions(-)
9325 commit 2e57530a27a44e94927d487cf2f2d9e543777654
9326 Author: Martin Pitt <martinpitt@gnome.org>
9327 Date: Mon Nov 5 14:37:11 2012 +0100
9329 pygi-source.c: Drop dead code
9331 gi/pygi-source.c | 2 --
9332 1 file changed, 2 deletions(-)
9334 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
9335 Author: Simon Feltman <sfeltman@src.gnome.org>
9336 Date: Sun Nov 4 22:22:53 2012 -0800
9338 Move TYPE constants from _gobject to GObject
9340 Clear out TYPE constants from _gobject/__init__.py and move them
9342 GObject overrides. Disperse class imports among modules that use
9344 of using _gobject/__init__.py as a staging area (e.g. GInterface).
9346 https://bugzilla.gnome.org/show_bug.cgi?id=687487
9348 gi/_gobject/__init__.py | 30 ------------------------------
9349 gi/_gobject/constants.py | 2 +-
9350 gi/module.py | 38 +++++++++++++++++++++++++-------------
9351 gi/overrides/__init__.py | 9 ++++++---
9352 gi/types.py | 10 ++++++----
9353 5 files changed, 38 insertions(+), 51 deletions(-)
9355 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
9356 Author: Martin Pitt <martinpitt@gnome.org>
9357 Date: Mon Nov 5 13:10:05 2012 +0100
9359 Move G_MIN/MAX constants into GObject overrides
9361 These really ought to come from GLib's typelib, but are not right
9363 need to keep the static bindings for those. But drop them from
9365 move them into the overrides where they belong.
9367 gi/_gobject/__init__.py | 17 -----------------
9368 gi/_gobject/constants.py | 21 ---------------------
9369 gi/_gobject/propertyhelper.py | 2 +-
9370 gi/overrides/GObject.py | 9 +++++++++
9371 tests/test_gi.py | 32 ++++++++++++++++----------------
9372 5 files changed, 26 insertions(+), 55 deletions(-)
9374 commit 12b84727edc36f686a7031b5c4c6bf662838908d
9375 Author: Martin Pitt <martinpitt@gnome.org>
9376 Date: Mon Nov 5 11:04:54 2012 +0100
9378 Replace static OPTION_* constants with GI
9380 Drop static definitions of GLib.OPTION_* constants and use the ones
9384 https://bugzilla.gnome.org/show_bug.cgi?id=686765
9386 gi/_glib/__init__.py | 13 -------------
9387 gi/_glib/glibmodule.c | 32 --------------------------------
9388 gi/_glib/option.py | 46
9389 ++++++++++++++++++++++++----------------------
9390 gi/overrides/GLib.py | 13 +++++++++++++
9391 gi/overrides/GObject.py | 2 +-
9392 5 files changed, 38 insertions(+), 68 deletions(-)
9394 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
9395 Author: Martin Pitt <martinpitt@gnome.org>
9396 Date: Mon Nov 5 10:14:52 2012 +0100
9398 tests: Do not use deprecated assertRaisesRegexp()
9400 Use assertRaisesRegex() instead and provide 2.7 compatibility in
9403 tests/runtests.py | 3 +++
9404 tests/test_signal.py | 8 ++++----
9405 2 files changed, 7 insertions(+), 4 deletions(-)
9407 commit da2106902eb3dabebdff1674743cb3040566a745
9408 Author: Simon Feltman <sfeltman@src.gnome.org>
9409 Date: Sun Nov 4 02:57:29 2012 -0800
9411 Move gobject static functions and constants to gi
9413 Replace the following functions with gi and overrides:
9414 type_children, type_interfaces, signal_list_ids, signal_list_names,
9415 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
9416 PARAM_* from gi SignalFlags and ParamFlags respectively.
9417 Move module level assignments of a number of static functions to
9418 the GObject.py overrides file.
9420 https://bugzilla.gnome.org/show_bug.cgi?id=687487
9422 docs/reference/pygobject-functions.xml | 25 ---
9423 gi/_gobject/__init__.py | 72 +--------
9424 gi/_gobject/gobjectmodule.c | 272
9425 ---------------------------------
9426 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
9427 gi/overrides/__init__.py | 5 +-
9428 tests/test_signal.py | 11 +-
9429 6 files changed, 215 insertions(+), 378 deletions(-)
9431 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
9432 Author: Simon Feltman <sfeltman@src.gnome.org>
9433 Date: Sun Nov 4 02:52:19 2012 -0800
9435 Make unitests for gobject functions moving to gi more strict
9437 Add expected failure test for invalid SystemError's coming from
9438 signal_lookup and signal_list_ids. Remove excessive type_name
9439 tests and type_from_name tests.
9441 https://bugzilla.gnome.org/show_bug.cgi?id=687487
9443 tests/test_gtype.py | 53
9444 ----------------------------------------------------
9445 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
9446 2 files changed, 25 insertions(+), 68 deletions(-)
9448 commit 3267808318b284814e52f2803b17af56fca648ad
9449 Author: Martin Pitt <martinpitt@gnome.org>
9450 Date: Sat Nov 3 14:17:25 2012 +0100
9452 [API change] Remove static filename_from_utf8() binding
9454 Replace static GLib.filename_from_utf8() with GI. The old static
9456 tried to convert the result to an Unicode object, which will fail
9458 is not UTF-8 encoded (which is the whole point of this function
9462 Although the static binding was rather useless before, this is
9466 docs/reference/pyglib-functions.xml | 32 --------------------------------
9467 gi/_glib/__init__.py | 1 -
9468 gi/_glib/glibmodule.c | 26 --------------------------
9469 gi/_gobject/__init__.py | 1 -
9470 gi/overrides/GLib.py | 8 ++++++++
9471 gi/overrides/GObject.py | 3 ++-
9472 tests/test_glib.py | 8 ++++++++
9473 7 files changed, 18 insertions(+), 61 deletions(-)
9475 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
9476 Author: Martin Pitt <martinpitt@gnome.org>
9477 Date: Sat Nov 3 13:14:15 2012 +0100
9479 Drop static glib_version and pyglib_version constants
9481 Use the GLib version from GI instead, and the already existing
9484 docs/reference/pyglib-constants.xml | 50
9485 ----------------------------------
9486 docs/reference/pygobject-constants.xml | 19 -------------
9487 gi/_glib/__init__.py | 2 --
9488 gi/_glib/glibmodule.c | 21 --------------
9489 gi/_gobject/__init__.py | 1 -
9490 gi/overrides/GLib.py | 8 +++++-
9491 gi/overrides/GObject.py | 3 +-
9492 tests/test_glib.py | 12 ++++++++
9493 8 files changed, 21 insertions(+), 95 deletions(-)
9495 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
9496 Author: Martin Pitt <martinpitt@gnome.org>
9497 Date: Sat Nov 3 12:12:44 2012 +0100
9499 Drop static G_MININT8 and related constants
9501 Use the introspected constants from GLib instead.
9503 gi/_gobject/__init__.py | 12 ------------
9504 gi/_gobject/constants.py | 12 ------------
9505 gi/_gobject/gobjectmodule.c | 18 +-----------------
9506 gi/overrides/GObject.py | 17 +++++++++++++++++
9507 tests/test_gobject.py | 4 ++++
9508 5 files changed, 22 insertions(+), 41 deletions(-)
9510 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
9511 Author: Martin Pitt <martinpitt@gnome.org>
9512 Date: Sat Nov 3 11:58:40 2012 +0100
9514 test_gobject: Add test case for min/max int constants
9516 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
9518 tests/test_gobject.py | 9 +++++++++
9519 1 file changed, 9 insertions(+)
9521 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
9522 Author: Jose Rostagno <joserostagno@vijona.com.ar>
9523 Date: Sat Oct 27 15:37:32 2012 -0300
9525 Use g_object_info_find_signal()
9527 Replace our custom code with a call to the corresponding
9528 gobject-instrospection
9531 https://bugzilla.gnome.org/show_bug.cgi?id=687371
9533 gi/pygi-signal-closure.c | 21 ++++-----------------
9534 1 file changed, 4 insertions(+), 17 deletions(-)
9536 commit ae6d0aada9587cd4dca168375527b80785b604a0
9537 Author: Martin Pitt <martinpitt@gnome.org>
9538 Date: Sat Nov 3 11:23:06 2012 +0100
9540 GLib overrides: code cleanup
9542 Factorize the logic to handle zero or multiple user_data arguments
9544 user_data_varargs_shim(), and put code that handles deprecated API
9546 corresponding "then" branches, to improve readability.
9548 gi/overrides/GLib.py | 87
9549 ++++++++++++++++++++++++++++------------------------
9550 1 file changed, 47 insertions(+), 40 deletions(-)
9552 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
9553 Author: Martin Pitt <martinpitt@gnome.org>
9554 Date: Sat Nov 3 09:33:08 2012 +0100
9556 Restore actual GLib API after previous fix
9558 Re-fix the acceptance of priority as first argument for idle_add(),
9559 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
9561 this keeps supporting the backwards compatible API with supplying
9565 https://bugzilla.gnome.org/show_bug.cgi?id=687047
9567 gi/overrides/GLib.py | 117
9568 +++++++++++++++++++++++++-----------------------
9569 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
9570 tests/test_source.py | 30 +++++++++++++
9571 3 files changed, 158 insertions(+), 63 deletions(-)
9573 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
9574 Author: Simon Feltman <sfeltman@src.gnome.org>
9575 Date: Fri Nov 2 21:01:38 2012 -0700
9577 Add unittests for module level type and signal functions
9579 Add tests for the following methods: signal_list_ids,
9580 signal_name, signal_lookup, signal_query, type_children,
9581 type_from_name, type_name, type_is_a, and type_interfaces.
9583 https://bugzilla.gnome.org/show_bug.cgi?id=687487
9585 tests/Makefile.am | 1 +
9586 tests/test_gtype.py | 106
9587 +++++++++++++++++++++++++++++++++++++++++++++++++++
9588 tests/test_signal.py | 43 +++++++++++++++++++++
9589 3 files changed, 150 insertions(+)
9591 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
9592 Author: Simon Feltman <sfeltman@src.gnome.org>
9593 Date: Tue Oct 30 18:33:44 2012 -0700
9595 Fix GLib override incompatibilities with old static API
9597 Change idle_add, timeout_add, timeout_add_seconds, and
9598 io_add_watch to accept *args and **kwargs as arguments
9599 to the callback functions instead of only accepting a single
9600 user_data arg. This ensures the new overridden introspection
9601 methods are backwards compatible with the static versions
9604 https://bugzilla.gnome.org/show_bug.cgi?id=687047
9606 gi/overrides/GLib.py | 98
9607 ++++++++++++++++++++++++++++---------------------
9608 tests/test_iochannel.py | 37 +++++++++++++++++--
9609 2 files changed, 90 insertions(+), 45 deletions(-)
9611 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
9612 Author: Simon Feltman <sfeltman@src.gnome.org>
9613 Date: Tue Oct 30 12:01:44 2012 -0700
9615 Fix IOChannel unittests for python 2.7
9617 Use __future__ unicode_literals to minimize difference
9618 between python 2.7 and 3. Comparisons need to encode arguments as
9619 'UTF-8' for testing readline operations.
9620 Add backwards compatible "next" to support the python 2.7 iteration.
9621 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
9622 support all python versions (and duck typing).
9624 https://bugzilla.gnome.org/show_bug.cgi?id=687047
9626 gi/overrides/GLib.py | 4 +++-
9627 tests/test_iochannel.py | 1 +
9628 2 files changed, 4 insertions(+), 1 deletion(-)
9630 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
9631 Author: Martin Pitt <martinpitt@gnome.org>
9632 Date: Mon Oct 29 23:00:31 2012 +0100
9634 Allow calling io_add_watch with a file object
9636 The old static bindings allowed that, so we need to allow it to
9638 backwards compatibility. Deprecate this mode as well, so that we
9642 https://bugzilla.gnome.org/show_bug.cgi?id=687047
9644 gi/overrides/GLib.py | 7 +++++++
9645 tests/test_glib.py | 26 ++++++++++++++++++++++++++
9646 2 files changed, 33 insertions(+)
9648 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
9649 Author: John Ralls <jralls@ceridwen.us>
9650 Date: Mon Oct 29 14:57:22 2012 -0700
9652 Fix duplicate symbols error on OSX
9654 gi/pygi-source.c | 1 +
9655 1 file changed, 1 insertion(+)
9657 commit 5a367aa067e369f2b1e713199614e3426fecc10e
9658 Author: Martin Pitt <martinpitt@gnome.org>
9659 Date: Sun Oct 28 17:42:34 2012 +0100
9661 Drop removed markup-escape-text() from reference documentation
9663 docs/reference/pyglib-functions.xml | 36
9664 ------------------------------------
9665 1 file changed, 36 deletions(-)
9667 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
9668 Author: Martin Pitt <martinpitt@gnome.org>
9669 Date: Sun Oct 28 17:41:03 2012 +0100
9671 Drop some dead code from gi/_glib/glibmodule.c
9673 gi/_glib/glibmodule.c | 45 ---------------------------------------------
9674 1 file changed, 45 deletions(-)
9676 commit 7b12803bce3418bb487127f497f022c973f35888
9677 Author: Martin Pitt <martinpitt@gnome.org>
9678 Date: Sun Oct 28 17:37:29 2012 +0100
9680 Remove static get_current_time() binding
9682 Use GLib.get_real_time() through GI instead. Deprecate the function,
9684 GLib.get_real_time() should be called directly.
9686 docs/reference/pyglib-functions.xml | 26 --------------------------
9687 gi/_glib/__init__.py | 1 -
9688 gi/_glib/glibmodule.c | 11 -----------
9689 gi/_glib/pyglib.c | 16 ----------------
9690 gi/_glib/pyglib.h | 1 -
9691 gi/_gobject/__init__.py | 1 -
9692 gi/overrides/GLib.py | 8 ++++++++
9693 gi/overrides/GObject.py | 2 +-
9694 tests/test_glib.py | 6 +++++-
9695 9 files changed, 14 insertions(+), 58 deletions(-)
9697 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
9698 Author: Martin Pitt <martinpitt@gnome.org>
9699 Date: Sun Oct 28 17:23:23 2012 +0100
9701 Add more tests for GLib.spawn_async()
9703 Check spawn_async() with getting stdin/out/err pipes and specifying
9706 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
9707 1 file changed, 29 insertions(+)
9709 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
9710 Author: Martin Pitt <martinpitt@gnome.org>
9711 Date: Sun Oct 28 14:15:05 2012 +0100
9713 Remove static child_add_watch() binding
9715 Use the GLib API through GI instead, and provide override to keep
9717 compatible API. Also allow using the actual GLib API, and deprecate
9719 static API of calling without a priority as first argument.
9721 docs/reference/pyglib-functions.xml | 61 ---------------------------
9722 gi/_glib/__init__.py | 1 -
9723 gi/_glib/glibmodule.c | 72 -------------------------------
9724 gi/_gobject/__init__.py | 1 -
9725 gi/overrides/GLib.py | 46 ++++++++++++++++++++
9726 gi/overrides/GObject.py | 2 +-
9727 tests/test_mainloop.py | 2 +-
9728 tests/test_subprocess.py | 84
9729 ++++++++++++++++++++++++++++++++++---
9730 8 files changed, 127 insertions(+), 142 deletions(-)
9732 commit 4b16427714b850e33c6020d8de1833bae19a3b87
9733 Author: Martin Pitt <martinpitt@gnome.org>
9734 Date: Sun Oct 28 13:44:23 2012 +0100
9736 test_subprocess: Cover more child_watch_add() cases
9738 Verify that priority is set correctly, and also test calling without
9741 tests/test_subprocess.py | 24 +++++++++++++++++++-----
9742 1 file changed, 19 insertions(+), 5 deletions(-)
9744 commit 83ff5938612d37d52f112867a472777dd6786d69
9745 Author: Colin Walters <walters@verbum.org>
9746 Date: Sat Oct 27 12:22:53 2012 -0400
9748 gi/__init__.py: Pacify pep8 style checker
9750 It was complaining about finding only 1 blank line. Regression
9751 likely introduced by f976d05b.
9753 https://bugzilla.gnome.org/show_bug.cgi?id=686991
9755 gi/__init__.py | 1 +
9756 1 file changed, 1 insertion(+)
9758 commit f976d05b04f26e733d19988e68989e340eb3a29e
9759 Author: Martin Pitt <martinpitt@gnome.org>
9760 Date: Fri Oct 26 10:39:28 2012 +0200
9762 Use a custom deprecation warning to make them visible by default
9764 DeprecationWarning is not shown by default, and is thus rather
9766 developers. Use a custom PyGIDeprecationWarning class and derive
9768 RuntimeWarning to make it visible.
9770 gi/__init__.py | 5 +++++
9771 gi/overrides/GLib.py | 5 +++--
9772 gi/overrides/Gtk.py | 5 +++--
9773 gi/overrides/__init__.py | 4 ++--
9774 gi/pygtkcompat.py | 4 ++--
9775 tests/Makefile.am | 2 +-
9776 tests/test_glib.py | 5 +++--
9777 tests/test_gobject.py | 3 ++-
9778 tests/test_iochannel.py | 5 +++--
9779 tests/test_source.py | 3 ++-
9780 10 files changed, 26 insertions(+), 15 deletions(-)
9782 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
9783 Author: Martin Pitt <martinpitt@gnome.org>
9784 Date: Fri Oct 26 09:26:17 2012 +0200
9786 Remove static io_add_watch() binding
9788 Use the GLib API through GI instead, and provide override to keep
9790 compatible API. Also allow using the actual GLib API, and deprecate
9793 - calling with an fd as first argument instead of an IOChannel
9794 - calling without a priority as second argument
9796 docs/reference/pyglib-functions.xml | 106
9797 ------------------------------------
9798 gi/_glib/__init__.py | 1 -
9799 gi/_glib/glibmodule.c | 98
9800 ---------------------------------
9801 gi/_gobject/__init__.py | 1 -
9802 gi/overrides/GLib.py | 51 ++++++++++++++---
9803 gi/overrides/GObject.py | 3 +-
9804 tests/test_glib.py | 15 ++++-
9805 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
9806 8 files changed, 126 insertions(+), 219 deletions(-)
9808 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
9809 Author: Martin Pitt <martinpitt@gnome.org>
9810 Date: Fri Oct 26 08:48:35 2012 +0200
9812 Add tests for GLib.io_add_watch()
9814 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
9815 1 file changed, 36 insertions(+)
9817 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
9818 Author: Martin Pitt <martinpitt@gnome.org>
9819 Date: Thu Oct 25 15:55:46 2012 +0200
9821 Remove static GIOChannel bindings
9823 Use the GLib API through GI instead, and provide overrides to keep
9825 compatible API, including its bugs.
9827 We still need to keep a static wrapper around
9828 g_io_channel_read_chars() until
9829 we teach PyGObject to correctly handle caller allocated out array
9832 https://bugzilla.gnome.org/show_bug.cgi?id=686795
9834 gi/_glib/Makefile.am | 2 -
9835 gi/_glib/__init__.py | 1 -
9836 gi/_glib/glibmodule.c | 2 -
9837 gi/_glib/pygiochannel.c | 748
9838 ------------------------------------------------
9839 gi/_glib/pygiochannel.h | 29 --
9840 gi/_gobject/__init__.py | 1 -
9841 gi/gimodule.c | 72 +++++
9842 gi/overrides/GLib.py | 95 +++++-
9843 8 files changed, 161 insertions(+), 789 deletions(-)
9845 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
9846 Author: Martin Pitt <martinpitt@gnome.org>
9847 Date: Thu Oct 25 12:59:46 2012 +0200
9849 test_iochannel.py: Fix data type of IOFlags
9851 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
9853 the result is of type GLib.IOFlags again.
9855 tests/test_iochannel.py | 2 +-
9856 1 file changed, 1 insertion(+), 1 deletion(-)
9858 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
9859 Author: Martin Pitt <martinpitt@gnome.org>
9860 Date: Thu Oct 25 08:24:31 2012 +0200
9862 Add environment variable to disable pep8 checks
9864 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
9866 makes the test/fix turnaround time faster.
9868 tests/Makefile.am | 6 ++++--
9869 1 file changed, 4 insertions(+), 2 deletions(-)
9871 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
9872 Author: Simon Feltman <sfeltman@src.gnome.org>
9873 Date: Wed Oct 24 04:31:26 2012 -0700
9875 [API add] Add get_introspection_module for getting un-overridden
9878 Add gi.module.get_introspection_module to explicitly get a
9879 wrapped module pulled in through introspection without static
9880 and python override handling. This API is intended for python
9881 overrides to use rather than having them access
9882 gi.importer.modules['<name>']._introspection_module directly.
9883 Replace aforementioned usage in all overrides.
9885 https://bugzilla.gnome.org/show_bug.cgi?id=686828
9888 +++++++++++++++++++++++++++++++++++---
9889 gi/overrides/GIMarshallingTests.py | 4 ++--
9890 gi/overrides/GLib.py | 4 ++--
9891 gi/overrides/Gdk.py | 6 +++---
9892 gi/overrides/Gio.py | 4 ++--
9893 gi/overrides/Gtk.py | 5 +++--
9894 gi/overrides/Pango.py | 4 ++--
9895 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
9896 8 files changed, 78 insertions(+), 16 deletions(-)
9898 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
9899 Author: Martin Pitt <martinpitt@gnome.org>
9900 Date: Wed Oct 24 15:16:13 2012 +0200
9902 test_option: Use public API
9904 Use GLib.option, not gi._glib.option.
9906 tests/test_option.py | 42 ++++++++++++++++++++----------------------
9907 1 file changed, 20 insertions(+), 22 deletions(-)
9909 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
9910 Author: Martin Pitt <martinpitt@gnome.org>
9911 Date: Wed Oct 24 14:12:05 2012 +0200
9913 Drop static SPAWN_* constants
9915 Use the introspected constants instead, which are identical. Add
9919 These constants are covered by tests/test_subprocess.py.
9921 https://bugzilla.gnome.org/show_bug.cgi?id=686765
9923 docs/reference/pyglib-constants.xml | 68
9924 ----------------------------------
9925 docs/reference/pyglib-functions.xml | 26 ++++++-------
9926 docs/reference/pygobject-constants.xml | 67
9927 ---------------------------------
9928 gi/_glib/__init__.py | 7 ----
9929 gi/_glib/glibmodule.c | 15 --------
9930 gi/_gobject/__init__.py | 7 ----
9931 gi/overrides/GLib.py | 6 +++
9932 gi/overrides/GObject.py | 6 ++-
9933 tests/test_subprocess.py | 6 ++-
9934 9 files changed, 29 insertions(+), 179 deletions(-)
9936 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
9937 Author: Martin Pitt <martinpitt@gnome.org>
9938 Date: Wed Oct 24 13:59:31 2012 +0200
9940 Drop static IO_* constants
9942 Use the introspected constants instead, which are identical. Add
9946 These constants are covered by tests/test_iochannel.py.
9948 docs/reference/pyglib-constants.xml | 52
9949 -------------------------------------
9950 gi/_glib/__init__.py | 19 --------------
9951 gi/_glib/glibmodule.c | 32 -----------------------
9952 gi/_gobject/__init__.py | 18 -------------
9953 gi/overrides/GLib.py | 18 ++++++++++++-
9954 gi/overrides/GObject.py | 8 +++++-
9955 tests/test_iochannel.py | 1 +
9956 tests/test_source.py | 2 +-
9957 8 files changed, 26 insertions(+), 124 deletions(-)
9959 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
9960 Author: Martin Pitt <martinpitt@gnome.org>
9961 Date: Wed Oct 24 12:50:50 2012 +0200
9963 Fix various bugs in GLib.IOChannel
9965 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
9967 NULL on the last element, instead of raising a StopIteration.
9969 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
9971 stream is being used in binary mode; in that case, we should not
9973 do any automagic conversion to an Unicode object. As this special
9975 inconsistent and has never worked anyway, and the current buggy
9976 implementation breaks binary streams, just drop it without
9978 (Introduced in commit de9eae4dfcce8)
9980 These bugs were uncovered by the previously committed tests.
9982 gi/_glib/pygiochannel.c | 25 +++++--------------------
9983 1 file changed, 5 insertions(+), 20 deletions(-)
9985 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
9986 Author: Martin Pitt <martinpitt@gnome.org>
9987 Date: Wed Oct 24 12:49:04 2012 +0200
9989 Add tests for GLib.IOChannel
9991 This did not have any code coverage at all. The tests uncover a
9993 which will be fixed in the next commit.
9995 tests/Makefile.am | 1 +
9996 tests/test_iochannel.py | 262
9997 ++++++++++++++++++++++++++++++++++++++++++++++++
9998 2 files changed, 263 insertions(+)
10000 commit 1b27432abf6004553e9476d5ffeb2bf603534419
10001 Author: Martin Pitt <martinpitt@gnome.org>
10002 Date: Wed Oct 24 08:50:37 2012 +0200
10004 Remove static idle_add/timeout_add bindings
10006 Use the GLib functions through GI instead. Add overrides to ensure
10008 arguments continue to work as before, and that callbacks are called
10010 userdata argument if it wasn't specified.
10012 docs/reference/pyglib-functions.xml | 165
10013 ------------------------------------
10014 gi/_glib/__init__.py | 3 -
10015 gi/_glib/glibmodule.c | 139 ------------------------------
10016 gi/_gobject/__init__.py | 3 -
10017 gi/overrides/GLib.py | 31 +++++++
10018 gi/overrides/GObject.py | 3 +-
10019 tests/test_source.py | 19 +++++
10020 7 files changed, 52 insertions(+), 311 deletions(-)
10022 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
10023 Author: Martin Pitt <martinpitt@gnome.org>
10024 Date: Wed Oct 24 09:14:57 2012 +0200
10026 Add tests for priority argument of idle_add/timeout_add
10028 There is a potential to treat the priority as user data in a call like
10029 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
10031 using a keyword argument for the priority (but silently ignore it
10033 specify both userdata and priority as a positional argument).
10035 Test the correct handling of priority as well.
10037 tests/test_source.py | 63
10038 ++++++++++++++++++++++++++++++++++++++++++++++++----
10039 1 file changed, 59 insertions(+), 4 deletions(-)
10041 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
10042 Author: Martin Pitt <martinpitt@gnome.org>
10043 Date: Wed Oct 24 08:40:50 2012 +0200
10045 Drop old ChangeLog.pre-2.18
10047 This is ancient by now, quite sizable, and the complete history can
10049 seen in the git log.
10051 ChangeLog.pre-2.18 | 3608
10052 ----------------------------------------------------
10054 2 files changed, 3609 deletions(-)
10056 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
10057 Author: Martin Pitt <martinpitt@gnome.org>
10058 Date: Wed Oct 24 08:39:05 2012 +0200
10060 Fix PEP-8 whitespace in previous commit
10062 tests/test_source.py | 4 ++++
10063 1 file changed, 4 insertions(+)
10065 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
10066 Author: Martin Pitt <martinpitt@gnome.org>
10067 Date: Wed Oct 24 08:33:49 2012 +0200
10069 Add tests for idle_add()/timeout_add with and without user data
10071 This is implicitly spread over various test cases, but let's test
10073 to ensure that the behaviour stays consistent when moving this to GI.
10075 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
10076 1 file changed, 35 insertions(+)
10078 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
10079 Author: Martin Pitt <martinpitt@gnome.org>
10080 Date: Wed Oct 24 08:05:43 2012 +0200
10082 tests: consitent naming style
10084 Stop mixing camel case and underline naming, use the latter
10088 tests/test_gobject.py | 64
10089 +++++++++++++++++++++++------------------------
10090 tests/test_interface.py | 4 +--
10091 tests/test_option.py | 14 +++++------
10092 tests/test_pygtkcompat.py | 32 ++++++++++++------------
10093 tests/test_signal.py | 10 ++++----
10094 tests/test_source.py | 23 ++++++++---------
10095 tests/test_subprocess.py | 2 +-
10096 tests/test_thread.py | 2 +-
10097 tests/test_unknown.py | 2 +-
10098 9 files changed, 76 insertions(+), 77 deletions(-)
10100 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
10101 Author: Martin Pitt <martinpitt@gnome.org>
10102 Date: Wed Oct 24 07:28:10 2012 +0200
10104 Work around wrong 64 bit constants in GLib Gir
10106 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
10108 set them in an override, until this gets fixed properly.
10110 https://bugzilla.gnome.org/show_bug.cgi?id=685022
10112 gi/overrides/GLib.py | 8 ++++++++
10113 tests/test_gi.py | 9 +++++++++
10114 2 files changed, 17 insertions(+)
10116 commit f30efd2619911c89ca873fac6bec06a1b60fab82
10117 Author: Martin Pitt <martinpitt@gnome.org>
10118 Date: Tue Oct 23 13:32:14 2012 +0200
10120 Mark GLib.Source.get_current_time() as deprecated
10122 This method has been deprecated in GLib long ago. We have a workaround
10123 implementation using GLib.get_real_time(), but eventually this should
10126 gi/overrides/GLib.py | 5 ++++-
10127 tests/test_source.py | 8 +++++++-
10128 2 files changed, 11 insertions(+), 2 deletions(-)
10130 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
10131 Author: Martin Pitt <martinpitt@gnome.org>
10132 Date: Tue Oct 23 08:56:19 2012 +0200
10134 Mark GLib API that is exposed in GObject as deprecated
10136 A lot of API in GObject really belongs into GLib and is just there for
10137 historical/backwards compatible reasons. Mark these methods as
10139 that at some point we can drop them.
10141 gi/overrides/GObject.py | 3 ++-
10142 gi/overrides/__init__.py | 13 +++++++++++++
10143 tests/test_gobject.py | 24 ++++++++++++++----------
10144 3 files changed, 29 insertions(+), 11 deletions(-)
10146 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
10147 Author: Martin Pitt <martinpitt@gnome.org>
10148 Date: Fri Oct 19 09:55:05 2012 +0200
10150 Remove static MainLoop, MainContext, and some GSource bindings
10152 glib's MainLoop and MainContext are fully introspectable these days,
10154 our static bindings. This reduces our code, as well enables GLib
10156 hasn't been available through the static bindings before.
10158 This also requires dropping our custom static types for GLib Source,
10160 and Idle. The latter two work fine with introspection and just
10162 overrides for a backwards compatible API. g_source_new() is not
10164 though, so we need to keep our static wrappers for that. Move
10166 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
10169 Note that gi/_glib/pygsource.[hc] is still required for the static
10171 which is used by the static IOChannel binding. Once the latter
10173 PollFD can be dropped as well.
10175 https://bugzilla.gnome.org/show_bug.cgi?id=686443
10177 docs/Makefile.am | 6 +-
10178 docs/reference/pyglib-classes.xml | 2 -
10179 docs/reference/pyglib-constants.xml | 53 ---
10180 docs/reference/pyglib-functions.xml | 58 ---
10181 docs/reference/pyglib-maincontext.xml | 152 --------
10182 docs/reference/pyglib-mainloop.xml | 202 -----------
10183 gi/Makefile.am | 2 +
10184 gi/_glib/Makefile.am | 4 -
10185 gi/_glib/__init__.py | 12 -
10186 gi/_glib/glibmodule.c | 45 +--
10187 gi/_glib/pyglib.c | 15 -
10188 gi/_glib/pyglib.h | 1 -
10189 gi/_glib/pygmaincontext.c | 126 -------
10190 gi/_glib/pygmaincontext.h | 40 ---
10191 gi/_glib/pygmainloop.c | 362 -------------------
10192 gi/_glib/pygmainloop.h | 36 --
10193 gi/_glib/pygsource.c | 640
10194 ----------------------------------
10195 gi/_glib/pygsource.h | 3 -
10196 gi/_gobject/__init__.py | 13 -
10197 gi/gimodule.c | 9 +
10198 gi/overrides/GLib.py | 116 +++++-
10199 gi/overrides/GObject.py | 10 +-
10200 gi/pygi-private.h | 1 +
10201 gi/pygi-source.c | 247 +++++++++++++
10202 gi/pygi-source.h | 31 ++
10203 tests/test_glib.py | 22 +-
10204 tests/test_gobject.py | 2 +
10205 tests/test_source.py | 3 -
10206 28 files changed, 437 insertions(+), 1776 deletions(-)
10208 commit 326218a20681c1f2234a6eea1ed800382be57626
10209 Author: Simon Feltman <s.feltman@gmail.com>
10210 Date: Wed Sep 19 15:37:14 2012 -0700
10212 Deprecate void pointer fields as general PyObject storage.
10214 Complete deprecation of gpointer struct fields as general
10215 PyObject storage. Only int types are now allowed.
10216 Assignment of anything other than an int or None raises
10217 a TypeError stating the error and associated bug URL.
10219 https://bugzilla.gnome.org/show_bug.cgi?id=683599
10221 gi/pygi-argument.c | 25 ++++++++++++++++-----
10222 gi/pygi-info.c | 28 ++++--------------------
10223 tests/test_everything.py | 53
10224 +++++++++++++++++++++++++--------------------
10225 tests/test_overrides_gtk.py | 41 -----------------------------------
10226 4 files changed, 54 insertions(+), 93 deletions(-)
10228 commit 3dba328010a4ffd9259700ffec95871c7341d491
10229 Author: Martin Pitt <martinpitt@gnome.org>
10230 Date: Tue Oct 23 11:59:08 2012 +0200
10232 Add some MainLoop, MainContext, and Source test cases
10234 These cover the remaining static API and behaviour, so that we
10236 regression tests for converting them to GI.
10238 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
10240 tests/test_glib.py | 21 +++++++++++++++++++++
10241 tests/test_gobject.py | 11 +++++++++++
10242 tests/test_mainloop.py | 16 ++++++++++++++++
10243 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
10244 4 files changed, 92 insertions(+)
10246 commit 7635340271df0a135873459e6a2a365fd4b187a2
10247 Author: Steve Frécinaux <code@istique.net>
10248 Date: Wed Feb 9 18:37:33 2011 +0100
10250 [API change] Do not bind gobject_get_data() and gobject_set_data()
10252 They will basically cause a crash if misused, and you can always use a
10253 python member attribute instead.
10255 These methods were marked as deprecated for 3.4 and throwing a
10257 let's remove them for good now.
10259 https://bugzilla.gnome.org/show_bug.cgi?id=641944
10261 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10263 docs/reference/pygobject.xml | 63
10264 --------------------------------------------
10265 gi/_gobject/pygobject.c | 44 -------------------------------
10266 2 files changed, 107 deletions(-)
10268 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
10269 Author: Martin Pitt <martinpitt@gnome.org>
10270 Date: Tue Oct 23 08:17:40 2012 +0200
10272 Add test for GLib.get_current_time()
10274 This adds a plausibility test, as well as ensuring the documented
10276 This will be useful if/once we drop the static _glib binding.
10278 tests/test_glib.py | 5 +++++
10279 1 file changed, 5 insertions(+)
10281 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
10282 Author: Martin Pitt <martinpitt@gnome.org>
10283 Date: Tue Oct 23 07:48:52 2012 +0200
10285 Drop unnecessary static _glib bindings
10287 Drop static pyglib bindings which have straightforward and working
10289 bindings. Add tests for all dropped functions to ensure they keep
10292 docs/reference/pyglib-constants.xml | 59 -------
10293 docs/reference/pyglib-functions.xml | 270 ------------------------------
10294 gi/_glib/__init__.py | 24 ---
10295 gi/_glib/glibmodule.c | 319
10296 ------------------------------------
10297 gi/_gobject/__init__.py | 9 -
10298 gi/overrides/GLib.py | 16 ++
10299 gi/overrides/GObject.py | 32 ++++
10300 gi/overrides/Makefile.am | 1 +
10301 tests/Makefile.am | 1 -
10302 tests/test_glib.py | 46 ++++++
10303 tests/test_gobject.py | 4 +
10304 tests/test_uris.py | 16 --
10305 12 files changed, 99 insertions(+), 698 deletions(-)
10307 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
10308 Author: Martin Pitt <martinpitt@gnome.org>
10309 Date: Tue Oct 23 06:12:08 2012 +0200
10311 Fix OverflowError in source_remove()
10313 GSource IDs are unsigned, so we must use 'I' for parsing then, not
10316 https://bugzilla.gnome.org/show_bug.cgi?id=684526
10318 gi/_glib/glibmodule.c | 2 +-
10319 tests/test_source.py | 13 ++++++++++++-
10320 2 files changed, 13 insertions(+), 2 deletions(-)
10322 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
10323 Author: Martin Pitt <martinpitt@gnome.org>
10324 Date: Mon Oct 22 13:38:23 2012 +0200
10326 Fix TestSource.testSources() test case
10328 PyGObject has established the assumption that the destruction of
10330 Python object does not destroy the actual GSource, as shown in
10331 TestSource.setup_timeout(), TestTimeout.test504337(), and
10332 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
10334 So we need to explicitly destroy our MySource and Idle objects
10336 them, as their callbacks always return True and we do not want them
10338 over into other tests.
10340 Also fix the assertions to actually verify that MySources' callback
10342 (pos > 0, not pos >= 0), and use the unittest comparison API instead
10344 simple assert statement.
10346 https://bugzilla.gnome.org/show_bug.cgi?id=686627
10348 tests/test_source.py | 8 +++++++-
10349 1 file changed, 7 insertions(+), 1 deletion(-)
10351 commit b984a5fe0d065818a153f259db4dbde79534f084
10352 Author: Martin Pitt <martinpitt@gnome.org>
10353 Date: Mon Oct 22 17:38:56 2012 +0200
10355 configure.ac: post-release bump to 3.7.2
10357 configure.ac | 2 +-
10358 1 file changed, 1 insertion(+), 1 deletion(-)
10360 commit ce0825f58c3eba6084143e430605ffb597622369
10361 Author: Martin Pitt <martinpitt@gnome.org>
10362 Date: Mon Oct 22 17:37:17 2012 +0200
10366 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
10367 1 file changed, 42 insertions(+)
10369 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
10370 Author: Martin Pitt <martinpitt@gnome.org>
10371 Date: Mon Oct 22 17:33:12 2012 +0200
10373 Bump version to 3.7.1
10375 Let's follow the real GNOME versioning from now on.
10377 configure.ac | 2 +-
10378 1 file changed, 1 insertion(+), 1 deletion(-)
10380 commit 3fb13cc05a281970c3a624c2dd152996031b482c
10381 Author: Martin Pitt <martinpitt@gnome.org>
10382 Date: Mon Oct 22 11:36:49 2012 +0200
10384 test_mainloop code cleanup
10386 Ensure that sys.excepthook is always restored, even if the test
10388 assert{True,False,Equal} unittest API instead of simple asserts for
10392 tests/test_mainloop.py | 19 ++++++++++---------
10393 1 file changed, 10 insertions(+), 9 deletions(-)
10395 commit 31061f20083aa60919f6763a12addbf2b052cab7
10396 Author: Simon Feltman <sfeltman@src.gnome.org>
10397 Date: Sun Oct 21 18:55:24 2012 -0700
10399 Change install_properties to not use getattr on classes
10401 The usage of getattr for accessing a classes __gproperties__
10402 variable can be problematic due to the potential of it returning
10403 the parent classes variable when it does not exist on the sub-class.
10404 Similar to the fix for
10405 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
10406 cls.__dict__.get is used to ensure this does not happen.
10408 https://bugzilla.gnome.org/show_bug.cgi?id=686559
10410 gi/_gobject/propertyhelper.py | 2 +-
10411 tests/test_properties.py | 6 ++++--
10412 2 files changed, 5 insertions(+), 3 deletions(-)
10414 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
10415 Author: Simon Feltman <sfeltman@src.gnome.org>
10416 Date: Sat Oct 20 19:56:04 2012 -0700
10418 Move property install function into propertyhelper.py
10420 Move _install_properties() into gi/_gobject/propertyhelper.py
10423 https://bugzilla.gnome.org/show_bug.cgi?id=686559
10425 gi/_gobject/__init__.py | 45 +++----------------------------
10426 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
10427 tests/test_properties.py | 63
10428 +++++++++++++++++++++++++++++++++++++++++++
10429 3 files changed, 111 insertions(+), 42 deletions(-)
10431 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
10432 Author: Simon Feltman <s.feltman@gmail.com>
10433 Date: Sat Oct 20 03:11:07 2012 -0700
10435 Fix Signal decorator to not use base class gsignals dict
10437 Fix install_signals to not use the parent classes __gsignals__
10438 dict if one does not exist on the given class.
10440 https://bugzilla.gnome.org/show_bug.cgi?id=686496
10442 gi/_gobject/signalhelper.py | 2 +-
10443 tests/test_signal.py | 43
10444 +++++++++++++++++++++++++++++++++++++++++++
10445 2 files changed, 44 insertions(+), 1 deletion(-)
10447 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
10448 Author: Martin Pitt <martinpitt@gnome.org>
10449 Date: Fri Oct 19 09:05:01 2012 +0200
10451 tests: Consistently use GLib.MainLoop
10453 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
10455 tests/test_everything.py | 4 ++--
10456 tests/test_gdbus.py | 11 +++++------
10457 2 files changed, 7 insertions(+), 8 deletions(-)
10459 commit ff7e7401b4cf50532fef70263f7559ea513b8333
10460 Author: Kalev Lember <kalevlember@gmail.com>
10461 Date: Wed Oct 17 18:27:14 2012 +0200
10463 Install the .egg-info files into correct multilib directory
10465 This makes sure the .egg-info files end up in the same python
10467 directory as the rest of the gi .py files.
10469 https://bugzilla.gnome.org/show_bug.cgi?id=686315
10471 Makefile.am | 6 +++---
10472 1 file changed, 3 insertions(+), 3 deletions(-)
10474 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
10475 Author: Simon Feltman <s.feltman@gmail.com>
10476 Date: Mon Oct 15 04:03:50 2012 -0700
10478 Fix leaked vfunc return values
10480 Simple fix to dec ref returned values from closures wrapping
10483 https://bugzilla.gnome.org/show_bug.cgi?id=686140
10485 gi/pygi-closure.c | 1 +
10486 tests/test_gi.py | 21 +++++++++++++++++++--
10487 2 files changed, 20 insertions(+), 2 deletions(-)
10489 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
10490 Author: Martin Pitt <martinpitt@gnome.org>
10491 Date: Mon Oct 15 07:42:05 2012 +0200
10493 Skip Regress tests with --disable-cairo
10495 We need cairo to build g-i's Regress library, gir, and typelib. Update
10496 configure.ac to only require cairo if --disable-cairo was not
10498 --disable-cairo, skip building the Regress library and skip all
10502 https://bugzilla.gnome.org/show_bug.cgi?id=685094
10504 configure.ac | 5 ++---
10505 tests/Makefile.am | 45
10506 +++++++++++++++++++++++++++------------------
10507 tests/test_everything.py | 15 +++++++++++----
10508 tests/test_overrides.py | 7 ++++++-
10509 4 files changed, 46 insertions(+), 26 deletions(-)
10511 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
10512 Author: Martin Pitt <martinpitt@gnome.org>
10513 Date: Fri Oct 12 11:05:24 2012 +0200
10515 _pygi_marshal_from_py_uint64: Re-fix check of negative values
10517 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
10521 https://bugzilla.gnome.org/show_bug.cgi?id=685000
10523 gi/pygi-marshal-from-py.c | 6 +++---
10524 1 file changed, 3 insertions(+), 3 deletions(-)
10526 commit 22c22124b787ae67638aff89796d7ce14900ea8e
10527 Author: Simon Feltman <s.feltman@gmail.com>
10528 Date: Mon Oct 8 05:54:30 2012 -0700
10530 Fix leak with python callables as closure argument.
10532 The fix adds an extra args_data list to the PyGIInvokeState
10533 structure. This list is used to track dynamically generated
10534 closures that wrap python callables. This allows the ffi closure
10535 and python callable to be freed when call scope has finished.
10537 https://bugzilla.gnome.org/show_bug.cgi?id=685598
10539 gi/pygi-cache.c | 1 +
10540 gi/pygi-closure.c | 41 +++++++++----
10541 gi/pygi-invoke-state-struct.h | 4 ++
10542 gi/pygi-invoke.c | 7 +++
10543 gi/pygi-marshal-cleanup.c | 14 +++++
10544 gi/pygi-marshal-cleanup.h | 4 ++
10545 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
10546 tests/test_everything.py | 137
10547 +++++++++++++++++++++++++++++++-----------
10548 8 files changed, 206 insertions(+), 59 deletions(-)
10550 commit c0bc69906df2db64560f7c054277ad1956aab57f
10551 Author: Martin Pitt <martinpitt@gnome.org>
10552 Date: Thu Oct 11 17:49:30 2012 +0200
10554 Gio overrides: Handle setting GSettings enum keys
10556 https://bugzilla.gnome.org/show_bug.cgi?id=685947
10558 gi/overrides/Gio.py | 9 ++++++++-
10559 tests/test_overrides_gio.py | 3 +++
10560 2 files changed, 11 insertions(+), 1 deletion(-)
10562 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
10563 Author: Martin Pitt <martinpitt@gnome.org>
10564 Date: Thu Oct 11 17:20:38 2012 +0200
10566 tests: Check reading GSettings enums in Gio overrides
10568 Also split test_override() into several smaller test cases.
10570 tests/org.gnome.test.gschema.xml | 9 +++++++++
10571 tests/test_overrides_gio.py | 14 +++++++++-----
10572 2 files changed, 18 insertions(+), 5 deletions(-)
10574 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
10575 Author: Martin Pitt <martinpitt@gnome.org>
10576 Date: Thu Oct 11 16:08:11 2012 +0200
10578 Fix unsigned values in GArray/GList/GSList/GHash
10580 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
10582 https://bugzilla.gnome.org/show_bug.cgi?id=685860
10584 gi/pygi-argument.c | 9 +++++++++
10585 tests/test_gi.py | 12 ++++++++++++
10586 2 files changed, 21 insertions(+)
10588 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
10589 Author: Colin Walters <walters@verbum.org>
10590 Date: Thu Oct 4 20:13:55 2012 -0400
10592 build: Fix srcdir != builddir
10595 1 file changed, 1 insertion(+), 1 deletion(-)
10597 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
10598 Author: Alban Browaeys <prahal@yahoo.com>
10599 Date: Thu Sep 27 22:44:22 2012 +0200
10601 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
10603 Casting an unsigned to signed and checking if positive was not
10605 unsigned 64 is below G_MAXUINT64 instead.
10607 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
10609 gi/pygi-marshal-from-py.c | 4 ++--
10610 1 file changed, 2 insertions(+), 2 deletions(-)
10612 commit f0870336b9fc7797895f206e0d3ef17a19efe253
10613 Author: Johan Dahlin <johan@gnome.org>
10614 Date: Tue Oct 2 05:30:16 2012 -0700
10616 Install an .egg-info file
10618 This will help easy_install and pip to figure out that PyGObject
10619 is already installed.
10621 https://bugzilla.gnome.org/show_bug.cgi?id=680138
10623 Makefile.am | 13 ++++++++-----
10624 1 file changed, 8 insertions(+), 5 deletions(-)
10626 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
10627 Author: Johan Dahlin <johan@gnome.org>
10628 Date: Thu Oct 4 09:42:41 2012 +0200
10630 PyGProps_getattro(): Fix GObjectClass leak
10632 https://bugzilla.gnome.org/show_bug.cgi?id=685218
10634 gi/_gobject/pygobject.c | 4 +++-
10635 1 file changed, 3 insertions(+), 1 deletion(-)
10637 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
10638 Author: Olivier Crête <olivier.crete@collabora.com>
10639 Date: Mon Sep 17 15:16:32 2012 -0400
10641 pygobject.c: Don't leak GObjectClass reference
10643 https://bugzilla.gnome.org/show_bug.cgi?id=684062
10645 gi/_gobject/pygobject.c | 6 +++++-
10646 1 file changed, 5 insertions(+), 1 deletion(-)
10648 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
10649 Author: Alban Browaeys <prahal@yahoo.com>
10650 Date: Sat Sep 29 01:17:14 2012 +0200
10652 Fix memory leak in _pygi_argument_to_array()
10654 Length arg and type info need to be unref'ed.
10656 https://bugzilla.gnome.org/show_bug.cgi?id=685082
10658 gi/pygi-argument.c | 3 +++
10659 1 file changed, 3 insertions(+)
10661 commit 34270a109d2af20391c80e88874ee7303eaf5c09
10662 Author: Martin Pitt <martinpitt@gnome.org>
10663 Date: Fri Sep 28 07:42:51 2012 +0200
10665 Fix error messages for out of range numbers
10667 PyErr_Format() does not understand %lli and %li, it needs to be %lld
10669 So we cannot use those and G_GINT64_FORMAT.
10671 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
10673 is a gint64 which can't possibly overflow its own data type. It
10675 an unprintable error message.
10677 https://bugzilla.gnome.org/show_bug.cgi?id=684314
10679 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
10680 1 file changed, 8 insertions(+), 13 deletions(-)
10682 commit 7f1422bf929976722edd6144beb0b4c96d74391b
10683 Author: Martin Pitt <martinpitt@gnome.org>
10684 Date: Fri Sep 28 06:59:38 2012 +0200
10686 Kill dbus-daemon after running tests
10688 dbus-launch does not kill the spawned dbus-daemon by itself (see
10689 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
10691 our tests. Take care to preserve the exit code.
10693 https://bugzilla.gnome.org/show_bug.cgi?id=685009
10695 tests/Makefile.am | 5 ++++-
10696 1 file changed, 4 insertions(+), 1 deletion(-)
10698 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
10699 Author: Martin Pitt <martinpitt@gnome.org>
10700 Date: Thu Sep 27 08:18:34 2012 +0200
10702 GVariant overrides: Support empty tuple arrays
10704 Implement the "empty value" branch in _create_tuple(), so that
10706 can call it for parsing the element type for an empty array.
10708 This fixes creating variants such as GLib.Variant('a(ii)', []).
10710 https://bugzilla.gnome.org/show_bug.cgi?id=684928
10712 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
10713 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
10714 2 files changed, 54 insertions(+), 7 deletions(-)
10716 commit 75d452ea5b179c3585adcf95356b4316c9180768
10717 Author: Martin Pitt <martinpitt@gnome.org>
10718 Date: Thu Sep 27 06:50:12 2012 +0200
10720 TestGVariant: Split creation test case into several smaller ones
10722 tests/test_overrides_glib.py | 20 ++++++--------------
10723 1 file changed, 6 insertions(+), 14 deletions(-)
10725 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
10726 Author: Martin Pitt <martinpitt@gnome.org>
10727 Date: Tue Sep 25 09:10:10 2012 +0200
10729 Fix unused variables and results
10731 This gets rid of all warnings except the deprecated symbol ones.
10733 gi/_glib/pygiochannel.c | 9 +++------
10734 gi/pygi-argument.c | 4 +---
10735 gi/pygi-callbacks.c | 4 ----
10736 gi/pygi-ccallback.c | 1 -
10737 gi/pygi-repository.c | 3 +--
10738 5 files changed, 5 insertions(+), 16 deletions(-)
10740 commit 5285f14fee93d2729d4422c40a945adc2be69c14
10741 Author: Martin Pitt <martinpitt@gnome.org>
10742 Date: Tue Sep 25 08:56:20 2012 +0200
10744 tests: Fix wrong return type in test_int64_callback()
10746 https://bugzilla.gnome.org/show_bug.cgi?id=684700
10748 tests/testhelpermodule.c | 2 +-
10749 1 file changed, 1 insertion(+), 1 deletion(-)
10751 commit e14ebab6099d082466ec11ca21d44de0d6017216
10752 Author: Giovanni Campagna <gcampagna@src.gnome.org>
10753 Date: Wed Sep 19 00:10:57 2012 +0200
10755 Fix GValue marshalling of long and unsigned long
10757 long can be equivalent to int64 or int32, depending on the
10759 and GI conflates this distinction in the typelib, but GType does
10761 warns if the wrong accessor is used.
10763 https://bugzilla.gnome.org/show_bug.cgi?id=684331
10765 gi/pygi-argument.c | 25 +++++++++++++++++++++----
10766 1 file changed, 21 insertions(+), 4 deletions(-)
10768 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
10769 Author: Simon Feltman <s.feltman@gmail.com>
10770 Date: Wed Sep 19 19:07:00 2012 -0700
10772 Clean up deprecation message for assigning gpointers to objects.
10774 The previous deprecation message was worded as if the deprecation
10775 had already occurred and it has not.
10777 https://bugzilla.gnome.org/show_bug.cgi?id=683599
10779 gi/pygi-info.c | 4 ++--
10780 1 file changed, 2 insertions(+), 2 deletions(-)
10782 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
10783 Author: Olivier Crête <olivier.crete@collabora.com>
10784 Date: Tue Sep 18 08:52:02 2012 +0200
10786 pygi-property: Lookup property in base classes of non-introspected
10789 Look for introspection data in the base classes of non-introspected
10791 This is necessary to look up introspection data for plugins.
10793 https://bugzilla.gnome.org/show_bug.cgi?id=684058
10795 gi/pygi-property.c | 28 ++++++++++++++--------------
10796 tests/test_everything.py | 12 ++++++++++++
10797 2 files changed, 26 insertions(+), 14 deletions(-)
10799 commit 7aa94cc861082147b9c382b930f3257f0a842c84
10800 Author: Martin Pitt <martinpitt@gnome.org>
10801 Date: Mon Sep 24 09:41:10 2012 +0200
10803 post-release bump to 3.4.1
10805 configure.ac | 2 +-
10806 1 file changed, 1 insertion(+), 1 deletion(-)
10808 commit fcceed3adb8d78baba68861a1408627321b2c1ef
10809 Author: Martin Pitt <martinpitt@gnome.org>
10810 Date: Mon Sep 24 09:35:33 2012 +0200
10815 configure.ac | 4 ++--
10816 2 files changed, 5 insertions(+), 2 deletions(-)
10818 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
10819 Author: Martin Pitt <martinpitt@gnome.org>
10820 Date: Mon Sep 24 09:27:47 2012 +0200
10822 Bump g-i dependency to 1.33.14
10824 To ensure we have all the Regress test APIs that we use.
10826 configure.ac | 2 +-
10827 1 file changed, 1 insertion(+), 1 deletion(-)
10829 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
10830 Author: Martin Pitt <martinpitt@gnome.org>
10831 Date: Mon Sep 17 22:52:49 2012 +0200
10833 post-release bump to 3.3.93
10835 configure.ac | 2 +-
10836 1 file changed, 1 insertion(+), 1 deletion(-)
10838 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
10839 Author: Martin Pitt <martinpitt@gnome.org>
10840 Date: Mon Sep 17 22:48:13 2012 +0200
10844 NEWS | 12 ++++++++++++
10845 1 file changed, 12 insertions(+)
10847 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
10848 Author: Martin Pitt <martinpitt@gnome.org>
10849 Date: Mon Sep 17 22:32:55 2012 +0200
10851 release-news: Generate HTML changelog
10853 In addition to producing a NEWS paragraph from the changelog,
10855 changelog HTML which can be put into blog announcements.
10857 Update HACKING to point this out, too.
10860 Makefile.am | 22 ++++++++++++++++------
10861 2 files changed, 17 insertions(+), 7 deletions(-)
10863 commit be4a0682bdd189ee908ab1961001f759a80e133c
10864 Author: Simon Feltman <s.feltman@gmail.com>
10865 Date: Sun Sep 16 17:27:25 2012 -0700
10867 [API add] Add ObjectInfo.get_abstract method
10869 Adds exposure of g_object_info_get_abstract to python for
10870 helping with analysis of non-constructable objects from
10873 https://bugzilla.gnome.org/show_bug.cgi?id=675581
10875 gi/pygi-info.c | 8 ++++++++
10876 tests/test_gi.py | 12 ++++++++++++
10877 2 files changed, 20 insertions(+)
10879 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
10880 Author: Simon Feltman <s.feltman@gmail.com>
10881 Date: Thu Sep 13 20:53:22 2012 -0700
10883 Add deprecation warning when setting gpointers to anything other
10886 This is a first pass which does not change anything except add
10888 when anything other than an int is set on a gpointer on a boxed type.
10890 https://bugzilla.gnome.org/show_bug.cgi?id=683599
10892 gi/pygi-info.c | 8 ++++++++
10893 1 file changed, 8 insertions(+)
10895 commit a047f61f26d9c78b82d22948199313e5a389e918
10896 Author: Martin Pitt <martinpitt@gnome.org>
10897 Date: Mon Sep 17 09:41:24 2012 +0200
10899 test_properties: Test accessing a property from a superclass
10901 We already cover accessing the superclass' property if that was
10903 Python. Add a corresponding test case for a property defined in C.
10905 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
10907 tests/test_properties.py | 12 ++++++++++++
10908 1 file changed, 12 insertions(+)
10910 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
10911 Author: Martin Pitt <martinpitt@gnome.org>
10912 Date: Mon Sep 17 09:31:05 2012 +0200
10914 test_properties.py: Consistent test names
10916 Use underscore style method/test case names consistently. Also rename
10918 cases to better describe what they do.
10920 tests/test_properties.py | 78
10921 ++++++++++++++++++++++++------------------------
10922 1 file changed, 39 insertions(+), 39 deletions(-)
10924 commit 4069c3d8547f35437e0cee175a5912febe25326d
10925 Author: Martin Pitt <martinpitt@gnome.org>
10926 Date: Wed Sep 12 06:51:24 2012 +0200
10928 test_everything: Ensure TestSignals callback does get called
10930 tests/test_everything.py | 3 +++
10931 1 file changed, 3 insertions(+)
10933 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
10934 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
10935 Date: Fri Sep 7 17:17:09 2012 -0400
10937 argument: Fix 64bit integer convertion from GValue
10939 Trying to get a 64bit integer using the wrong getter was resulting
10941 assertion and 0 being returned.
10943 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
10945 https://bugzilla.gnome.org/show_bug.cgi?id=683596
10947 gi/pygi-argument.c | 8 ++++++--
10948 tests/test_everything.py | 52
10949 ++++++++++++++++++++++++++++++++++++++++++++++++
10950 2 files changed, 58 insertions(+), 2 deletions(-)
10952 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
10953 Author: Martin Pitt <martinpitt@gnome.org>
10954 Date: Tue Sep 11 12:32:10 2012 +0200
10956 Add Simon Feltman as a project maintainer
10958 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
10959 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
10961 pygobject.doap | 7 +++++++
10962 1 file changed, 7 insertions(+)
10964 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
10965 Author: Martin Pitt <martinpitt@gnome.org>
10966 Date: Tue Sep 11 10:17:50 2012 +0200
10968 test_signals.py: Drop global type variables
10970 Just use the real types and flags from GObject instead of redefining
10972 for them. They weren't used consistently, make the tests harder to
10974 really do not want global single-letter variables like "f" and "l".
10976 tests/test_signal.py | 38 ++++++++++++++++----------------------
10977 1 file changed, 16 insertions(+), 22 deletions(-)
10979 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
10980 Author: Martin Pitt <martinpitt@gnome.org>
10981 Date: Tue Sep 11 10:11:58 2012 +0200
10983 test_signals.py: Consistent test names
10985 Use underscore style method/test case names consistently.
10987 tests/test_signal.py | 88
10988 ++++++++++++++++++++++++++--------------------------
10989 1 file changed, 44 insertions(+), 44 deletions(-)
10991 commit 4559247553b792db956f69c9674c12344d719c82
10992 Author: Martin Pitt <martinpitt@gnome.org>
10993 Date: Tue Sep 11 09:43:14 2012 +0200
10995 Add test cases for GValue signal arguments
10997 These cover various types, (u)int(64) and string.
10999 Keep the test case for implicit int64 GValues disabled, as this
11001 not work and it is not clear whether it should:
11002 https://bugzilla.gnome.org/show_bug.cgi?id=683775
11004 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
11005 tests/testhelpermodule.c | 17 +++++++++++++++++
11006 2 files changed, 58 insertions(+)
11008 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
11009 Author: Martin Pitt <martinpitt@gnome.org>
11010 Date: Tue Sep 11 09:31:18 2012 +0200
11012 Add test for GValue signal return values
11014 Another attempt to reproduce the reported error in
11015 https://bugzilla.gnome.org/show_bug.cgi?id=683596
11016 but this works already.
11018 tests/test_signal.py | 13 +++++++++++++
11019 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
11020 2 files changed, 49 insertions(+)
11022 commit 4f77c7798563ea436ff5b6306a987f03de50b211
11023 Author: Simon Feltman <s.feltman@gmail.com>
11024 Date: Fri Sep 7 02:32:15 2012 -0700
11026 Improve setting pointer fields/arguments to NULL using None
11028 Setting gi pointers will set them to the address of the python object.
11029 This is good except in the case of None which should be used to NULL
11030 the pointer out as a special case.
11032 Commit 21b1d17d2a already fixed this. This improved patch
11033 does that in a cleaner and safer way and adds more comments.
11035 https://bugzilla.gnome.org/show_bug.cgi?id=683150
11037 gi/pygi-argument.c | 8 +-------
11038 gi/pygi-info.c | 14 +++++++++++++-
11039 2 files changed, 14 insertions(+), 8 deletions(-)
11041 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
11042 Author: Martin Pitt <martinpitt@gnome.org>
11043 Date: Mon Sep 10 16:46:30 2012 +0200
11045 Test gint64 C signal arguments and return values
11047 tests/test_signal.py | 12 ++++++++++++
11048 tests/testhelpermodule.c | 14 ++++++++++++++
11049 2 files changed, 26 insertions(+)
11051 commit 822d9e07a95f706a40f64335765293542787da90
11052 Author: Martin Pitt <martinpitt@gnome.org>
11053 Date: Mon Sep 10 16:29:32 2012 +0200
11055 Test in/out int64 GValue method arguments.
11057 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
11059 tests/test_gi.py | 9 +++++++++
11060 1 file changed, 9 insertions(+)
11062 commit 2d83e52233812618493af4b165615e8741ba41c8
11063 Author: Martin Pitt <martinpitt@gnome.org>
11064 Date: Wed Sep 5 08:54:53 2012 +0200
11066 Bump g-i dependency to 1.33.10
11068 To ensure we have all the Regress test APIs that we use.
11070 configure.ac | 2 +-
11071 1 file changed, 1 insertion(+), 1 deletion(-)
11073 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
11074 Author: Thibault Saunier <thibault.saunier@collabora.com>
11075 Date: Wed Aug 8 12:57:41 2012 -0400
11077 Fix -uninstalled.pc.in file
11079 https://bugzilla.gnome.org/show_bug.cgi?id=683379
11081 pygobject-3.0-uninstalled.pc.in | 6 +++---
11082 1 file changed, 3 insertions(+), 3 deletions(-)
11084 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
11085 Author: Martin Pitt <martinpitt@gnome.org>
11086 Date: Mon Sep 3 22:16:47 2012 +0200
11088 post-release bump to 3.3.92
11090 configure.ac | 2 +-
11091 1 file changed, 1 insertion(+), 1 deletion(-)
11093 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
11094 Author: Martin Pitt <martinpitt@gnome.org>
11095 Date: Mon Sep 3 22:04:01 2012 +0200
11099 NEWS | 32 ++++++++++++++++++++++++++++++++
11100 1 file changed, 32 insertions(+)
11102 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
11103 Author: Martin Pitt <martinpitt@gnome.org>
11104 Date: Mon Sep 3 21:57:00 2012 +0200
11106 Fix exception test case for Python 2
11108 Regression from commit 77844c5 which did not work with Python 2.
11110 tests/test_everything.py | 12 +++++++-----
11111 1 file changed, 7 insertions(+), 5 deletions(-)
11113 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
11114 Author: Martin Pitt <martinpitt@gnome.org>
11115 Date: Mon Sep 3 21:16:01 2012 +0200
11117 Bump g-i dependency
11119 Require at least 1.33.9, as we got a couple of bug fixes there which
11121 and for some cases the code, depend on. We actually require 1.33.10
11123 tests to succeed, but that hasn't been released yet.
11125 configure.ac | 2 +-
11126 1 file changed, 1 insertion(+), 1 deletion(-)
11128 commit 77844c571ad0badc189428b93de9f2572051b67e
11129 Author: Martin Pitt <martinpitt@gnome.org>
11130 Date: Mon Sep 3 17:58:38 2012 +0200
11132 Show proper exception when trying to allocate a disguised struct
11134 Instead of a simple "MemoryError" with no details, raise a proper
11135 TypeError with a traceback and an explanation what happened.
11137 https://bugzilla.gnome.org/show_bug.cgi?id=639972
11139 gi/pygi-struct.c | 7 +++++++
11140 tests/test_everything.py | 13 +++++++++++++
11141 2 files changed, 20 insertions(+)
11143 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
11144 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
11145 Date: Mon Sep 3 16:47:22 2012 +0200
11147 Support marshalling GParamSpec signal arguments
11149 Fix marshalling GParamSpec arguments from C to Python.
11151 https://bugzilla.gnome.org/show_bug.cgi?id=683099
11153 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11155 gi/pygi-argument.c | 10 +++++++++-
11156 tests/test_signal.py | 14 ++++++++++++++
11157 2 files changed, 23 insertions(+), 1 deletion(-)
11159 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
11160 Author: Martin Pitt <martinpitt@gnome.org>
11161 Date: Mon Sep 3 16:06:49 2012 +0200
11163 Add test for a signal that returns a GParamSpec
11165 https://bugzilla.gnome.org/show_bug.cgi?id=683265
11167 tests/test_signal.py | 6 ++++++
11168 tests/testhelpermodule.c | 12 ++++++++++++
11169 2 files changed, 18 insertions(+)
11171 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
11172 Author: Simon Feltman <s.feltman@gmail.com>
11173 Date: Tue Mar 20 04:33:50 2012 -0700
11175 [API add] Add Signal class for adding and connecting custom signals.
11177 The Signal class provides easy creation of signals and removes the
11178 need for __gsignals__ in client code. The Signal class can also be
11179 used as a decorator for wrapping up the custom closure. As well as
11180 providing a "BoundSignal" when accessed on an instance for making
11181 connections without specifying a signal name string.
11182 Python3 annotations can also be used to supply closure argument and
11183 return types when Signal is used as a decorator. For example:
11185 class Eggs(GObject.GObject):
11187 def spam(self, count:int):
11190 https://bugzilla.gnome.org/show_bug.cgi?id=434924
11192 examples/signal.py | 34 ++++--
11193 gi/_gobject/Makefile.am | 3 +-
11194 gi/_gobject/__init__.py | 5 +
11195 gi/_gobject/signalhelper.py | 251
11196 ++++++++++++++++++++++++++++++++++++++++++++
11197 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
11198 5 files changed, 482 insertions(+), 19 deletions(-)
11200 commit 96fa22369fd188465559fc904c7f76e73040e6dd
11201 Author: Martin Pitt <martinpitt@gnome.org>
11202 Date: Mon Sep 3 15:32:12 2012 +0200
11204 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
11206 We have a proper implementation for insert_column_with_attributes()
11208 drop pygtkcompat's empty stub for it.
11210 Also improve test case for
11211 Gtk.TreeView.insert_column_with_attributes().
11213 gi/pygtkcompat.py | 6 ------
11214 tests/test_overrides_gtk.py | 16 ++++++++--------
11215 2 files changed, 8 insertions(+), 14 deletions(-)
11217 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
11218 Author: Marta Maria Casetti <mmcasetti@gmail.com>
11219 Date: Mon Sep 3 13:06:22 2012 +0200
11221 Add override for Gtk.TreeView.insert_column_with_attributes()
11223 https://bugzilla.gnome.org/show_bug.cgi?id=679415
11225 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11227 gi/overrides/Gtk.py | 7 +++++++
11228 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
11229 2 files changed, 45 insertions(+)
11231 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
11232 Author: Martin Pitt <martinpitt@gnome.org>
11233 Date: Mon Sep 3 11:09:55 2012 +0200
11235 .gitignore: Add missing built files
11237 .gitignore | 9 +++++++--
11238 1 file changed, 7 insertions(+), 2 deletions(-)
11240 commit 96431f393036a688666dcf67911bf12b9824b264
11241 Author: Martin Pitt <martinpitt@gnome.org>
11242 Date: Mon Sep 3 11:07:32 2012 +0200
11244 Ship tests/gi in tarball
11246 Spotted by distcheck.
11248 tests/Makefile.am | 6 +++++-
11249 1 file changed, 5 insertions(+), 1 deletion(-)
11251 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
11252 Author: Martin Pitt <martinpitt@gnome.org>
11253 Date: Mon Sep 3 10:18:45 2012 +0200
11255 Fix separate build tree and distcheck
11257 Fix regression from c7c95a79: We must set sys.path in runtests.py
11259 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
11261 prepends the directory of the source file to sys.path, but that
11263 source dir, not the build dir. The build dir has to take precedence,
11265 we fail to import the built libraries.
11267 tests/runtests-windows.py | 10 +++++++---
11268 tests/runtests.py | 13 ++++++++-----
11269 2 files changed, 15 insertions(+), 8 deletions(-)
11271 commit 2d8f48f4ff56bb75985136452b50b75895258608
11272 Author: Martin Pitt <martinpitt@gnome.org>
11273 Date: Mon Sep 3 07:57:01 2012 +0200
11275 Split test_overrides.py
11277 Split the huge test_overrides.py into separate files for gdk, gtk,
11279 and pango. Further split the monolithic classes for Gtk and Gio
11283 https://bugzilla.gnome.org/show_bug.cgi?id=683188
11285 tests/Makefile.am | 5 +
11286 tests/test_overrides.py | 2198
11287 +----------------------------------------
11288 tests/test_overrides_gdk.py | 119 +++
11289 tests/test_overrides_gio.py | 114 +++
11290 tests/test_overrides_glib.py | 445 +++++++++
11291 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
11292 tests/test_overrides_pango.py | 32 +
11293 7 files changed, 2234 insertions(+), 2196 deletions(-)
11295 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
11296 Author: Martin Pitt <martinpitt@gnome.org>
11297 Date: Mon Sep 3 07:17:57 2012 +0200
11299 _pygi_argument_to_object(): Clean up array unmarshalling
11301 The NULL case is already handled at the top, so it does not need to be
11304 Emit a critical if we fail to allocate a Python array of the
11307 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
11308 1 file changed, 16 insertions(+), 31 deletions(-)
11310 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
11311 Author: Alban Browaeys <prahal@yahoo.com>
11312 Date: Wed Aug 29 21:24:17 2012 +0200
11314 Fix memory leak in _pygi_argument_to_object()
11316 Avoid leaking the item_type_info when breaking out of the
11317 switch in _pygi_argument_to_object() for unmarshalling arrays.
11319 https://bugzilla.gnome.org/show_bug.cgi?id=682979
11321 gi/pygi-argument.c | 4 ++++
11322 1 file changed, 4 insertions(+)
11324 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
11325 Author: Simon Feltman <s.feltman@gmail.com>
11326 Date: Sat Sep 1 03:40:31 2012 -0700
11328 Fix setting pointer fields/arguments to NULL using None.
11330 Setting gi pointers will set them to the address of the python object.
11331 This is good except in the case of None which should be used to NULL
11332 the pointer out as a special case.
11334 https://bugzilla.gnome.org/show_bug.cgi?id=683150
11336 gi/pygi-argument.c | 8 +++++++-
11337 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
11338 2 files changed, 48 insertions(+), 1 deletion(-)
11340 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
11341 Author: Martin Pitt <martinpitt@gnome.org>
11342 Date: Thu Aug 23 06:44:27 2012 +0200
11344 Fix for python 2.6, drop support for < 2.6
11346 Replace sys.version_info.major access to tuple access which also
11350 When building for Python 2.6, inject some missing unittest API such as
11351 @unittest.skipUnless and assertGreaterEqual() into the unittest
11353 runtests.py, so that the tests have a chance to run.
11355 As building with Python 2.5 has been broken for a long time with
11357 complaining, and 2.5 is ancient, bump minimum Python requirement to
11359 obsolete #ifdef paths which only apply to <= 2.5.
11361 https://bugzilla.gnome.org/show_bug.cgi?id=682422
11363 configure.ac | 2 +-
11364 gi/_glib/pyglib-python-compat.h | 8 --------
11365 gi/_gobject/gobjectmodule.c | 8 --------
11366 gi/module.py | 2 +-
11367 tests/runtests.py | 27 +++++++++++++++++++++++++++
11368 tests/test_gi.py | 2 +-
11369 6 files changed, 30 insertions(+), 19 deletions(-)
11371 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
11372 Author: Thibault Saunier <thibault.saunier@collabora.com>
11373 Date: Tue Aug 21 07:54:09 2012 +0200
11375 Allow overrides in other directories than gi itself
11377 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
11378 libraries can install overrides in a path that is different from
11380 pygobject installs itself into. These overrides need to put this
11382 __init__.py at the top:
11384 from pkgutil import extend_path
11385 __path__ = extend_path(__path__, __name__)
11387 and put themselves somewhere into the default PYTHONPATH.
11389 https://bugzilla.gnome.org/show_bug.cgi?id=680913
11391 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11392 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
11394 gi/__init__.py | 4 ++++
11395 gi/overrides/__init__.py | 4 ++++
11396 tests/gi/__init__.py | 2 ++
11397 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
11398 tests/gi/overrides/__init__.py | 2 ++
11399 tests/test_overrides.py | 6 ++++++
11400 6 files changed, 44 insertions(+)
11402 commit c7c95a795eee499373499ea5b771447746317bfb
11403 Author: Simon Feltman <s.feltman@gmail.com>
11404 Date: Thu Aug 23 06:03:09 2012 +0200
11406 Clean up sys.path handling in tests
11408 Only set sys.path once in runtests.py, not in the individual test
11410 reduces hidden dependencies between tests by building up a run
11412 search path, and also makes it easier in the future to run the
11414 the installed system libraries.
11416 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
11418 tests/runtests-windows.py | 6 +++++-
11419 tests/runtests.py | 3 +++
11420 tests/test_everything.py | 1 -
11421 tests/test_gdbus.py | 3 ---
11422 tests/test_overrides.py | 3 ---
11423 tests/test_pygtkcompat.py | 3 ---
11424 6 files changed, 8 insertions(+), 11 deletions(-)
11426 commit 3e3525e93d852cde0f63e835b774a9b004773c69
11427 Author: Simon Feltman <s.feltman@gmail.com>
11428 Date: Sun Aug 19 02:30:39 2012 -0700
11430 Fix dynamic creation of enum and flag gi types for Python 3.3
11432 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
11433 subclasses due to what looks to be an unsupported technique. Change
11434 tp_new() method for classes dynamically derived from PyGEnum_Type and
11435 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
11437 __new__() as a python method. This technique seems to work with all
11438 versions of python so the previous python version checking also became
11441 https://bugzilla.gnome.org/show_bug.cgi?id=682323
11443 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
11444 gi/_gobject/pygflags.c | 21 +++++++++------------
11445 2 files changed, 25 insertions(+), 25 deletions(-)
11447 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
11448 Author: Paolo Borelli <pborelli@gnome.org>
11449 Date: Wed Aug 22 10:45:39 2012 +0200
11451 [API add] Override g_menu_item_set_attribute
11453 This C utility API take a vararg, add a corresponding override that
11454 takes a list of tuples
11456 https://bugzilla.gnome.org/show_bug.cgi?id=682436
11458 gi/overrides/Gio.py | 10 ++++++++++
11459 tests/test_overrides.py | 11 +++++++++++
11460 2 files changed, 21 insertions(+)
11462 commit 836902801373e386d370c44e7487aac3432f19f6
11463 Author: Martin Pitt <martinpitt@gnome.org>
11464 Date: Mon Aug 20 23:37:40 2012 +0200
11466 post-release bump to 3.3.91
11468 configure.ac | 2 +-
11469 1 file changed, 1 insertion(+), 1 deletion(-)
11471 commit 6a629e23ff7b0d6f532184017577c7427d577e28
11472 Author: Martin Pitt <martinpitt@gnome.org>
11473 Date: Mon Aug 20 23:05:49 2012 +0200
11477 NEWS | 13 +++++++++++++
11478 configure.ac | 2 +-
11479 2 files changed, 14 insertions(+), 1 deletion(-)
11481 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
11482 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
11483 Date: Mon Aug 20 22:54:52 2012 +0200
11485 Implement marshalling for GParamSpec
11487 https://bugzilla.gnome.org/show_bug.cgi?id=681565
11489 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
11491 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
11492 tests/test_gi.py | 14 ++++++++++++++
11493 2 files changed, 26 insertions(+), 4 deletions(-)
11495 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
11496 Author: Martin Pitt <martinpitt@gnome.org>
11497 Date: Mon Aug 20 15:24:10 2012 +0200
11499 Fix pep8/pyflakes invocation
11501 Fix regression from commit 1e056e4f4a: Do fail the tests if
11505 tests/Makefile.am | 4 ++--
11506 1 file changed, 2 insertions(+), 2 deletions(-)
11508 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
11509 Author: Simon Feltman <s.feltman@gmail.com>
11510 Date: Thu Aug 16 16:05:52 2012 -0700
11512 Fix erronous import statements for Python 3.3
11514 Update pygobject-external.h to use GType (which is what GTypeWrapper
11516 exposed as) instead of GTypeWrapper when attempting import.
11518 Catch ImportError around attempted imports of a typelibs override file
11519 which don't always exist (GObject...). This is a behavioural change in
11520 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
11523 https://bugzilla.gnome.org/show_bug.cgi?id=682051
11525 gi/module.py | 7 +++++--
11526 gi/pygobject-external.h | 2 +-
11527 2 files changed, 6 insertions(+), 3 deletions(-)
11529 commit 1e056e4f4a19fd1139187467677c2592c2722290
11530 Author: Martin Pitt <martinpitt@gnome.org>
11531 Date: Mon Aug 20 11:52:08 2012 +0200
11533 Do not fail tests if pyflakes or pep8 are not installed
11535 These tools might not be desirable in restricted build environments or
11536 backports, and e. g. Fedora patches those out. So let the tests
11540 tests/Makefile.am | 4 ++--
11541 1 file changed, 2 insertions(+), 2 deletions(-)
11543 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
11544 Author: Martin Pitt <martinpitt@gnome.org>
11545 Date: Mon Aug 20 11:42:47 2012 +0200
11547 gtk-demo: Fix some PEP-8 whitespace issues
11549 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
11550 demos/gtk-demo/demos/dialogs.py | 2 +-
11551 demos/gtk-demo/demos/rotatedtext.py | 3 +--
11552 3 files changed, 3 insertions(+), 5 deletions(-)
11554 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
11555 Author: Martin Pitt <martinpitt@gnome.org>
11556 Date: Mon Aug 20 11:38:50 2012 +0200
11558 test_overrides.py: Fix PEP8 whitespacing
11560 tests/test_overrides.py | 48
11561 +++++++++++++++++++++++++-----------------------
11562 1 file changed, 25 insertions(+), 23 deletions(-)
11564 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
11565 Author: Martin Pitt <martinpitt@gnome.org>
11566 Date: Mon Aug 20 11:36:19 2012 +0200
11568 Ignore E124 pep8 error
11570 This is "closing bracket does not match visual indentation" which
11572 stupid. We do want the closing bracket at the same indentation level
11574 opening bracket, not the indentation level of the whole statement.
11576 tests/Makefile.am | 2 +-
11577 1 file changed, 1 insertion(+), 1 deletion(-)
11579 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
11580 Author: David Malcolm <dmalcolm@redhat.com>
11581 Date: Mon Aug 20 11:27:52 2012 +0200
11583 Fix unmarshalling of gssize
11585 Do not assume that the v_int union member always corresponds to a
11587 is not true on big-endian 64 bit machines like ppc64, so add a new
11588 gi_argument_to_gssize() and use it properly.
11590 https://bugzilla.gnome.org/show_bug.cgi?id=680693
11591 https://bugzilla.redhat.com/show_bug.cgi?id=842880
11593 gi/pygi-argument.c | 53
11594 +++++++++++++++++++++++++++++++++++++++++++++---
11595 gi/pygi-argument.h | 1 +
11596 gi/pygi-closure.c | 2 +-
11597 gi/pygi-info.c | 4 ++--
11598 gi/pygi-signal-closure.c | 2 +-
11599 5 files changed, 55 insertions(+), 7 deletions(-)
11601 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
11602 Author: David Malcolm <dmalcolm@redhat.com>
11603 Date: Mon Aug 20 11:19:27 2012 +0200
11605 Fix various endianess errors
11607 Fix code which assumed little endian behaviour when mixing different
11609 ints, putting ints into pointers, etc.
11611 https://bugzilla.gnome.org/show_bug.cgi?id=680692
11612 https://bugzilla.redhat.com/show_bug.cgi?id=841596
11614 gi/pygi-argument.c | 64 +++++++++++++--
11615 gi/pygi-argument.h | 6 ++
11616 gi/pygi-cache.c | 2 +
11617 gi/pygi-closure.c | 57 ++++++++++++-
11618 gi/pygi-marshal-from-py.c | 203
11619 ++++++++++++++++++++++++++++++++++++----------
11620 gi/pygi-marshal-from-py.h | 3 +
11621 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
11622 7 files changed, 391 insertions(+), 81 deletions(-)
11624 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
11625 Author: Paolo Borelli <pborelli@gnome.org>
11626 Date: Wed Aug 15 13:16:11 2012 +0200
11628 Add unit test for the TreeModelSort override
11630 tests/test_overrides.py | 7 +++++++
11631 1 file changed, 7 insertions(+)
11633 commit 9f027daa5737107b5959964b699c0089aec8ab1e
11634 Author: Simon Feltman <s.feltman@gmail.com>
11635 Date: Thu Aug 9 03:33:06 2012 -0700
11637 Gtk overrides: Add TreeModelSort.__init__(self, model)
11639 This adds "model" as a required argument to TreeModelSort
11640 instead of it being a hidden keyword argument. This is needed
11641 because the model property is set to construct only and the
11642 default value of None/NULL makes the object useless anyhow.
11644 https://bugzilla.gnome.org/show_bug.cgi?id=681477
11646 gi/overrides/Gtk.py | 8 ++++++++
11647 1 file changed, 8 insertions(+)
11649 commit c8424c2bb19356679e250e73542682dd5f4c74a5
11650 Author: Manuel Quiñones <manuq@laptop.org>
11651 Date: Fri Aug 10 09:38:24 2012 -0300
11653 Convert Gtk.CellRendererState in the pygi-convert script
11655 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
11657 https://bugzilla.gnome.org/show_bug.cgi?id=681596
11659 pygi-convert.sh | 5 +++++
11660 1 file changed, 5 insertions(+)
11662 commit 54d829b34a0d32d852db370f61cc7f25c149f373
11663 Author: Paolo Borelli <pborelli@gnome.org>
11664 Date: Mon Aug 6 16:19:28 2012 +0200
11666 More updates to the HACKING file
11668 module-install has been replaced with 'ftpadmin install' and other
11672 HACKING | 26 ++++++++++----------------
11673 1 file changed, 10 insertions(+), 16 deletions(-)
11675 commit 0788880c6cf4070d3db09896c165fe470d2ec186
11676 Author: Paolo Borelli <pborelli@gnome.org>
11677 Date: Mon Aug 6 16:00:39 2012 +0200
11679 Post-release version bump to 3.3.6
11681 configure.ac | 2 +-
11682 1 file changed, 1 insertion(+), 1 deletion(-)
11684 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
11685 Author: Paolo Borelli <pborelli@gnome.org>
11686 Date: Mon Aug 6 15:52:22 2012 +0200
11690 NEWS | 29 +++++++++++++++++++++++++++++
11691 1 file changed, 29 insertions(+)
11693 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
11694 Author: Paolo Borelli <pborelli@gnome.org>
11695 Date: Mon Aug 6 15:44:32 2012 +0200
11697 Update HACKING file to mention "make release-news"
11699 HACKING | 7 +++----
11700 1 file changed, 3 insertions(+), 4 deletions(-)
11702 commit 587a0c33901383b891f8eb77351c17f06af20b4f
11703 Author: Paolo Borelli <pborelli@gnome.org>
11704 Date: Mon Aug 6 15:38:23 2012 +0200
11706 pygi-closure: remove unused variables
11708 These variables are assigned but never actually used
11710 gi/pygi-closure.c | 8 --------
11711 1 file changed, 8 deletions(-)
11713 commit dbc6df6aad7197fcf8721ade429baadd749f7069
11714 Author: Martin Pitt <martinpitt@gnome.org>
11715 Date: Fri Aug 3 07:13:55 2012 +0200
11717 tests: Do not break on Pango warnings
11719 In some restricted environments (like chroots) we sometimes get
11721 Pango when it cannot find an appropriate font. Do not make the tests
11725 tests/test_overrides.py | 4 ++++
11726 tests/test_pygtkcompat.py | 6 ++++++
11727 2 files changed, 10 insertions(+)
11729 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
11730 Author: Martin Pitt <martinpitt@gnome.org>
11731 Date: Fri Aug 3 06:45:48 2012 +0200
11733 Fix list marshalling on big-endian machines
11735 On big endian machines we cannot simply set e. g. GIArgument.v_int8
11737 GIArgument.v_pointer to be a correct representation. This needs to use
11738 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
11739 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
11741 to and from GList and GSList, and handle int8 and int16 as well.
11743 Part of porting pygobject to ppc64:
11744 https://bugzilla.redhat.com/show_bug.cgi?id=842880
11745 https://bugzilla.gnome.org/show_bug.cgi?id=680693
11747 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
11748 gi/pygi-marshal-to-py.c | 54
11749 +++++++++++++++++++++++++++--------------------
11750 2 files changed, 60 insertions(+), 42 deletions(-)
11752 commit b5cd13f47309ec26727b7574e33595a357602468
11753 Author: Colin Walters <walters@verbum.org>
11754 Date: Tue Jul 31 11:47:02 2012 -0400
11756 pygi-marshal: One more 32-bit -Werror=format fix
11758 gi/pygi-marshal-from-py.c | 6 +++---
11759 1 file changed, 3 insertions(+), 3 deletions(-)
11761 commit 526bf43691cb6ed908589312b1693a6389eba00c
11762 Author: Martin Pitt <martinpitt@gnome.org>
11763 Date: Tue Jul 31 17:14:37 2012 +0200
11765 Beautify class/interface type mismatch error messages
11767 Avoid saying "<unknown module>.int", just skip the module name
11768 completely if we do not have one.
11770 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
11771 1 file changed, 12 insertions(+), 8 deletions(-)
11773 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
11774 Author: Martin Pitt <martinpitt@gnome.org>
11775 Date: Tue Jul 31 13:13:21 2012 +0200
11777 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
11779 On initial jhbuild bootstrap or restricted environments, the Pango,
11781 and Gtk typelibs might not be available. Skip tests which need these
11783 failing the testsuite.
11785 tests/test_atoms.py | 7 ++++++-
11786 tests/test_everything.py | 9 ++++++++-
11787 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
11788 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
11789 4 files changed, 60 insertions(+), 18 deletions(-)
11791 commit a2e73c109f3ed6080eabc85810e624b9f984317e
11792 Author: Colin Walters <walters@verbum.org>
11793 Date: Tue Jul 31 09:02:24 2012 -0400
11795 pygi-argument: Fix -Wformat warning on 32 bit builds
11797 gi/pygi-argument.c | 4 ++--
11798 1 file changed, 2 insertions(+), 2 deletions(-)
11800 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
11801 Author: Martin Pitt <martinpitt@gnome.org>
11802 Date: Tue Jul 31 11:14:36 2012 +0200
11804 Fix tests for Python 2
11806 In Python 2 we get different error messages for a mismatching self
11808 check after commit 121b14028.
11810 tests/test_gi.py | 32 ++++++++++++++++++++------------
11811 1 file changed, 20 insertions(+), 12 deletions(-)
11813 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
11814 Author: Martin Pitt <martinpitt@gnome.org>
11815 Date: Tue Jul 31 10:30:22 2012 +0200
11817 Build with -Werror=format
11819 This catches format string problems on particular architectures like
11821 dea24f8e12 much more insistently.
11824 1 file changed, 1 insertion(+)
11826 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
11827 Author: Simon Feltman <s.feltman@gmail.com>
11828 Date: Mon Jul 30 02:00:16 2012 -0700
11830 [API add] pygtkcompat: Add more pixbuf creation functions
11832 Add the following functions:
11833 pixbuf_new_from_data
11834 pixbuf_new_from_file_at_scale
11835 pixbuf_new_from_file_at_size
11836 pixbuf_new_from_inline
11837 pixbuf_new_from_stream
11838 pixbuf_new_from_stream_at_scale
11839 pixbuf_new_from_xpm_data
11840 pixbuf_get_file_info
11842 https://bugzilla.gnome.org/show_bug.cgi?id=680814
11844 gi/pygtkcompat.py | 10 +++++++++-
11845 1 file changed, 9 insertions(+), 1 deletion(-)
11847 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
11848 Author: Colin Walters <walters@verbum.org>
11849 Date: Mon Jul 30 22:17:44 2012 -0400
11851 marshal: Fix a lot of format string warnings on 32 bit
11853 G_GUINT64_FORMAT and friends handle "%lld" portably.
11855 https://bugzilla.gnome.org/show_bug.cgi?id=680878
11857 gi/pygi-marshal-from-py.c | 18 +++++++++---------
11858 1 file changed, 9 insertions(+), 9 deletions(-)
11860 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
11861 Author: Colin Walters <walters@verbum.org>
11862 Date: Mon Jul 30 22:30:07 2012 -0400
11864 marshal: Fix build break on Python 2
11866 I *think* using this wrapper function instead is right.
11868 https://bugzilla.gnome.org/show_bug.cgi?id=680879
11870 gi/pygi-marshal-from-py.c | 8 ++++----
11871 1 file changed, 4 insertions(+), 4 deletions(-)
11873 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
11874 Author: Manuel Quiñones <manuq@laptop.org>
11875 Date: Mon Jul 30 12:53:36 2012 -0300
11877 Improve testcase for tree_view_column_set_attributes
11879 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
11881 https://bugzilla.gnome.org/show_bug.cgi?id=680320
11883 tests/test_overrides.py | 20 ++++++++++++++++++--
11884 1 file changed, 18 insertions(+), 2 deletions(-)
11886 commit 121b1402860407fe46f7501e42447bf3607872ec
11887 Author: Martin Pitt <martinpitt@gnome.org>
11888 Date: Tue Jul 31 00:37:55 2012 +0200
11890 Fix error messages on interface/class type mismatches
11892 Previously, when you called a function with an argument which was not
11893 compatible with the expected class/interface type, you got an
11897 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
11899 which had the wrong (and useless) class name for the actual type,
11901 tell you which argument caused the problem. With this it says e. g.
11903 TypeError: argument column: Expected Gtk.TreeViewColumn, but
11908 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
11909 tests/test_gi.py | 57
11910 ++++++++++++++++++++++++++++++++++++++++++++++-
11911 2 files changed, 88 insertions(+), 10 deletions(-)
11913 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
11914 Author: Simon Feltman <s.feltman@gmail.com>
11915 Date: Sun Jul 29 23:36:25 2012 -0700
11917 Fix crash when returning (False, None) from
11918 Gtk.TreeModel.do_get_iter()
11920 Add a Py_None check before attempting memcpy().
11922 https://bugzilla.gnome.org/show_bug.cgi?id=680812
11924 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
11926 gi/pygi-closure.c | 10 +++++++---
11927 tests/test_overrides.py | 9 +++++++++
11928 2 files changed, 16 insertions(+), 3 deletions(-)
11930 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
11931 Author: Martin Pitt <martinpitt@gnome.org>
11932 Date: Mon Jul 30 11:58:24 2012 +0200
11934 Add test case for Gtk.TextIter.forward_search()
11936 https://bugzilla.gnome.org/show_bug.cgi?id=679415
11938 tests/test_overrides.py | 19 +++++++++++++++++++
11939 1 file changed, 19 insertions(+)
11941 commit aae4e77482c02e21154ab02b159f380f5f0f74be
11942 Author: Martin Pitt <martinpitt@gnome.org>
11943 Date: Fri Jul 27 23:06:39 2012 +0200
11945 Add missing static declarations
11947 This fixes a lot of -Wmissing-prototype warnings.
11949 Also remove _pygi_marshal_cleanup_closure_unref() which is not
11952 gi/_gobject/gobjectmodule.c | 4 ++--
11953 gi/_gobject/pygobject.c | 2 +-
11954 gi/pygi-cache.c | 2 +-
11955 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
11956 gi/pygi-foreign.c | 2 +-
11957 gi/pygi-marshal-cleanup.c | 9 ---------
11958 tests/test-unknown.c | 2 +-
11959 tests/testhelpermodule.c | 4 ++--
11960 8 files changed, 20 insertions(+), 29 deletions(-)
11962 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
11963 Author: Martin Pitt <martinpitt@gnome.org>
11964 Date: Fri Jul 27 23:01:08 2012 +0200
11966 Fix more missing #includes
11968 Add missing includes which caused -Wmissing-prototypes warnings.
11970 gi/_gobject/pygenum.c | 2 ++
11971 gi/_gobject/pyginterface.c | 2 ++
11972 2 files changed, 4 insertions(+)
11974 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
11975 Author: Martin Pitt <martinpitt@gnome.org>
11976 Date: Fri Jul 27 22:59:21 2012 +0200
11978 Make some warnings fatal
11980 Add -Werror for some warnings which are real errors in the source
11982 really want to avoid. This includes -Wmissing-prototypes, but that
11984 breaks on building g-i's regress.c.
11986 configure.ac | 5 +++++
11987 1 file changed, 5 insertions(+)
11989 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
11990 Author: Martin Pitt <martinpitt@gnome.org>
11991 Date: Fri Jul 27 22:08:47 2012 +0200
11993 Fix missing #includes
11995 Add missing includes which caused -Wmissing-prototypes warnings.
11997 gi/_glib/pygiochannel.c | 2 ++
11998 gi/_glib/pygspawn.c | 2 ++
11999 2 files changed, 4 insertions(+)
12001 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
12002 Author: Martin Pitt <martinpitt@gnome.org>
12003 Date: Fri Jul 27 20:52:00 2012 +0200
12005 pygi-info.c: Robustify pointer arithmetic
12007 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
12009 that we are using byte offsets. Fixes warnings:
12011 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
12012 arithmetic [-Werror=pointer-arith]
12014 gi/pygi-info.c | 4 ++--
12015 1 file changed, 2 insertions(+), 2 deletions(-)
12017 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
12018 Author: Martin Pitt <martinpitt@gnome.org>
12019 Date: Fri Jul 27 20:50:30 2012 +0200
12021 pyglib.c: Remove some dead code
12023 Drop unused pyglib_gil_state_ensure_py23() and
12024 pyglib_gil_state_release_py23().
12026 gi/_glib/pyglib.c | 18 ------------------
12027 1 file changed, 18 deletions(-)
12029 commit a46d165d906d0ac7613f4d946542423e979f39d5
12030 Author: Manuel Quiñones <manuq@laptop.org>
12031 Date: Fri Jul 20 10:37:04 2012 -0300
12033 Add set_attributes() override to Gtk.TreeViewColumn
12035 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
12036 gtk_cell_layout_clear_attributes and then
12037 gtk_cell_layout_add_attribute for each (name, value) passed. This
12038 patch makes the same in the overrides.
12040 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12041 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12043 gi/overrides/Gtk.py | 7 +++++++
12044 tests/test_overrides.py | 6 ++++++
12045 2 files changed, 13 insertions(+)
12047 commit 4df676e10a5ea595a0d491af10268f557dd722d7
12048 Author: Daniel Narvaez <dwnarvaez@gmail.com>
12049 Date: Tue Jul 24 13:49:15 2012 +0200
12053 The autogenerated gitignores was missing several files. So we
12054 was using a manual .gitignore at the root. But since it's
12055 enough to add a couple of entries to it to cover the whole
12056 tree, there is no much point in using git.mk at all.
12058 https://bugzilla.gnome.org/show_bug.cgi?id=678192
12061 docs/Makefile.am | 2 -
12062 examples/Makefile.am | 3 -
12063 gi/Makefile.am | 3 -
12064 gi/_glib/Makefile.am | 3 -
12065 gi/_gobject/Makefile.am | 2 -
12066 gi/overrides/Makefile.am | 2 -
12067 gi/repository/Makefile.am | 2 -
12069 ----------------------------------------------
12070 tests/Makefile.am | 2 -
12071 10 files changed, 222 deletions(-)
12073 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
12074 Author: Simon Feltman <s.feltman@gmail.com>
12075 Date: Fri Jul 20 19:55:46 2012 -0700
12077 Gtk overrides: Add TreePath.__getitem__()
12079 Use pythons sub-script operator for indexing into TreePaths
12080 as was the case in PyGtk. Also changed __iter__ to use
12081 TreePath.get_indices as opposed to formatting and re-parsing
12082 a string for getting an index list.
12084 https://bugzilla.gnome.org/show_bug.cgi?id=680353
12086 gi/overrides/Gtk.py | 5 ++++-
12087 tests/test_overrides.py | 4 ++++
12088 2 files changed, 8 insertions(+), 1 deletion(-)
12090 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
12091 Author: Simon Feltman <s.feltman@gmail.com>
12092 Date: Fri Jul 20 21:34:33 2012 -0700
12094 Fix property type mapping from int to TYPE_INT for python3.
12096 Python3 does not have a long type, however, propertyhelper.py was
12097 using long_ = int; to get things working. Type mapping code
12098 was then checking for long_ first and always returning TYPE_LONG.
12099 Additional refactoring was done to move large if/elif statements
12100 into dictionary lookups and usage of tuples instead of lists
12101 for simple 'in' list of items tests.
12103 https://bugzilla.gnome.org/show_bug.cgi?id=679939
12105 gi/_gobject/propertyhelper.py | 117
12106 +++++++++++++++++++-----------------------
12107 tests/test_properties.py | 55 +++++++++++++++-----
12108 2 files changed, 96 insertions(+), 76 deletions(-)
12110 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
12111 Author: Manuel Quiñones <manuq@laptop.org>
12112 Date: Thu Jul 19 12:11:34 2012 -0300
12114 Convert Gtk.DestDefaults constants in pygi-convert.sh script
12116 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12118 https://bugzilla.gnome.org/show_bug.cgi?id=680259
12120 pygi-convert.sh | 1 +
12121 1 file changed, 1 insertion(+)
12123 commit d58c3553062fd8704a81a8233b4a1563a6611718
12124 Author: Manuel Quiñones <manuq@laptop.org>
12125 Date: Thu Jul 19 12:04:03 2012 -0300
12127 Convert all Gdk.WindowState constants in pygi-convert.sh
12129 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12131 https://bugzilla.gnome.org/show_bug.cgi?id=680257
12133 pygi-convert.sh | 1 +
12134 1 file changed, 1 insertion(+)
12136 commit a3aae2e152c0b955037b7b85e16d14d00881d870
12137 Author: Joe R. Nassimian <placidrage@gmail.com>
12138 Date: Thu Jul 19 15:48:20 2012 +0200
12140 [API add] Add API for checking pygobject's version
12142 Add a gi.__version__ attribute for the textual version, and
12143 gi.version_info for
12144 a version triple similar to sys.version_info.
12146 Also add a gi.require_version(<minimum_version>) which raises an
12148 the pygobject version is older.
12150 https://bugzilla.gnome.org/show_bug.cgi?id=680176
12152 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12154 gi/__init__.py | 16 ++++++++++++++++
12155 tests/test_gi.py | 16 ++++++++++++++++
12156 2 files changed, 32 insertions(+)
12158 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
12159 Author: Manuel Quiñones <manuq@laptop.org>
12160 Date: Mon Jul 16 17:14:46 2012 -0300
12162 pygi-convert.sh: Add some missing Gdk.CursorTypes
12164 This patch adds WATCH, ARROW and CLOCK.
12166 https://bugzilla.gnome.org/show_bug.cgi?id=680050
12168 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12169 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12171 pygi-convert.sh | 3 +++
12172 1 file changed, 3 insertions(+)
12174 commit 0b08c01414ac73a4604acd9a846e7af09574929f
12175 Author: Manuel Kaufmann <humitos@gmail.com>
12176 Date: Tue Jul 17 09:05:27 2012 -0300
12178 pygi-convert.sh: convert rsvg.Handle(data=...)
12180 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
12182 https://bugzilla.gnome.org/show_bug.cgi?id=680092
12184 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
12185 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12187 pygi-convert.sh | 2 ++
12188 1 file changed, 2 insertions(+)
12190 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
12191 Author: Martin Pitt <martinpitt@gnome.org>
12192 Date: Mon Jul 16 17:35:38 2012 +0200
12194 configure.ac: post-release bump to 3.3.5
12196 configure.ac | 2 +-
12197 1 file changed, 1 insertion(+), 1 deletion(-)
12199 commit 126842b7227fcc1381dc158acdc5a96d0a465515
12200 Author: Martin Pitt <martinpitt@gnome.org>
12201 Date: Mon Jul 16 17:33:08 2012 +0200
12205 NEWS | 28 ++++++++++++++++++++++++++++
12206 1 file changed, 28 insertions(+)
12208 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
12209 Author: Martin Pitt <martinpitt@gnome.org>
12210 Date: Mon Jul 16 17:29:22 2012 +0200
12212 test_gi: Fix for Python 2
12214 tests/test_gi.py | 7 +++++--
12215 1 file changed, 5 insertions(+), 2 deletions(-)
12217 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
12218 Author: Martin Pitt <martinpitt@gnome.org>
12219 Date: Mon Jul 16 16:35:33 2012 +0200
12221 pygi-convert.sh: Drop bogus filter_new() conversion
12223 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
12224 constructor, so do not try to convert it to a constructor call.
12226 https://bugzilla.gnome.org/show_bug.cgi?id=679999
12228 pygi-convert.sh | 1 -
12229 1 file changed, 1 deletion(-)
12231 commit c0607d970fc59528ca27d518282cf2871b92e909
12232 Author: Martin Pitt <martinpitt@gnome.org>
12233 Date: Mon Jul 16 16:00:40 2012 +0200
12235 Fix help() for GI modules
12237 Derive DynamicModule from types.ModuleType, so that the inspect
12239 ismodule() actually succeeds on those and generates useful help on
12243 https://bugzilla.gnome.org/show_bug.cgi?id=679804
12245 gi/module.py | 3 ++-
12246 tests/test_gi.py | 15 +++++++++++++++
12247 2 files changed, 17 insertions(+), 1 deletion(-)
12249 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
12250 Author: Martin Pitt <martinpitt@gnome.org>
12251 Date: Mon Jul 16 15:53:31 2012 +0200
12253 Skip gi.CallbackInfo objects from a module's dir()
12255 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
12257 implement __getattr__ for those.
12259 Add a test case that dir() works on GI modules, contain expected
12261 and that all identifiers in dir() can actually be retrieved.
12263 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
12265 gi/module.py | 7 +++++--
12266 tests/test_gi.py | 14 ++++++++++++++
12267 2 files changed, 19 insertions(+), 2 deletions(-)
12269 commit f6cc039e014448a553d626aac4020ee69717edab
12270 Author: Martin Pitt <martinpitt@gnome.org>
12271 Date: Mon Jul 16 15:38:05 2012 +0200
12273 Fix __path__ module attribute
12275 get_typelib_path() returns bytes, not strings, so in Python 3 we
12277 it to get a proper __path__ attribute.
12279 gi/module.py | 17 +++++++++++++++++
12280 tests/test_gi.py | 10 ++++++++++
12281 2 files changed, 27 insertions(+)
12283 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
12284 Author: Joe R. Nassimian <placidrage@gmail.com>
12285 Date: Mon Jul 16 15:02:10 2012 +0200
12287 pygi-convert.sh: Fix some child → getChild() false positives
12289 https://bugzilla.gnome.org/show_bug.cgi?id=680004
12291 pygi-convert.sh | 2 +-
12292 1 file changed, 1 insertion(+), 1 deletion(-)
12294 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
12295 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
12296 Date: Thu Jul 12 09:19:42 2012 +0200
12298 Fix array handling for interfaces, properties, and signals
12300 Fix lots of corner cases where arrays are not handled properly.
12301 _pygi_argument_to_object() now has the documented expectation of
12303 packed in GArrays. This was implicit before and not correctly done
12307 The helper _pygi_argument_to_array() has been improved to work on
12309 array. Fix all call sites of _pygi_argument_to_object() to do the
12310 array conversion appropriately before calling
12311 _pygi_argument_to_object().
12313 Adds a test case that implements a GInterface with a method that
12315 of variants as input.
12317 https://bugzilla.gnome.org/show_bug.cgi?id=667244
12319 gi/pygi-argument.c | 156
12320 ++++++++++++++++++++++++++++++++---------------
12321 gi/pygi-argument.h | 4 +-
12322 gi/pygi-closure.c | 11 ++++
12323 gi/pygi-info.c | 20 ++++--
12324 gi/pygi-property.c | 1 +
12325 gi/pygi-signal-closure.c | 14 ++++-
12326 tests/test_gi.py | 18 ++++++
12327 7 files changed, 167 insertions(+), 57 deletions(-)
12329 commit bb80d124269ee2389c04d03a478475868fd9ff7b
12330 Author: Manuel Quiñones <manuq@laptop.org>
12331 Date: Wed Jul 11 22:05:41 2012 -0300
12333 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
12335 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12337 https://bugzilla.gnome.org/show_bug.cgi?id=679775
12339 pygi-convert.sh | 3 +++
12340 1 file changed, 3 insertions(+)
12342 commit e3a63eefa5fb2abeabd210790e12642e577363c8
12343 Author: Manuel Quiñones <manuq@laptop.org>
12344 Date: Wed Jul 11 13:18:16 2012 -0300
12346 Add the same rules for pack_start to convert pack_end
12348 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12350 https://bugzilla.gnome.org/show_bug.cgi?id=679760
12352 pygi-convert.sh | 5 +++++
12353 1 file changed, 5 insertions(+)
12355 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
12356 Author: Dave Malcolm <dmalcolm@redhat.com>
12357 Date: Wed Jul 11 08:21:27 2012 +0200
12359 Add error-checking for the case where _arg_cache_new() fails
12361 This can happen when a typelib and its underlying library are
12363 converts the segfault into a more helpful traceback.
12365 https://bugzilla.gnome.org/show_bug.cgi?id=678914
12367 gi/pygi-cache.c | 2 ++
12368 1 file changed, 2 insertions(+)
12370 commit 41287d8a439c656e4ac60361fddec643c713234c
12371 Author: Manuel Quiñones <manuq@laptop.org>
12372 Date: Wed Jul 11 11:13:38 2012 -0300
12374 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
12377 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
12379 https://bugzilla.gnome.org/show_bug.cgi?id=679754
12381 pygi-convert.sh | 6 ++++++
12382 1 file changed, 6 insertions(+)
12384 commit 5403149b900d1b73cbc78767dc43be2eb344c836
12385 Author: Simon Feltman <s.feltman@gmail.com>
12386 Date: Tue Jul 10 19:07:32 2012 -0700
12388 Fix PyObject_Repr and PyObject_Str reference leaks
12390 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
12393 https://bugzilla.gnome.org/show_bug.cgi?id=675857
12395 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12397 gi/_glib/glibmodule.c | 10 +++++++--
12398 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
12399 gi/_gobject/pygobject.c | 53
12400 ++++++++++++++++++++++++++++++---------------
12401 gi/pygi-marshal-from-py.c | 9 +++++---
12402 4 files changed, 62 insertions(+), 27 deletions(-)
12404 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
12405 Author: Martin Pitt <martinpitt@gnome.org>
12406 Date: Wed Jul 4 08:46:30 2012 +0200
12408 [API add] Gtk overrides: Add TreePath.__len__()
12410 Use the path depth as length of a Gtk.TreePath object.
12412 https://bugzilla.gnome.org/show_bug.cgi?id=679199
12414 gi/overrides/Gtk.py | 3 +++
12415 tests/test_overrides.py | 4 ++++
12416 2 files changed, 7 insertions(+)
12418 commit e1e849d1a9af77c29ee35971db8d439bac60d573
12419 Author: Martin Pitt <martinpitt@gnome.org>
12420 Date: Wed Jul 4 08:35:16 2012 +0200
12422 GLib.Variant: Fix repr(), add proper str()
12424 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
12426 proper __str__() method, and tests for both.
12428 Thanks to Rul Matos for spotting this!
12430 https://bugzilla.gnome.org/show_bug.cgi?id=679336
12432 gi/overrides/GLib.py | 6 +++++-
12433 tests/test_overrides.py | 5 +++++
12434 2 files changed, 10 insertions(+), 1 deletion(-)
12436 commit af20d7c929b9c1888454b52932a308d346e1c12b
12437 Author: Martin Pitt <martinpitt@gnome.org>
12438 Date: Thu Jun 28 06:51:22 2012 +0200
12440 m4/python.m4: Update Python version list
12442 Thanks to Dieter Verfaillie for pointing this out.
12444 m4/python.m4 | 3 +--
12445 1 file changed, 1 insertion(+), 2 deletions(-)
12447 commit a96a26234e2aaa157837d26094864e3ad9b63edf
12448 Author: Micah Carrick <micah@quixotix.com>
12449 Date: Mon Jun 25 09:05:59 2012 -0700
12451 Remove "label" property from Gtk.MenuItem if it is not set
12453 The Gtk.MenuItem will not render as a separator if the "label" or
12454 "user-underline" properties have been accessed. The constructor
12455 for Gtk.MenuItem override should not pass the "label" property
12456 as an argument if it is None since that will still result in an
12457 empty label widget which breaks Gtk.SeparatorMenuItem.
12459 https://bugzilla.gnome.org/show_bug.cgi?id=670575
12461 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12463 gi/overrides/Gtk.py | 5 ++++-
12464 1 file changed, 4 insertions(+), 1 deletion(-)
12466 commit afa12faf339efb4f7780168e884ecf49b630644a
12467 Author: Martin Pitt <martinpitt@gnome.org>
12468 Date: Mon Jun 25 16:36:31 2012 +0200
12470 configure.ac: Post-release bump to 3.3.4.
12472 configure.ac | 2 +-
12473 1 file changed, 1 insertion(+), 1 deletion(-)
12475 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
12476 Author: Martin Pitt <martinpitt@gnome.org>
12477 Date: Mon Jun 25 16:35:49 2012 +0200
12482 configure.ac | 2 +-
12483 2 files changed, 4 insertions(+), 1 deletion(-)
12485 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
12486 Author: Martin Pitt <martinpitt@gnome.org>
12487 Date: Mon Jun 25 16:32:45 2012 +0200
12489 Do not escape enum and flag names that are Python keywords
12491 These are translated to upper case, and thus can never be
12492 keywords. This broke
12493 existing API such as Gtk.ShadowType.IN.
12495 gi/module.py | 2 +-
12496 gi/pygi-info.c | 7 +++++++
12497 tests/test_gi.py | 3 +++
12498 3 files changed, 11 insertions(+), 1 deletion(-)
12500 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
12501 Author: Martin Pitt <martinpitt@gnome.org>
12502 Date: Mon Jun 25 15:39:50 2012 +0200
12504 configure.ac: Post-release version bump to 3.3.4
12506 configure.ac | 2 +-
12507 1 file changed, 1 insertion(+), 1 deletion(-)
12509 commit fe56faa346c8e8f9fd5915602424778d458a776d
12510 Author: Martin Pitt <martinpitt@gnome.org>
12511 Date: Mon Jun 25 15:36:37 2012 +0200
12515 NEWS | 15 +++++++++++++++
12516 1 file changed, 15 insertions(+)
12518 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
12519 Author: Martin Pitt <martinpitt@gnome.org>
12520 Date: Mon Jun 25 15:35:19 2012 +0200
12522 Bring back ChangeLog make target
12524 This is being used by "make dist".
12526 Makefile.am | 15 +++++++++++++++
12527 1 file changed, 15 insertions(+)
12529 commit 760118e4ed73de2f022706ef897fcc848e90c005
12530 Author: Martin Pitt <martinpitt@gnome.org>
12531 Date: Mon Jun 25 15:31:14 2012 +0200
12533 Remove obsolete ChangeLog and release-tag make targets
12535 Makefile.am | 23 -----------------------
12536 1 file changed, 23 deletions(-)
12538 commit e92278692bb51679d6e957c2ac36db64498a7c73
12539 Author: Simon Schampijer <simon@schampijer.de>
12540 Date: Fri Jun 15 16:11:21 2012 +0200
12542 Do not do any python calls when GObjects are destroyed after the
12543 python interpreter has been finalized
12545 This happens when pygobject_data_free () function is called after
12547 interpreter shuts down, we can't do python calls after that.
12549 Benzea did the findings because of a bug in Sugar, and commented
12551 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
12553 https://bugzilla.gnome.org/show_bug.cgi?id=678046
12555 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
12556 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12558 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
12559 1 file changed, 22 insertions(+), 5 deletions(-)
12561 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
12562 Author: Martin Pitt <martinpitt@gnome.org>
12563 Date: Mon Jun 25 15:06:47 2012 +0200
12565 Do not change constructor-only "type" Window property
12567 When reading a Gtk.Window subclass from a GtkBuilder object,
12569 properties are already set at __init__ time. Do not try to set it
12573 https://bugzilla.gnome.org/show_bug.cgi?id=678510
12575 gi/overrides/Gtk.py | 8 +++++++-
12576 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
12577 2 files changed, 43 insertions(+), 1 deletion(-)
12579 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
12580 Author: Martin Pitt <martinpitt@gnome.org>
12581 Date: Mon Jun 25 09:40:38 2012 +0200
12583 Escape identifiers which are Python keywords
12585 Add a trailing underscore to identifiers which are Python keywords.
12587 We use a per-major-version static identifier list derived from
12589 instead of calling out to Python's keyword.iskeyword(). This is
12591 and also allows us to tweak the result. For example, Python 3 dropped
12593 as a keyword, but we still want to escape that to avoid breaking
12595 between different Python versions.
12597 Error out when building with a major Python version not covered yet,
12599 do not forget to update the list in the future.
12601 https://bugzilla.gnome.org/show_bug.cgi?id=676746
12603 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
12604 tests/test_gi.py | 17 +++++++++++++++++
12605 2 files changed, 54 insertions(+), 1 deletion(-)
12607 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
12608 Author: Martin Pitt <martinpitt@gnome.org>
12609 Date: Fri Jun 22 13:13:37 2012 +0200
12611 Ignore E123 in pep8 tests
12613 This is "closing bracket does not match indentation of opening
12615 but it really looks better to have the closing bracket on the
12617 of the opening bracket instead of the indentation level of the
12619 contains the opening bracket.
12621 tests/Makefile.am | 2 +-
12622 1 file changed, 1 insertion(+), 1 deletion(-)
12624 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
12625 Author: Martin Pitt <martinpitt@gnome.org>
12626 Date: Fri Jun 22 13:08:34 2012 +0200
12628 PEP8: Fix indentation
12630 Spotted by current pep8 checker.
12632 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
12633 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
12634 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
12635 demos/gtk-demo/demos/appwindow.py | 2 +-
12636 demos/gtk-demo/demos/clipboard.py | 8 +--
12637 demos/gtk-demo/demos/colorselector.py | 6 +--
12638 demos/gtk-demo/demos/rotatedtext.py | 8 +--
12639 demos/gtk-demo/gtk-demo.py | 6 +--
12640 examples/option.py | 29 ++++++-----
12641 examples/signal.py | 3 +-
12642 gi/_glib/option.py | 6 +--
12643 gi/_gobject/propertyhelper.py | 18 +++----
12644 gi/module.py | 14 +++---
12645 gi/overrides/GLib.py | 2 +-
12646 gi/overrides/Gio.py | 11 +++--
12647 gi/overrides/Gtk.py | 16 +++---
12648 gi/pygtkcompat.py | 7 ++-
12649 gi/types.py | 17 ++++---
12650 tests/runtests.py | 2 +-
12651 tests/test_gdbus.py | 55 +++++++++++----------
12652 tests/test_gi.py | 15 +++---
12653 tests/test_gobject.py | 18 +++----
12654 tests/test_option.py | 26 +++++-----
12655 tests/test_overrides.py | 67
12656 +++++++++++++-------------
12657 tests/test_properties.py | 30 ++++++------
12658 tests/test_signal.py | 2 +-
12659 tests/test_uris.py | 9 ++--
12660 27 files changed, 200 insertions(+), 193 deletions(-)
12662 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
12663 Author: Martin Pitt <martinpitt@gnome.org>
12664 Date: Fri Jun 22 12:36:54 2012 +0200
12666 PEP8: Use isinstance() instead of direct type comparisons
12668 Spotted by current pep8 checker.
12670 gi/overrides/GLib.py | 2 +-
12671 gi/overrides/__init__.py | 2 +-
12672 2 files changed, 2 insertions(+), 2 deletions(-)
12674 commit 50e45a624e6301e65c150e137aad6d092f203f3f
12675 Author: Martin Pitt <martinpitt@gnome.org>
12676 Date: Fri Jun 22 12:30:10 2012 +0200
12678 PEP8: Fix continuation lines
12680 Spotted by current pep8 checker.
12682 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
12683 gi/__init__.py | 6 +++---
12684 gi/_gobject/__init__.py | 6 ++----
12685 gi/module.py | 6 +++---
12686 tests/test_overrides.py | 11 +++--------
12687 5 files changed, 14 insertions(+), 21 deletions(-)
12689 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
12690 Author: Martin Pitt <martinpitt@gnome.org>
12691 Date: Fri Jun 22 12:24:32 2012 +0200
12693 PEP8: Consistent comparisons against True, False, and None
12695 Spotted by current pep8 checker.
12697 demos/gtk-demo/demos/clipboard.py | 4 ++--
12698 demos/gtk-demo/demos/drawingarea.py | 4 ++--
12699 demos/gtk-demo/gtk-demo.py | 8 ++++----
12700 gi/overrides/Gdk.py | 2 +-
12701 gi/overrides/Gtk.py | 2 +-
12702 tests/test_gi.py | 4 ++--
12703 tests/test_overrides.py | 3 +--
12704 7 files changed, 13 insertions(+), 14 deletions(-)
12706 commit 379c1474a071292a1e8da413af2f5438cff09fc8
12707 Author: Martin Pitt <martinpitt@gnome.org>
12708 Date: Wed Jun 20 12:23:12 2012 +0200
12710 Fix crash in GLib.find_program_in_path()
12712 We need to handle a NULL return value properly.
12714 https://bugzilla.gnome.org/show_bug.cgi?id=678119
12716 gi/_glib/glibmodule.c | 10 ++++++++--
12717 tests/Makefile.am | 1 +
12718 tests/test_glib.py | 15 +++++++++++++++
12719 3 files changed, 24 insertions(+), 2 deletions(-)
12721 commit 73531fd7820bd1922347bd856298d68205a27877
12722 Author: Martin Pitt <martinpitt@gnome.org>
12723 Date: Wed Jun 20 11:16:39 2012 +0200
12725 Revert "Do not bind gobject_get_data() and gobject_set_data()"
12727 We should have some deprecation period for this, so bring back
12729 methods and add deprecation warnings.
12731 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
12733 https://bugzilla.gnome.org/show_bug.cgi?id=641944
12735 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
12736 1 file changed, 44 insertions(+)
12738 commit a0daa843801658929ffee5bcb9eb67d955dc7921
12739 Author: David Keijser <keijser@gmail.com>
12740 Date: Mon Jun 18 15:09:34 2012 +0200
12742 GVariant: Raise proper TypeError on invalid tuple input
12744 https://bugzilla.gnome.org/show_bug.cgi?id=678317
12746 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12748 gi/overrides/GLib.py | 4 ++--
12749 tests/test_overrides.py | 1 +
12750 2 files changed, 3 insertions(+), 2 deletions(-)
12752 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
12753 Author: Martin Pitt <martinpitt@gnome.org>
12754 Date: Tue Jun 5 19:11:38 2012 +0200
12756 configure.ac: Post-release bump to 3.3.3
12758 configure.ac | 2 +-
12759 1 file changed, 1 insertion(+), 1 deletion(-)
12761 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
12762 Author: Martin Pitt <martinpitt@gnome.org>
12763 Date: Tue Jun 5 19:09:12 2012 +0200
12767 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
12768 1 file changed, 44 insertions(+)
12770 commit 8209c1ae1632c77768699481e574d5d378956e71
12771 Author: Martin Pitt <martinpitt@gnome.org>
12772 Date: Tue Jun 5 19:04:49 2012 +0200
12774 Fix "release-news" make target
12776 Actually list changes since the previous release, not since 3.1.92.
12779 1 file changed, 1 insertion(+), 1 deletion(-)
12781 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
12782 Author: Bastian Winkler <buz@netbuz.org>
12783 Date: Wed May 9 19:04:01 2012 +0200
12785 foreign: Register cairo.Path and cairo.FontOptions foreign structs
12787 They are rarely used, but they are used at least by Gdk, PangoCairo
12791 clutter.Path is not used by any API that the test suite uses, so
12793 without a test for now.
12795 https://bugzilla.gnome.org/show_bug.cgi?id=677388
12797 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12799 gi/pygi-foreign-cairo.c | 85
12800 ++++++++++++++++++++++++++++++++++++++++++++++++
12801 tests/test_everything.py | 8 +++++
12802 2 files changed, 93 insertions(+)
12804 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
12805 Author: Marien Zwart <marien.zwart@gmail.com>
12806 Date: Wed May 23 01:51:46 2012 +0200
12808 Check types in GBoxed assignments
12810 Check if the Python value is GBoxed instead of assuming it is.
12811 Without this, the following segfaults:
12813 from gi.repository import Soup
12815 msg = Soup.Message()
12816 msg.props.uri = 'http://www.gnome.org'
12818 as we assume the new property is a GBoxed while it is actually a
12821 https://bugzilla.gnome.org/show_bug.cgi?id=676603
12823 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
12824 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12826 gi/pygi-argument.c | 10 +++++++---
12827 tests/test_gi.py | 19 +++++++++++++++++++
12828 2 files changed, 26 insertions(+), 3 deletions(-)
12830 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
12831 Author: Bastian Winkler <buz@netbuz.org>
12832 Date: Sat May 12 14:08:51 2012 +0200
12834 [API add] Gtk overrides: Add TreeModelRow.get_previous()
12836 TreeModelRow has get_next() and a next property, it should also have
12837 get_previous() and previous.
12839 https://bugzilla.gnome.org/show_bug.cgi?id=677389
12841 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12843 gi/overrides/Gtk.py | 9 +++++++++
12844 1 file changed, 9 insertions(+)
12846 commit 5501fba534696974899f2591929bff9e1b6ecd65
12847 Author: Bastian Winkler <buz@netbuz.org>
12848 Date: Sat May 12 13:50:02 2012 +0200
12850 [API add] Add missing GObject.TYPE_VARIANT
12852 Add TYPE_VARIANT to constants to make it accessible as
12853 GObject.TYPE_VARIANT.
12855 https://bugzilla.gnome.org/show_bug.cgi?id=677387
12857 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12859 gi/_gobject/__init__.py | 1 +
12860 gi/_gobject/constants.py | 1 +
12861 2 files changed, 2 insertions(+)
12863 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
12864 Author: Jasper St. Pierre <jstpierre@mecheye.net>
12865 Date: Fri Jun 1 02:53:13 2012 -0400
12867 Fix boxed type equality
12869 Each boxed type has its own Python type, not PyGBoxed_Type. Use
12870 PyObject_IsInstance instead of comparing against PyGBoxed_Type
12873 https://bugzilla.gnome.org/show_bug.cgi?id=677249
12875 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12877 gi/_gobject/pygboxed.c | 3 ++-
12878 tests/test_everything.py | 8 ++++++++
12879 2 files changed, 10 insertions(+), 1 deletion(-)
12881 commit dc8eef26906753fcb3ce057b23ca110137897fa5
12882 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12883 Date: Fri Jun 1 13:43:38 2012 +0200
12885 Fix TestProperties.testBoxed test
12887 A typo was preventing the test from being run.
12889 https://bugzilla.gnome.org/show_bug.cgi?id=676644
12891 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12893 tests/test_properties.py | 4 ++--
12894 1 file changed, 2 insertions(+), 2 deletions(-)
12896 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
12897 Author: Carlos Garnacho <carlos@lanedo.com>
12898 Date: Thu May 17 17:09:15 2012 +0200
12900 Fix handling of by-reference structs as out parameters
12902 When marshalling back from python, copy the result of by-reference
12903 structs into the memory expected by the native caller, instead of
12904 attempting to handle it as a pointer.
12906 https://bugzilla.gnome.org/show_bug.cgi?id=653151
12908 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12910 gi/pygi-closure.c | 17 +++++++++++++++++
12911 tests/test_gi.py | 5 +++++
12912 2 files changed, 22 insertions(+)
12914 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
12915 Author: Martin Pitt <martinpitt@gnome.org>
12916 Date: Fri Jun 1 12:28:53 2012 +0200
12918 tests: Add more vfunc checks for GIMarshallingTestsObject
12920 tests/test_gi.py | 25 +++++++++++++++++++++++++
12921 1 file changed, 25 insertions(+)
12923 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
12924 Author: Martin Pitt <martinpitt@gnome.org>
12925 Date: Fri Jun 1 12:02:55 2012 +0200
12927 Test caller-allocated GValue out parameter
12929 This came up as a side issue in
12930 https://bugzilla.gnome.org/show_bug.cgi?id=653151
12932 tests/test_gi.py | 3 +++
12933 1 file changed, 3 insertions(+)
12935 commit edc17e703e1a05e20545d3df9167ceb076450443
12936 Author: Bastian Winkler <buz@netbuz.org>
12937 Date: Wed May 16 11:13:05 2012 +0200
12939 GObject.bind_property: Support transform functions
12941 Add support for optional transformation functions to
12942 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
12943 return value correctly.
12945 https://bugzilla.gnome.org/show_bug.cgi?id=676169
12947 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
12949 gi/_gobject/pygobject.c | 130
12950 +++++++++++++++++++++++++++++++++++++++++++++---
12951 tests/test_gobject.py | 59 ++++++++++++++++++++++
12952 2 files changed, 181 insertions(+), 8 deletions(-)
12954 commit 07a08b49aae83a297e2f91240448314e4663f724
12955 Author: Carlos Garnacho <carlos@lanedo.com>
12956 Date: Mon May 14 15:31:14 2012 +0200
12958 Fix lookup of vfuncs in parent classes
12960 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
12962 As subclasses implemented in python override the attribute for the
12963 vfunc, __mro__ has to be used so subclasses of the subclass overriding
12964 methods may find the corresponding VFuncInfo.
12966 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
12968 gi/types.py | 6 +++---
12969 tests/test_gi.py | 27 +++++++++++++++++++++++++++
12970 2 files changed, 30 insertions(+), 3 deletions(-)
12972 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
12973 Author: Martin Pitt <martinpitt@gnome.org>
12974 Date: Fri Jun 1 08:18:40 2012 +0200
12976 tests/test_properties.py: Fix whitespace
12978 The pep8 check failed on this.
12980 tests/test_properties.py | 2 +-
12981 1 file changed, 1 insertion(+), 1 deletion(-)
12983 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
12984 Author: Jasper St. Pierre <jstpierre@mecheye.net>
12985 Date: Wed May 30 16:45:53 2012 -0400
12987 gi: Support zero-terminated arrays with length arguments
12989 Sometimes, you may see (array zero-terminated=1 length=length)
12991 Don't expose the length argument to the user in this case.
12993 https://bugzilla.gnome.org/show_bug.cgi?id=677124
12995 gi/pygi-cache.c | 13 ++++---------
12996 tests/test_gi.py | 3 +++
12997 2 files changed, 7 insertions(+), 9 deletions(-)
12999 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
13000 Author: Jasper St. Pierre <jstpierre@mecheye.net>
13001 Date: Fri May 25 17:09:55 2012 -0400
13005 libregress now needs cairo-gobject
13007 configure.ac | 2 +-
13008 1 file changed, 1 insertion(+), 1 deletion(-)
13010 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
13011 Author: Martin Pitt <martinpitt@gnome.org>
13012 Date: Mon May 14 15:48:34 2012 +0200
13014 Fix comment in previous commit
13016 tests/test_gobject.py | 2 +-
13017 1 file changed, 1 insertion(+), 1 deletion(-)
13019 commit 6610428394d0c65987de5021bf2c38641cdb7116
13020 Author: Simon Feltman <s.feltman@gmail.com>
13021 Date: Tue May 8 20:04:09 2012 -0700
13023 [API add] Add GObject.bind_property method
13025 This adds the "bind_property" method for binding two gobject
13027 together. The method returns a weak reference to a GBinding object.
13028 The BindingWeakRef object is used to manage GBinding objects within
13030 created through GObject.bind_property. It is a sub-class
13031 PyGObjectWeakRef so
13032 that we can maintain the same reference counting semantics between
13034 and GObject Binding objects. This gives explicit direct control of the
13035 binding lifetime by using the "unbind" method on the BindingWeakRef
13037 along with implicit management based on the lifetime of the source or
13040 Note this does not yet include support for converter closures. This
13042 later after the initial implementation is accepted.
13044 https://bugzilla.gnome.org/show_bug.cgi?id=675582
13046 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13048 gi/_gobject/pygobject.c | 104
13049 +++++++++++++++++++++++++++++++++++++++++++++++-
13050 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
13051 2 files changed, 193 insertions(+), 1 deletion(-)
13053 commit 88babe7377402f6e6f912a8b83615aab848eae81
13054 Author: Jose Rostagno <joserostagno@vijona.com.ar>
13055 Date: Fri May 11 19:08:47 2012 -0300
13057 pygtkcompat: Correctly set flags
13059 https://bugzilla.gnome.org/show_bug.cgi?id=675911
13061 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13063 gi/pygtkcompat.py | 5 ++---
13064 tests/test_pygtkcompat.py | 1 +
13065 2 files changed, 3 insertions(+), 3 deletions(-)
13067 commit 3f712b56397296bca2f5358cd52977b1a2011964
13068 Author: Jose Rostagno <joserostagno@vijona.com.ar>
13069 Date: Fri May 11 12:39:05 2012 -0300
13071 Gtk overrides: Implement __delitem__ on TreeModel
13073 https://bugzilla.gnome.org/show_bug.cgi?id=675892
13075 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13077 gi/overrides/Gtk.py | 16 ++++++++++++----
13078 tests/test_overrides.py | 9 +++++++++
13079 2 files changed, 21 insertions(+), 4 deletions(-)
13081 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
13082 Author: Simon Feltman <s.feltman@gmail.com>
13083 Date: Sun May 6 18:10:39 2012 -0700
13085 Gdk Color override should support red/green/blue_float properties
13087 Added red_float, green_float, and blue_float properties to Color.
13088 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
13090 https://bugzilla.gnome.org/show_bug.cgi?id=675579
13092 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13094 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
13095 tests/Makefile.am | 2 +-
13096 tests/test_overrides.py | 17 +++++++++++++++++
13097 3 files changed, 62 insertions(+), 1 deletion(-)
13099 commit d9608c332d9592f03545b110cfac8105453ea035
13100 Author: Martin Pitt <martinpitt@gnome.org>
13101 Date: Sat May 5 12:42:42 2012 -0700
13103 Support marshalling of GVariants for closures
13105 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
13107 be called with GVariant arguments and return GVariant.
13109 Unmark the corresponding test case as "expected failure", and also
13111 for None values and type mismatches.
13113 https://bugzilla.gnome.org/show_bug.cgi?id=656554
13115 gi/_gobject/pygtype.c | 47
13116 +++++++++++++++++++++++++++++++++++++++++++++--
13117 tests/test_everything.py | 16 ++++++++++++----
13118 2 files changed, 57 insertions(+), 6 deletions(-)
13120 commit e7a909c16dc1c625ab11e270f23d540f15c71767
13121 Author: Johan Dahlin <johan@gnome.org>
13122 Date: Mon May 7 10:33:40 2012 -0300
13124 Require gobject-introspection 1.33.0
13126 configure.ac | 2 +-
13127 1 file changed, 1 insertion(+), 1 deletion(-)
13129 commit 9e8239684433631e0d1650d25416e4d7bf92a058
13130 Author: Martin Pitt <martinpitt@gnome.org>
13131 Date: Sun May 6 18:28:23 2012 -0700
13133 NEWS: Add API additions since 3.2.0
13136 1 file changed, 4 insertions(+), 3 deletions(-)
13138 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
13139 Author: Martin Pitt <martinpitt@gnome.org>
13140 Date: Sun May 6 18:25:23 2012 -0700
13142 NEWS: Mark API changes since 3.2.0
13145 1 file changed, 3 insertions(+), 3 deletions(-)
13147 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
13148 Author: Martin Pitt <martinpitt@gnome.org>
13149 Date: Sun May 6 18:19:35 2012 -0700
13151 Fix commit 168a087 for Python 3
13153 Simplify the type check and use the already existing one. Fix the
13155 to work with both Python 2 and 3.
13157 gi/pygi-argument.c | 42 +++++++++---------------------------------
13158 1 file changed, 9 insertions(+), 33 deletions(-)
13160 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
13161 Author: Martin Pitt <martinpitt@gnome.org>
13162 Date: Sun May 6 18:08:57 2012 -0700
13164 pygtkcompat.py: Typo fix
13166 Was missing a space around operator, causing the PEP8 check to fail.
13168 gi/pygtkcompat.py | 2 +-
13169 1 file changed, 1 insertion(+), 1 deletion(-)
13171 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
13172 Author: Martin Pitt <martinpitt@gnome.org>
13173 Date: Sun May 6 18:02:04 2012 -0700
13175 _pygi_argument_from_object(): Check for compatible data type
13177 Verify that the passed PyObject actually matches the expected type
13179 argument. With this, trying to assign a wrong type to a property
13181 a proper TypeError.
13183 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
13184 gi/pygi-property.c | 3 +++
13185 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
13186 3 files changed, 82 insertions(+)
13188 commit 5948b62ba3e08ea943e6965ee38c94c363186226
13189 Author: Martin Pitt <martinpitt@gnome.org>
13190 Date: Sun May 6 17:59:57 2012 -0700
13192 pygtkcompat: Fix color conversion
13194 gtk_style_context_get_background_color() returns a GdkRGBA value,
13196 float values between 0 and 1. However, we construct a GdkColor
13198 that, so we need to scale to 0..65535 and round to int.
13200 gi/pygtkcompat.py | 6 +++---
13201 1 file changed, 3 insertions(+), 3 deletions(-)
13203 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
13204 Author: Martin Pitt <martinpitt@gnome.org>
13205 Date: Sun May 6 06:02:31 2012 -0700
13207 test_gi: Check setting properties in constructor
13209 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
13210 1 file changed, 33 insertions(+)
13212 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
13213 Author: Martin Pitt <martinpitt@gnome.org>
13214 Date: Sun May 6 05:50:00 2012 -0700
13216 Support getting and setting GStrv properties
13218 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
13219 tests/test_gi.py | 11 +++++++++++
13220 2 files changed, 47 insertions(+)
13222 commit 8321af2c7df499291e664c676376f149a0c3dcac
13223 Author: Martin Pitt <martinpitt@gnome.org>
13224 Date: Sat May 5 13:58:29 2012 -0700
13226 Support defining GStrv properties from Python
13228 gi/_gobject/propertyhelper.py | 10 ++++++--
13229 tests/test_properties.py | 58
13230 +++++++++++++++++++++++++++++++++++++++++--
13231 2 files changed, 64 insertions(+), 4 deletions(-)
13233 commit f2494526e1c579c41babfe7ff67deef0f6966adf
13234 Author: Martin Pitt <martinpitt@gnome.org>
13235 Date: Sat May 5 13:21:20 2012 -0700
13237 Add GObject.TYPE_STRV constant
13239 gi/_gobject/__init__.py | 1 +
13240 gi/_gobject/constants.py | 1 +
13241 tests/test_everything.py | 2 +-
13242 tests/test_signal.py | 2 +-
13243 4 files changed, 4 insertions(+), 2 deletions(-)
13245 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
13246 Author: Martin Pitt <martinpitt@gnome.org>
13247 Date: Sat May 5 09:28:36 2012 +0200
13249 Unref GVariants when destroying the wrapper
13251 https://bugzilla.gnome.org/show_bug.cgi?id=675472
13253 gi/overrides/GLib.py | 3 +++
13254 1 file changed, 3 insertions(+)
13256 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
13257 Author: Martin Pitt <martinpitt@gnome.org>
13258 Date: Sat May 5 09:23:55 2012 +0200
13260 Fix TestArrayGVariant test cases
13262 test_array_gvariant_container_in() and test_array_gvariant_full_in()
13264 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
13266 Actually do what they mean to do now and call the corresponding
13267 GIMarshallingTests methods.
13269 tests/test_gi.py | 4 ++--
13270 1 file changed, 2 insertions(+), 2 deletions(-)
13272 commit fda8a069d503e63c76a6b1ba285a181822549059
13273 Author: Jose Rostagno <joserostagno@vijona.com.ar>
13274 Date: Sat May 5 08:52:41 2012 +0200
13276 pygtkcompat: Add gdk.pixbuf_get_formats compat code
13278 https://bugzilla.gnome.org/show_bug.cgi?id=675489
13280 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13282 gi/pygtkcompat.py | 20 ++++++++++++++++++++
13283 tests/test_pygtkcompat.py | 8 ++++++++
13284 2 files changed, 28 insertions(+)
13286 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
13287 Author: Jose Rostagno <joserostagno@vijona.com.ar>
13288 Date: Mon Apr 30 13:44:19 2012 -0300
13290 pygtkcompat: Add some more compat functions
13292 https://bugzilla.gnome.org/show_bug.cgi?id=675489
13294 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13296 gi/pygtkcompat.py | 14 ++++++++++++++
13297 1 file changed, 14 insertions(+)
13299 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
13300 Author: Martin Pitt <martinpitt@gnome.org>
13301 Date: Thu May 3 12:25:04 2012 +0200
13303 Fix tests for Python 3
13305 cmp() does not exist any more in Python 3, replace with comparison
13308 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
13310 can't pass a str (which is an Unicode object in Python 3). Pass a
13314 tests/test_gi.py | 2 +-
13315 tests/test_overrides.py | 2 +-
13316 2 files changed, 2 insertions(+), 2 deletions(-)
13318 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
13319 Author: Martin Pitt <martinpitt@gnome.org>
13320 Date: Thu May 3 09:38:56 2012 +0200
13322 Fix building with --disable-cairo
13324 Build gobject-introspection's regress.c against cairo, not
13325 pycairo/py3cairo. We
13326 always need cairo to build, so unconditionally check for this in
13329 In test_everything.py, gracefully handle the absence of the "cairo"
13331 module, which we do not have when building without cairo support.
13333 configure.ac | 3 +++
13334 tests/Makefile.am | 4 ++--
13335 tests/test_everything.py | 8 +++++++-
13336 3 files changed, 12 insertions(+), 3 deletions(-)
13338 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
13339 Author: Martin Pitt <martinpitt@gnome.org>
13340 Date: Thu May 3 09:28:51 2012 +0200
13342 tests: Fix deprecated assertions
13344 assertAlmostEquals → assertAlmostEqual
13345 assertNotEquals → assertNotEqual
13347 tests/test_everything.py | 4 ++--
13348 tests/test_gi.py | 12 ++++++------
13349 tests/test_overrides.py | 10 +++++-----
13350 3 files changed, 13 insertions(+), 13 deletions(-)
13352 commit 07f312e66c07357168098d3f96813d2c997e8dc7
13353 Author: Martin Pitt <martinpitt@gnome.org>
13354 Date: Wed May 2 12:08:19 2012 +0200
13356 Run tests with MALLOC_PERTURB_
13358 We mostly use the glib allocation functions, but this might
13359 help to uncover access to already freed or uninitialized memory in
13363 tests/Makefile.am | 1 +
13364 1 file changed, 1 insertion(+)
13366 commit b0740d386c2cbbd153878209b584b568968e4d98
13367 Author: Martin Pitt <martinpitt@gnome.org>
13368 Date: Mon Apr 30 16:26:57 2012 +0200
13370 configure.ac: Post-release bump to 3.3.2
13372 configure.ac | 2 +-
13373 1 file changed, 1 insertion(+), 1 deletion(-)
13375 commit d3977266faadacd3d05705497c1cf51a01a6606f
13376 Author: Martin Pitt <martinpitt@gnome.org>
13377 Date: Mon Apr 30 16:08:09 2012 +0200
13382 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13383 1 file changed, 66 insertions(+)
13385 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
13386 Author: Giovanni Campagna <gcampagna@src.gnome.org>
13387 Date: Sun Apr 29 23:55:15 2012 +0200
13389 GSettings: allow extra keyword arguments
13391 All GObject constructors are expected to accept any construct
13392 property as keyword argument, and overrides should respect that.
13393 In particular, not doing this for GSettings prevents using a custom
13396 https://bugzilla.gnome.org/show_bug.cgi?id=675105
13398 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13400 gi/overrides/Gio.py | 4 ++--
13401 1 file changed, 2 insertions(+), 2 deletions(-)
13403 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
13404 Author: Jose Rostagno <joserostagno@vijona.com.ar>
13405 Date: Sun Apr 29 12:56:50 2012 -0300
13407 pygtkcompat: Correct Userlist module use
13409 https://bugzilla.gnome.org/show_bug.cgi?id=675084
13411 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13413 gi/pygtkcompat.py | 2 +-
13414 tests/test_pygtkcompat.py | 4 ++++
13415 2 files changed, 5 insertions(+), 1 deletion(-)
13417 commit 3551462a429ef30274fa01fc8111da5025f9c342
13418 Author: Martin Pitt <martinpitt@gnome.org>
13419 Date: Sun Apr 29 20:17:47 2012 +0200
13421 Add release-news make rule
13423 This produces a commit log since the previous release in our
13425 format. This does not currently wrap long lines automatically, though.
13427 Do include bug numbers from now on, as they are very useful.
13429 Makefile.am | 12 ++++++++++--
13430 1 file changed, 10 insertions(+), 2 deletions(-)
13432 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
13433 Author: Martin Pitt <martinpitt@gnome.org>
13434 Date: Wed Apr 25 13:07:59 2012 +0200
13436 Add "make check.nemiver" target
13438 Similar to "check.gdb", but invokes nemiver.
13440 Makefile.am | 3 +++
13441 tests/Makefile.am | 3 +++
13442 2 files changed, 6 insertions(+)
13444 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
13445 Author: Martin Pitt <martinpitt@gnome.org>
13446 Date: Tue Apr 24 13:24:00 2012 +0200
13448 Test flags and enums in GHash values
13450 https://bugzilla.gnome.org/show_bug.cgi?id=637466
13452 tests/test_everything.py | 18 ++++++++++++------
13453 1 file changed, 12 insertions(+), 6 deletions(-)
13455 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
13456 Author: Martin Pitt <martinpitt@gnome.org>
13457 Date: Tue Apr 24 13:03:36 2012 +0200
13459 tests: Activate test_hash_in and apply workaround
13461 Work around pygobject's current inability to produce a GStrv object
13463 string array by explicitly producing a GStrV object, and reactivate
13466 https://bugzilla.gnome.org/show_bug.cgi?id=666636
13468 tests/test_everything.py | 24 +++++++++++++-----------
13469 1 file changed, 13 insertions(+), 11 deletions(-)
13471 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
13472 Author: Martin Pitt <martinpitt@gnome.org>
13473 Date: Mon Apr 23 12:33:09 2012 +0200
13475 Add special case for Gdk.Atom array entries from Python
13477 Gdk.Atom pretends to be a struct pointer, but is really just an
13479 into a pointer. So we must not dereference it directly, nor free
13481 instead just copy the pointer value.
13483 Also add a few other test cases for "single Atom return", "single
13485 in", and Atom GList return", which already work fine.
13487 https://bugzilla.gnome.org/show_bug.cgi?id=661709
13489 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
13490 tests/Makefile.am | 1 +
13491 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
13492 3 files changed, 56 insertions(+), 4 deletions(-)
13494 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
13495 Author: Martin Pitt <martinpitt@gnome.org>
13496 Date: Mon Apr 23 20:09:43 2012 +0200
13498 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
13500 https://bugzilla.gnome.org/show_bug.cgi?id=667954
13502 tests/test_gdbus.py | 2 +-
13503 1 file changed, 1 insertion(+), 1 deletion(-)
13505 commit 3ae38d7519524288a57e5d522954b9d6725f0185
13506 Author: Martin Pitt <martinpitt@gnome.org>
13507 Date: Mon Apr 23 18:47:34 2012 +0200
13509 Add test case for Gtk.ListStore custom sort
13511 This works in Python 2, but crashes in Python 3, another case of
13513 we get when C calls a Python callback in Python 3.
13515 https://bugzilla.gnome.org/show_bug.cgi?id=674475
13517 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
13518 1 file changed, 31 insertions(+)
13520 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
13521 Author: Martin Pitt <martinpitt@gnome.org>
13522 Date: Mon Apr 23 17:40:23 2012 +0200
13524 GTK overrides: Add missing keyword arguments
13526 Add missing **kwargs to overridden __init__() constructors, to
13528 arbitrary widget properties.
13530 https://bugzilla.gnome.org/show_bug.cgi?id=660018
13532 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
13533 tests/test_overrides.py | 6 ++++++
13534 2 files changed, 24 insertions(+), 16 deletions(-)
13536 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
13537 Author: Martin Pitt <martinpitt@gnome.org>
13538 Date: Mon Apr 23 15:24:04 2012 +0200
13540 Add missing override for TreeModel.iter_previous()
13542 This should behave like the override for TreeModel.iter_next().
13544 https://bugzilla.gnome.org/show_bug.cgi?id=660018
13546 gi/overrides/Gtk.py | 6 ++++++
13547 tests/test_overrides.py | 4 ++++
13548 2 files changed, 10 insertions(+)
13550 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
13551 Author: Martin Pitt <martinpitt@gnome.org>
13552 Date: Sun Apr 22 16:45:06 2012 +0200
13554 pygi-convert.py: Drop obsolete drag method conversions
13556 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
13558 fixed a while ago to be proper Widget methods again.
13560 https://bugzilla.gnome.org/show_bug.cgi?id=652860
13562 pygi-convert.sh | 3 ---
13563 1 file changed, 3 deletions(-)
13565 commit f82eca6006dec21624796074af8ffe9b2256f7a4
13566 Author: Martin Pitt <martinpitt@gnome.org>
13567 Date: Sat Apr 21 14:00:50 2012 +0200
13569 tests: Replace deprecated assertEquals() with assertEqual()
13571 tests/test_everything.py | 144 ++++++-------
13572 tests/test_gi.py | 502
13573 +++++++++++++++++++++++-----------------------
13574 tests/test_gobject.py | 58 +++---
13575 tests/test_option.py | 6 +-
13576 tests/test_overrides.py | 352 ++++++++++++++++----------------
13577 tests/test_properties.py | 18 +-
13578 tests/test_pygtkcompat.py | 42 ++--
13579 7 files changed, 561 insertions(+), 561 deletions(-)
13581 commit ddb0bf01e694585d58af52673a21796e7c9578ea
13582 Author: Paolo Borelli <pborelli@gnome.org>
13583 Date: Sat Apr 21 12:02:54 2012 +0200
13585 Plug tiny leak in constant_info_get_value
13587 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
13589 gi/pygi-info.c | 1 +
13590 1 file changed, 1 insertion(+)
13592 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
13593 Author: Bastian Winkler <buz@netbuz.org>
13594 Date: Thu Apr 12 20:30:05 2012 +0200
13596 Fix len_arg_index for array arguments
13598 Don't set len_arg_index for arrays without the length annotation
13600 This fixes methods like Clutter.Texture.set_from_rgb_data() and
13601 Clutter.Image.set_data()
13603 https://bugzilla.gnome.org/show_bug.cgi?id=674271
13605 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13607 gi/pygi-cache.c | 4 +++-
13608 gi/pygi-marshal-cleanup.c | 4 ++--
13609 tests/test_gi.py | 3 +++
13610 3 files changed, 8 insertions(+), 3 deletions(-)
13612 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
13613 Author: Martin Pitt <martinpitt@gnome.org>
13614 Date: Thu Apr 19 13:11:56 2012 +0200
13616 Support defining GType properties from Python
13618 Commit 84e3471 fixed the handling of GType properties for properties
13620 defined in the C library already. Add the missing support for
13622 properties in Python as well.
13624 https://bugzilla.gnome.org/show_bug.cgi?id=674351
13626 gi/_gobject/gobjectmodule.c | 5 ++++-
13627 gi/_gobject/propertyhelper.py | 9 ++++++---
13628 tests/test_properties.py | 42
13629 +++++++++++++++++++++++++++++++++++++++---
13630 3 files changed, 49 insertions(+), 7 deletions(-)
13632 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
13633 Author: Martin Pitt <martinpitt@gnome.org>
13634 Date: Thu Apr 19 16:12:29 2012 +0200
13636 Fix typo in previous commit
13638 In the test case, actually assign the newly created object, so that
13640 properties of the right object.
13642 tests/test_everything.py | 2 +-
13643 1 file changed, 1 insertion(+), 1 deletion(-)
13645 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
13646 Author: Bastian Winkler <buz@netbuz.org>
13647 Date: Wed Apr 18 21:44:08 2012 +0200
13649 Handle GType properties correctly
13651 Fix conversion from/to properties of type G_TYPE_GTYPE
13653 https://bugzilla.gnome.org/show_bug.cgi?id=674351
13655 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13657 gi/_gobject/pygtype.c | 9 +++++++--
13658 tests/test_everything.py | 15 +++++++++++++++
13659 2 files changed, 22 insertions(+), 2 deletions(-)
13661 commit d1362451e070e156d2f49c9cde930cc38befb12b
13662 Author: Martin Pitt <martinpitt@gnome.org>
13663 Date: Thu Apr 19 07:27:10 2012 +0200
13665 Add missing GObject.TYPE_GTYPE
13667 gi/_gobject/__init__.py | 1 +
13668 gi/_gobject/constants.py | 1 +
13669 2 files changed, 2 insertions(+)
13671 commit d3225f1540e09719caa73e52d402e946da3add24
13672 Author: Martin Pitt <martinpitt@gnome.org>
13673 Date: Tue Apr 10 12:44:00 2012 +0200
13675 Fix test_mainloop.py for Python 3
13677 tests/test_mainloop.py | 9 +++++++--
13678 1 file changed, 7 insertions(+), 2 deletions(-)
13680 commit 903283119896f3e054694484da4147788b02ce60
13681 Author: Martin Pitt <martinpitt@gnome.org>
13682 Date: Mon Apr 9 15:20:39 2012 +0200
13684 Make callback exception propagation test stricter
13686 Propagating Python exceptions from callbacks through the C context
13688 original caller does not currently happen, is nontrivial/unsafe
13690 and not desirable at this point any more as by now we have established
13692 current behaviour. So remove the catching of ZeroDivisionError in
13695 https://bugzilla.gnome.org/show_bug.cgi?id=616279
13697 tests/test_everything.py | 16 ++++++++--------
13698 1 file changed, 8 insertions(+), 8 deletions(-)
13700 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
13701 Author: Simon Feltman <s.feltman@gmail.com>
13702 Date: Sun Mar 18 15:59:58 2012 -0700
13704 Add context management to freeze_notify() and handler_block().
13706 These methods now return a context manager object. Within the
13708 thaw_notify() and handler_unblock() are called respectively. This
13710 statements like the following:
13712 with obj.freeze_notify():
13713 obj.props.width = 100
13714 obj.props.height = 100
13715 obj.props.opacity = 0.5
13717 This does not affect standard usage of these methods.
13719 https://bugzilla.gnome.org/show_bug.cgi?id=672324
13721 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13723 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
13724 tests/test_gobject.py | 158
13725 ++++++++++++++++++++++++++++++++++++++++++++++++
13726 2 files changed, 288 insertions(+), 8 deletions(-)
13728 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
13729 Author: Martin Pitt <martinpitt@gnome.org>
13730 Date: Wed Apr 4 19:08:54 2012 +0200
13732 Add support for GFlags properties
13734 https://bugzilla.gnome.org/show_bug.cgi?id=620943
13736 gi/_gobject/propertyhelper.py | 9 +++++++--
13737 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
13738 2 files changed, 34 insertions(+), 3 deletions(-)
13740 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
13741 Author: Martin Pitt <martinpitt@gnome.org>
13742 Date: Wed Apr 4 17:54:52 2012 +0200
13744 Wrap GLib.Source.is_destroyed() method
13746 Based on original patch from Bryan Silverthorn.
13748 https://bugzilla.gnome.org/show_bug.cgi?id=524719
13750 gi/_glib/pygsource.c | 15 +++++++++++++++
13751 tests/test_source.py | 24 ++++++++++++++++++++++++
13752 2 files changed, 39 insertions(+)
13754 commit 05030a95a4d3090162ed5f510a26d69bbb152942
13755 Author: Martin Pitt <martinpitt@gnome.org>
13756 Date: Wed Apr 4 15:59:24 2012 +0200
13758 Fix error message when trying to override a non-GI class
13760 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
13762 https://bugzilla.gnome.org/show_bug.cgi?id=646667
13764 gi/overrides/__init__.py | 7 ++++---
13765 tests/test_overrides.py | 13 +++++++++++++
13766 2 files changed, 17 insertions(+), 3 deletions(-)
13768 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
13769 Author: Steve Frécinaux <code@istique.net>
13770 Date: Wed Apr 4 15:30:55 2012 +0200
13772 Fix segfault when accessing __grefcount__ before creating the GObject
13774 When creating a new instance using Type() and trying to access
13775 __grefcount__ before calling the subclass's __init__ function, there
13776 used to be a segmentation fault because we were trying to access the
13777 not yet created object. Now raise a proper exception instead.
13779 https://bugzilla.gnome.org/show_bug.cgi?id=640434
13781 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
13783 gi/_gobject/pygobject.c | 4 ++++
13784 tests/test_gobject.py | 11 +++++++++++
13785 2 files changed, 15 insertions(+)
13787 commit 24cc09a7105299805fcc5bc151f53ac69958d728
13788 Author: Steve Frécinaux <code@istique.net>
13789 Date: Wed Feb 9 18:37:33 2011 +0100
13791 Do not bind gobject_get_data() and gobject_set_data()
13793 They will basically cause a crash if misused, and you can always use a
13794 python member attribute instead.
13796 https://bugzilla.gnome.org/show_bug.cgi?id=641944
13798 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13800 gi/_gobject/pygobject.c | 40 ----------------------------------------
13801 1 file changed, 40 deletions(-)
13803 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
13804 Author: Martin Pitt <martinpitt@gnome.org>
13805 Date: Tue Apr 3 22:26:34 2012 +0200
13807 Add test case for multiple GLib.MainLoop instances
13809 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
13813 https://bugzilla.gnome.org/show_bug.cgi?id=663068
13815 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
13816 1 file changed, 24 insertions(+), 1 deletion(-)
13818 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
13819 Author: John (J5) Palmieri <johnp@redhat.com>
13820 Date: Tue Feb 21 15:13:42 2012 +0100
13822 Add a ccallback type which is used to invoke callbacks passed to
13825 Used when overriding methods like gtk_container_forall wich pass in a
13826 callback that needs to be executed on internal children:
13827 def do_forall(self, callback, userdata):
13828 callback(self.custom_child, userdata)
13830 https://bugzilla.gnome.org/show_bug.cgi?id=644926
13832 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
13833 Co-authored-by: Simon Schampijer <simon@laptop.org>
13835 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13837 gi/Makefile.am | 2 +
13838 gi/gimodule.c | 1 +
13839 gi/module.py | 5 +++
13840 gi/pygi-argument.c | 12 +----
13841 gi/pygi-cache.c | 28 ++++++++++--
13842 gi/pygi-cache.h | 9 ++--
13843 gi/pygi-ccallback.c | 100
13844 ++++++++++++++++++++++++++++++++++++++++++
13845 gi/pygi-ccallback.h | 41 +++++++++++++++++
13846 gi/pygi-closure.c | 50 ++++++++++++++++++++-
13847 gi/pygi-invoke-state-struct.h | 2 +
13848 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
13849 gi/pygi-invoke.h | 3 ++
13850 gi/pygi-private.h | 1 +
13851 gi/pygi.h | 10 +++++
13852 tests/test_gi.py | 16 +++++++
13853 15 files changed, 312 insertions(+), 41 deletions(-)
13855 commit db7e1d078db16b6f11dee51aa97525c451346632
13856 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
13857 Date: Tue Mar 27 17:34:48 2012 +0200
13859 Regression test: marshalling GValues in GHashTable
13861 https://bugzilla.gnome.org/show_bug.cgi?id=668903
13863 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
13865 tests/test_everything.py | 19 +++++++++++++++++++
13866 1 file changed, 19 insertions(+)
13868 commit 7c0017c30129a8db391f902ed592782200d69c64
13869 Author: Martin Pitt <martin.pitt@ubuntu.com>
13870 Date: Mon Mar 26 17:55:41 2012 +0200
13872 Bump version to 3.3.1
13874 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
13876 continue with 3.3.x on master.
13878 configure.ac | 4 ++--
13879 1 file changed, 2 insertions(+), 2 deletions(-)
13881 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
13882 Author: Martin Pitt <martin.pitt@ubuntu.com>
13883 Date: Mon Mar 26 17:51:37 2012 +0200
13887 - Ignore *.o, backup files, and generated Makefiles in all
13889 - Ignore *.pyc files.
13890 - Do not ignore .gitignore, we actually want to track this.
13893 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13894 1 file changed, 61 insertions(+)
13896 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
13897 Author: Martin Pitt <martin.pitt@ubuntu.com>
13898 Date: Mon Mar 26 17:45:08 2012 +0200
13900 Fix "distcheck" and tests with out-of-tree builds
13902 - Symlink *.py files from srcdir into builddir during build, as
13904 accept the extensions and modules in different paths.
13905 - "make clean" should remove *.pyc files
13906 - tests/runtests.py: Look for tests in srcdir, not in builddir
13908 Makefile.am | 6 ++++--
13909 gi/Makefile.am | 13 +++++++++++--
13910 gi/_glib/Makefile.am | 12 ++++++++++--
13911 gi/_gobject/Makefile.am | 12 ++++++++++--
13912 gi/overrides/Makefile.am | 10 ++++++++++
13913 gi/repository/Makefile.am | 11 +++++++++++
13914 tests/runtests.py | 6 ++++--
13915 7 files changed, 60 insertions(+), 10 deletions(-)
13917 commit f83d95e6fff572bda659a48e309b4524dafa4e83
13918 Author: Johan Dahlin <johan@gnome.org>
13919 Date: Thu Mar 22 11:14:03 2012 -0300
13921 Add a pep8 check to the makefile
13923 Also reorganize the pyflakes check, since target dependencies do not
13924 take the exit status of the shell command into account.
13926 https://bugzilla.gnome.org/show_bug.cgi?id=672627
13928 tests/Makefile.am | 9 ++++-----
13929 1 file changed, 4 insertions(+), 5 deletions(-)
13931 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
13932 Author: Johan Dahlin <johan@gnome.org>
13933 Date: Thu Mar 22 10:56:59 2012 -0300
13935 PEP8: Remaining whitespace fixes
13937 https://bugzilla.gnome.org/show_bug.cgi?id=672627
13939 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
13940 demos/gtk-demo/demos/Tree View/liststore.py | 28
13941 +++++++++++++-------------
13942 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
13943 demos/gtk-demo/demos/rotatedtext.py | 2 +-
13944 examples/cairo-demo.py | 4 ++--
13945 tests/test_gi.py | 12 +++++------
13946 tests/test_overrides.py | 2 +-
13947 7 files changed, 32 insertions(+), 33 deletions(-)
13949 commit 032fcce2bf6070a9001cbb780e90403051e303b1
13950 Author: Johan Dahlin <johan@gnome.org>
13951 Date: Thu Mar 22 10:56:03 2012 -0300
13953 PEP8: Add spaces before #
13955 https://bugzilla.gnome.org/show_bug.cgi?id=672627
13957 demos/gtk-demo/demos/drawingarea.py | 6 +++---
13958 demos/gtk-demo/demos/images.py | 10 +++++-----
13959 demos/gtk-demo/demos/rotatedtext.py | 2 +-
13960 gi/__init__.py | 2 +-
13961 gi/_glib/option.py | 2 +-
13962 gi/_gobject/__init__.py | 2 +-
13963 gi/overrides/GLib.py | 12 ++++++------
13964 gi/types.py | 4 ++--
13965 tests/runtests.py | 2 +-
13966 tests/test_gdbus.py | 4 ++--
13967 10 files changed, 23 insertions(+), 23 deletions(-)
13969 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
13970 Author: Johan Dahlin <johan@gnome.org>
13971 Date: Thu Mar 22 10:52:05 2012 -0300
13973 PEP8: Add missing whitespace after : and ,
13975 https://bugzilla.gnome.org/show_bug.cgi?id=672627
13977 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
13978 demos/gtk-demo/demos/appwindow.py | 2 +-
13979 tests/test_everything.py | 23 +++++++++--------------
13980 tests/test_gi.py | 2 +-
13981 tests/test_overrides.py | 2 +-
13982 5 files changed, 13 insertions(+), 18 deletions(-)
13984 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
13985 Author: Johan Dahlin <johan@gnome.org>
13986 Date: Thu Mar 22 10:49:52 2012 -0300
13988 PEP8: Remove too whitespace before }
13990 https://bugzilla.gnome.org/show_bug.cgi?id=672627
13992 tests/test_overrides.py | 2 +-
13993 1 file changed, 1 insertion(+), 1 deletion(-)
13995 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
13996 Author: Johan Dahlin <johan@gnome.org>
13997 Date: Thu Mar 22 10:49:27 2012 -0300
13999 PEP8: Remove too many blank lines
14001 https://bugzilla.gnome.org/show_bug.cgi?id=672627
14003 demos/gtk-demo/demos/rotatedtext.py | 1 -
14004 tests/test_overrides.py | 1 -
14005 2 files changed, 2 deletions(-)
14007 commit 03e597cb8f3b075efae556ee51a598695a883ad3
14008 Author: Johan Dahlin <johan@gnome.org>
14009 Date: Thu Mar 22 10:48:59 2012 -0300
14011 PEP8: Fix whitespace around operators
14013 https://bugzilla.gnome.org/show_bug.cgi?id=672627
14015 demos/gtk-demo/demos/images.py | 2 +-
14016 examples/cairo-demo.py | 8 ++++----
14017 tests/test_gi.py | 4 ++--
14018 tests/test_overrides.py | 8 ++++----
14019 tests/test_properties.py | 14 +++++++-------
14020 tests/test_signal.py | 2 +-
14021 6 files changed, 19 insertions(+), 19 deletions(-)
14023 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
14024 Author: Johan Dahlin <johan@gnome.org>
14025 Date: Thu Mar 22 10:46:17 2012 -0300
14027 PEP8: Remove whitespace before (
14029 https://bugzilla.gnome.org/show_bug.cgi?id=672627
14031 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
14032 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
14033 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
14034 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
14035 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
14036 demos/gtk-demo/demos/dialogs.py | 12 ++---
14037 demos/gtk-demo/demos/pickers.py | 8 ++--
14038 demos/gtk-demo/demos/pixbuf.py | 4 +-
14039 demos/gtk-demo/demos/printing.py | 8 ++--
14040 demos/gtk-demo/demos/rotatedtext.py | 2 +-
14041 demos/gtk-demo/gtk-demo.py | 4 +-
14042 gi/module.py | 4 +-
14043 gi/overrides/Pango.py | 2 +-
14044 gi/pygtkcompat.py | 4 +-
14045 tests/test_everything.py | 4 +-
14046 tests/test_overrides.py | 62
14047 +++++++++++++-------------
14048 16 files changed, 68 insertions(+), 68 deletions(-)
14050 commit b04d209930ab01bae6563b0d714aec829739bdc6
14051 Author: Johan Dahlin <johan@gnome.org>
14052 Date: Thu Mar 22 10:40:46 2012 -0300
14054 PEP8: Remove whitespace around {}
14056 https://bugzilla.gnome.org/show_bug.cgi?id=672627
14058 tests/test_signal.py | 20 ++++++++++----------
14059 1 file changed, 10 insertions(+), 10 deletions(-)
14061 commit 725483a5dc36739dc7836716b5d6d48091564bf8
14062 Author: Johan Dahlin <johan@gnome.org>
14063 Date: Thu Mar 22 10:38:59 2012 -0300
14065 PEP8: run via --fix from craigds fork
14067 https://bugzilla.gnome.org/show_bug.cgi?id=672627
14069 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
14070 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
14071 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
14072 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
14073 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
14074 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
14075 demos/gtk-demo/demos/appwindow.py | 13 +++++-
14076 demos/gtk-demo/demos/assistant.py | 1 +
14077 demos/gtk-demo/demos/builder.py | 1 +
14078 demos/gtk-demo/demos/button_box.py | 1 +
14079 demos/gtk-demo/demos/clipboard.py | 2 +-
14080 demos/gtk-demo/demos/colorselector.py | 1 +
14081 demos/gtk-demo/demos/combobox.py | 4 +-
14082 demos/gtk-demo/demos/dialogs.py | 2 +
14083 demos/gtk-demo/demos/drawingarea.py | 1 +
14084 demos/gtk-demo/demos/expander.py | 4 +-
14085 demos/gtk-demo/demos/images.py | 10 +++--
14086 demos/gtk-demo/demos/infobars.py | 2 +
14087 demos/gtk-demo/demos/links.py | 2 +
14088 demos/gtk-demo/demos/menus.py | 2 +
14089 demos/gtk-demo/demos/pickers.py | 2 +
14090 demos/gtk-demo/demos/pixbuf.py | 2 +
14091 demos/gtk-demo/demos/printing.py | 5 ++-
14092 demos/gtk-demo/demos/rotatedtext.py | 4 +-
14093 demos/gtk-demo/demos/test.py | 1 +
14094 demos/gtk-demo/gtk-demo.py | 9 ++--
14095 examples/cairo-demo.py | 57
14096 ++++++++++++++----------
14097 examples/option.py | 1 -
14098 examples/properties.py | 1 +
14099 examples/signal.py | 4 ++
14100 gi/__init__.py | 2 +
14101 gi/_glib/option.py | 4 +-
14102 gi/_gobject/__init__.py | 1 +
14103 gi/_gobject/propertyhelper.py | 5 ++-
14104 gi/module.py | 3 ++
14105 gi/overrides/GIMarshallingTests.py | 2 +
14106 gi/overrides/GLib.py | 12 +++--
14107 gi/overrides/Gdk.py | 9 ++++
14108 gi/overrides/Gio.py | 4 ++
14109 gi/overrides/Gtk.py | 56
14110 ++++++++++++++++++++---
14111 gi/overrides/Pango.py | 2 +
14112 gi/overrides/__init__.py | 5 ++-
14113 gi/pygtkcompat.py | 16 +++++--
14115 tests/test_everything.py | 30 +++++++++----
14116 tests/test_gdbus.py | 1 +
14117 tests/test_gi.py | 30 +++++++------
14118 tests/test_gobject.py | 3 +-
14119 tests/test_mainloop.py | 1 +
14120 tests/test_option.py | 1 +
14121 tests/test_overrides.py | 55
14122 ++++++++++++-----------
14123 tests/test_properties.py | 11 ++++-
14124 tests/test_signal.py | 32 ++++++++++++-
14125 tests/test_source.py | 1 +
14126 tests/test_subprocess.py | 1 +
14127 tests/test_thread.py | 1 +
14128 tests/test_uris.py | 1 +
14129 tests/testmodule.py | 1 +
14130 58 files changed, 326 insertions(+), 111 deletions(-)
14132 commit 917275d4aa81db39ccaca34fa514032fb80a3187
14133 Author: Johan Dahlin <johan@gnome.org>
14134 Date: Thu Mar 22 10:33:29 2012 -0300
14136 PEP8: Remove spaces around = for keyword arguments
14138 https://bugzilla.gnome.org/show_bug.cgi?id=672627
14140 demos/gtk-demo/demos/appwindow.py | 8 ++++----
14141 demos/gtk-demo/demos/colorselector.py | 4 ++--
14142 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
14143 examples/option.py | 4 ++--
14144 gi/_glib/option.py | 2 +-
14145 gi/overrides/Gtk.py | 2 +-
14146 tests/test_gi.py | 26 +++++++++++++-------------
14147 tests/test_option.py | 2 +-
14148 tests/test_overrides.py | 8 ++++----
14149 9 files changed, 40 insertions(+), 40 deletions(-)
14151 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
14152 Author: Johan Dahlin <johan@gnome.org>
14153 Date: Thu Mar 22 10:28:28 2012 -0300
14155 PEP8: Remove trailing ;
14157 https://bugzilla.gnome.org/show_bug.cgi?id=672627
14159 demos/gtk-demo/demos/appwindow.py | 4 ++--
14160 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
14161 demos/gtk-demo/demos/links.py | 2 +-
14162 demos/gtk-demo/demos/pixbuf.py | 2 +-
14163 demos/gtk-demo/demos/printing.py | 8 ++++----
14164 gi/overrides/Gtk.py | 4 ++--
14165 tests/test_everything.py | 22 +++++++++++-----------
14166 tests/test_gi.py | 2 +-
14167 tests/test_overrides.py | 8 ++++----
14168 9 files changed, 41 insertions(+), 41 deletions(-)
14170 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
14171 Author: Johan Dahlin <johan@gnome.org>
14172 Date: Thu Mar 22 10:24:40 2012 -0300
14174 Remove all tabs and fix indentation
14176 By running the whole source tree via the indent.py script found
14177 in the Python distribution.
14179 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
14180 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
14181 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
14182 demos/gtk-demo/demos/appwindow.py | 18 +--
14183 demos/gtk-demo/demos/dialogs.py | 26 ++---
14184 demos/gtk-demo/demos/expander.py | 6 +-
14185 demos/gtk-demo/demos/images.py | 2 +-
14186 demos/gtk-demo/demos/links.py | 2 +-
14187 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
14188 gi/_glib/option.py | 2 +-
14189 gi/_gobject/constants.py | 1 -
14190 gi/importer.py | 1 -
14191 gi/module.py | 10 +-
14192 gi/overrides/GLib.py | 11 +-
14193 gi/overrides/Gdk.py | 30 ++---
14194 gi/overrides/Gio.py | 4 +-
14195 gi/overrides/Gtk.py | 150
14196 ++++++++++++-------------
14197 gi/overrides/Pango.py | 1 -
14198 gi/overrides/__init__.py | 10 +-
14199 gi/pygtkcompat.py | 2 +-
14200 tests/compathelper.py | 2 +-
14201 tests/runtests.py | 19 ++--
14202 tests/test_everything.py | 22 ++--
14203 tests/test_gdbus.py | 11 +-
14204 tests/test_gi.py | 38 +++----
14205 tests/test_gobject.py | 2 +-
14206 tests/test_interface.py | 1 -
14207 tests/test_option.py | 1 -
14208 tests/test_overrides.py | 78 ++++++-------
14209 tests/test_properties.py | 2 +-
14210 tests/test_uris.py | 1 -
14211 31 files changed, 255 insertions(+), 271 deletions(-)
14213 commit c375e3136f0f48eb8a6717c0053155db088b329d
14214 Author: Martin Pitt <martin.pitt@ubuntu.com>
14215 Date: Thu Mar 22 10:32:43 2012 +0100
14217 tests: Replace deprecated Python API
14219 failIf → assertFalse, failUnless → assertTrue
14221 Caught by the previous commit of making deprecations fatal.
14223 tests/test_option.py | 10 +++----
14224 tests/test_overrides.py | 66
14225 +++++++++++++++++++++++------------------------
14226 tests/test_properties.py | 14 +++++-----
14227 tests/test_pygtkcompat.py | 18 ++++++-------
14228 tests/test_signal.py | 4 +--
14229 5 files changed, 56 insertions(+), 56 deletions(-)
14231 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
14232 Author: Martin Pitt <martin.pitt@ubuntu.com>
14233 Date: Thu Mar 22 10:31:22 2012 +0100
14235 Fail tests if they use or encounter deprecations
14237 tests/Makefile.am | 2 +-
14238 1 file changed, 1 insertion(+), 1 deletion(-)
14240 commit 65762243a34af014950527c323a51a29d40fb3e1
14241 Author: Martin Pitt <martin.pitt@ubuntu.com>
14242 Date: Thu Mar 22 10:15:16 2012 +0100
14244 Do not run tests in two phases any more
14246 As we dropped the static bindings a while ago, there is no need any
14248 the tests in two phases (static/GI). Now just run them all in one go,
14249 simplifying tests/Makefile.am.
14251 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
14253 needs to happen even further, so move it from tests/test_overrides.py
14257 tests/Makefile.am | 33 ++++++++++++---------------------
14258 tests/runtests.py | 7 +++++++
14259 tests/test_overrides.py | 6 ------
14260 3 files changed, 19 insertions(+), 27 deletions(-)
14262 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
14263 Author: Martin Pitt <martin.pitt@ubuntu.com>
14264 Date: Thu Mar 22 09:58:21 2012 +0100
14266 test_overrides: Find local gsettings schema with current glib
14268 With current glib, gsettings now fails to find the gschemas.compiled
14270 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
14272 which makes this work again.
14274 tests/test_overrides.py | 9 +++++----
14275 1 file changed, 5 insertions(+), 4 deletions(-)
14277 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
14278 Author: Paolo Borelli <pborelli@gnome.org>
14279 Date: Wed Mar 21 21:09:24 2012 +0100
14281 Add GtkComboBoxEntry compatibility
14283 This widget has been removed in Gtk+ 3, add a small wrapper to the
14284 compat module to make at least basic pygtk programs that use it work.
14286 https://bugzilla.gnome.org/show_bug.cgi?id=672589
14288 gi/pygtkcompat.py | 19 +++++++++++++++++++
14289 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
14290 2 files changed, 41 insertions(+)
14292 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
14293 Author: Johan Dahlin <johan@gnome.org>
14294 Date: Wed Mar 21 16:01:35 2012 -0300
14296 Correct review comments from Martin
14298 https://bugzilla.gnome.org/show_bug.cgi?id=672578
14300 tests/test_everything.py | 4 ++--
14301 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
14302 2 files changed, 20 insertions(+), 2 deletions(-)
14304 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
14305 Author: Johan Dahlin <johan@gnome.org>
14306 Date: Wed Mar 21 14:45:53 2012 -0300
14308 Correct pyflakes warnings/errors
14310 And add a target to make check that runs pyflakes.
14312 https://bugzilla.gnome.org/show_bug.cgi?id=672578
14314 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
14315 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
14316 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
14317 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
14318 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
14319 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
14320 demos/gtk-demo/demos/appwindow.py | 13 +-
14321 demos/gtk-demo/demos/assistant.py | 4 +-
14322 demos/gtk-demo/demos/builder.py | 4 +-
14323 demos/gtk-demo/demos/button_box.py | 2 +-
14324 demos/gtk-demo/demos/clipboard.py | 2 +-
14325 demos/gtk-demo/demos/colorselector.py | 2 +-
14326 demos/gtk-demo/demos/combobox.py | 4 +-
14327 demos/gtk-demo/demos/dialogs.py | 4 +-
14328 demos/gtk-demo/demos/drawingarea.py | 2 +-
14329 demos/gtk-demo/demos/expander.py | 4 +-
14330 demos/gtk-demo/demos/images.py | 8 +-
14331 demos/gtk-demo/demos/infobars.py | 2 +-
14332 demos/gtk-demo/demos/links.py | 2 +-
14333 demos/gtk-demo/demos/menus.py | 5 +-
14334 demos/gtk-demo/demos/pickers.py | 2 +-
14335 demos/gtk-demo/demos/pixbuf.py | 2 +-
14336 demos/gtk-demo/demos/printing.py | 3 +-
14337 demos/gtk-demo/demos/rotatedtext.py | 6 +-
14338 demos/gtk-demo/gtk-demo.py | 9 +-
14339 examples/cairo-demo.py | 2 +-
14340 gi/__init__.py | 4 +
14341 gi/_glib/__init__.py | 101 ++++++++++-
14342 gi/_glib/option.py | 1 +
14343 gi/_gobject/__init__.py | 203
14344 ++++++++++++++++++++---
14345 gi/_gobject/constants.py | 2 -
14346 gi/_gobject/propertyhelper.py | 4 +-
14347 gi/importer.py | 2 +-
14349 gi/overrides/Gtk.py | 1 -
14350 gi/overrides/__init__.py | 1 -
14351 gi/pygtkcompat.py | 2 +
14353 tests/Makefile.am | 5 +
14354 tests/test_everything.py | 6 +-
14355 tests/test_gi.py | 8 +-
14356 tests/test_option.py | 10 +-
14357 tests/test_overrides.py | 30 ++--
14358 tests/test_properties.py | 12 +-
14359 tests/test_pygtkcompat.py | 4 -
14360 tests/test_signal.py | 4 +-
14361 tests/test_source.py | 6 +-
14362 47 files changed, 377 insertions(+), 138 deletions(-)
14364 commit 39650906559fcc39b4be406fa7e25c4788d349a3
14365 Author: Martin Pitt <martin.pitt@ubuntu.com>
14366 Date: Wed Mar 21 16:59:33 2012 +0100
14368 Make tests fail on CRITICAL logs, too, and apply to all tests
14370 Instead of setting warnings/criticals to fatal in individual test
14372 it in runtests.py, so that it applies to all tests.
14374 We currently have some tests which are known to generate CRITICALs
14376 with FIXME), and some WARNINGs (as they test behaviour with known-bad
14378 For these, warnings/criticals are now explicitly permitted.
14380 tests/runtests.py | 1 +
14381 tests/test_gi.py | 7 ++++++-
14382 tests/test_overrides.py | 14 +++++++-------
14383 tests/test_properties.py | 36 +++++++++++++++++++++---------------
14384 4 files changed, 35 insertions(+), 23 deletions(-)
14386 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
14387 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
14388 Date: Tue Mar 20 14:55:07 2012 +0400
14390 Support marshalling GI_TYPE_TAG_INTERFACE
14392 Marshalling of interfaces got broken with commit
14393 7746d2188ac4933c2c9011d84525d1e62fc18953.
14395 Also, do not abort on unsupported types, but log a critical failure
14399 https://bugzilla.gnome.org/show_bug.cgi?id=668903
14401 gi/pygi-marshal-from-py.c | 3 ++-
14402 gi/pygi-marshal-to-py.c | 3 ++-
14403 2 files changed, 4 insertions(+), 2 deletions(-)
14405 commit 8d85d6639778ec6364235071d272d67e7aae49ae
14406 Author: Martin Pitt <martin.pitt@ubuntu.com>
14407 Date: Wed Mar 21 14:34:36 2012 +0100
14409 Fix warnings on None values in added tree/list store rows
14411 Commit bf8c95836e1c changed the List/TreeStore overrides to use
14412 insert_with_valuesv(), but supplied all columns instead of just
14414 not None. With this, None values cause warnings like
14416 (runtests.py:12375): Gtk-WARNING **:
14417 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
14418 convert from (null) to gboolean
14420 Update the tests to make warnings fatal, to catch this better.
14422 Change _convert_row() to skip the None entries and return the list
14424 columns, and use the latter instead of a simple range(n_columns). This
14426 the behaviour before bf8c95836e1c, where columns with None values
14430 https://bugzilla.gnome.org/show_bug.cgi?id=672463
14432 gi/overrides/Gtk.py | 26 ++++++++++++++------------
14433 tests/test_overrides.py | 5 +++++
14434 2 files changed, 19 insertions(+), 12 deletions(-)
14436 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
14437 Author: Martin Pitt <martin.pitt@ubuntu.com>
14438 Date: Wed Mar 21 15:21:02 2012 +0100
14440 pygtkcompat test: Properly clean up PixbufLoader
14442 Tests currently give
14444 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
14445 without calling gdk_pixbuf_loader_close() - this is not allowed. You
14446 must explicitly end the data stream to the loader before dropping
14447 the last reference.
14449 Fix this by calling close().
14451 tests/test_pygtkcompat.py | 3 ++-
14452 1 file changed, 2 insertions(+), 1 deletion(-)
14454 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
14455 Author: Martin Pitt <martin.pitt@ubuntu.com>
14456 Date: Mon Mar 19 16:58:22 2012 +0100
14460 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
14462 configure.ac | 2 +-
14463 1 file changed, 1 insertion(+), 1 deletion(-)
14465 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
14466 Author: Martin Pitt <martin.pitt@ubuntu.com>
14467 Date: Mon Mar 19 16:41:17 2012 +0100
14471 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
14472 1 file changed, 46 insertions(+)
14474 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
14475 Author: Martin Pitt <martin.pitt@ubuntu.com>
14476 Date: Mon Mar 19 16:14:54 2012 +0100
14478 README: Update current maintainers
14480 Also update Martin's email address.
14482 README | 10 ++++++----
14483 pygobject.doap | 2 +-
14484 2 files changed, 7 insertions(+), 5 deletions(-)
14486 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
14487 Author: Martin Pitt <martin.pitt@ubuntu.com>
14488 Date: Mon Mar 19 16:11:22 2012 +0100
14490 Bump version to 3.1.92, in sync with GNOME
14492 configure.ac | 2 +-
14493 1 file changed, 1 insertion(+), 1 deletion(-)
14495 commit 77d358f8c5f524259249ea686899e3a4da05562e
14496 Author: Johan Dahlin <johan@gnome.org>
14497 Date: Mon Mar 19 11:54:07 2012 -0300
14499 Correct Gtk.TreePath.__iter__ to work with Python 3
14501 gi/overrides/Gtk.py | 2 +-
14502 1 file changed, 1 insertion(+), 1 deletion(-)
14504 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
14505 Author: Martin Pitt <martin.pitt@ubuntu.com>
14506 Date: Mon Mar 19 15:54:13 2012 +0100
14508 Fix pygtkcompat.py to work with Python 3
14510 gi/pygtkcompat.py | 20 +++++++++++++++-----
14511 1 file changed, 15 insertions(+), 5 deletions(-)
14513 commit 96a9f92da801989464fbcedf6d849819f6dbea64
14514 Author: Martin Pitt <martin.pitt@ubuntu.com>
14515 Date: Mon Mar 19 15:32:22 2012 +0100
14517 Fix test_everything.TestSignals.test_object_param_signal test case
14519 The callback gets two arguments, not one. This short-circuited
14521 assertions. Fix the arguments and update the refcount check, as it
14523 exactly two at the moment.
14525 tests/test_everything.py | 4 ++--
14526 1 file changed, 2 insertions(+), 2 deletions(-)
14528 commit ba00afb1e50759b2b321f16e05a15946053cdafa
14529 Author: Johan Dahlin <johan@gnome.org>
14530 Date: Mon Mar 19 10:58:09 2012 -0300
14532 pygtkcompat: Remove first argument for get_origin()
14534 gi/pygtkcompat.py | 5 +++++
14535 tests/test_pygtkcompat.py | 5 +++++
14536 2 files changed, 10 insertions(+)
14538 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
14539 Author: Johan Dahlin <johan@gnome.org>
14540 Date: Fri Mar 16 16:08:44 2012 -0300
14542 GtkViewport: Add a default values for the adjustment constructor
14545 https://bugzilla.gnome.org/show_bug.cgi?id=672260
14547 gi/overrides/Gtk.py | 10 ++++++++++
14548 tests/test_overrides.py | 11 +++++++++++
14549 2 files changed, 21 insertions(+)
14551 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
14552 Author: Johan Dahlin <johan@gnome.org>
14553 Date: Fri Mar 16 16:08:23 2012 -0300
14555 GtkIconSet: Add a default value for the pixbuf constructor parameter
14557 https://bugzilla.gnome.org/show_bug.cgi?id=672260
14559 gi/overrides/Gtk.py | 11 +++++++++++
14560 tests/test_overrides.py | 6 ++++++
14561 2 files changed, 17 insertions(+)
14563 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
14564 Author: Johan Dahlin <johan@gnome.org>
14565 Date: Fri Mar 16 16:07:30 2012 -0300
14567 PangoLayout: Add a default value for set_markup()
14569 https://bugzilla.gnome.org/show_bug.cgi?id=672260
14571 gi/overrides/Pango.py | 3 +++
14572 tests/test_overrides.py | 4 ++++
14573 2 files changed, 7 insertions(+)
14575 commit a3ca47b086b7fcf084282be788c5d737dde847ac
14576 Author: Johan Dahlin <johan@gnome.org>
14577 Date: Fri Mar 16 16:06:37 2012 -0300
14579 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
14582 https://bugzilla.gnome.org/show_bug.cgi?id=672260
14584 gi/overrides/Gtk.py | 15 +++++++++++++++
14585 tests/test_overrides.py | 14 ++++++++++++++
14586 2 files changed, 29 insertions(+)
14588 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
14589 Author: Johan Dahlin <johan@gnome.org>
14590 Date: Fri Mar 16 16:06:12 2012 -0300
14592 GtkToolButton: Add a default value for the stock_id constructor
14595 https://bugzilla.gnome.org/show_bug.cgi?id=672260
14597 gi/overrides/Gtk.py | 10 ++++++++++
14598 tests/test_overrides.py | 9 ++++++++-
14599 2 files changed, 18 insertions(+), 1 deletion(-)
14601 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
14602 Author: Johan Dahlin <johan@gnome.org>
14603 Date: Fri Mar 16 16:05:55 2012 -0300
14605 GtkIconView: Add a default value for the model constructor parameter
14607 https://bugzilla.gnome.org/show_bug.cgi?id=672260
14609 gi/overrides/Gtk.py | 3 +++
14610 tests/test_overrides.py | 11 +++++++++++
14611 2 files changed, 14 insertions(+)
14613 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
14614 Author: Johan Dahlin <johan@gnome.org>
14615 Date: Thu Mar 15 15:22:46 2012 -0300
14617 Add a default value for column in Gtk.TreeView.get_cell_area()
14619 https://bugzilla.gnome.org/show_bug.cgi?id=672260
14621 gi/overrides/Gtk.py | 5 +++++
14622 tests/test_overrides.py | 3 +++
14623 2 files changed, 8 insertions(+)
14625 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
14626 Author: Martin Pitt <martin.pitt@ubuntu.com>
14627 Date: Thu Mar 15 09:48:10 2012 +0100
14629 Atomic inserts in Gtk.{List,Tree}Store overrides
14631 Gtk.{List,Tree}Store's overrides provide append(), insert()
14633 take an optional data row array. If this is given, use
14634 insert_with_valuesv()
14635 instead of creating a new iter and then filling it with data. The
14637 row-added signal, at which time the row was still empty, and a
14639 row-changed signal. With this we only get a single row-added
14643 Note that this does not change insert_{before,after}(), as there is no
14644 counterpart of insert_with_valuesv() which takes a TreeIter instead
14646 position. For those you will still get two signals, and have to deal
14650 https://bugzilla.gnome.org/show_bug.cgi?id=671610
14652 gi/overrides/Gtk.py | 81
14653 ++++++++++++++++++++++++++++++-------------------
14654 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
14655 2 files changed, 124 insertions(+), 31 deletions(-)
14657 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
14658 Author: Martin Pitt <martin.pitt@ubuntu.com>
14659 Date: Sun Mar 18 16:07:26 2012 +0100
14661 Fix Gtk.Button constructor to accept use_stock parameter
14663 Thanks to kalanzun@googlemail.com!
14665 https://bugzilla.gnome.org/show_bug.cgi?id=672318
14667 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14669 gi/overrides/Gtk.py | 4 +---
14670 tests/test_overrides.py | 6 ++++++
14671 2 files changed, 7 insertions(+), 3 deletions(-)
14673 commit 466337cf2fd091738eeab12c10d250a9d0827284
14674 Author: Johan Dahlin <johan@gnome.org>
14675 Date: Fri Mar 16 16:55:47 2012 -0300
14677 Correct bad rebase, remove duplicate Window
14679 gi/overrides/Gtk.py | 7 -------
14680 1 file changed, 7 deletions(-)
14682 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
14683 Author: Johan Dahlin <johan@gnome.org>
14684 Date: Thu Mar 15 15:42:28 2012 -0300
14686 Add a PyGTK compatibility layer
14688 This module tries quite a bit harder to maintain compatibility
14689 with PyGTK, module names, enums, flags and some API.
14691 https://bugzilla.gnome.org/show_bug.cgi?id=653462
14693 gi/Makefile.am | 3 +-
14694 gi/pygtkcompat.py | 421
14695 ++++++++++++++++++++++++++++++++++++++++++++++
14696 tests/Makefile.am | 3 +-
14697 tests/test_pygtkcompat.py | 77 +++++++++
14698 4 files changed, 502 insertions(+), 2 deletions(-)
14700 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
14701 Author: Johan Dahlin <johan@gnome.org>
14702 Date: Wed Mar 14 15:20:53 2012 -0300
14704 Add bw-compatible arguments to Gtk.Adjustment
14706 The argument used to be called page/step_incr, if they
14707 are found map them to the existing properties for extra
14710 https://bugzilla.gnome.org/show_bug.cgi?id=672087
14712 gi/overrides/Gtk.py | 8 +++++++-
14713 1 file changed, 7 insertions(+), 1 deletion(-)
14715 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
14716 Author: Johan Dahlin <johan@gnome.org>
14717 Date: Wed Mar 14 17:13:04 2012 -0300
14719 GtkTreePath: make it iterable
14721 https://bugzilla.gnome.org/show_bug.cgi?id=672093
14723 gi/overrides/Gtk.py | 3 +++
14724 tests/test_overrides.py | 2 ++
14725 2 files changed, 5 insertions(+)
14727 commit a7b08cb75541612c78d123b1d968be7874e3c481
14728 Author: Johan Dahlin <johan@gnome.org>
14729 Date: Wed Mar 14 13:32:31 2012 -0300
14731 Add a default argument to TreeModelFilter.set_visible_func()
14733 https://bugzilla.gnome.org/show_bug.cgi?id=672081
14735 gi/overrides/Gtk.py | 14 ++++++++++++++
14736 1 file changed, 14 insertions(+)
14738 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
14739 Author: Johan Dahlin <johan@gnome.org>
14740 Date: Wed Mar 14 13:31:41 2012 -0300
14742 Add a default argument to Gtk.TreeView.set_cursor
14744 And also make sure that the path is a Gtk.TreePath.
14746 https://bugzilla.gnome.org/show_bug.cgi?id=672081
14748 gi/overrides/Gtk.py | 4 ++++
14749 tests/test_overrides.py | 10 ++++++++++
14750 2 files changed, 14 insertions(+)
14752 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
14753 Author: Johan Dahlin <johan@gnome.org>
14754 Date: Wed Mar 14 13:31:06 2012 -0300
14756 Add a default argument to Pango.Context.get_metrics()
14758 https://bugzilla.gnome.org/show_bug.cgi?id=672081
14760 gi/overrides/Pango.py | 9 +++++++++
14761 1 file changed, 9 insertions(+)
14763 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
14764 Author: Martin Pitt <martin.pitt@ubuntu.com>
14765 Date: Fri Mar 16 13:27:56 2012 +0100
14767 Fix double-freeing GValues in arrays
14769 When marshalling a GValue array to C, the GValue items are copied
14771 GValue array, not a C GValue pointer
14772 array. _pygi_marshal_from_py_array()
14773 already calls the cleanup_func for the original item;
14774 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
14776 to g_slice_free the array item.
14778 https://bugzilla.gnome.org/show_bug.cgi?id=672224
14780 gi/pygi-marshal-from-py.c | 7 ++++++-
14781 1 file changed, 6 insertions(+), 1 deletion(-)
14783 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
14784 Author: Simon Feltman <s.feltman@gmail.com>
14785 Date: Fri Mar 16 00:29:31 2012 -0700
14787 Renamed "property" class to "Property"
14789 Renamed to match the rest of the class names in GObject and also
14790 not clobber the builtin python property.
14792 Keep the old "property" identifier for backwards compatibility
14795 https://bugzilla.gnome.org/show_bug.cgi?id=672168
14797 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14799 examples/properties.py | 6 +--
14800 gi/_gobject/__init__.py | 7 ++--
14801 gi/_gobject/propertyhelper.py | 12 +++---
14802 tests/test_interface.py | 4 +-
14803 tests/test_properties.py | 94
14804 +++++++++++++++++++++----------------------
14805 5 files changed, 62 insertions(+), 61 deletions(-)
14807 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
14808 Author: Martin Pitt <martin.pitt@ubuntu.com>
14809 Date: Wed Mar 14 22:52:47 2012 +0100
14811 Fix Python to C marshalling of GValue arrays
14813 For GValues we cannot just copy the GValue memory in
14814 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
14816 releases the GValue and with it its v_pointer. Use g_value_copy()
14820 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
14822 assumed that C arrays contained pointers, but this is not the case
14824 arrays: these are actual struct arrays, not struct pointer arrays
14826 construction in _pygi_marshal_from_py_array()). Check if an array
14828 pointers or values and compute the correct array item pointer for
14831 Also add a corresponding test case for marshalling GValue arrays
14833 Python, which works fine.
14835 https://bugzilla.gnome.org/show_bug.cgi?id=672065
14837 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
14838 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
14839 tests/test_gi.py | 8 ++++++++
14840 3 files changed, 34 insertions(+), 6 deletions(-)
14842 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
14843 Author: Johan Dahlin <johan@gnome.org>
14844 Date: Fri Mar 16 09:59:57 2012 +0100
14846 Correct the Gtk.Window hierarchy
14848 We need to make sure that all Gtk.Dialog subclasses inherit from
14849 the overridden Window class. For that to be done automaticly we need
14850 to create the Window class before the Dialog class.
14852 Now when it's inherited properly we need to avoid calling the Window
14853 constructor twice as it passes in a construct-only parameter. So add
14854 **kwargs to the Window constructor to allow us to pass in any kind
14855 of GObject property to it and refactor the Dialog subclasses to pass
14856 in all properties to the same constructor.
14858 Also adds a bunch of tests to make sure that the hiearchy is correct.
14860 https://bugzilla.gnome.org/show_bug.cgi?id=672158
14862 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14864 gi/overrides/Gtk.py | 56
14865 ++++++++++++++++++++++++-------------------------
14866 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
14867 2 files changed, 61 insertions(+), 30 deletions(-)
14869 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
14870 Author: simon <simon@gerty>
14871 Date: Tue Mar 13 01:41:53 2012 -0700
14873 Renamed getter/setter instance attributes to fget/fset respectively.
14875 The python 'property' class allows for decoration of methods using
14876 .getter and .setter. These were added as methods to the
14878 class to match that of the python property class and allow for
14882 In addition, __call__ was added to allow an instantiated decorator
14884 args to also decorate a method:
14886 class C(GObject.GObject):
14888 @GObject.property(type=int, default=0)
14892 def propInt(self, value):
14893 self._value = value
14895 https://bugzilla.gnome.org/show_bug.cgi?id=586181
14897 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14899 gi/_gobject/__init__.py | 10 ++++----
14900 gi/_gobject/propertyhelper.py | 59
14901 +++++++++++++++++++++++++++++++------------
14902 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
14903 3 files changed, 89 insertions(+), 21 deletions(-)
14905 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
14906 Author: Johan Dahlin <johan@gnome.org>
14907 Date: Tue Mar 13 17:10:13 2012 -0300
14909 Add Gtk.Arrow/Gtk.Window constructor override
14911 Adds argument that makes them compatible with PyGTK.
14913 https://bugzilla.gnome.org/show_bug.cgi?id=672045
14915 gi/overrides/Gtk.py | 17 +++++++++++++++++
14916 1 file changed, 17 insertions(+)
14918 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
14919 Author: Michel Dänzer <michel@daenzer.net>
14920 Date: Fri Mar 9 12:26:53 2012 +0100
14922 Fix marshalling to/from Python to work on big endian machines.
14924 https://bugzilla.gnome.org/show_bug.cgi?id=668903
14926 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14928 gi/pygi-argument.c | 25 ++++++++++++++++---------
14929 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
14930 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
14931 3 files changed, 60 insertions(+), 16 deletions(-)
14933 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
14934 Author: Michel Dänzer <michel@daenzer.net>
14935 Date: Thu Mar 8 12:21:28 2012 +0100
14937 Use gi_cclosure_marshal_generic instead of duplicating it.
14939 Bump gobject-introspection dependency to ensure that we have the
14943 https://bugzilla.gnome.org/show_bug.cgi?id=668903
14945 Signed-off-by: Michel Dänzer <michel@daenzer.net>
14946 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
14948 configure.ac | 3 +-
14949 gi/_gobject/Makefile.am | 7 +-
14950 gi/_gobject/ffi-marshaller.c | 194
14951 -------------------------------------------
14952 gi/_gobject/ffi-marshaller.h | 31 -------
14953 gi/_gobject/gobjectmodule.c | 12 +--
14954 5 files changed, 4 insertions(+), 243 deletions(-)
14956 commit 8ca828825a2c47080055c5f986979aac8da9a93f
14957 Author: René Stadler <rene.stadler@collabora.co.uk>
14958 Date: Mon Mar 5 21:10:55 2012 +0100
14960 Override Gtk.TreeView.get_visible_range to fix return
14962 Just like IconView.
14964 https://bugzilla.gnome.org/show_bug.cgi?id=671409
14966 gi/overrides/Gtk.py | 5 +++++
14967 1 file changed, 5 insertions(+)
14969 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
14970 Author: Paolo Borelli <pborelli@gnome.org>
14971 Date: Sun Mar 4 16:41:18 2012 +0100
14973 Plug memory leak in _is_union_member
14975 When we found the member, unref the objects before breaking out of the
14978 gi/pygi-marshal-from-py.c | 9 +++------
14979 1 file changed, 3 insertions(+), 6 deletions(-)
14981 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
14982 Author: Sebastian Pölsterl <sebp@k-d-w.org>
14983 Date: Tue Feb 21 15:37:18 2012 +0100
14985 tests: Split TestInterfaces into separate tests
14987 tests/test_gi.py | 36 +++++++++++++++++++-----------------
14988 1 file changed, 19 insertions(+), 17 deletions(-)
14990 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
14991 Author: Sebastian Pölsterl <sebp@k-d-w.org>
14992 Date: Mon Feb 20 19:37:32 2012 +0100
14994 Post release version bump to 3.1.2
14996 configure.ac | 2 +-
14997 1 file changed, 1 insertion(+), 1 deletion(-)
14999 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
15000 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15001 Date: Mon Feb 20 19:33:56 2012 +0100
15003 Prepare 3.1.1 release
15005 NEWS | 18 ++++++++++++++++++
15006 1 file changed, 18 insertions(+)
15008 commit 99485d96811667ef7a7a393b68b7361733157d61
15009 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15010 Date: Sat Feb 18 00:38:05 2012 +0100
15012 Don't use C99 style
15014 gi/pygi-cache.c | 3 ++-
15015 1 file changed, 2 insertions(+), 1 deletion(-)
15017 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
15018 Author: Martin Pitt <martin.pitt@ubuntu.com>
15019 Date: Thu Feb 16 16:42:53 2012 +0100
15021 Add test for GPtrArray with transfer full
15023 This complements the already existing test for a "transfer container"
15025 array. We can't verify the internal refcount as these arrays get
15027 internally, but at least we can verify that it does not crash due to
15030 tests/test_everything.py | 10 +++++++++-
15031 1 file changed, 9 insertions(+), 1 deletion(-)
15033 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
15034 Author: Martin Pitt <martin.pitt@ubuntu.com>
15035 Date: Wed Feb 15 13:36:39 2012 +0100
15037 Drop obsolete g_thread_init()
15039 Not necessary any more since glib 2.24, and we depend on 2.31.
15041 gi/_glib/pyglib.c | 3 ---
15042 1 file changed, 3 deletions(-)
15044 commit 66fb610e45912a7def29e5848577d280ef55643a
15045 Author: Martin Pitt <martin.pitt@ubuntu.com>
15046 Date: Wed Feb 15 13:35:33 2012 +0100
15048 Fix deprecated g_source_get_current_time()
15050 Use g_get_real_time() instead as recommended by the
15051 documentation. This also
15052 simplifies the code.
15054 gi/_glib/pygsource.c | 4 +---
15055 1 file changed, 1 insertion(+), 3 deletions(-)
15057 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
15058 Author: Martin Pitt <martin.pitt@ubuntu.com>
15059 Date: Wed Feb 15 13:31:23 2012 +0100
15061 Fix deprecated g_value_[gs]et_char()
15063 Replace with _schar(). We depend on glib >= 2.31 already.
15065 gi/_gobject/ffi-marshaller.c | 2 +-
15066 gi/_gobject/pygtype.c | 6 +++---
15067 gi/pygi-argument.c | 2 +-
15068 3 files changed, 5 insertions(+), 5 deletions(-)
15070 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
15071 Author: Simon Schampijer <simon@schampijer.de>
15072 Date: Thu Feb 2 19:06:01 2012 +0100
15074 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
15076 Looking at the gir file gtk.gdk.x11_* should get converted to
15077 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
15079 pygi-convert.sh | 2 +-
15080 1 file changed, 1 insertion(+), 1 deletion(-)
15082 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
15083 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15084 Date: Fri Feb 10 13:29:41 2012 +0100
15086 Raise required glib version to 2.31 because of g_value_(get|set)_schar
15088 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
15090 configure.ac | 6 +++---
15091 1 file changed, 3 insertions(+), 3 deletions(-)
15093 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
15094 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
15095 Date: Fri Feb 10 09:28:36 2012 +0100
15097 Fix cset_first typo
15099 https://bugzilla.gnome.org/show_bug.cgi?id=649267
15101 gi/_gobject/pygparamspec.c | 2 +-
15102 1 file changed, 1 insertion(+), 1 deletion(-)
15104 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
15105 Author: Bastian Winkler <buz@netbuz.org>
15106 Date: Mon Nov 14 14:41:08 2011 +0100
15108 pygi-convert: Handle Clutter and Cogl
15110 https://bugzilla.gnome.org/show_bug.cgi?id=664496
15112 pygi-convert.sh | 76
15113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15114 1 file changed, 76 insertions(+)
15116 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
15117 Author: Cédric Krier <cedric.krier@b2ck.com>
15118 Date: Fri Feb 10 09:04:18 2012 +0100
15120 Provide access to gpointer struct values
15122 https://bugzilla.gnome.org/show_bug.cgi?id=668356
15124 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
15126 gi/pygi-argument.c | 3 ++-
15127 gi/pygi-info.c | 13 +++++++++++++
15128 tests/test_everything.py | 21 +++++++++++++++++++++
15129 3 files changed, 36 insertions(+), 1 deletion(-)
15131 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
15132 Author: Paolo Borelli <pborelli@gnome.org>
15133 Date: Thu Feb 9 18:15:42 2012 +0100
15135 Add some GType tests
15137 Use what was recently added in g-i
15139 tests/test_gi.py | 17 +++++++++++++++--
15140 1 file changed, 15 insertions(+), 2 deletions(-)
15142 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
15143 Author: Paolo Borelli <pborelli@gnome.org>
15144 Date: Thu Feb 9 18:14:52 2012 +0100
15146 Split GStrv and array variant tests in their own classes
15148 Also tidy up the spacing a bit
15150 tests/test_gi.py | 29 +++++++++++++++++++++++------
15151 1 file changed, 23 insertions(+), 6 deletions(-)
15153 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
15154 Author: Paolo Borelli <pborelli@gnome.org>
15155 Date: Wed Feb 8 22:23:30 2012 +0100
15157 Add unit test for builder's connect_after
15159 tests/test_overrides.py | 8 ++++++++
15160 1 file changed, 8 insertions(+)
15162 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
15163 Author: Ryan Lortie <desrt@desrt.ca>
15164 Date: Wed Feb 8 16:06:22 2012 -0500
15166 fix GtkBuilder signal connection 'after' logic
15168 All GtkBuilder signals are presently being connected 'after', ignoring
15169 what is specified in the builder XML. This is due to an obvious logic
15172 https://bugzilla.gnome.org/show_bug.cgi?id=669705
15174 gi/overrides/Gtk.py | 2 +-
15175 1 file changed, 1 insertion(+), 1 deletion(-)
15177 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
15178 Author: Patrick Welche <prlw1@cam.ac.uk>
15179 Date: Tue Feb 7 11:49:58 2012 +0000
15181 test(1) uses '=' to test if strings are identical
15183 https://bugzilla.gnome.org/show_bug.cgi?id=669598
15185 m4/python.m4 | 6 +++---
15186 1 file changed, 3 insertions(+), 3 deletions(-)
15188 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
15189 Author: Ryan Lortie <desrt@desrt.ca>
15190 Date: Tue Feb 7 13:42:19 2012 -0500
15192 pygspawn: improve error checking
15194 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
15195 is enforced by checking that the passed argument is a sequence
15197 each item returned from it is a string.
15199 We do now, however, verify that each item can be successfully
15201 the sequence. 'os.environ' is an example of an object that passes
15202 PySequence_Check() but fails to return objects from PySequence_ITEM().
15204 Add a simple NULL check to avoid the crash.
15206 https://bugzilla.gnome.org/show_bug.cgi?id=669594
15208 gi/_glib/pygspawn.c | 4 ++--
15209 1 file changed, 2 insertions(+), 2 deletions(-)
15211 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
15212 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15213 Date: Mon Feb 6 19:15:53 2012 +0100
15215 Post release version bump to 3.1.1
15217 configure.ac | 2 +-
15218 1 file changed, 1 insertion(+), 1 deletion(-)
15220 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
15221 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15222 Date: Mon Feb 6 19:11:52 2012 +0100
15224 Prepare 3.1.0 release
15226 NEWS | 34 ++++++++++++++++++++++++++++++++++
15227 1 file changed, 34 insertions(+)
15229 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
15230 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15231 Date: Mon Feb 6 19:04:41 2012 +0100
15233 Updated DOAP file to only include people currently actively working
15236 Removed obsolete MAINTAINERS file
15238 MAINTAINERS | 19 -------------------
15239 pygobject.doap | 44 +++++++++++++++-----------------------------
15240 2 files changed, 15 insertions(+), 48 deletions(-)
15242 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
15243 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15244 Date: Mon Feb 6 18:57:01 2012 +0100
15246 Revert "Convert all strings to utf-8 encoding when retrieving from
15249 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
15251 Due to this commit breaking backwards compatability, we decided to
15254 gi/overrides/Gtk.py | 15 ---------------
15255 tests/compathelper.py | 2 --
15256 tests/test_overrides.py | 31 +------------------------------
15257 3 files changed, 1 insertion(+), 47 deletions(-)
15259 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
15260 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15261 Date: Sun Feb 5 13:47:10 2012 +0100
15263 tests: Fixed issues with python3
15265 tests/test_gi.py | 9 ++++++---
15266 1 file changed, 6 insertions(+), 3 deletions(-)
15268 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
15269 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15270 Date: Sun Feb 5 11:59:51 2012 +0100
15272 Properly distinguish between different integer types for properties
15274 https://bugzilla.gnome.org/show_bug.cgi?id=664150
15276 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
15277 tests/test_gi.py | 62
15278 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
15279 2 files changed, 106 insertions(+), 4 deletions(-)
15281 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
15282 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15283 Date: Sun Feb 5 11:46:21 2012 +0100
15285 Distinguish between GArray and GPtrArray when cleaning up
15287 This fixes a crash in test_gi.TestGPtrArray and makes sure
15288 memory is free'd correctly
15290 https://bugzilla.gnome.org/show_bug.cgi?id=669393
15292 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
15293 1 file changed, 23 insertions(+), 9 deletions(-)
15295 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
15296 Author: Paolo Borelli <pborelli@gnome.org>
15297 Date: Sun Feb 5 18:51:53 2012 +0100
15299 Add null_gerror_callback unit test
15301 This models the case where the callback is successful and does not set
15304 https://bugzilla.gnome.org/show_bug.cgi?id=669415
15306 tests/test_everything.py | 9 +++++++++
15307 1 file changed, 9 insertions(+)
15309 commit a41984780ee49dcf02c718ca1be87bba747472e5
15310 Author: Martin Pitt <martin.pitt@ubuntu.com>
15311 Date: Mon Feb 6 09:34:28 2012 +0100
15313 pyglib_error_check: Re-add missing NULL check
15315 Commit adcfe96d49b09bc accidentally dropped the check if *error is
15317 any error is actually set. Due to that, pyglib_error_check()
15319 TRUE. Reintroduce the check.
15321 Thanks to Alberto Mardegan for spotting this!
15323 https://bugzilla.gnome.org/show_bug.cgi?id=669415
15325 gi/_glib/pyglib.c | 2 ++
15326 1 file changed, 2 insertions(+)
15328 commit 2c797c17913999379e277788d5e4cce8d68cebb0
15329 Author: Michael Culbertson <michael.culbertson@gmail.com>
15330 Date: Sat Feb 4 16:11:34 2012 +0100
15332 Add tests/runtests-windows.py to source tarball
15334 https://bugzilla.gnome.org/show_bug.cgi?id=663288
15336 tests/Makefile.am | 1 +
15337 1 file changed, 1 insertion(+)
15339 commit d6a899cdf70e978534326155e3fad75a705f4b20
15340 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15341 Date: Sat Feb 4 15:55:55 2012 +0100
15343 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
15346 https://bugzilla.gnome.org/show_bug.cgi?id=665553
15348 gi/overrides/Gtk.py | 6 ++----
15349 1 file changed, 2 insertions(+), 4 deletions(-)
15351 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
15352 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
15353 Date: Sat Feb 4 15:42:36 2012 +0100
15355 Fix bool() operations on GLib.Variant objects
15357 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
15359 Also adds some tests for boolean comparisons.
15361 https://bugzilla.gnome.org/show_bug.cgi?id=647723
15363 gi/overrides/GLib.py | 18 ++++++++++++++++++
15364 tests/test_overrides.py | 45
15365 +++++++++++++++++++++++++++++++++++++++++++++
15366 2 files changed, 63 insertions(+)
15368 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
15369 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
15370 Date: Sat Feb 4 15:41:08 2012 +0100
15372 Fix hash() and __eq__() for GLib.Variant objects
15374 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
15375 be used in sets, dicts, and can be compared using == and != easily.
15377 Also adds some tests for this.
15379 https://bugzilla.gnome.org/show_bug.cgi?id=647725
15381 gi/overrides/GLib.py | 23 ++++++++++++++++++++
15382 tests/test_overrides.py | 56
15383 +++++++++++++++++++++++++++++++++++++++++++++++++
15384 2 files changed, 79 insertions(+)
15386 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
15387 Author: Martin Pitt <martin.pitt@ubuntu.com>
15388 Date: Wed Jan 25 07:01:06 2012 +0100
15390 Fix method names of callback tests
15392 Change test_everything.TestCallbacks.* test names from camelCase
15394 standard PEP-8 underscore_style. This is now consistent with all
15398 tests/test_everything.py | 30 +++++++++++++++---------------
15399 1 file changed, 15 insertions(+), 15 deletions(-)
15401 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
15402 Author: Will Thompson <will.thompson@collabora.co.uk>
15403 Date: Mon Jan 23 13:10:30 2012 +0000
15405 Cairo: add missing braces around array-of-struct definition
15407 This triggered a -Wmissing-braces warning.
15409 https://bugzilla.gnome.org/show_bug.cgi?id=668497
15411 gi/pygi-foreign-cairo.c | 2 +-
15412 1 file changed, 1 insertion(+), 1 deletion(-)
15414 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
15415 Author: Will Thompson <will.thompson@collabora.co.uk>
15416 Date: Mon Jan 23 13:06:41 2012 +0000
15418 g_instance_init: cast to PyGObject * as needed
15420 This squashes a compiler warning.
15422 https://bugzilla.gnome.org/show_bug.cgi?id=668497
15424 gi/_gobject/gobjectmodule.c | 2 +-
15425 1 file changed, 1 insertion(+), 1 deletion(-)
15427 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
15428 Author: Will Thompson <will.thompson@collabora.co.uk>
15429 Date: Mon Jan 23 13:01:27 2012 +0000
15431 Fix a few set-but-not-used warnings.
15433 In a couple of cases, the variable in question was set to a value
15434 spelled out again later in the function.
15436 The 'sequence_cache' variable is re-declared five lines below.
15438 The return value of 'read' was previously completely ignored. The
15439 'gssize ret' variable was in fact added to squash an unused-result
15442 https://bugzilla.gnome.org/show_bug.cgi?id=668497
15444 gi/_glib/pygiochannel.c | 2 +-
15445 gi/_glib/pygmainloop.c | 3 +--
15446 gi/_gobject/pygobject.c | 2 +-
15447 gi/pygi-marshal-cleanup.c | 2 --
15448 4 files changed, 3 insertions(+), 6 deletions(-)
15450 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
15451 Author: Stefano Facchini <stefano.facchini@gmail.com>
15452 Date: Thu Jan 19 18:09:07 2012 +0100
15454 pygmainloop: allow for extra arguments in 'quit' method
15456 To allow for the common syntax:
15458 object.connect('signal-name', main_loop.quit)
15460 https://bugzilla.gnome.org/show_bug.cgi?id=668288
15462 gi/_glib/pygmainloop.c | 4 ++--
15463 1 file changed, 2 insertions(+), 2 deletions(-)
15465 commit 557a61c12c01137a0d7c679c4b053973df09d445
15466 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
15467 Date: Mon Dec 26 00:44:56 2011 -0500
15469 Fix bytearray test compatibility with python3
15471 https://bugs.gentoo.org/show_bug.cgi?id=321879
15473 https://bugzilla.gnome.org/show_bug.cgi?id=666852
15475 tests/test_gi.py | 4 ++--
15476 1 file changed, 2 insertions(+), 2 deletions(-)
15478 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
15479 Author: Alberto Mardegan <mardy@users.sourceforge.net>
15480 Date: Mon Jan 23 12:37:26 2012 +0200
15482 Respect transfer-type when demarshalling GErrors
15484 The marshaller previously ignored "transfer full" on GError*
15486 crashes due to double-freeing them. This causes the
15487 testCallbackUserdata() test
15488 case to crash after the previous GError/GHashTable marshalling fix.
15490 https://bugzilla.gnome.org/show_bug.cgi?id=666270
15492 gi/pygi-argument.c | 12 +++++++++++-
15493 1 file changed, 11 insertions(+), 1 deletion(-)
15495 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
15496 Author: Alberto Mardegan <mardy@users.sourceforge.net>
15497 Date: Thu Dec 15 16:12:01 2011 +0200
15499 Support GHashTable and GError as callback/closure arguments
15501 Marshalling of these types from C is already implemented, let's
15503 into use for calbacks and closures too.
15505 Add corresponding test cases.
15507 https://bugzilla.gnome.org/show_bug.cgi?id=666270
15509 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
15511 gi/pygi-closure.c | 2 ++
15512 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
15513 2 files changed, 37 insertions(+)
15515 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
15516 Author: Will Thompson <will.thompson@collabora.co.uk>
15517 Date: Mon Jan 23 13:56:02 2012 +0000
15519 Don't leak when marshalling GErrors to C
15521 Python-land GLib.GErrors are supposed to have three attributes:
15522 "message", "domain" and "code". If those attributes are missing,
15524 have the wrong types, the C GError is filled in with a message
15525 describing the error. The present-but-ill-typed code paths did not
15526 DECREF the ill-typed values.
15528 https://bugzilla.gnome.org/show_bug.cgi?id=666098
15530 gi/_glib/pyglib.c | 3 +++
15531 1 file changed, 3 insertions(+)
15533 commit adcfe96d49b09bcc550653d73de196610fd5144d
15534 Author: Will Thompson <will.thompson@collabora.co.uk>
15535 Date: Fri Jan 20 16:20:10 2012 +0000
15537 Support functions which return GError
15539 GStreamer has the following method:
15541 void gst_message_parse_error (
15542 GstMessage *message,
15544 gchar **debug_message);
15546 With this patch, we marshal the GError out parameter as a
15548 exception, but return it rather than throwing it. The test cases cover
15549 two variations on the theme of the function above (one with (transfer
15550 full), as in GStreamer, and another with (transfer none)) as well as a
15551 function with return type GError *.
15553 https://bugzilla.gnome.org/show_bug.cgi?id=666098
15555 gi/_glib/pyglib.c | 46
15556 +++++++++++++++++++++++++++++++++++-----------
15557 gi/_glib/pyglib.h | 1 +
15558 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
15559 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
15560 4 files changed, 81 insertions(+), 14 deletions(-)
15562 commit 09f003729eac9d553a208c343c2a14d253b77d9a
15563 Author: Alberto Mardegan <mardy@users.sourceforge.net>
15564 Date: Mon Jan 23 12:42:21 2012 +0200
15566 Fix indentation of _pygi_argument_to_object()
15568 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
15570 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
15572 gi/pygi-argument.c | 26 +++++++++++++-------------
15573 1 file changed, 13 insertions(+), 13 deletions(-)
15575 commit c71c010be01d706f90bc200194325fd82f4071b2
15576 Author: Paolo Borelli <pborelli@gnome.org>
15577 Date: Sat Jan 14 14:24:23 2012 +0100
15581 gi/gimodule.c | 10 ++++++----
15582 1 file changed, 6 insertions(+), 4 deletions(-)
15584 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
15585 Author: Paolo Borelli <pborelli@gnome.org>
15586 Date: Fri Jan 6 13:39:31 2012 +0100
15588 Connect to first action of a radio group.
15590 gi/overrides/Gtk.py | 4 ++--
15591 1 file changed, 2 insertions(+), 2 deletions(-)
15593 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
15594 Author: Paolo Borelli <pborelli@gnome.org>
15595 Date: Wed Jan 4 16:40:51 2012 +0100
15597 Use g_slist_free_full in pygi-closure.
15599 gi/pygi-closure.c | 3 +--
15600 1 file changed, 1 insertion(+), 2 deletions(-)
15602 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
15603 Author: Paolo Borelli <pborelli@gnome.org>
15604 Date: Wed Jan 4 15:24:13 2012 +0100
15606 Avoid O(n^2) behavior when marshalling lists
15608 Appending requires walking the list every time: just prepend and
15610 the list at the end.
15612 https://bugzilla.gnome.org/show_bug.cgi?id=667261
15614 gi/pygi-marshal-from-py.c | 8 ++++----
15615 1 file changed, 4 insertions(+), 4 deletions(-)
15617 commit d68455e99b1a9ebba31209b17a11317b1958678b
15618 Author: Paolo Borelli <pborelli@gnome.org>
15619 Date: Tue Jan 3 16:57:40 2012 +0100
15621 Handle NULL as a valid case of a char** array
15623 Treat NULL as an empty array and add the corresponding testcase
15625 gi/pygi-marshal-to-py.c | 9 +++++----
15626 tests/test_gi.py | 3 +++
15627 2 files changed, 8 insertions(+), 4 deletions(-)
15629 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
15630 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15631 Date: Fri Dec 23 12:01:43 2011 +0100
15633 Branching, bump version to 3.1.0
15635 configure.ac | 4 ++--
15636 1 file changed, 2 insertions(+), 2 deletions(-)
15638 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
15639 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15640 Date: Mon Dec 12 18:35:30 2011 +0100
15642 Add notes about branching to HACKING
15644 HACKING | 10 ++++++++++
15645 1 file changed, 10 insertions(+)
15647 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
15648 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15649 Date: Sat Dec 10 12:51:45 2011 +0100
15651 Fixed bug where GObject.property did not respect minimum and maximum
15654 https://bugzilla.gnome.org/show_bug.cgi?id=664864
15656 gi/_gobject/propertyhelper.py | 2 +-
15657 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
15658 2 files changed, 32 insertions(+), 1 deletion(-)
15660 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
15661 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15662 Date: Mon Dec 12 17:00:24 2011 +0100
15664 Remove mention of removed option --enable-docs
15667 1 file changed, 1 insertion(+), 1 deletion(-)
15669 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
15670 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15671 Date: Mon Dec 12 17:00:03 2011 +0100
15673 Fix sebp's name in NEWS
15676 1 file changed, 1 insertion(+), 1 deletion(-)
15678 commit 8c95981d0ba224a577f87998030c384b3dae3d80
15679 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15680 Date: Mon Dec 12 16:20:09 2011 +0100
15684 NEWS | 15 +++++++++++++++
15685 1 file changed, 15 insertions(+)
15687 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
15688 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15689 Date: Mon Dec 12 16:16:44 2011 +0100
15691 Pre-release version bump
15693 configure.ac | 2 +-
15694 1 file changed, 1 insertion(+), 1 deletion(-)
15696 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
15697 Author: Manuel Quiñones <manuq@laptop.org>
15698 Date: Thu Dec 1 11:50:38 2011 -0300
15700 Convert all modifier constants to Gdk.ModifierType
15702 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
15704 pygi-convert.sh | 14 ++++++++++++++
15705 1 file changed, 14 insertions(+)
15707 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
15708 Author: Sebastian Pölsterl <sebp@k-d-w.org>
15709 Date: Tue Nov 8 12:38:12 2011 +0100
15711 Convert all strings to utf-8 encoding when retrieving from TreeModel
15713 https://bugzilla.gnome.org/show_bug.cgi?id=663610
15715 gi/overrides/Gtk.py | 15 +++++++++++++++
15716 tests/compathelper.py | 2 ++
15717 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
15718 3 files changed, 47 insertions(+), 1 deletion(-)
15720 commit 4f637212f13b197a95c824967a58496b9e3b877c
15721 Author: John (J5) Palmieri <johnp@redhat.com>
15722 Date: Wed Nov 2 14:51:24 2011 -0400
15724 add test for bytearray variants
15726 tests/test_gi.py | 4 ++++
15727 1 file changed, 4 insertions(+)
15729 commit 20ca3f129d6cc662285cce8c732b55596016aefa
15730 Author: John (J5) Palmieri <johnp@redhat.com>
15731 Date: Wed Nov 2 14:50:42 2011 -0400
15733 handle NULL arrays correctly for each array type
15735 gi/pygi-marshal-to-py.c | 11 ++++++-----
15736 1 file changed, 6 insertions(+), 5 deletions(-)
15738 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
15739 Author: John (J5) Palmieri <johnp@redhat.com>
15740 Date: Wed Nov 2 14:17:21 2011 -0400
15742 Revert "Revert "Fix array termination and size calculation""
15744 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
15746 gi/pygi-marshal-from-py.c | 6 +++++-
15747 gi/pygi-marshal-to-py.c | 8 +++++++-
15748 2 files changed, 12 insertions(+), 2 deletions(-)
15750 commit 832f16f96815adc22cc3acbeb3fa969631795a29
15751 Author: Owen W. Taylor <otaylor@fishsoup.net>
15752 Date: Sun Oct 30 18:08:57 2011 -0400
15754 pygmainloop: avoid lockups if multiple glib.MainLoop exist
15756 If multiple glib.MainLoop() sources exist, then we will add multiple
15757 watches, and when python writes a byte to the wakeup pipe, all of the
15758 sources will try to read it; only one will succeed and the others
15759 will block. Set both ends of the pipe nonblocking to avoid this.
15761 https://bugzilla.gnome.org/show_bug.cgi?id=663068
15763 gi/_glib/pygmainloop.c | 5 ++++-
15764 1 file changed, 4 insertions(+), 1 deletion(-)
15766 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
15767 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15768 Date: Sat Oct 29 15:08:03 2011 +0200
15770 Properly chain up to the class that implements a given vfunc.
15772 https://bugzilla.gnome.org/show_bug.cgi?id=662994
15774 gi/types.py | 22 +++++++++++++---------
15775 tests/test_gi.py | 20 ++++++++++----------
15776 2 files changed, 23 insertions(+), 19 deletions(-)
15778 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
15779 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
15780 Date: Wed Nov 2 14:54:21 2011 +0100
15782 Revert "Fix array termination and size calculation"
15784 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
15786 gi/pygi-marshal-from-py.c | 6 +-----
15787 gi/pygi-marshal-to-py.c | 8 +-------
15788 2 files changed, 2 insertions(+), 12 deletions(-)
15790 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
15791 Author: Holger Berndt <hb@gnome.org>
15792 Date: Sun Oct 30 16:36:32 2011 +0100
15794 Fix array termination and size calculation
15796 When creating an array of element type uint8 and setting it directly
15798 memcpy(), make sure that zero-termination is respected.
15800 When calculating the length of a zero-terminated array of type uint8,
15801 fall back to strlen() instead of g_strv_length().
15803 https://bugzilla.gnome.org/show_bug.cgi?id=662550
15805 gi/pygi-marshal-from-py.c | 6 +++++-
15806 gi/pygi-marshal-to-py.c | 8 +++++++-
15807 2 files changed, 12 insertions(+), 2 deletions(-)
15809 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
15810 Author: Daniel Drake <dsd@laptop.org>
15811 Date: Sun Oct 30 09:20:45 2011 +0000
15813 pygi-convert: fix for Pango.Alignment
15815 pygi-convert.sh | 1 +
15816 1 file changed, 1 insertion(+)
15818 commit e3abd76096cc9f335681c7225f452c286b9c59e2
15819 Author: Daniel Drake <dsd@laptop.org>
15820 Date: Sun Oct 30 07:06:57 2011 +0000
15822 pygi-convert: fix for Gtk.Orientation
15824 pygi-convert.sh | 1 +
15825 1 file changed, 1 insertion(+)
15827 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
15828 Author: Martin Pitt <martin.pitt@ubuntu.com>
15829 Date: Thu Oct 27 07:16:24 2011 +0200
15831 Add tests for calling closures
15833 Add checks for correct handling of closure calls.
15834 Regress.test_closure_one_arg() is working fine and should continue
15836 Regress.test_closure_variant() is known to not work yet, so mark
15838 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
15840 tests/test_everything.py | 24 ++++++++++++++++++++++++
15841 1 file changed, 24 insertions(+)
15843 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
15844 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
15845 Date: Tue Oct 4 12:28:26 2011 +0200
15847 fix marshaling of arrays of GVariants
15849 Add unit tests for marshaling of arrays of variants with all
15850 transfer modes. Requires latest gobject-introspection.
15852 Plug potential leaks of GArray data members
15854 Fix calling of wrong cleanup_from_py for arrays
15856 Simplify and fix logic for cleaning up arrays both in from_py()
15857 and to_py() code paths.
15859 https://bugzilla.gnome.org/show_bug.cgi?id=638915
15861 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
15863 gi/pygi-cache.c | 2 +-
15864 gi/pygi-marshal-cleanup.c | 81
15865 ++++++++++++++++++++++++++++++-----------------
15866 gi/pygi-marshal-from-py.c | 10 ++++--
15867 gi/pygi-marshal-to-py.c | 13 ++++++--
15868 tests/test_gi.py | 14 +++++++-
15869 5 files changed, 85 insertions(+), 35 deletions(-)
15871 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
15872 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15873 Date: Sat Oct 22 00:20:57 2011 +0200
15878 1 file changed, 8 insertions(+)
15880 commit 5c24760b797e985721f7fe51d52252e4dd54a417
15881 Author: Martin Pitt <martin.pitt@ubuntu.com>
15882 Date: Fri Oct 21 17:31:41 2011 +0200
15884 Fix "Returns: (skip)" method calls without (out) arguments
15886 When we have a method call with a skipped return value, but no
15888 arguments, we previously returned NULL to Python, which causes
15890 error return without exception set". Return None instead.
15892 https://bugzilla.gnome.org/show_bug.cgi?id=662383
15894 gi/pygi-invoke.c | 10 ++++++++++
15895 tests/test_everything.py | 8 ++++++++
15896 2 files changed, 18 insertions(+)
15898 commit 585222915dc98b0e375de3db4771466278a32e81
15899 Author: John (J5) Palmieri <johnp@redhat.com>
15900 Date: Tue Oct 18 00:39:16 2011 -0400
15902 Do union member checks for unions that are parameters
15904 * before we were only doing checks if the union was an instance
15906 https://bugzilla.gnome.org/show_bug.cgi?id=661673
15908 gi/pygi-marshal-from-py.c | 121
15909 ++++++++++++++++++++++++++--------------------
15910 1 file changed, 68 insertions(+), 53 deletions(-)
15912 commit 8deaec6b9abd87f02060c9feec773d4693e89028
15913 Author: Martin Pitt <martin.pitt@ubuntu.com>
15914 Date: Wed Oct 19 14:35:11 2011 +0200
15916 Gdk overrides: Unbreak for Gdk-2.0
15918 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
15920 only do this for Gdk >= 3.0.
15922 https://launchpad.net/bugs/875399
15924 gi/overrides/Gdk.py | 95
15925 +++++++++++++++++++++++++++--------------------------
15926 1 file changed, 48 insertions(+), 47 deletions(-)
15928 commit f395fb131caf7ca550acd17138d8061926ef4f92
15929 Author: John (J5) Palmieri <johnp@redhat.com>
15930 Date: Fri Oct 14 17:19:45 2011 -0400
15932 unit test for checking ref count of object param in signals
15934 https://bugzilla.gnome.org/show_bug.cgi?id=661359
15936 tests/test_everything.py | 11 +++++++++++
15937 1 file changed, 11 insertions(+)
15939 commit 611f58b99851328653af4930f188c33eccaa9f6f
15940 Author: John (J5) Palmieri <johnp@redhat.com>
15941 Date: Fri Oct 14 16:42:32 2011 -0400
15943 when converting an object with transfer none, make sure the wrapper
15946 https://bugzilla.gnome.org/show_bug.cgi?id=661359
15948 gi/pygi-argument.c | 10 ++++++++++
15949 1 file changed, 10 insertions(+)
15951 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
15952 Author: Timo Vanwynsberghe <timovwb@gmail.com>
15953 Date: Tue Oct 4 11:13:43 2011 +0200
15955 Allow GBoxed types as property
15957 Add the GBoxed type as valid type to the gobject property helper
15958 https://bugzilla.gnome.org/show_bug.cgi?id=660798
15960 gi/_gobject/propertyhelper.py | 5 +++--
15961 1 file changed, 3 insertions(+), 2 deletions(-)
15963 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
15964 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15965 Date: Mon Oct 10 11:24:42 2011 +0200
15967 Add tests for boxed properties.
15969 tests/test_properties.py | 20 ++++++++++++++++++--
15970 1 file changed, 18 insertions(+), 2 deletions(-)
15972 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
15973 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15974 Date: Fri Sep 30 20:21:07 2011 +0200
15976 Post release bump version
15978 configure.ac | 2 +-
15979 1 file changed, 1 insertion(+), 1 deletion(-)
15981 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
15982 Author: Ignacio Casal Quinteiro <icq@gnome.org>
15983 Date: Fri Sep 30 20:19:46 2011 +0200
15988 configure.ac | 2 +-
15989 2 files changed, 6 insertions(+), 1 deletion(-)
15991 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
15992 Author: John (J5) Palmieri <johnp@redhat.com>
15993 Date: Thu Sep 22 19:03:20 2011 -0400
15995 when checking instances union members are same type as parent
15997 * this is so we can support sending Gdk.Event members in place of
15998 the Event union into methods
15999 * we only support this if the union member has a type of GI_INTERFACE
16002 https://bugzilla.gnome.org/show_bug.cgi?id=659879
16004 gi/pygi-marshal-from-py.c | 60
16005 +++++++++++++++++++++++++++++++++++++++++++----
16006 1 file changed, 56 insertions(+), 4 deletions(-)
16008 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
16009 Author: John (J5) Palmieri <johnp@redhat.com>
16010 Date: Wed Sep 21 21:50:48 2011 -0400
16012 add a floating flag to pygobjects
16014 * this allows us to correctly refcount when custom gobjects are
16018 gi/_gobject/gobjectmodule.c | 5 +++++
16019 gi/_gobject/pygobject-private.h | 3 +++
16020 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
16021 gi/_gobject/pygobject.h | 3 ++-
16022 4 files changed, 36 insertions(+), 2 deletions(-)
16024 commit d2d29ae5845217254b9336fd8629f369cb119b25
16025 Author: John (J5) Palmieri <johnp@redhat.com>
16026 Date: Wed Sep 21 21:13:22 2011 -0400
16028 Revert "Fix refcount bug by not creating python wrapper during
16029 gobject init stage"
16031 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
16033 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
16034 1 file changed, 17 insertions(+), 15 deletions(-)
16036 commit a24c10b779f2a1b0425d56d03d59c393389cad98
16037 Author: John (J5) Palmieri <johnp@redhat.com>
16038 Date: Wed Sep 21 21:10:00 2011 -0400
16040 make sure to commit the NEWS file
16043 1 file changed, 4 insertions(+)
16045 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
16046 Author: John (J5) Palmieri <johnp@redhat.com>
16047 Date: Mon Sep 19 13:19:57 2011 -0400
16049 prep for 3.0 release
16051 configure.ac | 6 +++---
16052 1 file changed, 3 insertions(+), 3 deletions(-)
16054 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
16055 Author: John (J5) Palmieri <johnp@redhat.com>
16056 Date: Fri Sep 16 14:19:15 2011 -0400
16058 up version required of gobject-introspection to 1.29.0
16060 configure.ac | 2 +-
16061 1 file changed, 1 insertion(+), 1 deletion(-)
16063 commit 225f21117b6b3546989abe22538c784291e86b2a
16064 Author: John (J5) Palmieri <johnp@redhat.com>
16065 Date: Fri Sep 16 12:26:10 2011 -0400
16069 * remove some unused vars
16070 * correctly cast vars
16071 * handle deprecated enums in switch statments by using default:
16072 * unused wanrings still remain in some places
16074 gi/pygi-argument.c | 2 +-
16075 gi/pygi-cache.c | 7 ++-----
16076 gi/pygi-info.c | 6 ++++++
16077 gi/pygi-invoke.c | 2 +-
16078 gi/pygi-marshal-from-py.c | 17 +++++++++--------
16079 gi/pygi-marshal-to-py.c | 3 +--
16080 6 files changed, 20 insertions(+), 17 deletions(-)
16082 commit 9a70f01288e1b049206d25d67938907f1b38a490
16083 Author: John (J5) Palmieri <johnp@redhat.com>
16084 Date: Fri Sep 16 12:24:38 2011 -0400
16088 configure.ac | 2 +-
16089 1 file changed, 1 insertion(+), 1 deletion(-)
16091 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
16092 Author: John (J5) Palmieri <johnp@redhat.com>
16093 Date: Thu Sep 15 18:12:01 2011 -0400
16095 edit HACKING file to show correct tag format
16098 1 file changed, 1 insertion(+), 1 deletion(-)
16100 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
16101 Author: John (J5) Palmieri <johnp@redhat.com>
16102 Date: Thu Sep 15 18:10:33 2011 -0400
16104 update NEWS file to prep for release
16106 NEWS | 35 +++++++++++++++++++++++++++++++++++
16107 1 file changed, 35 insertions(+)
16109 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
16110 Author: John (J5) Palmieri <johnp@redhat.com>
16111 Date: Thu Sep 15 17:59:31 2011 -0400
16113 fix typo s/lenth/length
16115 gi/overrides/Gtk.py | 2 +-
16116 1 file changed, 1 insertion(+), 1 deletion(-)
16118 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
16119 Author: John (J5) Palmieri <johnp@redhat.com>
16120 Date: Thu Sep 15 17:48:58 2011 -0400
16122 fix typo in docstring
16124 gi/_gobject/propertyhelper.py | 2 +-
16125 1 file changed, 1 insertion(+), 1 deletion(-)
16127 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
16128 Author: John (J5) Palmieri <johnp@redhat.com>
16129 Date: Thu Sep 15 17:46:46 2011 -0400
16131 do not pass in len(str) to the length argument of
16132 gtk_test_buffer_insert* apis
16134 * in python 3 len(str) returns the number of characters while
16136 parameter is expecting the number of bytes. It also excepts -1
16138 terminated string. Since all of our strings are null terminated,
16140 set length to that.
16142 gi/overrides/Gtk.py | 6 ++----
16143 1 file changed, 2 insertions(+), 4 deletions(-)
16145 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
16146 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16147 Date: Mon Sep 12 21:07:20 2011 +0200
16149 Switch tarball compression format to tar.xz only.
16152 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
16153 for more information.
16155 https://bugzilla.gnome.org/show_bug.cgi?id=659140
16157 configure.ac | 2 +-
16158 1 file changed, 1 insertion(+), 1 deletion(-)
16160 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
16161 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16162 Date: Thu Sep 15 14:18:57 2011 +0200
16164 Remove pygtk_version attribute from internal gi._gobject module.
16166 This used to be provided for backwards compatibility with older PyGTK
16167 versions. As PyGObject3 no longer provides support for static bindings
16168 like PyGTK, the pygtk_version attribute has become obsolete.
16170 https://bugzilla.gnome.org/show_bug.cgi?id=659142
16172 gi/_gobject/gobjectmodule.c | 4 ----
16173 gi/_gobject/pygobject.h | 2 --
16174 2 files changed, 6 deletions(-)
16176 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
16177 Author: John (J5) Palmieri <johnp@redhat.com>
16178 Date: Thu Sep 15 15:52:18 2011 -0400
16180 remove overridesdir from the .pc file and add it to the gi module
16182 * having the variable in the .pc file caused issues parallel
16184 for different versions of python
16185 * putting it into the module allows us to give the correct directory
16186 based on which version of python you run the script from
16187 * access the var as such:
16189 installdir = gi._overridesdir
16191 gi/__init__.py | 2 ++
16192 pygobject-3.0.pc.in | 10 +++++++++-
16193 2 files changed, 11 insertions(+), 1 deletion(-)
16195 commit beea7072a5a989be47a755ac46647380d4dbd6b4
16196 Author: John (J5) Palmieri <johnp@redhat.com>
16197 Date: Thu Sep 15 00:11:09 2011 -0400
16199 fix tests to correctly construct a dummy Gtk.TargetEntry
16201 * structs are sometimes a pain in gi. Simply constructing them
16203 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
16205 but not correctly initialize the fields which can cause a crash.
16206 * tests didn't crash before because they were sending in bogus
16208 somehow did not trigger the issue
16209 * now with the C struct array marshallers doing the right thing,
16211 use of TargetEntry was causing a crash
16213 https://bugzilla.gnome.org/show_bug.cgi?id=627236
16215 tests/test_overrides.py | 4 ++--
16216 1 file changed, 2 insertions(+), 2 deletions(-)
16218 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
16219 Author: John (J5) Palmieri <johnp@redhat.com>
16220 Date: Thu Sep 15 00:08:31 2011 -0400
16222 we now assume that C arrays of structs are flat so memcpy them
16225 * there is no way in GI to tell if a C array is flat or an array
16227 so we assume that all arrays of simple structs and gvalues are
16229 all arrays of objects and boxed structs are pointer arrays.
16230 * this will be removed once GI gets the ability to annotate level
16233 https://bugzilla.gnome.org/show_bug.cgi?id=627236
16235 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
16236 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
16237 2 files changed, 61 insertions(+), 3 deletions(-)
16239 commit e30a41592baa942188574e5c9f99572963e2e387
16240 Author: John (J5) Palmieri <johnp@redhat.com>
16241 Date: Thu Sep 15 00:02:34 2011 -0400
16243 only update the arg counts once if child arg comes before parent arg
16245 * if the child arg comes before the parent arg we need to update the
16246 argument counts and take the child arg out of the marshalling lists
16247 since it is handled by the parent
16248 * when two parents reference the same child arg as is the case with
16249 two arrays which have a single length argument we only want
16252 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
16254 and only do the count update if this is set
16255 * APIs should keep in mind that this take extra processing so
16257 should really come after their parents
16259 https://bugzilla.gnome.org/show_bug.cgi?id=627236
16261 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
16262 gi/pygi-cache.h | 9 +++++++--
16263 2 files changed, 27 insertions(+), 12 deletions(-)
16265 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
16266 Author: John (J5) Palmieri <johnp@redhat.com>
16267 Date: Wed Sep 14 20:26:15 2011 -0400
16269 Fix refcount bug by not creating python wrapper during gobject
16272 * This only applys to python subclasses of GObject which are
16275 * Because we were creating the wrapper when the gobject is
16277 and then again calling pygobject_new_full the wrapper would get
16279 * we could not simply Py_DECREF the wrapper due to the fact that
16280 non-subclassed objects (e.g. GObject.Object) instantiated via
16281 new do not run the same initialization code and would not have the
16283 * solution was to simply not create the wrapper during initialization
16284 because if it doesn't exist when pygobject_new_full is called
16285 it gets created and registered there
16286 * move the call to __init__ into pyg_object_new
16288 https://bugzilla.gnome.org/show_bug.cgi?id=657403
16290 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
16291 1 file changed, 15 insertions(+), 17 deletions(-)
16293 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
16294 Author: John (J5) Palmieri <johnp@redhat.com>
16295 Date: Tue Sep 13 18:08:04 2011 -0400
16297 don't destroy just created wrapper when object is created via
16300 https://bugzilla.gnome.org/show_bug.cgi?id=657403
16302 gi/_gobject/gobjectmodule.c | 2 +-
16303 1 file changed, 1 insertion(+), 1 deletion(-)
16305 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
16306 Author: Steve Frécinaux <code@istique.net>
16307 Date: Fri Aug 26 11:22:09 2011 +0200
16309 Remove deprecated API from pygobject.h
16311 https://bugzilla.gnome.org/show_bug.cgi?id=657416
16313 gi/_gobject/pygobject.h | 19 +------------------
16314 1 file changed, 1 insertion(+), 18 deletions(-)
16316 commit e1c71092af6e2cffa36248519adfceac1874051d
16317 Author: Marcin Owsiany <marcin@owsiany.pl>
16318 Date: Wed Aug 31 09:43:28 2011 +0100
16320 Convert gtk.TRUE/FALSE to Python True/False.
16322 https://bugzilla.gnome.org/show_bug.cgi?id=657785
16324 pygi-convert.sh | 2 ++
16325 1 file changed, 2 insertions(+)
16327 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
16328 Author: Steve Frécinaux <code@istique.net>
16329 Date: Fri Sep 2 08:37:15 2011 +0200
16331 Drop legacy __gobject_init__ method of GObject.Object.
16333 This method was used in gobject initialization at some point, but now
16334 using GObject.__init__() is sufficient, so let's not keep this old
16335 method around and let people misuse it.
16337 https://bugzilla.gnome.org/show_bug.cgi?id=658032
16339 examples/signal.py | 2 --
16340 gi/_gobject/pygobject.c | 11 -----------
16341 2 files changed, 13 deletions(-)
16343 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
16344 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16345 Date: Tue Sep 13 12:05:30 2011 +0200
16347 AM_CHECK_PYTHON_LIBS does not work for lib64
16349 But on Windows, Python extension modules need to be explicitly
16350 linked to libpython.
16352 https://bugzilla.gnome.org/show_bug.cgi?id=658856
16354 configure.ac | 4 +++-
16355 gi/Makefile.am | 9 ++++++---
16356 gi/_glib/Makefile.am | 10 ++++++++--
16357 gi/_gobject/Makefile.am | 8 +++++++-
16358 4 files changed, 24 insertions(+), 7 deletions(-)
16360 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
16361 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16362 Date: Mon Sep 12 23:03:05 2011 +0200
16364 Remove common_ldflags from Makefile.am as it is no longer used.
16366 https://bugzilla.gnome.org/show_bug.cgi?id=658856
16368 Makefile.am | 6 ------
16369 1 file changed, 6 deletions(-)
16371 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
16372 Author: John (J5) Palmieri <johnp@redhat.com>
16373 Date: Tue Sep 13 16:20:48 2011 -0400
16375 cast params for PyObject_IsInstance to suppress warnings
16377 gi/_gobject/pygobject-private.h | 4 ++--
16378 1 file changed, 2 insertions(+), 2 deletions(-)
16380 commit 861369ec59b17f67151813dc2e87c6e86126b954
16381 Author: John (J5) Palmieri <johnp@redhat.com>
16382 Date: Tue Sep 13 16:04:31 2011 -0400
16384 check if object is actually a PyGFlag before trying to access g_type
16386 * we are lucky this bit of code worked for as long as it did but when
16387 checking if an object is a PyGFlag we can't just rely on looking
16388 at the g_type field because if a regular gobject is passed in
16389 as is the case when you compare a long to a gflag, the gobject
16390 will not have a g_type field. Accessing a non-existant field
16391 could at best give you a false positive and at worse read
16392 memory beyond the bounds of the actual structure passed in
16394 gi/_gobject/pygobject-private.h | 4 ++--
16395 1 file changed, 2 insertions(+), 2 deletions(-)
16397 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
16398 Author: John (J5) Palmieri <johnp@redhat.com>
16399 Date: Tue Sep 13 16:03:02 2011 -0400
16401 fix regression - add instance type checks since Py3 no longer does
16404 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
16405 1 file changed, 19 insertions(+), 2 deletions(-)
16407 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
16408 Author: John (J5) Palmieri <johnp@redhat.com>
16409 Date: Fri Sep 2 18:39:51 2011 -0400
16411 refactor in/out marshalling to be to_py/from_py
16413 * in/out make sense from a C perspective but when you get to the
16414 python layers it makes more sense to label them as to_py and
16415 from_py to denote which way we are marshalling
16416 * this helps clear up the difference between callbacks which
16417 call into python and invoked functions which call into C
16418 * in the callback case we marshal in values to Python objects
16419 and out values to C types but in the invoke case we do the
16420 reverse. Dealing with to_py/from_py makes the code much more
16421 resuable and consistant
16423 https://bugzilla.gnome.org/show_bug.cgi?id=658362
16425 gi/Makefile.am | 8 +-
16426 gi/pygi-cache.c | 673 ++++++++++-----------
16427 gi/pygi-cache.h | 62 +-
16428 gi/pygi-invoke.c | 144 ++---
16429 gi/pygi-marshal-cleanup.c | 168 +++---
16430 gi/pygi-marshal-cleanup.h | 128 ++--
16431 gi/pygi-marshal-from-py.c | 1412
16432 +++++++++++++++++++++++++++++++++++++++++++++
16433 gi/pygi-marshal-from-py.h | 186 ++++++
16434 gi/pygi-marshal-in.c | 1412
16435 ---------------------------------------------
16436 gi/pygi-marshal-in.h | 186 ------
16437 gi/pygi-marshal-out.c | 768 ------------------------
16438 gi/pygi-marshal-out.h | 144 -----
16439 gi/pygi-marshal-to-py.c | 768 ++++++++++++++++++++++++
16440 gi/pygi-marshal-to-py.h | 144 +++++
16441 14 files changed, 3122 insertions(+), 3081 deletions(-)
16443 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
16444 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16445 Date: Fri Sep 9 16:50:25 2011 +0200
16447 Examples: fix cairo-demo.py imports
16449 examples/cairo-demo.py | 6 +++---
16450 1 file changed, 3 insertions(+), 3 deletions(-)
16452 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
16453 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16454 Date: Fri Sep 9 15:08:27 2011 +0200
16456 Fix paths and add missing overridesdir variable used in uninstalled
16459 https://bugzilla.gnome.org/show_bug.cgi?id=658654
16461 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
16462 1 file changed, 7 insertions(+), 7 deletions(-)
16464 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
16465 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16466 Date: Fri Sep 9 15:08:04 2011 +0200
16468 Remove no longer used variables from pkgconfig files
16470 https://bugzilla.gnome.org/show_bug.cgi?id=658654
16472 pygobject-3.0-uninstalled.pc.in | 6 ------
16473 pygobject-3.0.pc.in | 5 +----
16474 2 files changed, 1 insertion(+), 10 deletions(-)
16476 commit 81d388780311311d8dc4a027a59d114edf9a00fc
16477 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16478 Date: Fri Sep 9 14:57:58 2011 +0200
16480 docs/Makefile.am and m4/python.m4: Python3 portability fixes
16482 https://bugzilla.gnome.org/show_bug.cgi?id=658652
16484 docs/Makefile.am | 2 +-
16485 m4/python.m4 | 2 +-
16486 2 files changed, 2 insertions(+), 2 deletions(-)
16488 commit 7e692ee061406e48e4862b98a0829650b1d6d585
16489 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16490 Date: Fri Sep 9 14:57:46 2011 +0200
16492 Refactor and clean Makefile.am files
16494 https://bugzilla.gnome.org/show_bug.cgi?id=658652
16497 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
16498 gi/_glib/Makefile.am | 100
16499 ++++++++++++++++++++++++++++++----------------
16500 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
16501 gi/overrides/Makefile.am | 4 +-
16502 gi/repository/Makefile.am | 4 +-
16503 6 files changed, 162 insertions(+), 114 deletions(-)
16505 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
16506 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16507 Date: Fri Sep 9 14:57:36 2011 +0200
16509 Remove all PLATFORM_VERSION = 2.0 traces
16511 https://bugzilla.gnome.org/show_bug.cgi?id=658652
16513 gi/Makefile.am | 2 --
16514 gi/overrides/Makefile.am | 1 -
16515 gi/repository/Makefile.am | 1 -
16516 3 files changed, 4 deletions(-)
16518 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
16519 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16520 Date: Fri Sep 9 14:57:25 2011 +0200
16522 Remove gi/tests/ directory as all the tests now live in tests/
16524 https://bugzilla.gnome.org/show_bug.cgi?id=658652
16526 gi/tests/Makefile.am | 24 ------------------------
16527 gi/tests/runtests.py | 21 ---------------------
16528 2 files changed, 45 deletions(-)
16530 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
16531 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16532 Date: Fri Sep 9 14:55:25 2011 +0200
16534 autogen.sh: Use autoreconf instead of a custom script and honor
16537 https://bugzilla.gnome.org/show_bug.cgi?id=658652
16541 +++++++------------------------------------------------------
16542 2 files changed, 12 insertions(+), 85 deletions(-)
16544 commit 4671f5397003f376f00830e3fd1c214de594619f
16545 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16546 Date: Fri Sep 9 14:55:01 2011 +0200
16548 use improved python.m4 macros to search for Python headers and libs
16550 https://bugzilla.gnome.org/show_bug.cgi?id=658652
16552 configure.ac | 3 ++-
16553 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
16554 2 files changed, 39 insertions(+), 11 deletions(-)
16556 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
16557 Author: Javier Jardón <jjardon@gnome.org>
16558 Date: Fri Sep 9 15:38:22 2011 +0100
16560 Make maintiner mode enabled by default
16563 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
16565 configure.ac | 2 +-
16566 1 file changed, 1 insertion(+), 1 deletion(-)
16568 commit b24dcb415406668931e02a1f669ef9861bb3a660
16569 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16570 Date: Wed Aug 24 09:58:10 2011 +0200
16572 Disable documentation for now since they are completely wrong for GI.
16574 https://bugzilla.gnome.org/show_bug.cgi?id=657054
16577 configure.ac | 25 -------------------------
16578 2 files changed, 1 insertion(+), 26 deletions(-)
16580 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
16581 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16582 Date: Wed Sep 7 10:38:28 2011 +0200
16584 Fix documentation installation directory
16586 https://bugzilla.gnome.org/show_bug.cgi?id=657054
16588 docs/Makefile.am | 5 +++--
16589 1 file changed, 3 insertions(+), 2 deletions(-)
16591 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
16592 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16593 Date: Tue Sep 6 22:22:11 2011 +0200
16595 Remove distutils based build system.
16597 The only reason this might be brought back to life again is when
16598 the whole stack can be built with Visual Studio (including
16599 gobject-introspection) again. Building with MinGW/MSYS can now
16600 be done with the usual autogen.sh/configure/make/make install dance.
16602 https://bugzilla.gnome.org/show_bug.cgi?id=657054
16605 Makefile.am | 25 +--
16606 README.win32 | 21 --
16608 -----------------------------------------------
16609 pygobject_postinstall.py | 9 -
16610 setup.py | 351 --------------------------------
16611 6 files changed, 7 insertions(+), 915 deletions(-)
16613 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
16614 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16615 Date: Wed Sep 7 10:40:36 2011 +0200
16617 [gtk-demo] Fix syntax highlighter encoding issue
16619 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
16620 Python 2 however we get a str (not unicode). So with Python 2 the
16621 tokenizer returned bogus data when ran over a demo that contains real
16622 UTF-8 codepoints (like rotatedtext.py for example).
16624 This patch thus fixes the "Gtk-CRITICAL **:
16625 gtk_text_iter_set_line_offset:
16626 assertion `char_on_line <= chars_in_line` failed" assertions when
16628 the rotated text demo in the treeview.
16630 demos/gtk-demo/gtk-demo.py | 3 +++
16631 1 file changed, 3 insertions(+)
16633 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
16634 Author: Ignacio Casal Quinteiro <icq@gnome.org>
16635 Date: Tue Sep 6 22:13:54 2011 +0200
16637 overrides: add constants for atoms
16639 gi/overrides/Gdk.py | 49
16640 +++++++++++++++++++++++++++++++++++++++++++++++++
16641 1 file changed, 49 insertions(+)
16643 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
16644 Author: Steve Frécinaux <code@istique.net>
16645 Date: Wed Aug 31 14:18:56 2011 +0200
16647 Drop pygobject_construct() from public API.
16649 These functions were introduced in 2005 because python objects
16651 "just" be instantiated using g_object_new(), but this is not true
16652 anymore since the introduction of new-style constructors. Hence
16654 has no reason to be there anymore.
16656 Nowadays, people who want to construct GObjects defined in python
16658 just use g_object_new().
16660 https://bugzilla.gnome.org/show_bug.cgi?id=657814
16662 gi/_gobject/gobjectmodule.c | 118
16663 +++++++++-------------------------------
16664 gi/_gobject/pygobject-private.h | 3 -
16665 gi/_gobject/pygobject.h | 8 ---
16666 3 files changed, 26 insertions(+), 103 deletions(-)
16668 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
16669 Author: Ignacio Casal Quinteiro <icq@gnome.org>
16670 Date: Wed Aug 31 18:00:44 2011 +0200
16672 post release version bump
16674 configure.ac | 2 +-
16675 1 file changed, 1 insertion(+), 1 deletion(-)
16677 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
16678 Author: Ignacio Casal Quinteiro <icq@gnome.org>
16679 Date: Wed Aug 31 17:58:37 2011 +0200
16683 NEWS | 12 ++++++++++++
16684 1 file changed, 12 insertions(+)
16686 commit 429569abddada5a3bad554de707ddf35b349936e
16687 Author: John (J5) Palmieri <johnp@redhat.com>
16688 Date: Thu Aug 25 13:57:53 2011 -0400
16690 support skip annotation for return values
16692 * this is used for things like skiping gboolean returns that are
16693 useful is C but useless in python
16695 * cleans up after skipped returns that are also marked transfer
16697 https://bugzilla.gnome.org/show_bug.cgi?id=650135
16699 gi/pygi-cache.c | 1 +
16700 gi/pygi-cache.h | 1 +
16701 gi/pygi-invoke.c | 48
16702 ++++++++++++++++++++++++++++++------------------
16703 tests/test_everything.py | 8 ++++++++
16704 4 files changed, 40 insertions(+), 18 deletions(-)
16706 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
16707 Author: Xavier Claessens <xclaesse@gmail.com>
16708 Date: Tue Aug 2 12:05:12 2011 +0200
16710 Test GPtrArray regression
16712 tests/test_everything.py | 3 +++
16713 1 file changed, 3 insertions(+)
16715 commit 42fc9fa437102c882844a0e70a081ab08de92658
16716 Author: Steve Frécinaux <code@istique.net>
16717 Date: Fri Aug 26 10:53:43 2011 +0200
16719 Drop support for old constructor style.
16721 Bindings don't write their own constructors anymore, and the old style
16722 has been deprecated for ages, so let's just drop them now and make
16725 https://bugzilla.gnome.org/show_bug.cgi?id=657413
16727 gi/_gobject/gobjectmodule.c | 20 --------------------
16728 gi/_gobject/pygobject-private.h | 1 -
16729 gi/_gobject/pygobject.c | 1 -
16730 gi/_gobject/pygobject.h | 2 --
16731 gi/gimodule.c | 28 ----------------------------
16733 tests/testhelpermodule.c | 5 -----
16734 7 files changed, 59 deletions(-)
16736 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
16737 Author: Steve Frécinaux <code@istique.net>
16738 Date: Fri Aug 26 10:45:59 2011 +0200
16740 Drop support for sink functions.
16742 Sink functions were meant to deal with floating references in a custom
16743 way. They are not useful anymore with the dynamic bindings.
16745 https://bugzilla.gnome.org/show_bug.cgi?id=642233
16747 gi/_gobject/gobjectmodule.c | 1 -
16748 gi/_gobject/pygobject.c | 53 ----------------------------------------
16749 gi/_gobject/pygobject.h | 4 ---
16750 tests/test-floating.c | 59
16751 +++++++--------------------------------------
16752 tests/test-floating.h | 42 +++++++++-----------------------
16753 tests/test_gobject.py | 13 +++-------
16754 tests/testhelpermodule.c | 32 +++++++-----------------
16755 7 files changed, 32 insertions(+), 172 deletions(-)
16757 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
16758 Author: Mike Gorse <mgorse@novell.com>
16759 Date: Wed Aug 24 17:30:09 2011 -0500
16761 Reinstate copying of in-line structs in arrays
16763 For arrays of in-line, non-boxed structures with (transfer full),
16764 _pygi_marshal_free_out_array eventually gets called and frees
16766 data, so we should copy it (IE, BGO#653588).
16768 https://bugzilla.gnome.org/show_bug.cgi?id=657120
16770 gi/pygi-marshal-out.c | 8 +++++++-
16771 1 file changed, 7 insertions(+), 1 deletion(-)
16773 commit f38511f251602e18551c04617cc2e2d42e812e1e
16774 Author: John (J5) Palmieri <johnp@redhat.com>
16775 Date: Tue Aug 23 14:18:43 2011 -0400
16777 fix inline struct array handling
16779 * we now assume any non-boxed structs are inline in an array since
16781 no way to check in GI and this is the most common use for an
16785 https://bugzilla.gnome.org/show_bug.cgi?id=657120
16787 gi/pygi-marshal-out.c | 23 +++++++++--------------
16788 tests/test_gi.py | 8 ++++++++
16789 2 files changed, 17 insertions(+), 14 deletions(-)
16791 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
16792 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16793 Date: Tue Aug 23 11:30:41 2011 +0200
16795 [gtk-demo] printing.py: set print and error dialog transient parent
16797 demos/gtk-demo/demos/printing.py | 8 ++++----
16798 1 file changed, 4 insertions(+), 4 deletions(-)
16800 commit 1aebc1565752840075027b9452fe2a67217bf53b
16801 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16802 Date: Tue Aug 23 11:28:05 2011 +0200
16804 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
16805 handle printing errors
16807 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
16808 1 file changed, 10 insertions(+), 4 deletions(-)
16810 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
16811 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16812 Date: Tue Aug 23 08:05:43 2011 +0200
16814 [gtk-demo] show "activated" demo's in italic font in the TreeView
16816 demos/gtk-demo/gtk-demo.py | 7 +++++--
16817 1 file changed, 5 insertions(+), 2 deletions(-)
16819 commit 971d063f7a36e13ef6621db7002b00af52f6292a
16820 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16821 Date: Mon Aug 22 14:52:28 2011 +0200
16823 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
16824 token, so simply remove it
16826 demos/gtk-demo/gtk-demo.py | 5 +----
16827 1 file changed, 1 insertion(+), 4 deletions(-)
16829 commit c2979a37d6d505095b6e55789150a6498d95819d
16830 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16831 Date: Mon Aug 22 14:22:18 2011 +0200
16833 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
16834 but Gtk.TextBuffer.insert expects a string.
16836 Fixed by using codes.open() as hinted in
16837 http://docs.python.org/dev/howto/pyporting.html#text-files
16838 section "If pre-2.6 compatibility is needed" (because configure.ac
16839 is still happy with Python 2.5.2).
16841 demos/gtk-demo/gtk-demo.py | 6 +++++-
16842 1 file changed, 5 insertions(+), 1 deletion(-)
16844 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
16845 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16846 Date: Mon Aug 22 12:30:24 2011 +0200
16848 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
16850 demos/gtk-demo/demos/images.py | 2 +-
16851 1 file changed, 1 insertion(+), 1 deletion(-)
16853 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
16854 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16855 Date: Mon Aug 22 10:38:04 2011 +0200
16857 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
16860 demos/gtk-demo/demos/printing.py | 4 ++--
16861 1 file changed, 2 insertions(+), 2 deletions(-)
16863 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
16864 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16865 Date: Mon Aug 22 10:37:08 2011 +0200
16867 [gtk-demo] printing.py: fix text file loading
16869 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
16870 1 file changed, 16 insertions(+), 16 deletions(-)
16872 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
16873 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16874 Date: Mon Aug 22 10:20:35 2011 +0200
16876 [gtk-demo] pixbuf.py: fix image loading
16878 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
16879 1 file changed, 11 insertions(+), 14 deletions(-)
16881 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
16882 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16883 Date: Mon Aug 22 10:10:02 2011 +0200
16885 [gtk-demo] images.py: fix logo loading
16887 demos/gtk-demo/demos/images.py | 70
16888 +++++++++++++++++-------------------------
16889 1 file changed, 29 insertions(+), 41 deletions(-)
16891 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
16892 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16893 Date: Wed Aug 24 12:19:21 2011 +0200
16895 [gtk-demo] appwindow.py: set AboutDialog parent
16897 demos/gtk-demo/demos/appwindow.py | 7 +++----
16898 1 file changed, 3 insertions(+), 4 deletions(-)
16900 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
16901 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16902 Date: Mon Aug 22 07:58:25 2011 +0200
16904 [gtk-demo] appwindow.py: fix logo loading
16906 demos/gtk-demo/demos/appwindow.py | 10 +++-------
16907 1 file changed, 3 insertions(+), 7 deletions(-)
16909 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
16910 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16911 Date: Mon Aug 22 07:57:31 2011 +0200
16913 [gtk-demo] appwindow.py: fix callback signatures
16915 demos/gtk-demo/demos/appwindow.py | 6 +++---
16916 1 file changed, 3 insertions(+), 3 deletions(-)
16918 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
16919 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16920 Date: Mon Aug 22 07:48:28 2011 +0200
16922 [gtk-demo] fix glib vs GLib usage
16924 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
16925 demos/gtk-demo/demos/appwindow.py | 2 +-
16926 2 files changed, 2 insertions(+), 2 deletions(-)
16928 commit d29cad6976a80862e1fc590d3e7d190e8a234866
16929 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16930 Date: Wed Aug 24 12:19:02 2011 +0200
16932 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
16933 caused by improved GDK overrides
16935 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
16936 1 file changed, 3 insertions(+), 3 deletions(-)
16938 commit f29d3a85a275a39e8481484779264b0dea1160ab
16939 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16940 Date: Mon Aug 22 07:25:32 2011 +0200
16942 [gtk-demo] optimize source colorizer by only preparing iters for
16943 known colorized tokens
16945 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
16946 1 file changed, 15 insertions(+), 5 deletions(-)
16948 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
16949 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16950 Date: Fri Aug 19 18:31:20 2011 +0200
16952 [gtk-demo] small formatting fixes
16954 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
16955 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
16956 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
16957 demos/gtk-demo/demos/assistant.py | 1 +
16958 demos/gtk-demo/demos/builder.py | 4 +++-
16959 demos/gtk-demo/demos/button_box.py | 1 +
16960 demos/gtk-demo/demos/clipboard.py | 1 +
16961 demos/gtk-demo/demos/colorselector.py | 1 +
16962 demos/gtk-demo/demos/combobox.py | 1 +
16963 demos/gtk-demo/demos/drawingarea.py | 4 +++-
16964 demos/gtk-demo/demos/test.py | 2 ++
16965 11 files changed, 19 insertions(+), 6 deletions(-)
16967 commit c42cb4da399ff5732f4ca732b85134de796a60fa
16968 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16969 Date: Fri Aug 19 18:30:50 2011 +0200
16971 [gtk-demo] remove "is_fully_bound" from demos
16973 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
16974 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
16975 demos/gtk-demo/demos/appwindow.py | 3 ---
16976 demos/gtk-demo/demos/assistant.py | 2 --
16977 demos/gtk-demo/demos/builder.py | 2 --
16978 demos/gtk-demo/demos/button_box.py | 2 --
16979 demos/gtk-demo/demos/clipboard.py | 2 --
16980 demos/gtk-demo/demos/colorselector.py | 2 --
16981 demos/gtk-demo/demos/combobox.py | 2 --
16982 demos/gtk-demo/demos/drawingarea.py | 2 --
16983 demos/gtk-demo/demos/test.py | 1 -
16984 11 files changed, 22 deletions(-)
16986 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
16987 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16988 Date: Fri Aug 19 18:26:31 2011 +0200
16990 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
16991 and GTK+'s gtk-demo code
16993 demos/gtk-demo/gtk-demo.py | 116
16994 +++++++++++++++++++++++++++++++++++++++------
16995 1 file changed, 101 insertions(+), 15 deletions(-)
16997 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
16998 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
16999 Date: Fri Aug 19 15:08:15 2011 +0200
17001 [gtk-demo] remove C-isms
17003 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
17004 1 file changed, 14 insertions(+), 14 deletions(-)
17006 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
17007 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17008 Date: Fri Aug 19 14:54:39 2011 +0200
17010 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
17012 demos/gtk-demo/gtk-demo.py | 4 ++--
17013 1 file changed, 2 insertions(+), 2 deletions(-)
17015 commit 241827208e25c72a990d8edd95a3b879470d6409
17016 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17017 Date: Fri Aug 19 14:40:56 2011 +0200
17019 [gtk-demo] remove duplicate storage of demos by only storing them
17020 in a TreeStore subclass
17022 This also moves demos loading code into the TreeStore subclass and
17023 demo loading code into the Demo class
17025 demos/gtk-demo/gtk-demo.py | 151
17026 +++++++++++++++++++++------------------------
17027 1 file changed, 70 insertions(+), 81 deletions(-)
17029 commit 58797c355a08a35375988881a17958bb42ad54bb
17030 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17031 Date: Fri Aug 19 14:40:00 2011 +0200
17033 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
17034 to demonstrate the GLib.MainLoop
17036 demos/gtk-demo/gtk-demo.py | 43
17037 ++++++++++++++++++++++++++-----------------
17038 1 file changed, 26 insertions(+), 17 deletions(-)
17040 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
17041 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17042 Date: Fri Aug 19 11:46:17 2011 +0200
17044 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
17046 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
17047 1 file changed, 23 insertions(+), 16 deletions(-)
17049 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
17050 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17051 Date: Fri Aug 19 11:02:35 2011 +0200
17053 [gtk-demo] drawingarea: fix labels
17055 demos/gtk-demo/demos/drawingarea.py | 4 ++--
17056 1 file changed, 2 insertions(+), 2 deletions(-)
17058 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
17059 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17060 Date: Fri Aug 19 09:57:31 2011 +0200
17062 [gtk-demo] fix imports
17064 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
17065 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
17066 demos/gtk-demo/gtk-demo.py | 8 ++++----
17067 3 files changed, 14 insertions(+), 9 deletions(-)
17069 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
17070 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
17071 Date: Fri Aug 19 10:07:14 2011 +0200
17073 [gtk-demo] fix shebang
17075 demos/gtk-demo/gtk-demo.py | 2 +-
17076 1 file changed, 1 insertion(+), 1 deletion(-)
17078 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
17079 Author: Sebastian Pölsterl <sebp@k-d-w.org>
17080 Date: Fri Aug 19 12:27:04 2011 +0200
17082 Added support for __setitem__ to TreeModel and support for slices
17085 https://bugzilla.gnome.org/show_bug.cgi?id=656891
17087 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
17088 tests/test_overrides.py | 57
17089 +++++++++++++++++++++++++++++++++++++++++++++++++
17090 2 files changed, 81 insertions(+), 2 deletions(-)
17092 commit d6da96c65b2ed3cda238886990a624fbc31f6987
17093 Author: Olav Vitters <olav@vitters.nl>
17094 Date: Wed Aug 24 16:31:12 2011 +0200
17096 Convert ACCEL_* constants into Gtk.AccelFlags.
17098 pygi-convert.sh | 1 +
17099 1 file changed, 1 insertion(+)
17101 commit 0841d41698302abb5d987849a5874252564ed428
17102 Author: Olav Vitters <olav@vitters.nl>
17103 Date: Wed Aug 24 16:22:17 2011 +0200
17105 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
17107 pygi-convert.sh | 1 +
17108 1 file changed, 1 insertion(+)
17110 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
17111 Author: John (J5) Palmieri <johnp@redhat.com>
17112 Date: Thu Aug 18 14:06:32 2011 -0400
17114 post commit version bump
17116 configure.ac | 2 +-
17117 1 file changed, 1 insertion(+), 1 deletion(-)
17119 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
17120 Author: John (J5) Palmieri <johnp@redhat.com>
17121 Date: Thu Aug 18 14:02:30 2011 -0400
17125 NEWS | 10 ++++++++++
17126 1 file changed, 10 insertions(+)
17128 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
17129 Author: John (J5) Palmieri <johnp@redhat.com>
17130 Date: Thu Aug 18 13:50:51 2011 -0400
17132 remove tests that were removed from gi
17134 tests/test_gi.py | 11 -----------
17135 1 file changed, 11 deletions(-)
17137 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
17138 Author: John (J5) Palmieri <johnp@redhat.com>
17139 Date: Thu Aug 18 13:48:57 2011 -0400
17141 don't calculate item_size using is_pointer
17143 * is_pointer is poorly defined and cacluating item_size for
17144 arrays causes a crash in the tests because of this
17145 * disregaurd is_pointer when cacluating item sizes
17147 gi/pygi-info.c | 8 ++------
17148 1 file changed, 2 insertions(+), 6 deletions(-)
17150 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
17151 Author: Timo Vanwynsberghe <timovwb@gmail.com>
17152 Date: Wed Jul 6 01:50:31 2011 +0200
17154 Updated signal example to use GObject introspection
17156 https://bugzilla.gnome.org/show_bug.cgi?id=654162
17158 examples/signal.py | 9 ++++-----
17159 1 file changed, 4 insertions(+), 5 deletions(-)
17161 commit 0332010e704e253380e993874eab9dd122e59a7e
17162 Author: Timo Vanwynsberghe <timovwb@gmail.com>
17163 Date: Wed Jul 6 01:54:50 2011 +0200
17165 Updated properties example to use GObject introspection
17167 https://bugzilla.gnome.org/show_bug.cgi?id=654162
17169 examples/properties.py | 14 +++++++-------
17170 1 file changed, 7 insertions(+), 7 deletions(-)
17172 commit c39f4555ebd703651eca6f978ed9870655b737f0
17173 Author: Martin Pitt <martin.pitt@ubuntu.com>
17174 Date: Fri Aug 12 22:55:02 2011 +0200
17176 Add override for GLib.Variant.split_signature()
17178 This is useful for e. g. iterating over method parameters which are
17180 single Variant. In particular we will need it for automatically
17182 introspection XML for exported DBus server objects.
17184 gi/overrides/GLib.py | 50
17185 +++++++++++++++++++++++++++++++++++++++++++++++++
17186 tests/test_overrides.py | 22 ++++++++++++++++++++++
17187 2 files changed, 72 insertions(+)
17189 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
17190 Author: Timo Vanwynsberghe <timovwb@gmail.com>
17191 Date: Mon Aug 15 18:58:31 2011 +0200
17193 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
17195 https://bugzilla.gnome.org/show_bug.cgi?id=654001
17197 pygi-convert.sh | 2 ++
17198 1 file changed, 2 insertions(+)
17200 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
17201 Author: Ignacio Casal Quinteiro <icq@gnome.org>
17202 Date: Mon Aug 15 13:12:49 2011 +0200
17204 Install pygobject.h again.
17206 This is needed by libpeas.
17208 gi/_gobject/Makefile.am | 5 ++++-
17209 pygobject-3.0-uninstalled.pc.in | 4 ++--
17210 pygobject-3.0.pc.in | 6 +++---
17211 3 files changed, 9 insertions(+), 6 deletions(-)
17213 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
17214 Author: John (J5) Palmieri <johnp@redhat.com>
17215 Date: Sun Aug 14 11:20:15 2011 -0400
17217 update the doap file
17219 pygobject.doap | 26 ++++++++++++++------------
17220 1 file changed, 14 insertions(+), 12 deletions(-)
17222 commit 762a36d2343bc39a502507d600fd1b9db9649dae
17223 Author: John (J5) Palmieri <johnp@redhat.com>
17224 Date: Sun Aug 14 11:13:25 2011 -0400
17228 configure.ac | 2 +-
17229 1 file changed, 1 insertion(+), 1 deletion(-)
17231 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
17232 Author: John (J5) Palmieri <johnp@redhat.com>
17233 Date: Sun Aug 14 10:13:37 2011 -0400
17235 get things ready for release
17238 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17239 1 file changed, 194 insertions(+)
17241 commit ffd057649380d4249c1c52e1225e3646f3994bc6
17242 Author: John (J5) Palmieri <johnp@redhat.com>
17243 Date: Sun Aug 14 05:26:18 2011 -0400
17245 pass exta keywords to the Box constructor
17247 gi/overrides/Gtk.py | 4 ++--
17248 1 file changed, 2 insertions(+), 2 deletions(-)
17250 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
17251 Author: John (J5) Palmieri <johnp@redhat.com>
17252 Date: Sat Aug 13 11:03:07 2011 -0400
17254 add (Tree|List)Store set method override
17256 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
17257 tests/test_overrides.py | 102
17258 ++++++++++++++++++++++++++++++++++++++++++++++--
17259 2 files changed, 149 insertions(+), 3 deletions(-)
17261 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
17262 Author: John (J5) Palmieri <johnp@redhat.com>
17263 Date: Sat Aug 13 09:19:29 2011 -0400
17265 add test for object arrays
17267 tests/test_everything.py | 6 ++++++
17268 1 file changed, 6 insertions(+)
17270 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
17271 Author: John (J5) Palmieri <johnp@redhat.com>
17272 Date: Sat Aug 13 08:46:18 2011 -0400
17274 only support C pointer arrays for structs and objects
17276 * There is no way to know if an array of structs or objects are
17278 or flat arrays. Since pointer arrays are the most useful and
17280 it has been decided to only support those arrays
17282 gi/pygi-marshal-out.c | 2 +-
17283 tests/test_gi.py | 8 --------
17284 2 files changed, 1 insertion(+), 9 deletions(-)
17286 commit b12379de1790b72d51883bf7b63c892639a892e7
17287 Author: John (J5) Palmieri <johnp@redhat.com>
17288 Date: Sat Aug 13 06:31:52 2011 -0400
17290 revert Gtk.Window override because it causes issues with subclasses
17292 gi/overrides/Gtk.py | 9 ---------
17293 1 file changed, 9 deletions(-)
17295 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
17296 Author: Jonathan Matthew <jonathan@d14n.org>
17297 Date: Thu Apr 7 21:05:32 2011 +1000
17299 take GIL in _pygi_invoke_closure_free (bug #647016)
17301 gi/pygi-closure.c | 3 +++
17302 1 file changed, 3 insertions(+)
17304 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
17305 Author: Johan Dahlin <jdahlin@litl.com>
17306 Date: Mon Jun 27 00:41:24 2011 -0300
17308 Add a default parameter to GtkTreeModel.filter_new
17310 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17312 gi/overrides/Gtk.py | 3 +++
17313 1 file changed, 3 insertions(+)
17315 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
17316 Author: Johan Dahlin <jdahlin@litl.com>
17317 Date: Mon Jun 27 00:40:12 2011 -0300
17319 Add vbox/action_area properties
17321 Accessing vbox/action_area directly creates segmentation fault,
17322 avoid that by mapping the fields to their getters for PyGTK
17325 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17327 gi/overrides/Gtk.py | 3 +++
17328 1 file changed, 3 insertions(+)
17330 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
17331 Author: Johan Dahlin <jdahlin@litl.com>
17332 Date: Mon Jun 27 00:39:41 2011 -0300
17334 Add a couple of constructors
17336 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
17339 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17341 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
17342 1 file changed, 40 insertions(+)
17344 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
17345 Author: Johan Dahlin <jdahlin@litl.com>
17346 Date: Mon Jun 27 00:38:30 2011 -0300
17348 Do not always pass in user_data to callbacks.
17350 This keeps API compatibility with PyGTK and avoids sending
17351 in user_data if it's None.
17353 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17355 gi/overrides/Gtk.py | 15 ++++++++++++---
17356 1 file changed, 12 insertions(+), 3 deletions(-)
17358 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
17359 Author: Johan Dahlin <jdahlin@litl.com>
17360 Date: Mon Jun 27 00:38:20 2011 -0300
17362 Add a default detail value for Widget.render_icon
17364 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17366 gi/overrides/Gtk.py | 3 +++
17367 1 file changed, 3 insertions(+)
17369 commit 5b1c875269b7979caae97e84919a690a34d92f29
17370 Author: Johan Dahlin <jdahlin@litl.com>
17371 Date: Mon Jun 27 00:36:20 2011 -0300
17373 Add an override for Gdk.color_parse()
17375 Change Gdk.color_parse() to not return a tuple, instead just
17376 return the created color or None if it wasn't possible to parse
17377 the name into a color.
17379 This keeps compatibility with PyGTK but breaks the current API.
17381 https://bugzilla.gnome.org/show_bug.cgi?id=653462
17383 gi/overrides/Gdk.py | 8 ++++++++
17384 1 file changed, 8 insertions(+)
17386 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
17387 Author: Laszlo Pandy <lpandy@src.gnome.org>
17388 Date: Mon Aug 8 12:06:18 2011 +0200
17390 Support function calling with keyword arguments in invoke.
17392 https://bugzilla.gnome.org/show_bug.cgi?id=625596
17394 gi/pygi-cache.c | 39 ++++++++++++
17395 gi/pygi-cache.h | 4 ++
17396 gi/pygi-invoke.c | 162
17397 +++++++++++++++++++++++++++++++++++++++++++++--
17398 gi/types.py | 12 ++--
17399 tests/test_everything.py | 2 +-
17400 tests/test_gi.py | 58 +++++++++++++++++
17401 6 files changed, 265 insertions(+), 12 deletions(-)
17403 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
17404 Author: John (J5) Palmieri <johnp@redhat.com>
17405 Date: Sat Aug 13 04:13:28 2011 -0400
17407 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
17409 gi/pygi-info.c | 5 -----
17410 1 file changed, 5 deletions(-)
17412 commit 745001178fc72be5626c7211366d694f41162987
17413 Author: Martin Pitt <martin.pitt@ubuntu.com>
17414 Date: Thu Aug 11 15:11:42 2011 +0200
17416 Fix gobject vs. gi.repository warning
17418 Check the warning earlier and fix the operator, so that it actually
17420 update the warning to explain how to fix the problem.
17422 gi/_gobject/__init__.py | 8 ++++----
17423 1 file changed, 4 insertions(+), 4 deletions(-)
17425 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
17426 Author: John (J5) Palmieri <johnp@redhat.com>
17427 Date: Fri Jul 22 15:46:31 2011 -0400
17429 make GObject and GLib able to take overrides
17431 * derive directly from DynamicModule instead of InterfaceModule
17433 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17435 gi/importer.py | 11 +++---
17437 ++++++++++++++++++++++++++++-----------------------------
17438 2 files changed, 64 insertions(+), 65 deletions(-)
17440 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
17441 Author: John (J5) Palmieri <johnp@redhat.com>
17442 Date: Fri Jul 22 15:45:09 2011 -0400
17444 avoid dependency issue by importing the internal gobject
17446 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17448 gi/__init__.py | 2 +-
17449 1 file changed, 1 insertion(+), 1 deletion(-)
17451 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
17452 Author: John (J5) Palmieri <johnp@redhat.com>
17453 Date: Fri Jul 22 14:13:02 2011 -0400
17455 fix tests to use the new GLib module
17457 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17459 tests/test_mainloop.py | 7 +++----
17460 tests/test_option.py | 3 ++-
17461 tests/test_source.py | 24 +++++++++++-------------
17462 tests/test_subprocess.py | 12 +++++-------
17463 tests/test_thread.py | 10 ++++------
17464 tests/test_uris.py | 4 ++--
17465 6 files changed, 27 insertions(+), 33 deletions(-)
17467 commit 191ef79315f8a5641699536fde58da18e23ef904
17468 Author: John (J5) Palmieri <johnp@redhat.com>
17469 Date: Fri Jul 22 14:11:53 2011 -0400
17471 add DynamicGLibModule which works like DynamicGObjectModule
17473 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17475 gi/importer.py | 7 +++++--
17476 gi/module.py | 32 +++++++++++++++++++++++++++++---
17477 2 files changed, 34 insertions(+), 5 deletions(-)
17479 commit fbd4a8263260c187211799454c08b1e55e2cb998
17480 Author: John (J5) Palmieri <johnp@redhat.com>
17481 Date: Fri Jul 22 12:27:41 2011 -0400
17483 refactor, add objects and types to the correct internal module
17485 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17487 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
17488 gi/_glib/pygmaincontext.c | 2 +-
17489 gi/_glib/pygmainloop.c | 4 ++--
17490 gi/_glib/pygoptioncontext.c | 4 ++--
17491 gi/_glib/pygoptiongroup.c | 4 ++--
17492 gi/_glib/pygsource.c | 14 +++++++-------
17493 gi/_glib/pygspawn.c | 14 +++++++-------
17494 7 files changed, 40 insertions(+), 40 deletions(-)
17496 commit 7431b49a161df9178c55b814d3adff992ac2d722
17497 Author: John (J5) Palmieri <johnp@redhat.com>
17498 Date: Fri Jul 22 12:26:32 2011 -0400
17500 rename the pyglib shared library so we don't load the old one
17502 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17504 gi/Makefile.am | 2 +-
17505 gi/_glib/Makefile.am | 10 +++++-----
17506 gi/_gobject/Makefile.am | 2 +-
17507 3 files changed, 7 insertions(+), 7 deletions(-)
17509 commit b8700451acd4a19b59b64fc8641fca748d2189e2
17510 Author: John (J5) Palmieri <johnp@redhat.com>
17511 Date: Fri Jul 22 11:20:09 2011 -0400
17513 refactor tests to only use PyGObject 3 syntax
17515 * for PyGObject 3 we want to discourage the use of legacy
17517 * Using interfaces like from gi.repository import GObject makes
17518 sure that the internal _gobject module is loaded and not
17519 PyGObject 2's gobject module which would cause the application
17520 to not work correctly
17522 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17524 tests/runtests-windows.py | 4 +-
17525 tests/test_gdbus.py | 12 ++---
17526 tests/test_gi.py | 4 +-
17527 tests/test_gobject.py | 31 ++++++------
17528 tests/test_interface.py | 16 +++---
17529 tests/test_mainloop.py | 3 +-
17530 tests/test_overrides.py | 8 +--
17531 tests/test_properties.py | 124
17532 +++++++++++++++++++++++-----------------------
17533 tests/test_signal.py | 98 ++++++++++++++++++------------------
17534 tests/test_source.py | 5 +-
17535 tests/test_subprocess.py | 3 +-
17536 tests/test_thread.py | 5 +-
17537 tests/test_unknown.py | 8 +--
17538 tests/testhelpermodule.c | 2 +-
17539 tests/testmodule.py | 10 ++--
17540 15 files changed, 169 insertions(+), 164 deletions(-)
17542 commit c980dae21468fe073cc8782608148c346bb90ad7
17543 Author: John (J5) Palmieri <johnp@redhat.com>
17544 Date: Fri Jul 22 11:16:00 2011 -0400
17546 refactor the internal _glib module to import correct modules
17548 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17550 gi/_glib/__init__.py | 3 ++-
17551 gi/_glib/glibmodule.c | 10 +++++-----
17552 gi/_glib/option.py | 4 ++--
17553 gi/_glib/pyglib.c | 18 +++++++++---------
17554 4 files changed, 18 insertions(+), 17 deletions(-)
17556 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
17557 Author: John (J5) Palmieri <johnp@redhat.com>
17558 Date: Fri Jul 22 11:10:46 2011 -0400
17560 refactor to use the new internal _glib and _gobject modules
17562 * use relative imports instead of aboslute
17563 * fix the C imports to import the internal _gobject libs
17564 * add a check to see if the PyGObject 2 gobject module
17565 was already imported
17567 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17569 gi/_gobject/__init__.py | 20 +++++++++++++-------
17570 gi/_gobject/constants.py | 3 +--
17571 gi/_gobject/gobjectmodule.c | 2 +-
17572 gi/_gobject/propertyhelper.py | 11 +++++------
17573 gi/_gobject/pygobject.c | 16 ++++++++--------
17574 gi/_gobject/pygobject.h | 2 +-
17575 6 files changed, 29 insertions(+), 25 deletions(-)
17577 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
17578 Author: John (J5) Palmieri <johnp@redhat.com>
17579 Date: Fri Jul 22 11:07:10 2011 -0400
17581 refactor gi module to import and use internal _gobject module
17583 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17585 gi/importer.py | 2 --
17586 gi/module.py | 31 ++++++++++++++++---------------
17587 gi/overrides/Gtk.py | 2 +-
17588 gi/overrides/__init__.py | 6 +++---
17589 gi/pygobject-external.h | 2 +-
17590 gi/types.py | 12 ++++++------
17591 6 files changed, 27 insertions(+), 28 deletions(-)
17593 commit 6b9d738d78c6ac45d49f00402c89356887555069
17594 Author: John (J5) Palmieri <johnp@redhat.com>
17595 Date: Fri Jul 22 11:02:49 2011 -0400
17597 move the static bits internal to gi and refactor build files
17599 * the glib module now becomes the gi._glib module
17600 * the gobject module now becomes the gi._gobject module
17601 * we do this so we can install in parallel with PyGObject 2
17603 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17606 configure.ac | 6 +-
17607 gi/Makefile.am | 8 +-
17608 gi/_glib/Makefile.am | 58 +
17609 gi/_glib/__init__.py | 25 +
17610 gi/_glib/glibmodule.c | 969 ++++++++++++++
17611 gi/_glib/option.py | 358 ++++++
17612 gi/_glib/pygiochannel.c | 764 ++++++++++++
17613 gi/_glib/pygiochannel.h | 29 +
17614 gi/_glib/pyglib-private.h | 49 +
17615 gi/_glib/pyglib-python-compat.h | 245 ++++
17616 gi/_glib/pyglib.c | 633 ++++++++++
17617 gi/_glib/pyglib.h | 83 ++
17618 gi/_glib/pygmaincontext.c | 126 ++
17619 gi/_glib/pygmaincontext.h | 40 +
17620 gi/_glib/pygmainloop.c | 360 ++++++
17621 gi/_glib/pygmainloop.h | 36 +
17622 gi/_glib/pygoptioncontext.c | 337 +++++
17623 gi/_glib/pygoptioncontext.h | 39 +
17624 gi/_glib/pygoptiongroup.c | 298 +++++
17625 gi/_glib/pygoptiongroup.h | 42 +
17626 gi/_glib/pygsource.c | 725 +++++++++++
17627 gi/_glib/pygsource.h | 39 +
17628 gi/_glib/pygspawn.c | 264 ++++
17629 gi/_glib/pygspawn.h | 32 +
17630 gi/_gobject/Makefile.am | 71 ++
17631 gi/_gobject/__init__.py | 117 ++
17632 gi/_gobject/constants.py | 83 ++
17633 gi/_gobject/ffi-marshaller.c | 194 +++
17634 gi/_gobject/ffi-marshaller.h | 31 +
17635 gi/_gobject/gobjectmodule.c | 2638
17636 +++++++++++++++++++++++++++++++++++++++
17637 gi/_gobject/propertyhelper.py | 312 +++++
17638 gi/_gobject/pygboxed.c | 234 ++++
17639 gi/_gobject/pygboxed.h | 27 +
17640 gi/_gobject/pygenum.c | 366 ++++++
17641 gi/_gobject/pygenum.h | 27 +
17642 gi/_gobject/pygflags.c | 485 +++++++
17643 gi/_gobject/pygflags.h | 27 +
17644 gi/_gobject/pyginterface.c | 122 ++
17645 gi/_gobject/pyginterface.h | 40 +
17646 gi/_gobject/pygobject-private.h | 241 ++++
17647 gi/_gobject/pygobject.c | 2397
17648 +++++++++++++++++++++++++++++++++++
17649 gi/_gobject/pygobject.h | 667 ++++++++++
17650 gi/_gobject/pygparamspec.c | 404 ++++++
17651 gi/_gobject/pygparamspec.h | 31 +
17652 gi/_gobject/pygpointer.c | 198 +++
17653 gi/_gobject/pygpointer.h | 27 +
17654 gi/_gobject/pygtype.c | 1844 +++++++++++++++++++++++++++
17655 gi/_gobject/pygtype.h | 28 +
17656 glib/Makefile.am | 61 -
17657 glib/__init__.py | 25 -
17658 glib/glibmodule.c | 969 --------------
17659 glib/option.py | 358 ------
17660 glib/pygiochannel.c | 764 ------------
17661 glib/pygiochannel.h | 29 -
17662 glib/pyglib-private.h | 49 -
17663 glib/pyglib-python-compat.h | 245 ----
17664 glib/pyglib.c | 633 ----------
17665 glib/pyglib.h | 83 --
17666 glib/pygmaincontext.c | 126 --
17667 glib/pygmaincontext.h | 40 -
17668 glib/pygmainloop.c | 360 ------
17669 glib/pygmainloop.h | 36 -
17670 glib/pygoptioncontext.c | 337 -----
17671 glib/pygoptioncontext.h | 39 -
17672 glib/pygoptiongroup.c | 298 -----
17673 glib/pygoptiongroup.h | 42 -
17674 glib/pygsource.c | 725 -----------
17675 glib/pygsource.h | 39 -
17676 glib/pygspawn.c | 264 ----
17677 glib/pygspawn.h | 32 -
17678 gobject/Makefile.am | 73 --
17679 gobject/__init__.py | 117 --
17680 gobject/constants.py | 83 --
17681 gobject/ffi-marshaller.c | 194 ---
17682 gobject/ffi-marshaller.h | 31 -
17683 gobject/gobjectmodule.c | 2638
17684 ---------------------------------------
17685 gobject/propertyhelper.py | 312 -----
17686 gobject/pygboxed.c | 234 ----
17687 gobject/pygboxed.h | 27 -
17688 gobject/pygenum.c | 366 ------
17689 gobject/pygenum.h | 27 -
17690 gobject/pygflags.c | 485 -------
17691 gobject/pygflags.h | 27 -
17692 gobject/pyginterface.c | 122 --
17693 gobject/pyginterface.h | 40 -
17694 gobject/pygobject-private.h | 241 ----
17695 gobject/pygobject.c | 2397
17696 -----------------------------------
17697 gobject/pygobject.h | 667 ----------
17698 gobject/pygparamspec.c | 404 ------
17699 gobject/pygparamspec.h | 31 -
17700 gobject/pygpointer.c | 198 ---
17701 gobject/pygpointer.h | 27 -
17702 gobject/pygtype.c | 1844 ---------------------------
17703 gobject/pygtype.h | 28 -
17704 tests/Makefile.am | 2 +-
17705 96 files changed, 16172 insertions(+), 16175 deletions(-)
17707 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
17708 Author: John (J5) Palmieri <johnp@redhat.com>
17709 Date: Mon Jul 18 18:46:31 2011 -0400
17713 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17715 Makefile.am | 5 ----
17717 -------------------------------------------------------------
17718 2 files changed, 100 deletions(-)
17720 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
17721 Author: John (J5) Palmieri <johnp@redhat.com>
17722 Date: Mon Jul 18 18:41:41 2011 -0400
17724 introspection is no longer optional
17726 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17728 Makefile.am | 8 +-------
17729 configure.ac | 43 +++++++++++++++++--------------------------
17730 gi/pygi.h | 37 -------------------------------------
17731 gobject/Makefile.am | 5 +----
17732 tests/Makefile.am | 7 +------
17733 5 files changed, 20 insertions(+), 80 deletions(-)
17735 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
17736 Author: John (J5) Palmieri <johnp@redhat.com>
17737 Date: Mon Jul 18 18:28:50 2011 -0400
17739 up platform version to 3.0
17741 https://bugzilla.gnome.org/show_bug.cgi?id=642048
17744 configure.ac | 4 ++--
17745 pygobject-2.0-uninstalled.pc.in | 18 ------------------
17746 pygobject-2.0.pc.in | 22 ----------------------
17747 pygobject-3.0-uninstalled.pc.in | 18 ++++++++++++++++++
17748 pygobject-3.0.pc.in | 22 ++++++++++++++++++++++
17749 6 files changed, 43 insertions(+), 43 deletions(-)
17751 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
17752 Author: Martin Pitt <martin.pitt@ubuntu.com>
17753 Date: Thu Aug 11 09:53:15 2011 +0200
17755 [gi] Handle GVariants from callback return values
17757 Callbacks still use GIArgument, add missing GVariant support for
17760 gi/pygi-argument.c | 6 ++++--
17761 1 file changed, 4 insertions(+), 2 deletions(-)
17763 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
17764 Author: Martin Pitt <martin.pitt@ubuntu.com>
17765 Date: Wed Aug 10 14:11:10 2011 +0200
17767 Handle GVariants for callback arguments
17769 Callbacks still use GIArgument, add missing GVariant support. This
17771 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
17773 gi/pygi-argument.c | 7 +++++++
17774 1 file changed, 7 insertions(+)
17776 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
17777 Author: Laszlo Pandy <lpandy@src.gnome.org>
17778 Date: Mon Aug 8 01:58:10 2011 +0200
17780 [gi] Fix crash: check return value of
17781 _invoke_state_init_from_callable_cache() before continuing.
17783 gi/pygi-invoke.c | 4 +++-
17784 1 file changed, 3 insertions(+), 1 deletion(-)
17786 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
17787 Author: Laszlo Pandy <lpandy@src.gnome.org>
17788 Date: Fri Aug 5 21:03:33 2011 +0200
17790 [gi] Pass gtype as first parameter to vfuncs (instead of using
17793 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
17795 2 files changed, 19 insertions(+), 15 deletions(-)
17797 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
17798 Author: John (J5) Palmieri <johnp@redhat.com>
17799 Date: Mon Jul 18 18:21:51 2011 -0400
17804 codegen/Makefile.am | 33 -
17805 codegen/README.defs | 351 --------
17806 codegen/__init__.py | 16 -
17807 codegen/argtypes.py | 1043 -----------------------
17808 codegen/code-coverage.py | 44 -
17809 codegen/codegen.py | 1722
17810 --------------------------------------
17811 codegen/createdefs.py | 17 -
17812 codegen/definitions.py | 575 -------------
17813 codegen/defsconvert.py | 132 ---
17814 codegen/defsgen.py | 737 ----------------
17815 codegen/defsparser.py | 153 ----
17816 codegen/docextract.py | 461 ----------
17817 codegen/docextract_to_xml.py | 142 ----
17818 codegen/docgen.py | 766 -----------------
17819 codegen/h2def.py | 631 --------------
17820 codegen/mergedefs.py | 26 -
17821 codegen/missingdefs.py | 17 -
17822 codegen/mkskel.py | 89 --
17823 codegen/override.py | 285 -------
17824 codegen/pygobject-codegen-2.0.in | 11 -
17825 codegen/reversewrapper.py | 912 --------------------
17826 codegen/scanvirtuals.py | 54 --
17827 codegen/scmexpr.py | 143 ----
17829 pygobject-2.0-uninstalled.pc.in | 1 -
17830 pygobject-2.0.pc.in | 1 -
17831 27 files changed, 1 insertion(+), 8368 deletions(-)
17833 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
17834 Author: John (J5) Palmieri <johnp@redhat.com>
17835 Date: Mon Jul 18 11:04:58 2011 -0400
17837 remove some left over ifdefs to complete merge of the invoke-rewrite
17840 gi/pygi-cache.h | 2 --
17841 gi/pygi-info.c | 2 --
17842 gi/pygi-private.h | 5 +----
17844 4 files changed, 1 insertion(+), 10 deletions(-)
17846 commit 8c653ec3033fab47c4bb4071b5732a349357141f
17847 Author: John (J5) Palmieri <johnp@redhat.com>
17848 Date: Mon Jul 18 10:59:45 2011 -0400
17850 rename pygi-invoke-ng to pygi-invoke
17852 gi/Makefile.am | 3 +-
17853 gi/pygi-invoke-ng.c | 464
17854 ----------------------------------------------------
17855 gi/pygi-invoke.c | 464
17856 ++++++++++++++++++++++++++++++++++++++++++++++++++++
17857 3 files changed, 466 insertions(+), 465 deletions(-)
17859 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
17860 Author: John (J5) Palmieri <johnp@redhat.com>
17861 Date: Mon Jul 18 10:56:36 2011 -0400
17863 make invoke-ng the only invoker
17865 configure.ac | 11 -
17866 gi/Makefile.am | 10 +-
17867 gi/pygi-invoke.c | 1030
17868 ------------------------------------------------------
17869 3 files changed, 1 insertion(+), 1050 deletions(-)
17871 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
17872 Merge: 519e556 917ea2d
17873 Author: John (J5) Palmieri <johnp@redhat.com>
17874 Date: Mon Jul 18 10:45:18 2011 -0400
17876 Merge branch 'master' into invoke-rewrite
17878 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
17879 Merge: bab7e88 38cca3c
17880 Author: John (J5) Palmieri <johnp@redhat.com>
17881 Date: Mon Jul 18 10:37:20 2011 -0400
17883 Merge branch 'master' into invoke-rewrite
17885 commit bab7e88251bffcd360186c6dedc26be8eb077084
17886 Author: John (J5) Palmieri <johnp@redhat.com>
17887 Date: Mon Jul 18 10:35:10 2011 -0400
17889 split the marshalling routines into two source files
17891 * update copy and paste copyright info to list the correct owner
17893 gi/Makefile.am | 6 +-
17894 gi/pygi-cache.c | 3 +-
17895 gi/pygi-marshal-in.c | 1412 ++++++++++++++++++++++++++++++++
17896 gi/pygi-marshal-in.h | 186 +++++
17897 gi/pygi-marshal-out.c | 767 ++++++++++++++++++
17898 gi/pygi-marshal-out.h | 144 ++++
17899 gi/pygi-marshal.c | 2145
17900 -------------------------------------------------
17901 gi/pygi-marshal.h | 303 -------
17902 8 files changed, 2515 insertions(+), 2451 deletions(-)
17904 commit 917ea2dfa2d097e563233145003a66b3e4423287
17905 Author: Martin Pitt <martin.pitt@ubuntu.com>
17906 Date: Thu Jul 14 11:21:10 2011 +0200
17908 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
17910 tests/Makefile.am | 1 +
17911 1 file changed, 1 insertion(+)
17913 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
17914 Author: John (J5) Palmieri <johnp@redhat.com>
17915 Date: Wed Jul 13 15:43:02 2011 -0400
17917 [invoke] break out caller_allocates allocating into its own function
17919 gi/pygi-invoke-ng.c | 78
17920 +++++++++++++++++++++++++++++++++--------------------
17921 1 file changed, 49 insertions(+), 29 deletions(-)
17923 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
17924 Author: John (J5) Palmieri <johnp@redhat.com>
17925 Date: Wed Jul 13 15:42:26 2011 -0400
17927 [invoke] missed a bit when removing constructor_class usage
17929 gi/pygi-invoke-ng.c | 2 +-
17930 1 file changed, 1 insertion(+), 1 deletion(-)
17932 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
17933 Author: John (J5) Palmieri <johnp@redhat.com>
17934 Date: Wed Jul 13 15:16:17 2011 -0400
17936 [invoke] don't hold on to the constructor class, just add a TODO
17938 gi/pygi-invoke-ng.c | 11 +++++------
17939 gi/pygi-invoke-state-struct.h | 1 -
17940 2 files changed, 5 insertions(+), 7 deletions(-)
17942 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
17943 Author: Martin Pitt <martin.pitt@ubuntu.com>
17944 Date: Wed Jul 13 10:40:25 2011 +0200
17946 [gi] Port test_properties from static gio to GI Gio
17948 As we ripped out the static gio bindings a while ago, this test case
17950 the system installed gio bindings with Python 2, and now fails
17952 Python 3. Rewrite it to use gi.repository.Gio.
17954 tests/test_properties.py | 38 +++++++++++++++++++-------------------
17955 1 file changed, 19 insertions(+), 19 deletions(-)
17957 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
17958 Author: Martin Pitt <martin.pitt@ubuntu.com>
17959 Date: Wed Jul 13 08:42:22 2011 +0200
17961 [python3] Fix maketrans import
17963 Python3 moved the maketrans() function from the string module to a
17965 This unbreaks gi/module.py for Python 3 again.
17967 gi/module.py | 8 ++++++--
17968 1 file changed, 6 insertions(+), 2 deletions(-)
17970 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
17971 Author: John (J5) Palmieri <johnp@redhat.com>
17972 Date: Fri Jul 8 14:39:22 2011 -0400
17974 [caching] remove all inline compiler flags
17976 gi/pygi-cache.c | 96
17977 ++++++++++++++++++++++++++++-----------------------------
17978 1 file changed, 48 insertions(+), 48 deletions(-)
17980 commit bf7bb79b66ad406063fb443e7452d830c55986ef
17981 Author: John (J5) Palmieri <johnp@redhat.com>
17982 Date: Fri Jul 8 14:35:20 2011 -0400
17984 [caching] refactor function names to be less confusing
17986 gi/pygi-cache.c | 307
17987 +++++++++++++++++++++++++++-----------------------------
17988 1 file changed, 150 insertions(+), 157 deletions(-)
17990 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
17991 Author: John (J5) Palmieri <johnp@redhat.com>
17992 Date: Fri Jul 8 11:24:09 2011 -0400
17994 [overrides] deprecate the use of type keyword MessageDialog
17997 * pygtk used type to determine the "type" of message dialog to
17999 use the proper property name "message_type" since we should not be
18000 overriding a reserved word
18001 * to keep compat with pygtk we check the kwds hash for the key
18003 assign it to message_type while throwing a deprecation warning
18004 * also add a deprication warning when trying to use the depricated
18008 gi/overrides/Gtk.py | 13 ++++++++-----
18009 1 file changed, 8 insertions(+), 5 deletions(-)
18011 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
18012 Author: Martin Pitt <martin.pitt@ubuntu.com>
18013 Date: Fri Jul 8 10:15:53 2011 +0200
18015 gdbus tests: Fix hang if test case fails
18017 In the TestGDBusClient.test_native_calls_async() test case, the main
18019 never quit when the call failed.
18021 tests/test_gdbus.py | 6 ++++--
18022 1 file changed, 4 insertions(+), 2 deletions(-)
18024 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
18025 Author: John (J5) Palmieri <johnp@redhat.com>
18026 Date: Thu Jul 7 19:30:11 2011 -0400
18028 use an enum instead of booleans to denote function type
18030 gi/pygi-cache.c | 85
18031 ++++++++++++++++++++++++++++++-----------------------
18032 gi/pygi-cache.h | 18 +++++++++---
18033 gi/pygi-invoke-ng.c | 8 ++---
18034 3 files changed, 67 insertions(+), 44 deletions(-)
18036 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
18037 Author: John (J5) Palmieri <johnp@redhat.com>
18038 Date: Thu Jul 7 15:18:03 2011 -0400
18040 rename aux arguments to child arguments to make their purpose clearer
18042 gi/pygi-cache.c | 64
18043 ++++++++++++++++++++++++++---------------------------
18044 gi/pygi-cache.h | 29 ++++++++++++++++--------
18045 gi/pygi-invoke-ng.c | 10 ++++-----
18046 gi/pygi-marshal.c | 12 +++++-----
18047 4 files changed, 63 insertions(+), 52 deletions(-)
18049 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
18050 Author: Timo Vanwynsberghe <timovwb@gmail.com>
18051 Date: Thu Jul 7 10:59:08 2011 +0200
18053 Fixed the cairo example
18055 https://bugzilla.gnome.org/show_bug.cgi?id=653844
18057 examples/cairo-demo.py | 6 ++----
18058 1 file changed, 2 insertions(+), 4 deletions(-)
18060 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
18061 Author: Adam Dingle <adam@yorba.org>
18062 Date: Tue Jul 5 14:28:20 2011 -0700
18064 Add override binding for Gtk.ListStore.prepend().
18066 https://bugzilla.gnome.org/show_bug.cgi?id=654056
18068 gi/overrides/Gtk.py | 8 ++++++++
18069 tests/test_overrides.py | 13 ++++++++++++-
18070 2 files changed, 20 insertions(+), 1 deletion(-)
18072 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
18073 Author: Martin Pitt <martin.pitt@ubuntu.com>
18074 Date: Thu Jul 7 13:39:19 2011 +0200
18076 Fix crash in Gtk.TextIter overrides
18078 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
18080 pointers when the search was unsuccessful. Actually check the
18082 value; if it is False return None, just like PyGTK used to.
18084 Thanks to Michael Vogt for discovering this and writing the test case!
18088 -------------- 8< -----------------
18089 from gi.repository import Gtk
18091 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
18092 textview = Gtk.TextView()
18093 buffer = textview.get_buffer()
18094 buffer.set_text("hello world")
18099 iter = buffer.get_start_iter()
18100 end = buffer.get_end_iter()
18101 ret = iter.forward_search("foo",
18102 Gtk.TextSearchFlags.VISIBLE_ONLY,
18104 print "this is my return value"
18106 print "now I crash"
18107 print ret[0].get_offset()
18110 -------------- 8< -----------------
18112 gi/overrides/Gtk.py | 10 ++++++++--
18113 1 file changed, 8 insertions(+), 2 deletions(-)
18115 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
18116 Author: John (J5) Palmieri <johnp@redhat.com>
18117 Date: Tue Jul 5 15:57:23 2011 -0400
18119 use gssize instead of int for arg indexes
18121 gi/pygi-cache.c | 24 ++++++++++++------------
18122 gi/pygi-cache.h | 6 +++---
18123 gi/pygi-invoke-ng.c | 6 +++---
18124 gi/pygi-marshal-cleanup.c | 6 +++---
18125 4 files changed, 21 insertions(+), 21 deletions(-)
18127 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
18128 Author: John (J5) Palmieri <johnp@redhat.com>
18129 Date: Tue Jul 5 14:17:30 2011 -0400
18131 [cache] remove refrence to default value as it is not implemented yet
18133 gi/pygi-cache.h | 1 -
18134 1 file changed, 1 deletion(-)
18136 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
18137 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18138 Date: Thu May 12 18:53:06 2011 +0200
18140 Handle arguments that are flags correctly
18142 https://bugzilla.gnome.org/show_bug.cgi?id=647581
18144 gi/pygi-argument.c | 2 ++
18145 1 file changed, 2 insertions(+)
18147 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
18148 Author: John (J5) Palmieri <johnp@redhat.com>
18149 Date: Fri Jul 1 05:19:15 2011 -0400
18151 correctly initialize the _gi_cairo_functions array to be zero filled
18153 gi/pygi-foreign-cairo.c | 2 +-
18154 1 file changed, 1 insertion(+), 1 deletion(-)
18156 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
18157 Author: John (J5) Palmieri <johnp@redhat.com>
18158 Date: Fri Jul 1 05:19:15 2011 -0400
18160 correctly initialize the _gi_cairo_functions array to be zero filled
18162 gi/pygi-foreign-cairo.c | 2 +-
18163 1 file changed, 1 insertion(+), 1 deletion(-)
18165 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
18166 Author: John (J5) Palmieri <johnp@redhat.com>
18167 Date: Wed Jun 29 18:14:40 2011 -0400
18169 pass in the address of the gerror, not the gerror itself
18171 gi/pygi-argument.c | 2 +-
18172 1 file changed, 1 insertion(+), 1 deletion(-)
18174 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
18175 Author: John (J5) Palmieri <johnp@redhat.com>
18176 Date: Wed Jun 29 18:01:44 2011 -0400
18178 [gi] handle marshalling gerrors arguments for signals
18180 gi/pygi-argument.c | 18 ++++++++++++++++--
18181 1 file changed, 16 insertions(+), 2 deletions(-)
18183 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
18184 Author: John (J5) Palmieri <johnp@redhat.com>
18185 Date: Wed Jun 29 12:12:29 2011 -0400
18187 [gi-invoke-ng] fix NULL check to check before we access the cache
18190 gi/pygi-cache.c | 6 +++---
18191 1 file changed, 3 insertions(+), 3 deletions(-)
18193 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
18194 Author: John (J5) Palmieri <johnp@redhat.com>
18195 Date: Tue Jun 28 18:21:55 2011 -0400
18197 [gi-tests] add test for PyGObject->PyObject TreeModel storage
18199 * make sure we can store a custom GObject as a PyObject inside of
18202 tests/test_overrides.py | 26 +++++++++++++++-----------
18203 1 file changed, 15 insertions(+), 11 deletions(-)
18205 commit b6842e4b2a28733e143d4022864041ca82e91f7a
18206 Author: John (J5) Palmieri <johnp@redhat.com>
18207 Date: Tue Jun 28 18:13:38 2011 -0400
18209 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
18211 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
18214 gi/overrides/Gtk.py | 7 ++++---
18215 gobject/pygtype.c | 7 ++++---
18216 2 files changed, 8 insertions(+), 6 deletions(-)
18218 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
18219 Author: John (J5) Palmieri <johnp@redhat.com>
18220 Date: Tue Jun 28 17:32:29 2011 -0400
18222 [gi-invoke-ng] copy structs when transfer is full for array
18224 gi/pygi-marshal.c | 21 ++++++++++++++++++---
18225 1 file changed, 18 insertions(+), 3 deletions(-)
18227 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
18228 Author: John (J5) Palmieri <johnp@redhat.com>
18229 Date: Tue Jun 28 13:54:48 2011 -0400
18231 [gtk-override] print warning if user imports Gtk 2.0
18233 * this is needed because people file bugs not realizing they are
18235 which is not supported
18237 gi/overrides/Gtk.py | 12 ++++++++++++
18238 1 file changed, 12 insertions(+)
18240 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
18241 Author: John (J5) Palmieri <johnp@redhat.com>
18242 Date: Tue Jun 28 13:08:49 2011 -0400
18244 [gtk-overrides] allow the message_type keyword to be used for
18247 * for pygtk compat we use the type keyword for message type but
18249 the use of message_type because it is more descriptive and does
18251 with a python reserved word
18252 * if you passed message_type into a MessageDialog constructor you
18254 an error because we also convert type to message_type when
18257 * this patch looks to see if message_type was passed in as a
18259 assigns it to type while removing message_type from the keywords
18261 to avoid name clashing
18263 gi/overrides/Gtk.py | 5 +++++
18264 1 file changed, 5 insertions(+)
18266 commit 2aa12267bee91aa696633a0cea2a0accae09250a
18267 Author: Johan Dahlin <jdahlin@litl.com>
18268 Date: Mon Jun 27 10:56:20 2011 -0300
18270 Add support for enums in gobject.property
18272 https://bugzilla.gnome.org/show_bug.cgi?id=653488
18274 gobject/propertyhelper.py | 23 ++++++++++++++++-------
18275 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
18276 2 files changed, 52 insertions(+), 11 deletions(-)
18278 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
18279 Author: Johan Dahlin <jdahlin@litl.com>
18280 Date: Mon Jun 27 10:56:20 2011 -0300
18282 Add support for enums in gobject.property
18284 https://bugzilla.gnome.org/show_bug.cgi?id=653488
18286 gobject/propertyhelper.py | 23 ++++++++++++++++-------
18287 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
18288 2 files changed, 52 insertions(+), 11 deletions(-)
18290 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
18291 Author: John (J5) Palmieri <johnp@redhat.com>
18292 Date: Fri Jun 24 14:17:24 2011 -0400
18294 [gi-invoke-ng] use g_slice for allocating GValues that are caller
18297 gi/pygi-invoke-ng.c | 2 ++
18298 gi/pygi-marshal-cleanup.c | 2 ++
18299 2 files changed, 4 insertions(+)
18301 commit eff65cd2ce490296865441c3c78b7846f380459c
18302 Author: John (J5) Palmieri <johnp@redhat.com>
18303 Date: Fri Jun 24 11:49:05 2011 -0400
18305 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
18308 gi/pygi-marshal.c | 56
18309 +++++++++++++++++++++++++++++++++++++++++++------------
18310 1 file changed, 44 insertions(+), 12 deletions(-)
18312 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
18313 Author: John (J5) Palmieri <johnp@redhat.com>
18314 Date: Wed Jun 22 12:26:39 2011 -0400
18316 [gi-invoke-ng] only cache caller allocates for interfaces as some
18319 gi/pygi-cache.c | 6 ++++--
18320 1 file changed, 4 insertions(+), 2 deletions(-)
18322 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
18323 Author: John (J5) Palmieri <johnp@redhat.com>
18324 Date: Fri Jun 17 17:07:56 2011 -0400
18326 [gi-invoke-ng] handle in pointer array marshalling
18328 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
18329 1 file changed, 22 insertions(+), 6 deletions(-)
18331 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
18332 Author: Alex Eftimie <alex@eftimie.ro>
18333 Date: Fri Jun 10 08:44:04 2011 +0300
18335 Adding GPtrArray tests
18337 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
18338 1 file changed, 42 insertions(+), 1 deletion(-)
18340 commit e32c2be53175014399d89e1e85c9afc6e53c94be
18341 Author: John (J5) Palmieri <johnp@redhat.com>
18342 Date: Fri Jun 17 11:32:28 2011 -0400
18344 [gi-invoke-ng] fix array element offset calculations
18346 * use pointer arithmetic to calculate based on element size instead of
18347 relying on the size of GIArgument
18348 * special case GPtrArrays
18350 gi/pygi-marshal.c | 27 +++++++++------------------
18351 1 file changed, 9 insertions(+), 18 deletions(-)
18353 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
18354 Author: John (J5) Palmieri <johnp@redhat.com>
18355 Date: Wed Jun 15 12:46:03 2011 -0400
18357 [gi] don't clean up arguments that weren't yet processed during in
18360 gi/pygi-marshal-cleanup.c | 2 +-
18361 1 file changed, 1 insertion(+), 1 deletion(-)
18363 commit af7c93ea98b7f492eef265e58c8b3c878805524f
18364 Author: John (J5) Palmieri <johnp@redhat.com>
18365 Date: Wed Jun 15 12:06:47 2011 -0400
18367 [gi-overrides] use new instead of init when constructing a
18368 GLib.VariantBuilder
18370 * init is now skipped in the gir
18372 gi/overrides/GLib.py | 18 ++++++++----------
18373 tests/test_overrides.py | 6 ++----
18374 2 files changed, 10 insertions(+), 14 deletions(-)
18376 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
18377 Author: John (J5) Palmieri <johnp@redhat.com>
18378 Date: Wed Jun 15 11:42:45 2011 -0400
18380 [gi-invoke-ng] actual code to import overrides
18382 gi/pygi-cache.c | 7 +------
18383 1 file changed, 1 insertion(+), 6 deletions(-)
18385 commit 902575d857beffb14e56821ea8a52f705385f6bb
18386 Author: John (J5) Palmieri <johnp@redhat.com>
18387 Date: Wed Jun 15 11:25:10 2011 -0400
18389 [gi-invoke-ng] import pytypes so we get overrides
18391 gi/pygi-marshal.c | 4 +++-
18392 1 file changed, 3 insertions(+), 1 deletion(-)
18394 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
18395 Author: John (J5) Palmieri <johnp@redhat.com>
18396 Date: Tue Jun 14 16:13:37 2011 -0400
18398 [gi-invoke-ng] handle gvariants now that they are not foreign
18400 gi/pygi-marshal.c | 7 ++++++-
18401 1 file changed, 6 insertions(+), 1 deletion(-)
18403 commit c1f5651062687e800a52b5d8d16c88c0acde2934
18404 Author: John (J5) Palmieri <johnp@redhat.com>
18405 Date: Tue Jun 14 16:12:43 2011 -0400
18407 [gi-invoke-ng] do not try to clean up NULL arguments
18409 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
18410 1 file changed, 16 insertions(+), 8 deletions(-)
18412 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
18413 Merge: 499b68d 1491f62
18414 Author: John (J5) Palmieri <johnp@redhat.com>
18415 Date: Mon Jun 13 17:28:23 2011 -0400
18417 Merge branch 'master' into invoke-rewrite
18419 commit 499b68d6c9040cffc6e43dc87789d68446564a92
18420 Merge: 4c9bced 426c710
18421 Author: John (J5) Palmieri <johnp@redhat.com>
18422 Date: Mon Jun 13 17:26:37 2011 -0400
18424 Merge branch 'master' into invoke-rewrite
18426 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
18427 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18428 Date: Fri Jun 10 14:01:32 2011 +0200
18430 closure: avoid double free crash
18432 gi/pygi-closure.c | 12 ++++--------
18433 1 file changed, 4 insertions(+), 8 deletions(-)
18435 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
18436 Author: Jason Siefken <siefkenj@gmail.com>
18437 Date: Fri Jun 3 23:11:17 2011 -0700
18439 Added __eq__ method for Gdk.Color and Gdk.RGBA
18441 Call Gdk.Color.equal and Gdk.RGBA.equal when
18442 == equality testing is used.
18444 gi/overrides/Gdk.py | 6 ++++++
18445 tests/test_overrides.py | 4 ++++
18446 2 files changed, 10 insertions(+)
18448 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
18449 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18450 Date: Wed Jun 8 19:13:48 2011 +0200
18452 closure: Check the out arg is not null. Fixes bug #651812
18454 gi/pygi-closure.c | 3 +++
18455 1 file changed, 3 insertions(+)
18457 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
18458 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18459 Date: Wed Jun 8 09:47:20 2011 +0200
18461 Use constants instead of literals
18463 tests/test_overrides.py | 8 ++++----
18464 1 file changed, 4 insertions(+), 4 deletions(-)
18466 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
18467 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18468 Date: Mon Jun 6 19:07:22 2011 +0200
18470 GVariant has now a GType, take that into account
18472 https://bugzilla.gnome.org/show_bug.cgi?id=647509
18474 gi/pygi-argument.c | 8 ++++----
18475 gi/pygi-invoke.c | 20 +++++++++++++-------
18476 2 files changed, 17 insertions(+), 11 deletions(-)
18478 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
18479 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18480 Date: Mon Jun 6 19:05:07 2011 +0200
18482 GVariantType is a boxed struct
18484 https://bugzilla.gnome.org/show_bug.cgi?id=647509
18486 gi/gimodule.c | 2 +-
18487 1 file changed, 1 insertion(+), 1 deletion(-)
18489 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
18490 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18491 Date: Mon Jun 6 17:38:21 2011 +0200
18493 Use _gi.Struct to wrap fundamentals
18495 https://bugzilla.gnome.org/show_bug.cgi?id=647509
18497 gi/module.py | 4 +++-
18498 1 file changed, 3 insertions(+), 1 deletion(-)
18500 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
18501 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
18502 Date: Mon Jun 6 17:24:28 2011 +0200
18504 Merge gi/HACKING into /HACKING
18506 HACKING | 16 ++++++++++++++++
18507 gi/HACKING | 26 --------------------------
18508 2 files changed, 16 insertions(+), 26 deletions(-)
18510 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
18511 Author: Daniel Drake <dsd@laptop.org>
18512 Date: Fri Jun 3 16:59:15 2011 +0100
18514 Fix GC-related crash during PyGObject deallocation
18516 Python-2.7.1's GC source has the following comment:
18518 /* Python's cyclic gc should never see an incoming refcount
18519 * of 0: if something decref'ed to 0, it should have been
18520 * deallocated immediately at that time.
18521 * Possible cause (if the assert triggers): a tp_dealloc
18522 * routine left a gc-aware object tracked during its teardown
18523 * phase, and did something-- or allowed something to
18525 * that called back into Python. gc can trigger then, and may
18526 * see the still-tracked dying object. Before this assert
18527 * was added, such mistakes went on to allow gc to try to
18528 * delete the object again. In a debug build, that caused
18529 * a mysterious segfault, when _Py_ForgetReference tried
18530 * to remove the object from the doubly-linked list of all
18531 * objects a second time. In a release build, an actual
18532 * double deallocation occurred, which leads to corruption
18533 * of the allocator's internal bookkeeping pointers. That's
18534 * so serious that maybe this should be a release-build
18535 * check instead of an assert?
18538 As shown in a backtrace at
18539 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
18541 this exact mistake. Before untracking its object, pygobject_dealloc
18542 calls PyObject_ClearWeakRefs() which can call back into python, create
18543 new allocations, and trigger the GC.
18545 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
18547 crash on a regular basis while interacting with widgets or launching
18550 Fix this by untracking the object early. Also fix the same issue
18552 in the GSource wrapper.
18554 Thanks to Bernie Innocenti for initial diagnosis.
18556 glib/pygsource.c | 6 ++++--
18557 gobject/pygobject.c | 8 +++++++-
18558 2 files changed, 11 insertions(+), 3 deletions(-)
18560 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
18561 Author: John (J5) Palmieri <johnp@redhat.com>
18562 Date: Tue May 31 16:59:41 2011 -0400
18564 [gi-invoke-ng] enable invoke-ng by default
18566 configure.ac | 8 ++++----
18567 1 file changed, 4 insertions(+), 4 deletions(-)
18569 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
18570 Author: John (J5) Palmieri <johnp@redhat.com>
18571 Date: Tue May 31 16:37:21 2011 -0400
18573 [gi-invoke-ng] add code to clean up when input values fail to marshal
18575 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
18576 1 file changed, 25 insertions(+), 5 deletions(-)
18578 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
18579 Author: John (J5) Palmieri <johnp@redhat.com>
18580 Date: Tue May 31 16:01:03 2011 -0400
18582 [gi-invoke-ng] add hash cleanup routines
18584 gi/pygi-cache.c | 2 ++
18585 gi/pygi-marshal-cleanup.c | 64
18586 +++++++++++++++++++++++++++++++++++++++++++++++
18587 gi/pygi-marshal-cleanup.h | 10 ++++++--
18588 3 files changed, 74 insertions(+), 2 deletions(-)
18590 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
18591 Author: John (J5) Palmieri <johnp@redhat.com>
18592 Date: Tue May 31 14:47:30 2011 -0400
18594 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
18596 gi/pygi-marshal-cleanup.c | 3 ++-
18597 1 file changed, 2 insertions(+), 1 deletion(-)
18599 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
18600 Author: John (J5) Palmieri <johnp@redhat.com>
18601 Date: Tue May 31 14:40:49 2011 -0400
18603 [gi-invoke-ng] add list cleanup routines
18605 gi/pygi-cache.c | 8 ++---
18606 gi/pygi-marshal-cleanup.c | 84
18607 +++++++++++++++++++++++++++++++++++++++++++++++
18608 gi/pygi-marshal-cleanup.h | 8 +++++
18609 3 files changed, 96 insertions(+), 4 deletions(-)
18611 commit 2e542c327cd52c1f77af28905557dd25c64175d8
18612 Author: John (J5) Palmieri <johnp@redhat.com>
18613 Date: Thu May 26 16:10:13 2011 -0400
18617 gi/pygi-marshal.c | 8 ++++----
18618 1 file changed, 4 insertions(+), 4 deletions(-)
18620 commit 601aec11c49e821fe97dd30a2187fe3c75844712
18621 Author: John (J5) Palmieri <johnp@redhat.com>
18622 Date: Thu May 26 16:09:38 2011 -0400
18624 [gi-invoke-ng] add out array cleanup
18626 gi/pygi-cache.c | 2 +-
18627 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
18628 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
18629 3 files changed, 56 insertions(+), 7 deletions(-)
18631 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
18632 Author: John (J5) Palmieri <johnp@redhat.com>
18633 Date: Thu May 26 13:22:38 2011 -0400
18635 [gi-invoke-ng] do not allocate null terminator for garray
18637 * We are simply setting our own array so we don't want any allocate
18640 gi/pygi-marshal.c | 2 +-
18641 1 file changed, 1 insertion(+), 1 deletion(-)
18643 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
18644 Author: John (J5) Palmieri <johnp@redhat.com>
18645 Date: Thu May 26 13:21:55 2011 -0400
18647 [gi-invoke-ng] add array cleanup for in arrays
18649 gi/pygi-cache.c | 2 +-
18650 gi/pygi-marshal-cleanup.c | 72
18651 ++++++++++++++++++++++++++++++++++++++++++++++-
18652 gi/pygi-marshal-cleanup.h | 9 ++++++
18653 gi/pygi-marshal.c | 13 +++++++--
18654 4 files changed, 91 insertions(+), 5 deletions(-)
18656 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
18657 Author: John (J5) Palmieri <johnp@redhat.com>
18658 Date: Mon May 23 17:06:30 2011 -0400
18660 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
18662 gi/pygi-invoke-ng.c | 7 +------
18663 gi/pygi-invoke-state-struct.h | 14 --------------
18664 2 files changed, 1 insertion(+), 20 deletions(-)
18666 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
18667 Author: John (J5) Palmieri <johnp@redhat.com>
18668 Date: Mon May 23 16:59:57 2011 -0400
18670 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
18673 * cleanup now has symmetry with setup so there are now in and out
18675 for each type that needs to be cleaned up
18676 * no longer use state machine but instead call different cleanup
18678 different stages of invoke, making it easier to understand what
18682 gi/pygi-cache.c | 19 ++-
18683 gi/pygi-cache.h | 7 +-
18684 gi/pygi-invoke-ng.c | 10 +-
18685 gi/pygi-invoke-state-struct.h | 2 +
18686 gi/pygi-marshal-cleanup.c | 301
18687 +++++++++++++++++-------------------------
18688 gi/pygi-marshal-cleanup.h | 45 ++++---
18689 gi/pygi-marshal.c | 15 +--
18690 7 files changed, 174 insertions(+), 225 deletions(-)
18692 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
18693 Author: John (J5) Palmieri <johnp@redhat.com>
18694 Date: Thu May 12 17:29:20 2011 -0400
18696 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
18698 * The state machine concept of cleaning up was getting a bit messy.
18699 It was like we took a big bowl of spaghetti code and dumped it.
18700 * Now we call specific cleanup functions at the point of failure (or
18701 successful completion of a marshalling stage)
18703 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
18704 gi/pygi-marshal-cleanup.c | 72
18705 +++++++++++++++++++++++++++++++++++++++++++++++
18706 gi/pygi-marshal-cleanup.h | 14 +++++++++
18707 3 files changed, 135 insertions(+), 10 deletions(-)
18709 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
18710 Author: José Alburquerque <jaalburqu@svn.gnome.org>
18711 Date: Thu May 12 11:53:40 2011 -0400
18713 Doc Extractor: Correct the logic of the --no-since option.
18715 * codegen/docextract.py (process_final_sections): If the
18717 option has been specified and a "Since:" is encountered during the
18718 processing of the final sections, simply don't append the
18720 instead of reading the next line. This preserves the logical
18724 codegen/docextract.py | 4 ++--
18725 1 file changed, 2 insertions(+), 2 deletions(-)
18727 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
18728 Author: José Alburquerque <jaalburqu@svn.gnome.org>
18729 Date: Mon May 9 17:32:09 2011 -0400
18731 Doc Extractor: Add a --no-since option.
18733 * codegen/docextract.py:
18734 * codegen/docextract_to_xml.py: Modified so that if a --no-since
18735 option is specified at the command line, the "Since: ..." portion
18737 the gtkdoc function block is omitted. This is useful for C++
18739 such as gstreamermm where this information would not be useful
18741 as the C API is still unstable.
18743 codegen/docextract.py | 15 ++++++++++++++-
18744 codegen/docextract_to_xml.py | 9 ++++++---
18745 2 files changed, 20 insertions(+), 4 deletions(-)
18747 commit 4f615c6e300d6f2d7551b640efa301060206ab58
18748 Author: John (J5) Palmieri <johnp@redhat.com>
18749 Date: Thu May 5 14:04:34 2011 -0400
18751 [gi-invoke-ng] tweek cleanup routines
18753 gi/pygi-cache.c | 5 +++
18754 gi/pygi-marshal-cleanup.c | 87
18755 +++++++++++++++++++++++++++++++++++------------
18756 gi/pygi-marshal-cleanup.h | 6 ++--
18757 gi/pygi-marshal.c | 11 ++----
18758 4 files changed, 76 insertions(+), 33 deletions(-)
18760 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
18761 Author: Martin Pitt <martin.pitt@ubuntu.com>
18762 Date: Mon May 2 15:49:52 2011 +0200
18764 Fix symbol names to be locale independent
18766 We currently use upper() to present enum values, which are usually
18768 lower case in the typelib, in upper cases. However, upper() is locale
18769 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
18770 because Turkish has some extra variants of "i".
18772 Use a local ASCII-only translate() call instead to avoid this. Thanks
18774 Philippsen for the idea!
18776 This also adds a test locale "te_ST@nouppera" which defines
18777 toupper('a') == 'a'.
18778 Run the Enum tests under this locale to reproduce the bug and verify
18781 https://bugzilla.gnome.org/show_bug.cgi?id=649165
18783 gi/module.py | 9 ++++++++-
18784 tests/te_ST@nouppera | 50
18785 ++++++++++++++++++++++++++++++++++++++++++++++++++
18786 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
18787 3 files changed, 88 insertions(+), 1 deletion(-)
18789 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
18790 Author: Martin Pitt <martin.pitt@ubuntu.com>
18791 Date: Wed May 4 08:35:27 2011 +0200
18793 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
18795 pygi-convert.sh | 1 +
18796 1 file changed, 1 insertion(+)
18798 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
18799 Author: John (J5) Palmieri <johnp@redhat.com>
18800 Date: Fri Apr 29 17:41:08 2011 -0400
18802 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
18804 gi/pygi-cache.c | 2 ++
18805 1 file changed, 2 insertions(+)
18807 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
18808 Author: John (J5) Palmieri <johnp@redhat.com>
18809 Date: Fri Apr 29 17:40:13 2011 -0400
18811 [gi-invoke-ng] handle caller allocates cleanup
18813 gi/pygi-invoke-ng.c | 5 ++-
18814 gi/pygi-marshal-cleanup.c | 104
18815 ++++++++++++++++++++++++++++++++++++----------
18816 gi/pygi-marshal-cleanup.h | 7 ++--
18817 3 files changed, 90 insertions(+), 26 deletions(-)
18819 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
18820 Author: John (J5) Palmieri <johnp@redhat.com>
18821 Date: Thu Apr 28 19:16:02 2011 -0400
18823 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
18826 gi/pygi-cache.c | 15 ++-----------
18827 gi/pygi-invoke-ng.c | 8 +++----
18828 gi/pygi-invoke-state-struct.h | 2 ++
18829 gi/pygi-marshal-cleanup.c | 51
18830 ++++++++++++++++++++++++++++++++++++++++++-
18831 gi/pygi-marshal-cleanup.h | 3 +++
18832 5 files changed, 60 insertions(+), 19 deletions(-)
18834 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
18835 Author: John (J5) Palmieri <johnp@redhat.com>
18836 Date: Wed Apr 27 15:47:19 2011 -0400
18838 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
18841 * PyCObject is deprecated and pycairo 1.10.0 is first release to
18844 configure.ac | 15 +++++++++++----
18845 gi/pygi-foreign-cairo.c | 2 +-
18846 2 files changed, 12 insertions(+), 5 deletions(-)
18848 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
18849 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18850 Date: Thu Apr 21 16:52:20 2011 +0200
18852 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
18854 gi/pygi-foreign-cairo.c | 7 ++++++-
18855 1 file changed, 6 insertions(+), 1 deletion(-)
18857 commit 3e933784df423757e591d703614cb700adb0bbe0
18858 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18859 Date: Mon Apr 18 18:36:25 2011 +0200
18863 pygobject.doap | 15 +++++++++++++++
18864 1 file changed, 15 insertions(+)
18866 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
18867 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18868 Date: Sat Apr 16 16:02:05 2011 +0200
18870 [gi] Don't create variant twice
18872 gi/overrides/GLib.py | 2 +-
18873 1 file changed, 1 insertion(+), 1 deletion(-)
18875 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
18876 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18877 Date: Fri Apr 15 16:14:43 2011 +0200
18879 pygi-convert.sh: Make sure the uppercase GObject module is imported
18880 instead of the lowercase
18882 https://bugzilla.gnome.org/show_bug.cgi?id=647736
18884 pygi-convert.sh | 1 +
18885 1 file changed, 1 insertion(+)
18887 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
18888 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18889 Date: Fri Apr 15 15:58:53 2011 +0200
18891 [gi] Removed hack to avoid using GLib.Variant.new_variant.
18893 The bug in the annotations of GLib is fixed now.
18894 https://bugzilla.gnome.org/show_bug.cgi?id=639952
18895 https://bugzilla.gnome.org/show_bug.cgi?id=647796
18897 gi/overrides/GLib.py | 14 +-------------
18898 1 file changed, 1 insertion(+), 13 deletions(-)
18900 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
18901 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18902 Date: Fri Apr 15 15:58:31 2011 +0200
18904 [gi] Added additional test case for GVariant handling
18906 tests/test_overrides.py | 15 +++++++++++++++
18907 1 file changed, 15 insertions(+)
18909 commit 138df2778543409752e229a09828a805f68a420d
18910 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18911 Date: Mon Apr 11 18:34:31 2011 +0200
18913 [gi] Added support for GVariant arguments
18915 This is required in order for the "g-signal" signal of GDBusProxy
18916 to work properly and thus to properly receive DBus signals with any
18919 https://bugzilla.gnome.org/show_bug.cgi?id=647477
18921 gi/pygi-argument.c | 2 ++
18922 1 file changed, 2 insertions(+)
18924 commit 985f239d891c7697d76ccecb797b189669ae6ee1
18925 Author: John (J5) Palmieri <johnp@redhat.com>
18926 Date: Tue Mar 22 18:46:28 2011 -0400
18928 fix static ABI for setting string gvalues from python objects
18930 * the static bindings used to be able to set a string gvalue to
18932 object that implemented __str__, for instance when setting a
18934 * this restores that code while still keeping unicode and python 3
18937 gobject/pygtype.c | 28 +++++++++++++++++++---------
18938 tests/test_properties.py | 8 ++++++++
18939 2 files changed, 27 insertions(+), 9 deletions(-)
18941 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
18942 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18943 Date: Tue Mar 22 20:47:51 2011 +0100
18945 dsextras.py: ensure eol characters are preserved when writing template
18946 files (so \n does not become \r\n)
18949 1 file changed, 1 insertion(+), 1 deletion(-)
18951 commit 629d267478982c426ba61a639d5c9603fed856e6
18952 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
18953 Date: Tue Mar 22 11:35:44 2011 +0100
18955 dsextras.py: remove \r as wel as \n character
18958 1 file changed, 1 insertion(+), 1 deletion(-)
18960 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
18961 Author: John (J5) Palmieri <johnp@redhat.com>
18962 Date: Wed Apr 27 15:47:19 2011 -0400
18964 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
18967 * PyCObject is deprecated and pycairo 1.10.0 is first release to
18970 configure.ac | 15 +++++++++++----
18971 gi/pygi-foreign-cairo.c | 2 +-
18972 2 files changed, 12 insertions(+), 5 deletions(-)
18974 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
18975 Author: Ignacio Casal Quinteiro <icq@gnome.org>
18976 Date: Thu Apr 21 16:52:20 2011 +0200
18978 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
18980 gi/pygi-foreign-cairo.c | 7 ++++++-
18981 1 file changed, 6 insertions(+), 1 deletion(-)
18983 commit 91ec337359720839862d3f5a8a0ea98f760a0752
18984 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18985 Date: Mon Apr 18 18:36:25 2011 +0200
18989 pygobject.doap | 15 +++++++++++++++
18990 1 file changed, 15 insertions(+)
18992 commit 05c766044c83340c44564d0097514bfc1d1d9df7
18993 Author: Sebastian Pölsterl <sebp@k-d-w.org>
18994 Date: Sat Apr 16 16:02:05 2011 +0200
18996 [gi] Don't create variant twice
18998 gi/overrides/GLib.py | 2 +-
18999 1 file changed, 1 insertion(+), 1 deletion(-)
19001 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
19002 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19003 Date: Fri Apr 15 16:14:43 2011 +0200
19005 pygi-convert.sh: Make sure the uppercase GObject module is imported
19006 instead of the lowercase
19008 https://bugzilla.gnome.org/show_bug.cgi?id=647736
19010 pygi-convert.sh | 1 +
19011 1 file changed, 1 insertion(+)
19013 commit af31729573de24161ee90563e5738187c749783c
19014 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19015 Date: Fri Apr 15 15:58:53 2011 +0200
19017 [gi] Removed hack to avoid using GLib.Variant.new_variant.
19019 The bug in the annotations of GLib is fixed now.
19020 https://bugzilla.gnome.org/show_bug.cgi?id=639952
19021 https://bugzilla.gnome.org/show_bug.cgi?id=647796
19023 gi/overrides/GLib.py | 14 +-------------
19024 1 file changed, 1 insertion(+), 13 deletions(-)
19026 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
19027 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19028 Date: Fri Apr 15 15:58:31 2011 +0200
19030 [gi] Added additional test case for GVariant handling
19032 tests/test_overrides.py | 15 +++++++++++++++
19033 1 file changed, 15 insertions(+)
19035 commit 65aa040e86d94ee6bb227a2bce09668b60208027
19036 Author: John (J5) Palmieri <johnp@redhat.com>
19037 Date: Tue Apr 12 14:51:35 2011 -0400
19039 [gi-invoke-ng] fix prototype
19041 gi/pygi-cache.h | 2 +-
19042 1 file changed, 1 insertion(+), 1 deletion(-)
19044 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
19045 Author: John (J5) Palmieri <johnp@redhat.com>
19046 Date: Tue Apr 12 14:48:16 2011 -0400
19048 [gi-invoke-ng] create new framework for cleaning up args
19050 * we now have a state machine so we know what point in the marshalling
19052 we are and which args need to be cleaned up
19053 * call the cleanup functions after invoking the gi callable, after
19055 the out parameters and at any time an error occures
19057 gi/Makefile.am | 4 ++-
19058 gi/pygi-cache.c | 25 +++++++------
19059 gi/pygi-cache.h | 5 ++-
19060 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
19061 gi/pygi-invoke-state-struct.h | 13 +++++++
19062 gi/pygi-marshal-cleanup.c | 81
19063 +++++++++++++++++++++++++++++++++++++++++++
19064 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
19065 gi/pygi-marshal.c | 1 +
19066 8 files changed, 187 insertions(+), 19 deletions(-)
19068 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
19069 Author: Sebastian Pölsterl <sebp@k-d-w.org>
19070 Date: Mon Apr 11 18:34:31 2011 +0200
19072 [gi] Added support for GVariant arguments
19074 This is required in order for the "g-signal" signal of GDBusProxy
19075 to work properly and thus to properly receive DBus signals with any
19078 https://bugzilla.gnome.org/show_bug.cgi?id=647477
19080 gi/pygi-argument.c | 2 ++
19081 1 file changed, 2 insertions(+)
19083 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
19084 Author: John (J5) Palmieri <johnp@redhat.com>
19085 Date: Wed Mar 30 16:40:31 2011 -0400
19087 [gi-invoke-ng] fix marshal header that is no longer part of
19090 gi/pygi-marshal.h | 8 ++++----
19091 1 file changed, 4 insertions(+), 4 deletions(-)
19093 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
19094 Author: John (J5) Palmieri <johnp@redhat.com>
19095 Date: Wed Mar 30 15:53:13 2011 -0400
19097 [gi-invoke-ng] code style space fixes
19099 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
19100 gi/pygi-invoke-ng.c | 145 +++++++-------
19101 gi/pygi-marshal.c | 565
19102 ++++++++++++++++++++++++++--------------------------
19103 3 files changed, 566 insertions(+), 564 deletions(-)
19105 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
19106 Author: John (J5) Palmieri <johnp@redhat.com>
19107 Date: Tue Mar 29 16:54:44 2011 -0400
19109 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
19111 gi/pygi-invoke-ng.c | 1 -
19112 1 file changed, 1 deletion(-)
19114 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
19115 Author: John (J5) Palmieri <johnp@redhat.com>
19116 Date: Tue Mar 29 15:23:06 2011 -0400
19118 [gi-invoke-ng] return None when appropriate so we don't crash
19120 gi/pygi-marshal.c | 18 +++++++++++++++++-
19121 1 file changed, 17 insertions(+), 1 deletion(-)
19123 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
19124 Author: John (J5) Palmieri <johnp@redhat.com>
19125 Date: Tue Mar 29 15:21:41 2011 -0400
19127 [gi-invoke-ng] fix aux value caching
19129 gi/pygi-cache.c | 15 ++++++++++-----
19130 1 file changed, 10 insertions(+), 5 deletions(-)
19132 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
19133 Author: John (J5) Palmieri <johnp@redhat.com>
19134 Date: Mon Mar 28 20:25:46 2011 -0400
19136 [gi-invoke-ng] backport handling flags with no gtype
19138 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
19139 1 file changed, 24 insertions(+), 1 deletion(-)
19141 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
19142 Author: John (J5) Palmieri <johnp@redhat.com>
19143 Date: Mon Mar 28 18:32:00 2011 -0400
19145 [gi-invoke-ng] backport raw gvalue handling
19147 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
19148 1 file changed, 18 insertions(+), 5 deletions(-)
19150 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
19151 Author: John (J5) Palmieri <johnp@redhat.com>
19152 Date: Mon Mar 28 18:30:31 2011 -0400
19154 [gi-invoke-ng] marshal instances seperately since they differ slightly
19157 gi/pygi-cache.c | 2 +-
19158 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
19159 2 files changed, 39 insertions(+), 1 deletion(-)
19161 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
19162 Author: John (J5) Palmieri <johnp@redhat.com>
19163 Date: Mon Mar 28 18:26:09 2011 -0400
19165 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
19167 gi/pygi-cache.c | 392
19168 +++++++++++++++++++++++++++-------------------------
19169 gi/pygi-cache.h | 12 +-
19170 gi/pygi-info.c | 2 +-
19171 gi/pygi-invoke-ng.c | 40 +++---
19172 gi/pygi-marshal.c | 140 +++++++++----------
19173 gi/pygi-marshal.h | 159 +++++++++------------
19175 7 files changed, 362 insertions(+), 385 deletions(-)
19177 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
19178 Author: John (J5) Palmieri <johnp@redhat.com>
19179 Date: Mon Mar 28 15:01:12 2011 -0400
19181 [gi-invoke-rewrite] backport glib error handling
19183 gi/pygi-invoke-ng.c | 14 ++++++--------
19184 1 file changed, 6 insertions(+), 8 deletions(-)
19186 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
19187 Author: John (J5) Palmieri <johnp@redhat.com>
19188 Date: Fri Mar 25 18:48:42 2011 -0400
19190 [gi-invoke-ng] backport closure passing from invoke
19192 gi/pygi-marshal.c | 13 ++++++++++---
19193 1 file changed, 10 insertions(+), 3 deletions(-)
19195 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
19196 Author: John (J5) Palmieri <johnp@redhat.com>
19197 Date: Fri Mar 25 18:47:36 2011 -0400
19199 [gi-invoke-ng] handle vfuncs and fix cosntrutors
19201 gi/pygi-cache.c | 9 +++++++
19202 gi/pygi-cache.h | 2 ++
19203 gi/pygi-invoke-ng.c | 56
19204 ++++++++++++++++++++++++++++++++-----------
19205 gi/pygi-invoke-state-struct.h | 2 ++
19206 4 files changed, 55 insertions(+), 14 deletions(-)
19208 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
19209 Author: John (J5) Palmieri <johnp@redhat.com>
19210 Date: Fri Mar 25 18:39:06 2011 -0400
19212 [gi-invoke-ng] handle foreign types correctly
19214 gi/pygi-cache.c | 22 ++++++----------------
19215 gi/pygi-marshal.c | 3 +++
19216 2 files changed, 9 insertions(+), 16 deletions(-)
19218 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
19219 Author: John (J5) Palmieri <johnp@redhat.com>
19220 Date: Fri Mar 25 13:14:01 2011 -0400
19222 [gi] remove the class parameter from the argument list of constructors
19224 * constructors pass in their class to be constructed. Since we
19226 and g_object_new to do the construction we ignore this for now but
19227 keep it around in the state for future use.
19229 gi/pygi-invoke-ng.c | 46
19230 +++++++++++++++++++++++++++++++++++++------
19231 gi/pygi-invoke-state-struct.h | 1 +
19232 2 files changed, 41 insertions(+), 6 deletions(-)
19234 commit 0534eb0e843cdf09611143da184052f7e549e4dc
19235 Author: John (J5) Palmieri <johnp@redhat.com>
19236 Date: Tue Mar 22 18:46:28 2011 -0400
19238 fix static ABI for setting string gvalues from python objects
19240 * the static bindings used to be able to set a string gvalue to
19242 object that implemented __str__, for instance when setting a
19244 * this restores that code while still keeping unicode and python 3
19247 gobject/pygtype.c | 28 +++++++++++++++++++---------
19248 tests/test_properties.py | 8 ++++++++
19249 2 files changed, 27 insertions(+), 9 deletions(-)
19251 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
19252 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19253 Date: Tue Mar 22 20:47:51 2011 +0100
19255 dsextras.py: ensure eol characters are preserved when writing template
19256 files (so \n does not become \r\n)
19259 1 file changed, 1 insertion(+), 1 deletion(-)
19261 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
19262 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19263 Date: Tue Mar 22 11:35:44 2011 +0100
19265 dsextras.py: remove \r as wel as \n character
19268 1 file changed, 1 insertion(+), 1 deletion(-)
19270 commit 86c436978c933f6ebe17627abe98325ce66f6baa
19271 Author: John (J5) Palmieri <johnp@redhat.com>
19272 Date: Tue Mar 22 16:13:58 2011 -0400
19274 [gi] make new invoke-ng codepath compile correctly
19277 gi/Makefile.am | 5 +-
19278 gi/pygi-cache.c | 2 +-
19279 gi/pygi-invoke-ng.c | 841 ----------------------
19280 gi/pygi-marshal.c | 1962
19281 +--------------------------------------------------
19282 gi/pygi-private.h | 4 +-
19283 6 files changed, 9 insertions(+), 2809 deletions(-)
19285 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
19286 Author: John (J5) Palmieri <johnp@redhat.com>
19287 Date: Tue Mar 22 15:40:02 2011 -0400
19289 [gi] conditionalize invoke code paths
19291 configure.ac | 7 +++++++
19292 gi/Makefile.am | 20 +++++++++++++++-----
19293 gi/pygi-cache.h | 2 ++
19294 gi/pygi-info.c | 4 +++-
19295 gi/pygi-private.h | 9 +++++++--
19297 6 files changed, 37 insertions(+), 9 deletions(-)
19299 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
19300 Author: John (J5) Palmieri <johnp@redhat.com>
19301 Date: Tue Mar 22 15:37:24 2011 -0400
19303 [gi] revert back to the type.py from master
19305 gi/types.py | 21 +++++++++++++++------
19306 1 file changed, 15 insertions(+), 6 deletions(-)
19308 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
19309 Author: John (J5) Palmieri <johnp@redhat.com>
19310 Date: Tue Mar 22 14:46:29 2011 -0400
19312 [gi] revert pygi-argument.h and move the invoke-ng code to
19315 gi/pygi-argument.h | 268 +-----------------------------------------
19316 gi/pygi-marshal.h | 336
19317 +++++++++++++++++++++++++++++++++++++++++++++++++++++
19318 2 files changed, 337 insertions(+), 267 deletions(-)
19320 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
19321 Merge: 7332a1b 01596a9
19322 Author: John (J5) Palmieri <johnp@redhat.com>
19323 Date: Tue Mar 22 13:34:36 2011 -0400
19325 Merge branch 'master' into invoke-rewrite
19330 gi/pygi-foreign-cairo.c
19331 gi/pygi-foreign-gvariant.c
19332 gi/pygi-foreign-gvariant.h
19338 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
19339 Author: John (J5) Palmieri <johnp@redhat.com>
19340 Date: Tue Mar 22 13:20:54 2011 -0400
19342 [gi] foreign types now take interface infos instead of type infos
19344 * this is a prep for the invoke-rewrite branch
19345 * when marshalling foreign structs we may not have the type info but
19346 we will always have the interface info to pass
19347 * this simplifies the code because we were simply converting the
19348 type info back to an interface info anyway so there is less
19349 refcounting to keep track of
19350 * also fixes a bug where we were leaking PyNone ref counts
19352 gi/pygi-argument.c | 4 ++--
19353 gi/pygi-foreign-cairo.c | 16 ++++++++--------
19354 gi/pygi-foreign-gvariant.c | 12 ++++++------
19355 gi/pygi-foreign.c | 32 +++++++++++++-------------------
19356 gi/pygi-foreign.h | 8 ++++----
19357 gi/pygi-invoke.c | 6 +++---
19358 gi/pygi.h | 12 ++++++------
19359 7 files changed, 42 insertions(+), 48 deletions(-)
19361 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
19362 Author: Martin Pitt <martin.pitt@ubuntu.com>
19363 Date: Tue Mar 22 15:04:01 2011 +0100
19365 Fix GSchema tests for separate build tree
19367 When using a separate build tree, the compiled GSettings schema will
19369 build tree, but as the test scripts are only in the source tree they
19371 the compiled schema. Pass the build dir as environment variable and
19373 over test_overrides.py's directory.
19375 tests/Makefile.am | 3 ++-
19376 tests/test_overrides.py | 4 +++-
19377 2 files changed, 5 insertions(+), 2 deletions(-)
19379 commit 7332a1b99775519fdc5500cab6628b713e946a8c
19380 Author: John (J5) Palmieri <johnp@redhat.com>
19381 Date: Mon Mar 21 19:03:29 2011 -0400
19383 [gi] start of merge from master
19385 * move some of the modified files that will cause merge conflicts
19387 own, nonconflicting files
19388 * copy the old files out of master
19390 gi/pygi-argument.c | 2101 +++------------------------
19391 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
19392 gi/pygi-invoke.c | 421 ++----
19393 gi/pygi-marshal.c | 3916
19394 +++++++++++++++++++++++++++++++++++++++++++++++++++
19395 4 files changed, 5389 insertions(+), 2228 deletions(-)
19397 commit 62b49dae97441953452d097cb1751df14302547a
19398 Author: John (J5) Palmieri <johnp@redhat.com>
19399 Date: Wed Mar 16 17:34:18 2011 -0400
19401 [gi] marshal raw closures
19403 * before we were able to marshal python callables into methods
19405 GClosures but we had no way to take a GClosure returned from one
19406 method and pass it to another - this enables that usecase
19408 https://bugzilla.gnome.org/show_bug.cgi?id=644757
19410 gi/pygi-argument.c | 17 ++++++++++-------
19411 tests/test_gi.py | 4 ++++
19412 2 files changed, 14 insertions(+), 7 deletions(-)
19414 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
19415 Author: John Stowers <john.stowers@gmail.com>
19416 Date: Sun Mar 6 23:41:01 2011 +1300
19418 pygi-convert.sh add GObject.xxx and webkit
19420 https://bugzilla.gnome.org/show_bug.cgi?id=644347
19422 pygi-convert.sh | 7 +++++++
19423 1 file changed, 7 insertions(+)
19425 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
19426 Author: John Stowers <john.stowers@gmail.com>
19427 Date: Sun Mar 6 23:41:30 2011 +1300
19429 pygi-convert.sh remove gobject tests, GObject works now
19431 https://bugzilla.gnome.org/show_bug.cgi?id=644347
19433 pygi-convert.sh | 28 ----------------------------
19434 1 file changed, 28 deletions(-)
19436 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
19437 Author: John (J5) Palmieri <johnp@redhat.com>
19438 Date: Fri Mar 11 14:09:02 2011 -0500
19440 [gi-demos] add pickers demo
19442 demos/gtk-demo/demos/pickers.py | 74
19443 +++++++++++++++++++++++++++++++++++++++++
19444 1 file changed, 74 insertions(+)
19446 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
19447 Author: John (J5) Palmieri <johnp@redhat.com>
19448 Date: Thu Mar 10 18:12:50 2011 -0500
19450 [gi-demos] add menu demo
19452 demos/gtk-demo/demos/menus.py | 122
19453 ++++++++++++++++++++++++++++++++++++++++++
19454 1 file changed, 122 insertions(+)
19456 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
19457 Author: John (J5) Palmieri <johnp@redhat.com>
19458 Date: Wed Mar 9 13:02:50 2011 -0500
19460 [gi-overrides] fix exception block so it works in Python 2.5
19462 gi/overrides/Gio.py | 5 ++++-
19463 1 file changed, 4 insertions(+), 1 deletion(-)
19465 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
19466 Author: Martin Pitt <martin.pitt@ubuntu.com>
19467 Date: Mon Mar 21 13:19:58 2011 +0100
19469 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
19471 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
19473 This introduces additional libpython dependencies, which breaks
19475 which support multiple Python versions, and also causes the python
19477 to be in memory twice in some cases.
19479 https://bugzilla.gnome.org/show_bug.cgi?id=620215
19481 gi/Makefile.am | 4 +---
19482 glib/Makefile.am | 2 +-
19483 m4/python.m4 | 7 ++-----
19484 tests/Makefile.am | 2 +-
19485 4 files changed, 5 insertions(+), 10 deletions(-)
19487 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
19488 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19489 Date: Fri Mar 18 17:06:08 2011 +0100
19491 setup.py: fix user_access_control option
19494 1 file changed, 1 insertion(+), 1 deletion(-)
19496 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
19497 Author: Martin Pitt <martin.pitt@ubuntu.com>
19498 Date: Wed Mar 16 10:22:35 2011 +0100
19500 [gi] Respect the MessageType for Gtk.MessageDialog
19502 Don't just ignore the type argument, actually pass it on. Thanks
19504 Chou for spotting this!
19506 gi/overrides/Gtk.py | 1 +
19507 1 file changed, 1 insertion(+)
19509 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
19510 Author: Martin Pitt <martin.pitt@ubuntu.com>
19511 Date: Tue Mar 15 10:22:39 2011 +0100
19513 [gi] Do not require signature for D-BUS methods without arguments
19515 Calling methods on DBusProxy objects usually requires specifying
19517 as first argument. However, if the D-BUS method does not take any
19519 specifying the empty '()' signature does not give any additional
19521 so allow the caller to just call the proxy method without any
19524 Also ensure that passing a non-string signature raises a
19526 exception, instead of crashing deep in the GVariant leaf constructor.
19528 https://bugzilla.gnome.org/show_bug.cgi?id=644260
19530 gi/overrides/Gio.py | 16 +++++++++++++++-
19531 tests/test_gdbus.py | 13 +++++++++++++
19532 2 files changed, 28 insertions(+), 1 deletion(-)
19534 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
19535 Author: John Stowers <john.stowers@gmail.com>
19536 Date: Sun Mar 6 23:05:33 2011 +1300
19538 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
19540 https://bugzilla.gnome.org/show_bug.cgi?id=644343
19542 gi/overrides/Gtk.py | 2 ++
19543 1 file changed, 2 insertions(+)
19545 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
19546 Author: John Stowers <john.stowers@gmail.com>
19547 Date: Sun Mar 6 17:48:04 2011 +1300
19549 [gi-demos] dont try and run demos that represent directories
19551 demos/gtk-demo/gtk-demo.py | 3 ++-
19552 1 file changed, 2 insertions(+), 1 deletion(-)
19554 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
19555 Author: John (J5) Palmieri <johnp@redhat.com>
19556 Date: Mon Mar 7 18:09:18 2011 -0500
19558 [gi-demos] some python 3 compat fixes
19560 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
19561 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
19562 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
19563 demos/gtk-demo/gtk-demo.py | 4 ++--
19564 4 files changed, 11 insertions(+), 5 deletions(-)
19566 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
19567 Author: John (J5) Palmieri <johnp@redhat.com>
19568 Date: Tue Feb 22 15:07:40 2011 -0500
19570 [gi-demos] add liststore demo
19572 demos/gtk-demo/demos/Tree View/__init__.py | 0
19573 demos/gtk-demo/demos/Tree View/liststore.py | 205
19574 ++++++++++++++++++++++++++++
19575 2 files changed, 205 insertions(+)
19577 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
19578 Author: John (J5) Palmieri <johnp@redhat.com>
19579 Date: Mon Mar 7 18:08:40 2011 -0500
19581 [gi-demos] catch the correct error class
19583 demos/gtk-demo/demos/images.py | 11 ++++++-----
19584 1 file changed, 6 insertions(+), 5 deletions(-)
19586 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
19587 Author: Steve Frécinaux <code@istique.net>
19588 Date: Sun Mar 6 21:18:36 2011 +0100
19590 Do not leak python references when using the gobject.property()
19593 Since this helper was storing plain references in a long-lived
19595 refcount for the instances would never drop to zero, and so they would
19596 never get finalized.
19598 https://bugzilla.gnome.org/show_bug.cgi?id=644039
19600 gobject/propertyhelper.py | 5 ++---
19601 tests/test_properties.py | 23 +++++++++++++++++++++++
19602 2 files changed, 25 insertions(+), 3 deletions(-)
19604 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
19605 Author: John (J5) Palmieri <johnp@redhat.com>
19606 Date: Fri Mar 4 12:25:49 2011 -0500
19608 handle uchar as bytes, not strings in python 3
19610 * This worked in Python2 because bytes and strings are equivilant
19612 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
19613 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
19615 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
19616 and a PyBytes object in Python 3
19618 gobject/pygtype.c | 2 +-
19619 1 file changed, 1 insertion(+), 1 deletion(-)
19621 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
19622 Author: John (J5) Palmieri <johnp@redhat.com>
19623 Date: Fri Mar 4 12:24:35 2011 -0500
19625 [gi-overrides] handle unichar gvalues when setting treemodels
19627 gi/overrides/Gtk.py | 10 ++++++++++
19628 1 file changed, 10 insertions(+)
19630 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
19631 Author: John (J5) Palmieri <johnp@redhat.com>
19632 Date: Fri Mar 4 11:43:51 2011 -0500
19634 [gi-overrides] special case python 2 keywords that crept in
19636 gi/overrides/Gtk.py | 6 +++++-
19637 tests/test_overrides.py | 8 ++++----
19638 2 files changed, 9 insertions(+), 5 deletions(-)
19640 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
19641 Author: John (J5) Palmieri <johnp@redhat.com>
19642 Date: Fri Mar 4 11:10:16 2011 -0500
19644 check for the py3 _thread module in configure.ac if thread is
19647 configure.ac | 6 +++++-
19648 1 file changed, 5 insertions(+), 1 deletion(-)
19650 commit 4645af87d3c587f535404867dab56608719e5c7b
19651 Author: John (J5) Palmieri <johnp@redhat.com>
19652 Date: Fri Mar 4 00:39:23 2011 -0500
19654 [gi-demos] add iconview demo
19656 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
19657 +++++++++++++++++++++++
19658 1 file changed, 212 insertions(+)
19660 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
19661 Author: John (J5) Palmieri <johnp@redhat.com>
19662 Date: Thu Mar 3 18:39:16 2011 -0500
19664 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
19666 * python < 2.6 does not allow sending in keyword litterals after
19668 *args. You can only send in **kwds.
19671 1 file changed, 1 insertion(+), 1 deletion(-)
19673 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
19674 Author: John (J5) Palmieri <johnp@redhat.com>
19675 Date: Thu Mar 3 18:30:40 2011 -0500
19677 [gi-demos] add the combobox with string ids section to the demos
19679 demos/gtk-demo/demos/combobox.py | 49
19680 +++++++++++++++++++++++++++++++++++++++-
19681 1 file changed, 48 insertions(+), 1 deletion(-)
19683 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
19684 Author: John (J5) Palmieri <johnp@redhat.com>
19685 Date: Thu Mar 3 16:47:51 2011 -0500
19687 [gi-overrides] add an override for Gdk.RGBA
19689 gi/overrides/Gdk.py | 18 ++++++++++++++++++
19690 tests/test_overrides.py | 10 ++++++++++
19691 2 files changed, 28 insertions(+)
19693 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
19694 Author: John (J5) Palmieri <johnp@redhat.com>
19695 Date: Thu Mar 3 16:10:17 2011 -0500
19697 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
19700 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
19701 1 file changed, 9 insertions(+), 14 deletions(-)
19703 commit cd046e4c355706ead5f512b810a2a48317f8c32e
19704 Author: John (J5) Palmieri <johnp@redhat.com>
19705 Date: Wed Mar 2 18:13:43 2011 -0500
19707 [gi-demos] add search entry demo
19709 demos/gtk-demo/demos/Entry/search_entry.py | 257
19710 +++++++++++++++++++++++++++++
19711 1 file changed, 257 insertions(+)
19713 commit d5ddaa92e6349c2f52b67317326060973cb69661
19714 Author: John (J5) Palmieri <johnp@redhat.com>
19715 Date: Wed Mar 2 15:37:27 2011 -0500
19717 [gi] wrap map in a list for Python 3 compat
19720 1 file changed, 1 insertion(+), 1 deletion(-)
19722 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
19723 Author: John (J5) Palmieri <johnp@redhat.com>
19724 Date: Tue Mar 1 14:52:00 2011 -0500
19726 [gi-demos] fix up the validation combobox
19728 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
19729 1 file changed, 15 insertions(+), 6 deletions(-)
19731 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
19732 Author: John (J5) Palmieri <johnp@redhat.com>
19733 Date: Tue Mar 1 12:31:35 2011 -0500
19735 add overridesdir variable in the .pc file for 3rd party overrides
19737 pygobject-2.0.pc.in | 1 +
19738 1 file changed, 1 insertion(+)
19740 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
19741 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
19742 Date: Fri Feb 11 17:14:11 2011 +0100
19744 setup.py: Set bdist_wininst user-access-control property
19747 1 file changed, 2 insertions(+), 1 deletion(-)
19749 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
19750 Author: Martin Pitt <martin.pitt@ubuntu.com>
19751 Date: Wed Mar 2 16:29:00 2011 +0100
19753 Fix uninitialized variable in gi.require_version()
19755 gi/__init__.py | 3 ++-
19756 1 file changed, 2 insertions(+), 1 deletion(-)
19758 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
19759 Author: Martin Pitt <martin.pitt@ubuntu.com>
19760 Date: Tue Mar 1 23:26:07 2011 +0100
19762 Run tests with LC_MESSAGES="C"
19764 Some tests, such as tests/test_gdbus.py check parts of error messages
19766 visible strings. Ensure that these do not get translated in the
19769 tests/runtests.py | 2 ++
19770 1 file changed, 2 insertions(+)
19772 commit 0461e05174637ae02f34029b85ba217d5ae48c53
19773 Author: John (J5) Palmieri <johnp@redhat.com>
19774 Date: Mon Feb 28 18:21:43 2011 -0500
19776 [gi-overrides] override Gtk.stock_lookup to not return success
19778 demos/gtk-demo/demos/combobox.py | 2 +-
19779 gi/overrides/Gtk.py | 9 +++++++++
19780 2 files changed, 10 insertions(+), 1 deletion(-)
19782 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
19783 Author: John (J5) Palmieri <johnp@redhat.com>
19784 Date: Mon Feb 28 14:16:00 2011 -0500
19786 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
19789 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
19790 1 file changed, 50 insertions(+)
19792 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
19793 Author: John (J5) Palmieri <johnp@redhat.com>
19794 Date: Mon Feb 28 14:08:05 2011 -0500
19796 [gi-tests] use Gdk.test_simulate_button instead of emitting event
19799 * this function is available specifically so we can test events so
19801 instead of creating our own button press event
19803 tests/test_overrides.py | 9 +++++----
19804 1 file changed, 5 insertions(+), 4 deletions(-)
19806 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
19807 Author: Laszlo Pandy <lpandy@src.gnome.org>
19808 Date: Thu Feb 24 19:30:32 2011 +0100
19810 [gi-tests] tests for EventButton override.
19812 * John (J5) Palmieri - fixed up original patch so that we actually
19813 emit the event instead of just creating a Gdk.ButtonEvent object
19815 https://bugzilla.gnome.org/show_bug.cgi?id=642554
19817 tests/test_overrides.py | 21 +++++++++++++++++++++
19818 1 file changed, 21 insertions(+)
19820 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
19821 Author: John (J5) Palmieri <johnp@redhat.com>
19822 Date: Wed Feb 23 18:43:27 2011 -0500
19824 [gi-overrides] Add event methods to all event union members
19826 https://bugzilla.gnome.org/show_bug.cgi?id=642554
19828 gi/overrides/Gdk.py | 70
19829 +++++++++++++++++++++++++++++++++++++++++++++++++++++
19830 1 file changed, 70 insertions(+)
19832 commit 6e30c69d38fd382414eb820097c297a80be547ac
19833 Author: John (J5) Palmieri <johnp@redhat.com>
19834 Date: Wed Feb 23 14:14:16 2011 -0500
19836 [gi] check to see if object is a member of a union when validating
19839 * union members are not subclasses of the union they belong to so
19841 inteface requires you pass a union but you pass one of its members
19842 there will be a type error
19843 * this patch checks to see if the type you are passing is a member
19845 union and passes the checks if it is
19846 * this works in python 3 but in python 2 methods do their own
19848 check on the instance parameter (e.g. self) so we need to figure
19849 out how to override that for union methods
19850 (e.g. Gdk.Event.get_state)
19852 https://bugzilla.gnome.org/show_bug.cgi?id=642554
19854 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
19855 1 file changed, 38 insertions(+)
19857 commit 525f21d1365c24488b768955362085bf82512dee
19858 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
19859 Date: Wed Feb 16 09:44:12 2011 +0100
19861 Skip interfaces when checking for conflicts in the MRO
19863 https://bugzilla.gnome.org/show_bug.cgi?id=642437
19865 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
19866 gobject/gobjectmodule.c | 9 +++++++--
19867 tests/test_gi.py | 16 ++++++++++++++++
19868 3 files changed, 63 insertions(+), 2 deletions(-)
19870 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
19871 Author: Laszlo Pandy <lpandy@src.gnome.org>
19872 Date: Thu Feb 24 18:46:15 2011 +0100
19874 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
19877 gi/importer.py | 2 +-
19878 gi/module.py | 2 +-
19879 2 files changed, 2 insertions(+), 2 deletions(-)
19881 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
19882 Author: Laszlo Pandy <lpandy@src.gnome.org>
19883 Date: Wed Feb 23 12:05:03 2011 +0100
19885 Test case with John's fix for crash with C arrays and a GError is set.
19887 I have added a test case, and made a few fixes to John's patch,
19889 solution is the same his.
19891 Workaround a bug when freeing C array types
19893 * This is a hack and there is really no way around it without
19895 the current array handling code which spans between pygi-invoke.c
19897 pygi-argument.c and completely rewriting it.
19898 * The is no time before our stable release
19899 * This patch trades a segfault for a leak in the very unusual
19901 an error occures inside an interface that takes one or more C
19903 we wrap C arrays in GArrays internally but have to unwrap them
19905 to the introspected C function, there is a period of time where
19907 can occure with the C array in an unknown state (some being true
19909 and others still wrapped in a GArray)
19910 * This patch adds a c_arrays_are_wrapped state to signal that it
19912 free them. However since c_arrays_are_wrapped can only track
19914 as a group, not individually, if it is set to FALSE we can
19916 that every array is a pure C array, so instead we will simply
19918 to avoid incorrectly freeing one and causing a segfault.
19919 * This issue is fixed in the invoke rewrite branch as it treats
19921 GArrays separately, however that branch is not yet ready to be
19923 won't be until the next release.
19925 https://bugzilla.gnome.org/show_bug.cgi?id=642708
19927 gi/pygi-invoke.c | 54
19928 ++++++++++++++++++++++++++++++++++++++++++++++++++----
19929 tests/test_gi.py | 9 +++++++++
19930 2 files changed, 59 insertions(+), 4 deletions(-)
19932 commit 702a89beca92cab6b0142829b20281b9245f28b8
19933 Author: John (J5) Palmieri <johnp@redhat.com>
19934 Date: Wed Feb 23 15:11:59 2011 -0500
19936 [gi-overrides] fix setting rows in treeview to accept None as a value
19938 * as done in PyGTK None indicates the column should not be set
19940 gi/overrides/Gtk.py | 3 +++
19941 tests/test_overrides.py | 18 +++++++++++++-----
19942 2 files changed, 16 insertions(+), 5 deletions(-)
19944 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
19945 Author: Laszlo Pandy <lpandy@src.gnome.org>
19946 Date: Wed Feb 23 14:23:19 2011 +0100
19948 [gi] Add value_name for enum and flags from introspection
19949 "c:identifier" (if attr is available).
19951 gi/gimodule.c | 22 ++++++++++++++++++----
19952 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
19953 2 files changed, 54 insertions(+), 4 deletions(-)
19955 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
19956 Author: Laszlo Pandy <lpandy@src.gnome.org>
19957 Date: Wed Feb 23 11:40:55 2011 +0100
19959 Fix flags with multiple names for the same value.
19961 Flags constructs a dict __flags_values__ and uses it to cache
19962 instances. However some flags in Glib such as G_IO_FLAG_MASK and
19963 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
19964 override each other's place in the dictionary.
19966 The dict length check is not necessary. It only reduces the number
19967 of duplicate instances we keep, because if an instance is not
19968 found in the dict, a new one is created anyway.
19970 gobject/pygflags.c | 2 +-
19971 1 file changed, 1 insertion(+), 1 deletion(-)
19973 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
19974 Author: Laszlo Pandy <lpandy@src.gnome.org>
19975 Date: Tue Feb 22 21:37:33 2011 +0100
19977 Don't force loading of DynamicModule until set in sys.modules
19979 This fixes Tomeu's previous commit, which removed lazy loading.
19980 Forcing the loading of a module before it is installed in sys.modules
19981 prevents some overrides from being registered (namely Gtk.main_quit).
19983 https://bugzilla.gnome.org/show_bug.cgi?id=642305
19985 gi/importer.py | 2 +-
19986 1 file changed, 1 insertion(+), 1 deletion(-)
19988 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
19989 Author: John (J5) Palmieri <johnp@redhat.com>
19990 Date: Mon Feb 21 17:20:57 2011 -0500
19992 use GValue support to marshal GtkTreeModel values correctly
19994 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
19996 https://bugzilla.gnome.org/show_bug.cgi?id=642921
19998 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
19999 tests/test_overrides.py | 87
20000 +++++++++++++++++++++++++++++++++++++++++--------
20001 2 files changed, 107 insertions(+), 17 deletions(-)
20003 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
20004 Author: John (J5) Palmieri <johnp@redhat.com>
20005 Date: Mon Feb 21 16:14:20 2011 -0500
20007 [gi] pass raw GValues instead of trying to marshal them
20009 * Right now GValues are transparent to the user but this leave us no
20010 way to describe fundimental types other than those supported
20012 by python (e.g. int, str, etc)
20013 * If an interface is expecting a uint or other GValue type a user
20015 the raw GValue interfaces and expect paramaters that take
20017 marshal them correctly e.g.:
20018 value = GObject.Value()
20019 value.int(GObject.TYPE_UINT)
20020 value.set_uint(1234)
20021 * The objective here is to not for users to use this API but for
20023 to be able to utilize them. For instance in the TreeModel API
20025 get the expected type for a column and them create a GValue with
20027 type so that he underlying python object is marshalled correctly.
20029 https://bugzilla.gnome.org/show_bug.cgi?id=642914
20031 gi/pygi-argument.c | 24 ++++++++++++++++++------
20032 tests/test_gi.py | 9 ++++++++-
20033 2 files changed, 26 insertions(+), 7 deletions(-)
20035 commit b458f6f3424a04f6ceece09d443009372d70544c
20036 Author: John (J5) Palmieri <johnp@redhat.com>
20037 Date: Sat Feb 19 19:42:41 2011 -0500
20039 [gi-demos] add icon view edit and drag-and-drop demo
20041 demos/gtk-demo/demos/Icon View/__init__.py | 0
20042 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
20043 +++++++++++++++++++++++++
20044 2 files changed, 101 insertions(+)
20046 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
20047 Author: John (J5) Palmieri <johnp@redhat.com>
20048 Date: Sat Feb 19 17:26:42 2011 -0500
20050 [gi-demos] add info bars demo
20052 demos/gtk-demo/demos/infobars.py | 99
20053 ++++++++++++++++++++++++++++++++++++++++
20054 1 file changed, 99 insertions(+)
20056 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
20057 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
20058 Date: Wed Feb 16 11:53:18 2011 +0100
20060 Load typelibs at import time, add gi.require_version()
20062 also adds Repository.get_loaded_namespaces()
20064 https://bugzilla.gnome.org/show_bug.cgi?id=642305
20066 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
20067 gi/importer.py | 1 +
20068 gi/module.py | 21 ++++-----------------
20069 gi/pygi-repository.c | 23 +++++++++++++++++++++++
20070 4 files changed, 56 insertions(+), 18 deletions(-)
20072 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
20073 Author: Laszlo Pandy <lpandy@src.gnome.org>
20074 Date: Sat Feb 19 23:11:25 2011 +0100
20076 [gi] Register GType for non-GType enums and flags at runtime.
20078 Note: rebuild of gobject-introspection is required for new tests.
20080 Previously non-GType enums used a separate type implemented in
20081 Python, and non-GType flags had no implementation at all. This
20082 removes the separate type for enums, and registers a new GType at
20083 runtime if there isn't one.
20085 This allows non-GType enums and flags to use the same Python type
20086 as GType enums and flags. This removes duplication of code, and
20087 make both kinds behave identically.
20089 https://bugzilla.gnome.org/show_bug.cgi?id=642607
20091 gi/gimodule.c | 117
20092 +++++++++++++++++++++++++++++++++++++++++++++++++++++
20093 gi/module.py | 24 ++++++-----
20094 gi/pygi-info.c | 15 +++++++
20095 gi/types.py | 16 --------
20096 gobject/pygflags.c | 13 ++++--
20097 tests/test_gi.py | 35 ++++++++++++++++
20098 6 files changed, 191 insertions(+), 29 deletions(-)
20100 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
20101 Author: Martin Pitt <martin.pitt@ubuntu.com>
20102 Date: Tue Feb 8 15:38:21 2011 +0100
20104 [gi] Add Pythonic gdbus method invocation
20106 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
20108 Python object. This will handle the Python object <-> GVariant
20110 optional keyword arguments for flags, timeout, and a result handler
20112 asynchronous calls.
20114 Require specifying the input argument signature as the first argument
20116 method call. This ensures that the types of e. g. integers are
20118 and avoids having to do expensive D-Bus introspection for each call.
20120 https://bugzilla.gnome.org/show_bug.cgi?id=640181
20122 gi/overrides/Gio.py | 99
20123 ++++++++++++++++++++++++++++++++++++++++++++++++++
20124 tests/test_gdbus.py | 102
20125 ++++++++++++++++++++++++++++++++++++++++++++++++++--
20126 2 files changed, 199 insertions(+), 2 deletions(-)
20128 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
20129 Author: Laszlo Pandy <lpandy@src.gnome.org>
20130 Date: Fri Feb 18 22:48:59 2011 +0100
20132 Skip GError out parameters in Python closure.
20134 Python code should have never have to explicitely return a GError.
20135 Once we are able to marshal exceptions the Python code should
20136 throw an exception instead. Until then, set GError to NULL, and
20137 don't complain if a Python function doesn't return an arg for it.
20139 https://bugzilla.gnome.org/show_bug.cgi?id=642715
20141 gi/pygi-closure.c | 8 ++++++++
20142 1 file changed, 8 insertions(+)
20144 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
20145 Author: Laszlo Pandy <lpandy@src.gnome.org>
20146 Date: Fri Feb 18 10:15:59 2011 +0100
20148 Fix runtests.py to work with Python3 (print function syntax error).
20150 tests/runtests.py | 2 +-
20151 1 file changed, 1 insertion(+), 1 deletion(-)
20153 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
20154 Author: John (J5) Palmieri <johnp@redhat.com>
20155 Date: Thu Feb 17 19:46:49 2011 -0500
20157 [gi-demos] added rotate text demo
20159 * needs some Pango Attr fixes to be 100% done, See FIXME
20161 demos/gtk-demo/demos/rotatedtext.py | 196
20162 ++++++++++++++++++++++++++++++++++++
20163 1 file changed, 196 insertions(+)
20165 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
20166 Author: John (J5) Palmieri <johnp@redhat.com>
20167 Date: Thu Feb 17 17:25:00 2011 -0500
20169 [gi-demos] add images demo
20171 * needs annotation fix from GdkPixbuf for ImageLoader to work
20173 demos/gtk-demo/demos/images.py | 311
20174 +++++++++++++++++++++++++++++++++++++++++
20175 1 file changed, 311 insertions(+)
20177 commit 13b06170b89b3468e6255be32af4833ffc675c9d
20178 Author: John (J5) Palmieri <johnp@redhat.com>
20179 Date: Thu Feb 17 14:48:24 2011 -0500
20181 [gi-demos] add pixbuf demo
20183 demos/gtk-demo/demos/pixbuf.py | 183
20184 +++++++++++++++++++++++++++++++++++++++++
20185 1 file changed, 183 insertions(+)
20187 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
20188 Author: John (J5) Palmieri <johnp@redhat.com>
20189 Date: Thu Feb 17 14:47:12 2011 -0500
20191 [gi-demos] remove fixmes from print demo, fixed in pango
20193 demos/gtk-demo/demos/printing.py | 10 +++-------
20194 1 file changed, 3 insertions(+), 7 deletions(-)
20196 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
20197 Author: John (J5) Palmieri <johnp@redhat.com>
20198 Date: Wed Feb 16 19:39:30 2011 -0500
20200 [gi-demos] add printing demo
20202 * needs some annotations for pango before it is 100% useful
20204 demos/gtk-demo/demos/printing.py | 177
20205 +++++++++++++++++++++++++++++++++++++++
20206 1 file changed, 177 insertions(+)
20208 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
20209 Author: John (J5) Palmieri <johnp@redhat.com>
20210 Date: Wed Feb 16 17:52:38 2011 -0500
20212 [gi-overrides] add cursor overrides
20214 https://bugzilla.gnome.org/show_bug.cgi?id=635947
20216 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
20217 tests/test_overrides.py | 23 +++++++++++++++++++++++
20218 2 files changed, 64 insertions(+)
20220 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
20221 Author: John (J5) Palmieri <johnp@redhat.com>
20222 Date: Wed Feb 16 16:18:24 2011 -0500
20224 [gi-demos] add the links demo
20226 demos/gtk-demo/demos/links.py | 74
20227 +++++++++++++++++++++++++++++++++++++++++++
20228 1 file changed, 74 insertions(+)
20230 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
20231 Author: John (J5) Palmieri <johnp@redhat.com>
20232 Date: Wed Feb 16 15:48:40 2011 -0500
20234 [gi-demos] add expander demo
20236 demos/gtk-demo/demos/expander.py | 60
20237 ++++++++++++++++++++++++++++++++++++++++
20238 1 file changed, 60 insertions(+)
20240 commit 76cdb13ab872f91f8384d26b0f2932087a746117
20241 Author: John (J5) Palmieri <johnp@redhat.com>
20242 Date: Wed Feb 16 15:14:35 2011 -0500
20244 [gi-overrides] use pop instead of del and add extra tests for
20247 gi/overrides/Gtk.py | 6 ++----
20248 tests/test_overrides.py | 8 ++++++++
20249 2 files changed, 10 insertions(+), 4 deletions(-)
20251 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
20252 Author: Laszlo Pandy <lpandy@src.gnome.org>
20253 Date: Tue Feb 15 20:07:42 2011 +0100
20255 [tests] Separate processes for GI and static binding tests.
20257 Importing and using both static gobject bindings and
20258 introspection GObject bindings in the same process can cause
20259 conflicts with types which otherwise wouldn't be there.
20261 This patch changes "make check" to call runtests.py twice -- once
20262 for each set of tests.
20264 In the case of a test failure, runtests.py now sets the exit code
20265 so that make does not continue. Otherwise you might miss the
20266 failures from the first batch of tests in the scrollback.
20268 tests/Makefile.am | 19 +++++++++++--------
20269 tests/runtests.py | 4 +++-
20270 2 files changed, 14 insertions(+), 9 deletions(-)
20272 commit e0896b45f60f37097ec521f1bc38778383b78dd8
20273 Author: John (J5) Palmieri <johnp@redhat.com>
20274 Date: Tue Feb 15 14:47:10 2011 -0500
20276 [gi-demos] add dialogs demo
20278 demos/gtk-demo/demos/dialogs.py | 153
20279 ++++++++++++++++++++++++++++++++++++++++
20280 1 file changed, 153 insertions(+)
20282 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
20283 Author: John (J5) Palmieri <johnp@redhat.com>
20284 Date: Tue Feb 15 14:46:41 2011 -0500
20286 [gi-overrides] fix typo in GtkTable constructor
20288 gi/overrides/Gtk.py | 8 ++++----
20289 1 file changed, 4 insertions(+), 4 deletions(-)
20291 commit 9c277e1782c5a9d672d91fabf5289c5415891682
20292 Author: John (J5) Palmieri <johnp@redhat.com>
20293 Date: Tue Feb 15 13:26:38 2011 -0500
20295 [gi-demos] keep popup menu from destroying itself by holding a ref
20298 demos/gtk-demo/demos/clipboard.py | 8 ++++----
20299 1 file changed, 4 insertions(+), 4 deletions(-)
20301 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
20302 Author: John (J5) Palmieri <johnp@redhat.com>
20303 Date: Tue Feb 15 13:25:13 2011 -0500
20305 [gi-overrides] add a Gtk.Menu override for the popup method
20307 gi/overrides/Gtk.py | 7 +++++++
20308 1 file changed, 7 insertions(+)
20310 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
20311 Author: John (J5) Palmieri <johnp@redhat.com>
20312 Date: Tue Feb 15 13:24:33 2011 -0500
20314 [gi-demos] fix the about dialog in appwindow demo
20316 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
20317 1 file changed, 9 insertions(+), 13 deletions(-)
20319 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
20320 Author: John (J5) Palmieri <johnp@redhat.com>
20321 Date: Tue Feb 15 11:21:13 2011 -0500
20323 [gi-demos] fix clipboard demo so DnD works
20325 * menu popups don't work because the API takes a callback without
20329 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
20330 1 file changed, 10 insertions(+), 10 deletions(-)
20332 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
20333 Author: John (J5) Palmieri <johnp@redhat.com>
20334 Date: Tue Feb 15 10:18:53 2011 -0500
20336 [gi-demos] fix clipboard demo to reflect new API
20338 demos/gtk-demo/demos/clipboard.py | 6 +++---
20339 1 file changed, 3 insertions(+), 3 deletions(-)
20341 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
20342 Author: John (J5) Palmieri <johnp@redhat.com>
20343 Date: Mon Feb 14 18:17:20 2011 -0500
20345 [gi-demo] Fix color dialog demo to run with new draw, style and
20348 demos/gtk-demo/demos/colorselector.py | 44
20349 ++++++++++++++---------------------
20350 1 file changed, 17 insertions(+), 27 deletions(-)
20352 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
20353 Author: John (J5) Palmieri <johnp@redhat.com>
20354 Date: Mon Feb 14 17:58:25 2011 -0500
20356 [gi-demos] fix most of the combobox app
20358 * Still having some issues with filtering the ComboBoxText widget
20360 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
20361 1 file changed, 8 insertions(+), 9 deletions(-)
20363 commit 3606eb20ad1651af621bf1aa429ec102082565eb
20364 Author: Laszlo Pandy <lpandy@src.gnome.org>
20365 Date: Mon Feb 14 19:36:27 2011 +0100
20367 Use PyGI type conversion (to fix foreign types) for signal callbacks.
20369 First attempt at patch to fix foreign types in signal callbacks.
20370 Tests are not implemented yet.
20372 https://bugzilla.gnome.org/show_bug.cgi?id=637601
20374 gi/Makefile.am | 2 +
20375 gi/gimodule.c | 1 +
20376 gi/pygi-argument.c | 91 ++++++++++++++++++
20377 gi/pygi-argument.h | 2 +
20378 gi/pygi-private.h | 1 +
20379 gi/pygi-signal-closure.c | 245
20380 +++++++++++++++++++++++++++++++++++++++++++++++
20381 gi/pygi-signal-closure.h | 46 +++++++++
20382 gi/pygi.h | 28 ++++++
20383 gobject/pygobject.c | 24 ++++-
20384 9 files changed, 436 insertions(+), 4 deletions(-)
20386 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
20387 Author: John (J5) Palmieri <johnp@redhat.com>
20388 Date: Mon Feb 14 16:47:03 2011 -0500
20390 [gi-demos] fix drawingarea app to use the new draw api
20392 demos/gtk-demo/demos/drawingarea.py | 144
20393 +++++++++++++-----------------------
20394 1 file changed, 50 insertions(+), 94 deletions(-)
20396 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
20397 Author: John (J5) Palmieri <johnp@redhat.com>
20398 Date: Mon Feb 14 16:43:35 2011 -0500
20400 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
20402 * note this is the introspected gobject-cairo boxed type not the
20405 * we alias this so people do not get confused
20407 gi/overrides/Gdk.py | 5 +++++
20408 1 file changed, 5 insertions(+)
20410 commit d491c369e049ab726f09002af0462391d5c2f3ec
20411 Author: John (J5) Palmieri <johnp@redhat.com>
20412 Date: Mon Feb 14 15:07:11 2011 -0500
20414 [gi-overrides] let user set the proper property names in Gtk.Table
20416 * the old override added a columns and rows parameters to the Table
20418 to be in sync with PyGtk.
20419 * The GTK properties are n_columns and n_rows
20422 gi/overrides/Gtk.py | 8 ++++++++
20423 1 file changed, 8 insertions(+)
20425 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
20426 Author: John (J5) Palmieri <johnp@redhat.com>
20427 Date: Mon Feb 14 15:06:38 2011 -0500
20429 [gi-demos] get appwindow demo working again
20431 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
20432 1 file changed, 4 insertions(+), 20 deletions(-)
20434 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
20435 Author: John (J5) Palmieri <johnp@redhat.com>
20436 Date: Mon Feb 14 15:05:44 2011 -0500
20438 [gi-demos] fixed use of tree_iter_get
20440 demos/gtk-demo/gtk-demo.py | 2 +-
20441 1 file changed, 1 insertion(+), 1 deletion(-)
20443 commit 0c20977e4598e5447dd07c069e91226efacb1160
20444 Author: Simon van der Linden <svdlinden@gnome.org>
20445 Date: Fri Feb 11 22:02:03 2011 +0100
20447 Remove last GIO-related bits
20449 https://bugzilla.gnome.org/show_bug.cgi?id=638899
20453 configure.ac | 3 --
20454 examples/gio/directory-async.py | 33 ------------------
20455 examples/gio/downloader.py | 77
20456 -----------------------------------------
20457 pygobject.doap | 2 +-
20458 6 files changed, 3 insertions(+), 117 deletions(-)
20460 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
20461 Author: Simon van der Linden <svdlinden@gnome.org>
20462 Date: Fri Feb 11 18:38:27 2011 +0100
20464 Remove GIO documentation
20466 https://bugzilla.gnome.org/show_bug.cgi?id=638899
20468 docs/Makefile.am | 82 +-
20469 docs/reference/pygio-appinfo.xml | 894 -----
20470 docs/reference/pygio-applaunchcontext.xml | 194 --
20471 docs/reference/pygio-asyncresult.xml | 117 -
20472 docs/reference/pygio-bufferedinputstream.xml | 461 ---
20473 docs/reference/pygio-bufferedoutputstream.xml | 275 --
20474 docs/reference/pygio-cancellable.xml | 290 --
20475 docs/reference/pygio-classes.xml | 47 -
20476 docs/reference/pygio-constants.xml | 1540 ---------
20477 docs/reference/pygio-datainputstream.xml | 799 -----
20478 docs/reference/pygio-dataoutputstream.xml | 504 ---
20479 docs/reference/pygio-drive.xml | 546 ---
20480 docs/reference/pygio-emblem.xml | 232 --
20481 docs/reference/pygio-emblemedicon.xml | 160 -
20482 docs/reference/pygio-file.xml | 4534
20483 -------------------------
20484 docs/reference/pygio-fileattributeinfo.xml | 73 -
20485 docs/reference/pygio-fileenumerator.xml | 488 ---
20486 docs/reference/pygio-fileicon.xml | 109 -
20487 docs/reference/pygio-fileinfo.xml | 346 --
20488 docs/reference/pygio-fileinputstream.xml | 214 --
20489 docs/reference/pygio-filemonitor.xml | 128 -
20490 docs/reference/pygio-fileoutputstream.xml | 257 --
20491 docs/reference/pygio-filterinputstream.xml | 152 -
20492 docs/reference/pygio-filteroutputstream.xml | 152 -
20493 docs/reference/pygio-functions.xml | 395 ---
20494 docs/reference/pygio-icon.xml | 217 --
20495 docs/reference/pygio-inputstream.xml | 730 ----
20496 docs/reference/pygio-loadableicon.xml | 198 --
20497 docs/reference/pygio-memoryinputstream.xml | 151 -
20498 docs/reference/pygio-memoryoutputstream.xml | 175 -
20499 docs/reference/pygio-mount.xml | 962 ------
20500 docs/reference/pygio-mountoperation.xml | 726 ----
20501 docs/reference/pygio-outputstream.xml | 140 -
20502 docs/reference/pygio-seekable.xml | 231 --
20503 docs/reference/pygio-simpleasyncresult.xml | 317 --
20504 docs/reference/pygio-themedicon.xml | 204 --
20505 docs/reference/pygio-unixinputstream.xml | 202 --
20506 docs/reference/pygio-unixoutputstream.xml | 202 --
20507 docs/reference/pygio-volume.xml | 718 ----
20508 docs/reference/pygio-volumemonitor.xml | 844 -----
20509 docs/reference/pygiounix-classes.xml | 13 -
20510 docs/reference/pygobject-ref.xml | 2 -
20511 42 files changed, 1 insertion(+), 19020 deletions(-)
20513 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
20514 Author: John (J5) Palmieri <johnp@redhat.com>
20515 Date: Fri Feb 11 11:05:04 2011 -0500
20517 bump version to reflect the master branch moving towards pygobject 3.0
20519 * added NEWS file from branch pygobject-2-28
20521 * this branch will drop support for the static binding
20522 * use the pygobject-2-28 branch for static binding fixes
20525 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20526 configure.ac | 4 +-
20527 2 files changed, 291 insertions(+), 2 deletions(-)
20529 commit 16140237aa45b4f188923da9f95b9d2af971011b
20530 Author: John (J5) Palmieri <johnp@redhat.com>
20531 Date: Thu Feb 10 16:46:08 2011 -0500
20533 fix build to correctly use python-config
20536 configure.ac | 6 ------
20537 m4/python.m4 | 9 +++++----
20538 tests/runtests.py | 1 +
20539 4 files changed, 9 insertions(+), 10 deletions(-)
20541 commit c2079f415638ef892b1e51f25eaafa3e1621667f
20542 Author: Simon van der Linden <svdlinden@gnome.org>
20543 Date: Thu Feb 10 22:26:00 2011 +0100
20545 Add missing libraries to link against
20547 glib/Makefile.am | 2 +-
20548 gobject/Makefile.am | 1 +
20549 2 files changed, 2 insertions(+), 1 deletion(-)
20551 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
20552 Author: Steve Frécinaux <code@istique.net>
20553 Date: Wed Jan 19 15:00:56 2011 +0100
20555 Make runtests.py able to run command-line provided test files
20557 With this patch we are now able to run ./runtests.py <somefile>, which
20558 is more friendly than defining an environment variable to run some
20561 https://bugzilla.gnome.org/show_bug.cgi?id=639948
20563 tests/runtests.py | 9 +++++++++
20564 1 file changed, 9 insertions(+)
20566 commit 14c4cf8e6edae893538680964380d543bde4a14d
20567 Author: Martin Pitt <martin.pitt@ubuntu.com>
20568 Date: Wed Feb 9 11:34:59 2011 +0100
20570 Run test suite under dbus-launch
20572 When available, run the test suite in dbus-launch, so that the
20574 succeed even when building this in an environment without a running
20576 D-BUS (such as distribution package builds).
20578 tests/Makefile.am | 3 ++-
20579 1 file changed, 2 insertions(+), 1 deletion(-)
20581 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
20582 Author: Martin Pitt <martin.pitt@ubuntu.com>
20583 Date: Tue Feb 8 15:46:36 2011 +0100
20585 Fix test_gdbus.py to be Python3 friendly
20587 - TestCase.assert_() has been deprecated by assertTrue().
20588 - Exceptions don't have a message attribute any more, use str(e)
20590 tests/test_gdbus.py | 34 +++++++++++++++-------------------
20591 1 file changed, 15 insertions(+), 19 deletions(-)
20593 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
20594 Author: Martin Pitt <martin.pitt@ubuntu.com>
20595 Date: Sat Jan 29 12:20:50 2011 +0100
20597 [gi] Provide comfortable GSettings API
20599 Make Gio.Settings behave like a dictionary, with transparent
20601 GVariants. Also provide a more comfortable constructor.
20603 https://bugzilla.gnome.org/show_bug.cgi?id=640838
20605 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
20606 tests/org.gnome.test.gschema.xml | 9 +++++
20607 tests/test_overrides.py | 73
20608 ++++++++++++++++++++++++++++++++--------
20609 3 files changed, 122 insertions(+), 14 deletions(-)
20611 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
20612 Author: Laszlo Pandy <lpandy@src.gnome.org>
20613 Date: Fri Feb 4 16:36:07 2011 +0100
20615 Fix vfunc search bug when using GInterfaces and a do_* method.
20617 If a class inherits from a GInterface, as well as implements a do_*
20618 method (which is not in a super class), all the base interfaces
20619 will be searched for an __info__ attribute. GInterface doesn't
20620 have one, causing an error on class creation.
20622 https://bugzilla.gnome.org/show_bug.cgi?id=641493
20624 gi/types.py | 4 +++-
20625 tests/test_gi.py | 8 ++++++++
20626 2 files changed, 11 insertions(+), 1 deletion(-)
20628 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
20629 Author: Laszlo Pandy <lpandy@src.gnome.org>
20630 Date: Thu Feb 3 15:31:42 2011 +0100
20632 [GI] Add tests for Gtk.Widget.drag_* methods.
20634 Previously all the drag_* methods were accessible as Gtk.drag_*.
20635 Now that the (method) attribute has been included for these
20636 methods in Gtk+, this test checks that they are included as class
20637 methods when using pygobject introspection.
20639 https://bugzilla.gnome.org/show_bug.cgi?id=639945
20641 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
20642 1 file changed, 40 insertions(+)
20644 commit d57500537014b3da624be33b40401ba289fa22b8
20645 Author: John (J5) Palmieri <johnp@redhat.com>
20646 Date: Thu Feb 3 09:02:16 2011 -0500
20648 [gi] make caller allocates work again
20650 gi/pygi-cache.c | 18 +++---------------
20651 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
20652 2 files changed, 37 insertions(+), 18 deletions(-)
20654 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
20655 Author: John (J5) Palmieri <johnp@redhat.com>
20656 Date: Wed Feb 2 19:27:40 2011 -0500
20658 [gi] fix container object reffing
20660 gi/pygi-argument.c | 7 +++----
20661 gi/pygi-cache.c | 12 ++++--------
20662 2 files changed, 7 insertions(+), 12 deletions(-)
20664 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
20665 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20666 Date: Wed Feb 2 21:00:48 2011 +0100
20668 [python 3] use the right syntaxis to raise exceptions
20670 codegen/argtypes.py | 8 ++++----
20671 codegen/definitions.py | 14 +++++++-------
20672 gi/overrides/Gtk.py | 2 +-
20673 3 files changed, 12 insertions(+), 12 deletions(-)
20675 commit 36094e5982d3e05d5662843b6d401f0974f5235f
20676 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20677 Date: Wed Feb 2 20:50:12 2011 +0100
20679 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
20681 tests/testhelpermodule.c | 6 +++---
20682 1 file changed, 3 insertions(+), 3 deletions(-)
20684 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
20685 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20686 Date: Wed Feb 2 20:37:21 2011 +0100
20688 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
20690 This is to avoid some warnings when building with python 3
20692 gi/gimodule.c | 6 +++---
20693 1 file changed, 3 insertions(+), 3 deletions(-)
20695 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
20696 Author: Steve Frécinaux <code@istique.net>
20697 Date: Sat Jan 29 00:16:50 2011 +0100
20699 Fix wrong refcount when calling introspected widget constructors
20701 Introspected widget constructors, like Gtk.Button.new(), can return
20702 objects with a floating reference, which was then reffed by pygobject,
20703 resulting in two references, despite the object is not owned by
20706 This patch uses ref_sink() when pygobject takes its own reference, to
20707 avoid adding that extra reference. Hence we now claim ownership on
20708 objects returned by constructors with transfer=none (which is the case
20709 for nearly all the widget constructors, despite the floating ref).
20711 https://bugzilla.gnome.org/show_bug.cgi?id=640868
20713 gobject/pygobject.c | 4 +++-
20714 tests/test_everything.py | 9 ++++++++-
20715 2 files changed, 11 insertions(+), 2 deletions(-)
20717 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
20718 Author: Simon Schampijer <simon@laptop.org>
20719 Date: Wed Jan 19 16:19:46 2011 +0100
20721 Gdk.Window: Map the standard constructor to the *new* constructor
20723 Gdk.Window had to be made abstract
20724 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
20725 this override allows using the standard constructor
20727 This commit adds as well a testcase.
20729 https://bugzilla.gnome.org/show_bug.cgi?id=639936
20731 gi/overrides/Gdk.py | 6 ++++++
20732 tests/test_overrides.py | 8 ++++++++
20733 2 files changed, 14 insertions(+)
20735 commit 4a67f45880433905de33632fe0c32a13b44c0b33
20736 Author: John (J5) Palmieri <johnp@redhat.com>
20737 Date: Mon Jan 31 16:51:37 2011 -0500
20739 [gi] handle hash being NULL
20741 gi/pygi-argument.c | 6 ++++++
20742 1 file changed, 6 insertions(+)
20744 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
20745 Author: John (J5) Palmieri <johnp@redhat.com>
20746 Date: Mon Jan 31 16:50:52 2011 -0500
20748 [gi] handle the situation where an aux arg comes before its parent
20750 gi/pygi-cache.c | 70
20751 ++++++++++++++++++++++++++++++++++++++++----------------
20752 gi/pygi-invoke.c | 2 +-
20753 2 files changed, 51 insertions(+), 21 deletions(-)
20755 commit 858669f92c9907dd70b4966d6a8521ed122225be
20756 Author: Martin Pitt <martin.pitt@ubuntu.com>
20757 Date: Mon Jan 31 17:38:52 2011 +0100
20759 Ship tests/org.gnome.test.gschema.xml in dist tarballs
20761 tests/Makefile.am | 3 ++-
20762 1 file changed, 2 insertions(+), 1 deletion(-)
20764 commit 77d76df59606e470808085e977fb199cc76e8251
20765 Author: John (J5) Palmieri <johnp@redhat.com>
20766 Date: Sun Jan 30 18:21:24 2011 -0500
20768 [gi] allow caching and marshalling of ghash out
20770 gi/pygi-argument.c | 155
20771 +++++++++++++++++++++++++++++++++++++++++++++++++----
20772 gi/pygi-cache.c | 27 ++++++----
20773 2 files changed, 162 insertions(+), 20 deletions(-)
20775 commit bd66af67f248a3ca90d2fa2626605263c2392e16
20776 Author: John (J5) Palmieri <johnp@redhat.com>
20777 Date: Sun Jan 30 17:06:44 2011 -0500
20779 [gi] whitespace fixes
20781 gi/pygi-cache.c | 60
20782 ++++++++++++++++++++++++++++-----------------------------
20783 1 file changed, 30 insertions(+), 30 deletions(-)
20785 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
20786 Author: John (J5) Palmieri <johnp@redhat.com>
20787 Date: Sun Jan 30 17:04:13 2011 -0500
20789 [gi] added ugly aux arg counters
20791 * we need to simplify the ffi invoke so we can simply reference args
20792 at their position in the C parameter list
20793 * this works for now but is fragile if new aux values are added in
20796 gi/pygi-argument.c | 12 ++++++++--
20797 gi/pygi-cache.c | 66
20798 +++++++++++++++++++++++++++++++++++++-----------------
20799 gi/pygi-cache.h | 2 ++
20800 gi/pygi-invoke.c | 12 +++++++---
20801 4 files changed, 66 insertions(+), 26 deletions(-)
20803 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
20804 Author: John (J5) Palmieri <johnp@redhat.com>
20805 Date: Sun Jan 30 11:30:54 2011 -0500
20807 [gi] make inout marshalling work
20809 * refactor cache generation so we can create caches and then fill
20811 values based on if they are in, out or inout
20812 * in invoke we order the pointers based on their direction
20814 gi/pygi-cache.c | 1445
20815 ++++++++++++++++++++++++++----------------------------
20816 gi/pygi-invoke.c | 19 +-
20817 2 files changed, 711 insertions(+), 753 deletions(-)
20819 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
20820 Author: John (J5) Palmieri <johnp@redhat.com>
20821 Date: Sat Jan 29 13:49:36 2011 -0500
20823 [gi] marshal arrays out
20825 gi/pygi-argument.c | 101
20826 +++++++++++++++++++++++++++++++++++++++++++++++++++--
20827 1 file changed, 99 insertions(+), 2 deletions(-)
20829 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
20830 Author: John (J5) Palmieri <johnp@redhat.com>
20831 Date: Sat Jan 29 13:48:23 2011 -0500
20833 [gi] fix sequence caching to support out
20835 gi/pygi-cache.c | 111
20836 ++++++++++++++++++++++++++++++++++++++++++++------------
20837 1 file changed, 87 insertions(+), 24 deletions(-)
20839 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
20840 Author: Martin Pitt <martin.pitt@ubuntu.com>
20841 Date: Fri Jan 28 17:14:19 2011 +0100
20843 [gi] Add GSettings tests
20845 Ryan Lortie proposed an override for more convenient GSettings access,
20847 first make sure that the canonical GLib API works.
20849 tests/Makefile.am | 7 +++++--
20850 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
20851 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
20852 3 files changed, 52 insertions(+), 2 deletions(-)
20854 commit 488478a83640d50baee963337fcc870fec76b784
20855 Author: Martin Pitt <martin.pitt@ubuntu.com>
20856 Date: Fri Jan 28 07:20:26 2011 +0100
20858 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
20860 Provide an actual insert_with_tags_by_name() instead of overloading
20861 insert_with_tags() to handle both types. This keeps the overrides
20863 with the actual GTK API.
20865 gi/overrides/Gtk.py | 19 ++++++++++++++-----
20866 tests/test_overrides.py | 4 ++--
20867 2 files changed, 16 insertions(+), 7 deletions(-)
20869 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
20870 Author: Martin Pitt <martin.pitt@ubuntu.com>
20871 Date: Thu Jan 27 13:37:18 2011 +0100
20873 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
20875 Neither insert_with_tags() nor insert_with_tags_by_name() are
20877 due to using varargs. As both are useful, support both cases in
20880 gi/overrides/Gtk.py | 5 +++++
20881 tests/test_overrides.py | 9 +++++++++
20882 2 files changed, 14 insertions(+)
20884 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
20885 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20886 Date: Thu Jan 27 12:23:18 2011 +0100
20888 Add MAINTAINERCLEANFILES
20890 This var behaves like .gitignore and allows us to skip some specific
20893 Makefile.am | 27 +++++++++++++++++++++++++++
20894 1 file changed, 27 insertions(+)
20896 commit 8a98d26981ce68809a21c64cac4962e58c927905
20897 Author: Ignacio Casal Quinteiro <icq@gnome.org>
20898 Date: Thu Jan 27 12:15:30 2011 +0100
20900 Remove .gitignore files and use git.mk
20902 git.mk is a script maintained in pango. From time to time we must
20903 check if it was updated and update it here.
20905 .gitignore | 46 -----------
20907 codegen/.gitignore | 2 -
20908 codegen/Makefile.am | 2 +
20909 docs/.gitignore | 7 --
20910 docs/Makefile.am | 2 +
20911 examples/Makefile.am | 2 +
20912 gi/.gitignore | 40 ----------
20913 gi/Makefile.am | 2 +
20914 gi/overrides/Makefile.am | 2 +
20915 gi/repository/Makefile.am | 2 +
20916 gi/tests/Makefile.am | 2 +
20918 ++++++++++++++++++++++++++++++++++++++++++++++
20919 glib/Makefile.am | 2 +
20920 gobject/.gitignore | 3 -
20921 gobject/Makefile.am | 2 +
20922 tests/.gitignore | 2 -
20923 tests/Makefile.am | 2 +
20924 18 files changed, 222 insertions(+), 100 deletions(-)
20926 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
20927 Author: Martin Pitt <martin.pitt@ubuntu.com>
20928 Date: Thu Jan 27 12:04:19 2011 +0100
20930 pygi-convert.sh: Convert Pango.TabAlign.*
20932 pygi-convert.sh | 1 +
20933 1 file changed, 1 insertion(+)
20935 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
20936 Author: Martin Pitt <martin.pitt@ubuntu.com>
20937 Date: Thu Jan 27 12:02:39 2011 +0100
20939 pygi-convert.sh: Drop window -> get_window() conversion
20941 It is doing more harm than good for projects which use things like
20944 pygi-convert.sh | 1 -
20945 1 file changed, 1 deletion(-)
20947 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
20948 Author: Martin Pitt <martin.pitt@ubuntu.com>
20949 Date: Thu Jan 27 11:58:26 2011 +0100
20951 pygi-convert.sh: Don't convert self.window assignments
20953 pygi-convert.sh | 2 +-
20954 1 file changed, 1 insertion(+), 1 deletion(-)
20956 commit 975341a26772966d4afc87a88a6a566d61237fa0
20957 Author: Steve Frécinaux <code@istique.net>
20958 Date: Fri Jan 21 18:41:54 2011 +0100
20960 Fix leaked python reference in python-defined subclasses
20962 https://bugzilla.gnome.org/show_bug.cgi?id=640184
20964 gobject/gobjectmodule.c | 1 +
20965 tests/test_gobject.py | 4 ++++
20966 2 files changed, 5 insertions(+)
20968 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
20969 Author: Steve Frécinaux <code@istique.net>
20970 Date: Fri Jan 21 15:54:43 2011 +0100
20972 Add some tests for the number of python refs held at creation time
20974 https://bugzilla.gnome.org/show_bug.cgi?id=640184
20976 tests/test_gobject.py | 21 +++++++++++++++++++++
20977 1 file changed, 21 insertions(+)
20979 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
20980 Author: Steve Frécinaux <code@istique.net>
20981 Date: Fri Jan 21 17:24:49 2011 +0100
20983 Factor out parameter marshalling from construction functions.
20985 https://bugzilla.gnome.org/show_bug.cgi?id=640197
20987 gobject/gobjectmodule.c | 35 ++--------------------
20988 gobject/pygobject-private.h | 5 ++++
20989 gobject/pygobject.c | 71
20990 +++++++++++++++++++++++++++------------------
20991 3 files changed, 50 insertions(+), 61 deletions(-)
20993 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
20994 Author: John (J5) Palmieri <johnp@redhat.com>
20995 Date: Wed Jan 26 15:34:24 2011 -0500
20997 [gi] in python 3 an array of uint8 can be bytes but not string
20999 tests/test_gi.py | 4 +++-
21000 1 file changed, 3 insertions(+), 1 deletion(-)
21002 commit 843553ea958eddec185bb660851a310dc050a14b
21003 Author: John (J5) Palmieri <johnp@redhat.com>
21004 Date: Wed Jan 26 15:30:06 2011 -0500
21006 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
21008 gi/overrides/Gio.py | 6 +++++-
21009 1 file changed, 5 insertions(+), 1 deletion(-)
21011 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
21012 Author: John (J5) Palmieri <johnp@redhat.com>
21013 Date: Wed Jan 26 15:17:03 2011 -0500
21015 [gi] python 3 fixes
21017 Patches need to work in Python 3 - here are some of the issues I
21019 Patch submitters should keep this in mind. When I note to only
21021 in tests it means that there is a compat module that is only available
21023 tests. Actuall code should either add the workaround to the top
21025 module or try not to have a distinction between things such as
21027 longs which no longer exist in Python 3
21029 * use range instead of xrange - loss of performance in Python 2 but
21031 treats range similarly to python 2's xrange
21032 * use dict.items() instead of dict.iteritems() - same as the xrange
21034 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
21036 if sys.version_info > (3, 0):
21038 return hasattr(obj, '__call__')
21040 * using unicode in tests is tricky, you can't use u'' even in
21042 conditional as python3's parser chokes on it. Do this in tests
21046 from compathelper import _unicode
21047 unicode_string = _unicode('this is a unicode string')
21049 * exception caching changed in 2.7, instead of except Exception,
21051 except Exception as e. Do this to be compatible with older
21055 etype, e = sys.exc_info()[:2]
21057 * Unbound methods with an im_func attribute no longer exits in 3.x.
21058 Unbound methods are now just functions so class.method in 3.x is
21059 equivalent to class.method.im_func in 2.x. If you have to go this
21062 func = class1.method
21063 if sys.version_info < (3,0):
21064 func = func.im_func
21066 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
21067 only in tests) do this:
21069 from compathelper import _long
21072 gi/overrides/GLib.py | 16 ++++++++--------
21073 gi/types.py | 5 ++++-
21074 tests/compathelper.py | 19 +++++++++++++++++++
21075 tests/test_gdbus.py | 12 ++++++++----
21076 tests/test_gi.py | 19 ++++++++++++-------
21077 tests/test_overrides.py | 8 +++++---
21078 6 files changed, 56 insertions(+), 23 deletions(-)
21080 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
21081 Author: John (J5) Palmieri <johnp@redhat.com>
21082 Date: Wed Jan 26 14:00:08 2011 -0500
21084 [gi] fix try/except blocks using depricated raise format
21086 gi/overrides/GLib.py | 4 ++--
21087 gi/overrides/Gdk.py | 2 +-
21088 2 files changed, 3 insertions(+), 3 deletions(-)
21090 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
21091 Author: Martin Pitt <martin.pitt@ubuntu.com>
21092 Date: Wed Jan 26 19:03:48 2011 +0100
21094 [gi] Add docstring to GLib.Variant constructor
21096 gi/overrides/GLib.py | 11 +++++++++++
21097 1 file changed, 11 insertions(+)
21099 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
21100 Author: Martin Pitt <martin.pitt@ubuntu.com>
21101 Date: Wed Jan 26 18:45:38 2011 +0100
21103 [gi] update gdbus test cases for previous GVariant change
21105 tests/test_gdbus.py | 4 ++--
21106 1 file changed, 2 insertions(+), 2 deletions(-)
21108 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
21109 Author: Martin Pitt <martin.pitt@ubuntu.com>
21110 Date: Wed Jan 26 18:39:17 2011 +0100
21112 [gi] Accept only a single object in GLib.Variant constructor
21114 We previously allowed flat arguments for tuple signatures, e. g.
21116 GLib.Variant('(ii)', 1, 2)
21118 However, that's not how GVariant is supposed to work. Remove the
21120 to handle flat argument lists, and only accept a single value, i. e.
21122 GLib.Variant('(ii)', (1, 2))
21124 Note that this breaks the current API, but as it is not used widely
21128 Thanks to Ryan Lortie for pointing this out!
21130 gi/overrides/GLib.py | 25 ++++++++++---------------
21131 tests/test_overrides.py | 32 +++++++++++++-------------------
21132 2 files changed, 23 insertions(+), 34 deletions(-)
21134 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
21135 Author: Laszlo Pandy <lpandy@src.gnome.org>
21136 Date: Wed Jan 26 00:40:49 2011 +0100
21138 Speed up _setup_native_vfuncs()
21140 This changes _setup_native_vfuncs() to only install native
21141 vfunc wrappers from the current class on the current class.
21142 Native vfuncs will not be propogated up or down the class
21143 hierarchy as this is unnecessary and wastes CPU and memory.
21145 Since the normal process in python to retrieve a method or
21146 attribute recurses to the base classes if an attribute is not
21147 found in the subclass, there is no need to setup all base class
21148 virtual functions on a subclass.
21150 This patch removes the recursion in _setup_native_vfuncs()
21151 and lets Python find them in the base classes like a normal
21152 Python class would work. This significantly increases the speed
21153 of any class which is or inherits from a C class which includes
21156 https://bugzilla.gnome.org/show_bug.cgi?id=640629
21158 gi/types.py | 26 +++++++++++++-------------
21159 tests/test_gi.py | 13 +++++++++++++
21160 2 files changed, 26 insertions(+), 13 deletions(-)
21162 commit 569d42ac2f50fb706ef289ff631db743483f40ee
21163 Author: Laszlo Pandy <lpandy@src.gnome.org>
21164 Date: Thu Jan 20 16:26:18 2011 +0100
21166 Speed up class creation: rewrite _setup_vfuncs() to be much more
21169 This patch rewrites the _setup_vfuncs() method to remove recursion and
21170 make the running time linear in the number of virtual functions to
21172 (ie. methods starting with "do_") instead of linear in the number of
21173 virtual functions in the base class which could possibly be
21176 Since most classes do not override all of the virtual functions in the
21177 base class (and many override none), this runs much faster.
21179 It is possible to not recurse on all base classes because
21181 base classes will have the virtual function installed as an attribute.
21182 Thus getattr() can be called, which recurses to the base classes much
21183 faster than a custom implementation in Python. If the method cannot be
21184 found with getattr(), all interface bases classes are searched
21187 The function is_function_in_classes() has been deleted. Because of the
21188 above changes, it is not used anymore.
21190 https://bugzilla.gnome.org/show_bug.cgi?id=640073
21193 ++++++++++++++++++++++++++++++++++---------------------
21194 tests/test_gi.py | 13 +++++++
21195 2 files changed, 77 insertions(+), 40 deletions(-)
21197 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
21198 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21199 Date: Mon Jan 24 19:23:19 2011 +0100
21201 pygi-convert.sh: Convert gtk.UI_MANAGER_*
21203 pygi-convert.sh | 1 +
21204 1 file changed, 1 insertion(+)
21206 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
21207 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21208 Date: Fri Jan 21 18:41:54 2011 +0100
21210 pygi-convert.sh: Convert gdk.GRAB_*
21212 pygi-convert.sh | 1 +
21213 1 file changed, 1 insertion(+)
21215 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
21216 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21217 Date: Fri Jan 21 16:45:07 2011 +0100
21219 [gi] set the gtype GValue correctly
21221 gi/pygi-property.c | 4 ++--
21222 1 file changed, 2 insertions(+), 2 deletions(-)
21224 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
21225 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21226 Date: Fri Jan 21 16:20:23 2011 +0100
21228 [gi] use the right argument type for callback
21230 gi/pygi-foreign-cairo.c | 8 ++++----
21231 gi/pygi-foreign-gvariant.c | 4 ++--
21232 gi/pygi-foreign-gvariant.h | 2 +-
21233 gi/pygi-foreign.c | 2 +-
21235 5 files changed, 9 insertions(+), 9 deletions(-)
21237 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
21238 Author: John (J5) Palmieri <johnp@redhat.com>
21239 Date: Fri Jan 21 09:23:54 2011 -0500
21241 [gi] marshal out flags and enum
21243 gi/pygi-argument.c | 14 +++++++++-----
21244 gi/pygi-cache.c | 24 ++++++++++++------------
21245 2 files changed, 21 insertions(+), 17 deletions(-)
21247 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
21248 Author: John (J5) Palmieri <johnp@redhat.com>
21249 Date: Fri Jan 21 08:18:37 2011 -0500
21251 [gi] marshal unions
21253 gi/pygi-cache.c | 27 +++++++++++++--------------
21254 1 file changed, 13 insertions(+), 14 deletions(-)
21256 commit a060287d1a6d190acb9d344f08fd5662e3296da5
21257 Author: Martin Pitt <martin.pitt@ubuntu.com>
21258 Date: Fri Jan 21 11:00:27 2011 +0100
21260 [gi] Add test cases for GDBus client operations
21262 tests/Makefile.am | 1 +
21263 tests/test_gdbus.py | 94
21264 +++++++++++++++++++++++++++++++++++++++++++++++++++++
21265 2 files changed, 95 insertions(+)
21267 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
21268 Author: John (J5) Palmieri <johnp@redhat.com>
21269 Date: Fri Jan 21 04:28:15 2011 -0500
21271 [gi] error out if the constructor returns NULL
21273 gi/pygi-invoke.c | 7 +++++++
21274 1 file changed, 7 insertions(+)
21276 commit 58ff2b2c38c1004861083ca88633be76767229f0
21277 Author: John (J5) Palmieri <johnp@redhat.com>
21278 Date: Fri Jan 21 04:26:45 2011 -0500
21280 [gi] throw error for caller allocates until we can write code to
21283 gi/pygi-cache.c | 11 +++++++++++
21284 1 file changed, 11 insertions(+)
21286 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
21287 Author: John (J5) Palmieri <johnp@redhat.com>
21288 Date: Fri Jan 21 04:26:11 2011 -0500
21290 [gi] support struct out
21292 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
21293 gi/pygi-cache.c | 15 ++-------------
21294 2 files changed, 28 insertions(+), 17 deletions(-)
21296 commit 3133dc595adf44279397d30712c0f8595f0e1acc
21297 Author: John (J5) Palmieri <johnp@redhat.com>
21298 Date: Fri Jan 21 04:22:06 2011 -0500
21300 [gi] move to using type_info and interface_info instead of arg_info
21302 * only arguments have arg_infos, not return types and instances so
21303 type_info is much better to pass. In fact most API that took an
21304 arg_info simply converted it to a type_info
21305 * In the case of instances for methods we don't even have a type_info.
21306 Since all instances are interfaces, we also attach the
21308 to the interface cache
21310 gi/pygi-argument.c | 20 ++++----------------
21311 gi/pygi-cache.c | 43
21312 ++++++++++++++++++++++++++++++++-----------
21313 gi/pygi-cache.h | 4 +++-
21314 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
21315 gi/pygi-foreign-gvariant.c | 11 +++++------
21316 gi/pygi-foreign-gvariant.h | 10 +++++-----
21317 gi/pygi-foreign.c | 21 +++++++++------------
21318 gi/pygi-foreign.h | 6 +++---
21319 gi/pygi.h | 8 ++++----
21320 9 files changed, 77 insertions(+), 70 deletions(-)
21322 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
21323 Author: Martin Pitt <martin.pitt@ubuntu.com>
21324 Date: Fri Jan 21 09:54:14 2011 +0100
21326 [gi] Add Variant construction/unpack support for boxed Variants
21328 Construction uses a GVariantBuilder for now, as the new_variant()
21330 currently does not work (see
21331 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
21333 gi/overrides/GLib.py | 18 +++++++++++++++++-
21334 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
21335 2 files changed, 43 insertions(+), 1 deletion(-)
21337 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
21338 Merge: bc29600 bd002c7
21339 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
21340 Date: Fri Jan 21 09:33:16 2011 +0100
21342 Merge branch 'windows-setup-fixes'
21344 commit bc29600a2a04c972ceab7ef8d3292e8633977591
21345 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
21346 Date: Thu Jan 20 19:48:23 2011 +0100
21348 pygi-convert.sh: GdkPixbuf methods
21352 pygi-convert.sh | 1 +
21353 1 file changed, 1 insertion(+)
21355 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
21356 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
21357 Date: Thu Jan 20 19:45:01 2011 +0100
21359 pygi-convert.sh: Gdk.COLORSPACE_RGB
21363 pygi-convert.sh | 1 +
21364 1 file changed, 1 insertion(+)
21366 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
21367 Author: Martin Pitt <martin.pitt@ubuntu.com>
21368 Date: Wed Jan 19 11:41:11 2011 +0100
21370 [gi] Support nested objects and empty sequences in GLib.Variant
21373 The GVariant constructor (in the overrides) previously did not
21375 arrays/dictionaries or nested structures. Rewrite the VariantCreator
21377 be fully recursive and determine the element types of
21378 arrays/dictionaries.
21380 This now also allows you to use actual tuples as input values for
21382 tuple types. Taking values from the flat argument list is still
21384 convenience, though.
21386 https://bugzilla.gnome.org/show_bug.cgi?id=639939
21388 gi/overrides/GLib.py | 229
21389 ++++++++++++++++++++++++++----------------------
21390 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
21391 2 files changed, 273 insertions(+), 115 deletions(-)
21393 commit ac095f5435f106e175fa3297cb273e63c85d2809
21394 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21395 Date: Thu Jan 20 15:55:45 2011 +0100
21397 Uncomment test_gi.TestInterfaceClash
21399 tests/test_gi.py | 22 +++++++++++-----------
21400 1 file changed, 11 insertions(+), 11 deletions(-)
21402 commit 1239f3709ba257c404dda72b7067b77b19c240fa
21403 Author: John (J5) Palmieri <johnp@redhat.com>
21404 Date: Thu Jan 20 09:05:02 2011 -0500
21406 [gi] add support for enum and flags
21408 gi/pygi-argument.c | 121
21409 +++++++++++++++++++++++++++++++++++++++++------------
21410 gi/pygi-cache.c | 30 ++++++-------
21411 2 files changed, 111 insertions(+), 40 deletions(-)
21413 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
21414 Author: Steve Frécinaux <code@istique.net>
21415 Date: Thu Jan 20 14:14:15 2011 +0100
21417 Fix reference leaks for GInitiallyUnowned objects
21419 References were leaked for GInitiallyUnowned objects which got their
21420 wrappers created several times, because someone else holds reference
21421 on it and it got out of python scope at some point.
21423 https://bugzilla.gnome.org/show_bug.cgi?id=639949
21425 gobject/gobjectmodule.c | 2 ++
21426 gobject/pygobject.c | 14 +++++------
21427 tests/test-floating.c | 36 +++++++++++++++++++++++++++
21428 tests/test-floating.h | 21 ++++++++++++++++
21429 tests/test_gobject.py | 63
21430 ++++++++++++++++++++++++++++++++++++++++++++++++
21431 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
21432 6 files changed, 179 insertions(+), 7 deletions(-)
21434 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
21435 Author: Steve Frécinaux <code@istique.net>
21436 Date: Wed Jan 19 16:57:57 2011 +0100
21438 Add tests for refcount of a GObject owned by a library
21440 When the object is constructed, its refcount is 2 because the library
21441 refs it once. It should remain around until we ask the library to
21442 release its reference.
21444 https://bugzilla.gnome.org/show_bug.cgi?id=639949
21446 tests/test-floating.c | 30 +++++++++++++++++++++++
21447 tests/test-floating.h | 20 ++++++++++++++++
21448 tests/test_gobject.py | 62
21449 ++++++++++++++++++++++++++++++++++++++++++++++++
21450 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
21451 4 files changed, 163 insertions(+)
21453 commit b6737b91938d527872eff1d645a205cacf94e15d
21454 Author: Steve Frécinaux <code@istique.net>
21455 Date: Wed Jan 19 14:52:41 2011 +0100
21457 Add a test to check for regular object reference count
21459 https://bugzilla.gnome.org/show_bug.cgi?id=639949
21461 tests/test_gobject.py | 8 +++++++-
21462 1 file changed, 7 insertions(+), 1 deletion(-)
21464 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
21465 Author: Martin Pitt <martin.pitt@ubuntu.com>
21466 Date: Thu Jan 20 14:15:52 2011 +0100
21468 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
21470 GTK master now landed a lot of annotation fixes which also correctly
21472 array length argument of
21473 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
21474 drop the explicit array length argument from the call in the override.
21476 gi/overrides/Gtk.py | 2 --
21477 1 file changed, 2 deletions(-)
21479 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
21480 Author: Steve Frécinaux <code@istique.net>
21481 Date: Wed Jan 19 18:04:10 2011 +0100
21483 Fix a typo in a private symbol name.
21485 gobject/gobjectmodule.c | 6 +++---
21486 1 file changed, 3 insertions(+), 3 deletions(-)
21488 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
21489 Author: Martin Pitt <martin.pitt@ubuntu.com>
21490 Date: Thu Jan 20 11:49:08 2011 +0100
21492 pygi-convert.sh: Convert glib.source_remove()
21494 pygi-convert.sh | 1 +
21495 1 file changed, 1 insertion(+)
21497 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
21498 Author: Martin Pitt <martin.pitt@ubuntu.com>
21499 Date: Thu Jan 20 11:42:34 2011 +0100
21501 Fix typo in previous commit to actually convert glib.GError
21503 pygi-convert.sh | 2 +-
21504 1 file changed, 1 insertion(+), 1 deletion(-)
21506 commit b238cb614338f46e6feb7935cca0a55c7a929418
21507 Author: Martin Pitt <martin.pitt@ubuntu.com>
21508 Date: Thu Jan 20 11:40:14 2011 +0100
21510 pygi-convert.sh: Move some glib bits which are better handled
21513 pygi-convert.sh | 3 +++
21514 1 file changed, 3 insertions(+)
21516 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
21517 Author: Laszlo Pandy <lpandy@src.gnome.org>
21518 Date: Wed Jan 19 12:00:02 2011 +0100
21520 Modify override for Gtk.Adjustment to allow position or keyword
21521 arguments in __init__().
21523 Previously passing no arguments was not working, because the default
21524 value for each parameter was None, and GObject.__init__() refuses to
21525 allow None for integer properties. This patch does not pass None up
21526 to GObject.__init__. Instead it does not pass the parameter at all,
21527 and uses the class's default values.
21529 https://bugzilla.gnome.org/show_bug.cgi?id=639934
21531 gi/overrides/Gtk.py | 14 ++++++++++++--
21532 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
21533 2 files changed, 39 insertions(+), 9 deletions(-)
21535 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
21536 Author: Martin Pitt <martin.pitt@ubuntu.com>
21537 Date: Wed Jan 19 22:52:51 2011 +0100
21539 [gi] Fix small typo in previous commit
21541 The GVariant signature of the self test had a trailing 'i'. The
21543 GVariant builder doesn't mind, but the new implementation proposed
21547 tests/test_overrides.py | 2 +-
21548 1 file changed, 1 insertion(+), 1 deletion(-)
21550 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
21551 Author: Martin Pitt <martin.pitt@ubuntu.com>
21552 Date: Wed Jan 19 20:18:19 2011 +0100
21554 [gi] Add pythonic iterator and indexing for string GVariants
21556 This extends commit b1a98083c to also work for strings.
21558 gi/overrides/GLib.py | 8 +++++++-
21559 tests/test_overrides.py | 13 +++++++++++++
21560 2 files changed, 20 insertions(+), 1 deletion(-)
21562 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
21563 Author: John (J5) Palmieri <johnp@redhat.com>
21564 Date: Wed Jan 19 14:08:03 2011 -0500
21566 [gi] return NULL if out_marshaller fails
21568 gi/pygi-invoke.c | 5 +++++
21569 1 file changed, 5 insertions(+)
21571 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
21572 Author: John (J5) Palmieri <johnp@redhat.com>
21573 Date: Wed Jan 19 13:57:54 2011 -0500
21575 [gi] fix some transfer issues and test case failures
21577 gi/pygi-argument.c | 4 ++++
21578 gi/pygi-cache.c | 11 ++++++++---
21579 gi/pygi-invoke.c | 17 +++++++++--------
21580 3 files changed, 21 insertions(+), 11 deletions(-)
21582 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
21583 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21584 Date: Wed Jan 19 18:09:23 2011 +0100
21586 Construct structs using default API constructor
21588 If the struct has something that looks like a default constructor,
21589 use it instead of trying to directly allocate it, as it will fail
21590 if the struct fields are not exposed.
21592 https://bugzilla.gnome.org/show_bug.cgi?id=627444
21594 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
21595 gi/types.py | 7 +++++++
21596 2 files changed, 44 insertions(+)
21598 commit db7300e173388d9557dcd2333781bfaa6b021605
21599 Author: Martin Pitt <martin.pitt@ubuntu.com>
21600 Date: Wed Jan 19 18:54:39 2011 +0100
21602 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
21604 pygi-convert.sh | 2 ++
21605 1 file changed, 2 insertions(+)
21607 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
21608 Author: Martin Pitt <martin.pitt@ubuntu.com>
21609 Date: Wed Jan 19 18:43:29 2011 +0100
21611 pygi-convert.sh: Handle .window attributes
21613 In general, convert them to .get_window(). For some of them, prefer
21615 GtkWidget methods instead.
21617 pygi-convert.sh | 5 ++++-
21618 1 file changed, 4 insertions(+), 1 deletion(-)
21620 commit b1049b947d073fb569ba900a4d5c8519482d831e
21621 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21622 Date: Wed Jan 19 17:35:09 2011 +0100
21624 Also deal with foreign boxed structs
21626 cairo.Context has been boxed and our tests started failing
21628 https://bugzilla.gnome.org/show_bug.cgi?id=639967
21630 gi/pygi-argument.c | 4 ++--
21631 1 file changed, 2 insertions(+), 2 deletions(-)
21633 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
21634 Author: Laszlo Pandy <lpandy@src.gnome.org>
21635 Date: Wed Jan 19 17:45:11 2011 +0100
21637 [gi] Convert GErrors to GObject.GError exceptions, and throw them
21638 upon returning from calling the C function.
21640 This changes gi to make use of pyglib_error_check() which already
21643 The included tests make use of the other patch attached to this bug,
21644 to check that the right exception is thrown from the new function
21645 in GIMarshallingTests.
21646 two Gtk C functions.
21648 https://bugzilla.gnome.org/show_bug.cgi?id=639834
21650 gi/Makefile.am | 3 ++-
21651 gi/pygi-invoke.c | 12 +++---------
21652 tests/test_gi.py | 10 ++++++++++
21653 3 files changed, 15 insertions(+), 10 deletions(-)
21655 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
21656 Author: John (J5) Palmieri <johnp@redhat.com>
21657 Date: Wed Jan 19 12:05:45 2011 -0500
21659 [gi] fix out marshalling for a couple of int types
21661 gi/pygi-argument.c | 2 +-
21662 gi/pygi-cache.c | 2 +-
21663 2 files changed, 2 insertions(+), 2 deletions(-)
21665 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
21666 Author: John (J5) Palmieri <johnp@redhat.com>
21667 Date: Wed Jan 19 11:59:09 2011 -0500
21669 [gi] fixed range checking and type conversion with unsigned and
21672 gi/pygi-argument.c | 90
21673 +++++++++++++++++++++++++++++++++++++++++++++---------
21674 gi/pygi-cache.c | 2 +-
21675 2 files changed, 76 insertions(+), 16 deletions(-)
21677 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
21678 Author: Martin Pitt <martin.pitt@ubuntu.com>
21679 Date: Wed Jan 19 17:03:06 2011 +0100
21681 pygi-convert.sh: Don't convert glib -> GLib for now
21683 This currently leads to a load of crashes, MemoryErrors, etc, as
21685 very well introspectable, due to the low-level operations that
21688 John Palmieri confirms that using the static "glib" binding is
21690 now, so disable the replacement rules.
21692 pygi-convert.sh | 19 ++++++++++---------
21693 1 file changed, 10 insertions(+), 9 deletions(-)
21695 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
21696 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21697 Date: Wed Jan 19 16:47:08 2011 +0100
21699 Link libregress.so to GIO_LIBS again
21701 configure.ac | 5 +++++
21702 1 file changed, 5 insertions(+)
21704 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
21705 Author: Laszlo Pandy <lpandy@src.gnome.org>
21706 Date: Wed Jan 19 16:14:42 2011 +0100
21708 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
21710 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
21711 because in Python attributes starting with a numeral causes a
21714 gi/overrides/Gdk.py | 7 +++++--
21715 1 file changed, 5 insertions(+), 2 deletions(-)
21717 commit 4f5d20966d4a8c649e5fae584039621edab178f3
21718 Author: John (J5) Palmieri <johnp@redhat.com>
21719 Date: Wed Jan 19 10:02:40 2011 -0500
21721 [gi] use correct format stings when setting errors
21723 gi/pygi-argument.c | 12 ++++++------
21724 1 file changed, 6 insertions(+), 6 deletions(-)
21726 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
21727 Author: John (J5) Palmieri <johnp@redhat.com>
21728 Date: Wed Jan 19 09:45:09 2011 -0500
21730 [gi] allow marshalling strings as None
21732 gi/pygi-argument.c | 5 +++++
21733 1 file changed, 5 insertions(+)
21735 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
21736 Author: John (J5) Palmieri <johnp@redhat.com>
21737 Date: Wed Jan 19 09:41:56 2011 -0500
21739 [gi] make error messages more detailed
21741 gi/pygi-argument.c | 2 +-
21742 gi/pygi-cache.c | 18 +++++++++---------
21743 2 files changed, 10 insertions(+), 10 deletions(-)
21745 commit f0b17605ed2eb917b350654b070984beb553eae3
21746 Author: John (J5) Palmieri <johnp@redhat.com>
21747 Date: Wed Jan 19 09:41:13 2011 -0500
21749 [gi] allow marshalling None for hashes
21751 gi/pygi-argument.c | 5 +++++
21752 1 file changed, 5 insertions(+)
21754 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
21755 Author: John (J5) Palmieri <johnp@redhat.com>
21756 Date: Wed Jan 19 09:40:37 2011 -0500
21758 [gi] add marshalling to some out values
21760 gi/pygi-argument.c | 50
21761 +++++++++++++++++++++++++++++++++++++++++---------
21762 1 file changed, 41 insertions(+), 9 deletions(-)
21764 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
21765 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21766 Date: Wed Jan 19 15:27:33 2011 +0100
21768 [gi] Fixed typo in exception
21770 gi/overrides/Gtk.py | 2 +-
21771 1 file changed, 1 insertion(+), 1 deletion(-)
21773 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
21774 Author: John (J5) Palmieri <johnp@redhat.com>
21775 Date: Wed Jan 19 09:13:44 2011 -0500
21777 [gi] fix marshalling structs
21779 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
21780 gi/pygi-foreign.c | 18 ++++++++++++------
21781 gi/pygi-foreign.h | 8 ++++----
21782 3 files changed, 51 insertions(+), 22 deletions(-)
21784 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
21785 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21786 Date: Wed Jan 19 15:12:25 2011 +0100
21788 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
21790 gi/overrides/Gdk.py | 4 ++--
21791 1 file changed, 2 insertions(+), 2 deletions(-)
21793 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
21794 Author: Martin Pitt <martin.pitt@ubuntu.com>
21795 Date: Wed Jan 19 14:54:57 2011 +0100
21797 Revert "Fix Pango FontDescription override"
21800 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
21801 the default constructor actually does take no arguments; we should
21803 the MemoryError. Add a test case for this.
21805 Remove the FIXME though, as pango_font_description_from_string()
21807 FontDescription constructor, but a static factory method.
21809 Thanks to Paolo Borelli for pointing this out!
21811 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
21813 gi/overrides/Pango.py | 5 ++++-
21814 tests/test_overrides.py | 5 +++++
21815 2 files changed, 9 insertions(+), 1 deletion(-)
21817 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
21818 Author: Tony Young <rofflwaffls@gmail.com>
21819 Date: Thu Dec 16 23:39:33 2010 +0000
21821 Python iterator interface support for GFileEnumerator.
21823 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
21824 gi/overrides/Makefile.am | 1 +
21825 tests/test_overrides.py | 20 ++++++++++++++++++++
21826 3 files changed, 62 insertions(+)
21828 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
21829 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21830 Date: Fri Jan 7 12:10:37 2011 +0100
21832 Remove gio static bindings
21834 https://bugzilla.gnome.org/show_bug.cgi?id=638899
21837 configure.ac | 25 -
21838 gio/.gitignore | 3 -
21839 gio/Makefile.am | 117 -
21840 gio/__init__.py | 40 -
21841 gio/gappinfo.override | 213 --
21842 gio/gapplaunchcontext.override | 99 -
21843 gio/gbufferedinputstream.override | 70 -
21844 gio/gcancellable.override | 38 -
21845 gio/gdatainputstream.override | 250 --
21846 gio/gdrive.override | 347 --
21847 gio/gfile.override | 2215 -----------
21848 gio/gfileattribute.override | 153 -
21849 gio/gfileenumerator.override | 184 -
21850 gio/gfileinfo.override | 121 -
21851 gio/gfileinputstream.override | 68 -
21852 gio/gfileiostream.override | 68 -
21853 gio/gfileoutputstream.override | 68 -
21854 gio/gicon.override | 310 --
21855 gio/ginputstream.override | 344 --
21856 gio/gio-types.defs | 807 ----
21857 gio/gio.defs | 7465
21858 -------------------------------------
21859 gio/gio.override | 409 --
21860 gio/giomodule.c | 208 --
21861 gio/giostream.override | 68 -
21862 gio/gmemoryinputstream.override | 91 -
21863 gio/gmemoryoutputstream.override | 45 -
21864 gio/gmount.override | 454 ---
21865 gio/goutputstream.override | 292 --
21866 gio/gresolver.override | 312 --
21867 gio/gsocket.override | 575 ---
21868 gio/gvolume.override | 237 --
21869 gio/gvolumemonitor.override | 94 -
21870 gio/pygio-utils.c | 236 --
21871 gio/pygio-utils.h | 49 -
21872 gio/unix-types.defs | 55 -
21873 gio/unix.defs | 475 ---
21874 gio/unix.override | 62 -
21875 gio/unixmodule.c | 52 -
21876 tests/Makefile.am | 9 -
21877 tests/runtests-windows.py | 3 -
21878 tests/test_gcancellable.py | 15 -
21879 tests/test_gicon.py | 112 -
21880 tests/test_gio.py | 1138 ------
21881 tests/test_gresolver.py | 68 -
21882 tests/test_gsocket.py | 126 -
21883 46 files changed, 1 insertion(+), 18191 deletions(-)
21885 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
21886 Author: John (J5) Palmieri <johnp@redhat.com>
21887 Date: Wed Jan 19 07:56:16 2011 -0500
21889 [gi] switch from using (*arg). to arg-> when referencing union
21892 gi/pygi-argument.c | 54
21893 +++++++++++++++++++++++++++---------------------------
21894 1 file changed, 27 insertions(+), 27 deletions(-)
21896 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
21897 Author: John (J5) Palmieri <johnp@redhat.com>
21898 Date: Wed Jan 19 07:49:52 2011 -0500
21900 [gi] return FALSE when setting errors in the marshaller
21902 gi/pygi-argument.c | 3 ++-
21903 1 file changed, 2 insertions(+), 1 deletion(-)
21905 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
21906 Author: John (J5) Palmieri <johnp@redhat.com>
21907 Date: Wed Jan 19 07:14:18 2011 -0500
21909 [gi] do arg counting in new invoke
21911 gi/pygi-cache.c | 2 ++
21912 gi/pygi-cache.h | 14 ++++++++------
21913 gi/pygi-invoke-state-struct.h | 2 +-
21914 gi/pygi-invoke.c | 20 +++++++++++++++++++-
21915 4 files changed, 30 insertions(+), 8 deletions(-)
21917 commit f45033858bed70d7defec3f71f26aa5b3999d680
21918 Author: John (J5) Palmieri <johnp@redhat.com>
21919 Date: Wed Jan 19 06:35:45 2011 -0500
21921 [gi] set length for uint8 in arrays in new invoke marshaller
21923 gi/pygi-argument.c | 1 +
21924 1 file changed, 1 insertion(+)
21926 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
21927 Author: Ignacio Casal Quinteiro <icq@gnome.org>
21928 Date: Wed Jan 19 12:04:15 2011 +0100
21930 [gi] set length when marshalling guint8 erases
21932 gi/pygi-argument.c | 1 +
21933 tests/test_gi.py | 4 ++++
21934 2 files changed, 5 insertions(+)
21936 commit 22eee43e50a150ace80694213fb87be9f0c72f51
21937 Author: Sebastian Pölsterl <sebp@k-d-w.org>
21938 Date: Wed Jan 19 10:27:47 2011 +0100
21940 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
21942 pygi-convert.sh | 1 +
21943 1 file changed, 1 insertion(+)
21945 commit a4b210d69c832629894090b7154ae194209b0c60
21946 Author: Arnaud Charlet <charlet@adacore.com>
21947 Date: Tue Jan 18 18:31:29 2011 +0100
21949 Disable calls to PyGILState_* when threads are disabled
21951 Since threads may also be disabled in Python too, those symbols
21955 https://bugzilla.gnome.org/show_bug.cgi?id=374603
21957 glib/pyglib.c | 12 ++++++++++++
21958 gobject/pygobject-private.h | 6 ++++++
21959 2 files changed, 18 insertions(+)
21961 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
21962 Author: John (J5) Palmieri <johnp@redhat.com>
21963 Date: Tue Jan 18 12:31:57 2011 -0500
21965 [gi] fix handling of garrays vs c arrays
21967 gi/pygi-argument.c | 9 +++++++--
21968 gi/pygi-cache.c | 2 ++
21969 gi/pygi-cache.h | 1 +
21970 3 files changed, 10 insertions(+), 2 deletions(-)
21972 commit a000627ec3904b9414ce375aec8d144fc0c26248
21973 Author: Martin Pitt <martin.pitt@ubuntu.com>
21974 Date: Tue Jan 18 18:29:50 2011 +0100
21976 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
21977 these should be ported properly
21979 pygi-convert.sh | 1 -
21980 1 file changed, 1 deletion(-)
21982 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
21983 Author: Martin Pitt <martin.pitt@ubuntu.com>
21984 Date: Tue Jan 18 18:26:01 2011 +0100
21986 pygi-convert.sh: Fix match for adding missing imports
21988 pygi-convert.sh | 8 ++++----
21989 1 file changed, 4 insertions(+), 4 deletions(-)
21991 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
21992 Author: Martin Pitt <martin.pitt@ubuntu.com>
21993 Date: Tue Jan 18 18:09:30 2011 +0100
21995 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
21997 As we are not replacing line by line, but the whole file at once,
21999 hackish unfortunately. We can't use a match test or a lookahead/behind
22002 pygi-convert.sh | 5 +++--
22003 1 file changed, 3 insertions(+), 2 deletions(-)
22005 commit f66051380c0432bf142774542ade2144adcd455e
22006 Author: John (J5) Palmieri <johnp@redhat.com>
22007 Date: Tue Jan 18 11:44:27 2011 -0500
22009 [gi] use correct union memeber when marshalling floats
22011 gi/pygi-argument.c | 2 +-
22012 1 file changed, 1 insertion(+), 1 deletion(-)
22014 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
22015 Author: Laszlo Pandy <lpandy@src.gnome.org>
22016 Date: Tue Jan 18 17:29:52 2011 +0100
22018 Remove trailing whitespace from gi/overrides/Gtk.py
22020 gi/overrides/Gtk.py | 10 +++++-----
22021 1 file changed, 5 insertions(+), 5 deletions(-)
22023 commit 1006df1929a667716c25e74b35b8f14643358732
22024 Author: John (J5) Palmieri <johnp@redhat.com>
22025 Date: Tue Jan 18 11:24:06 2011 -0500
22027 [gi] fix constructor invoking and add some support for interface
22030 * constructors are now simplified and are treated like normal
22032 which happen to return an instance
22034 gi/pygi-argument.c | 8 ++--
22035 gi/pygi-cache.c | 132
22036 +++++++++++++++++++++++++++++++++++++++++++++++++++--
22037 gi/pygi-invoke.c | 9 ++--
22038 gi/types.py | 21 +++------
22039 4 files changed, 142 insertions(+), 28 deletions(-)
22041 commit 8878c57676091c08e66bc6cbe735d898cb420582
22042 Author: Martin Pitt <martin.pitt@ubuntu.com>
22043 Date: Tue Jan 18 16:47:10 2011 +0100
22045 Fix Pango FontDescription override
22047 Trying to call __new__() on a record crashes with a MemoryError,
22049 the intended static factory method for a None argument as well
22053 gi/overrides/Pango.py | 7 +------
22054 1 file changed, 1 insertion(+), 6 deletions(-)
22056 commit efbbe71634037fa100b17327389b883b259cca54
22057 Author: Martin Pitt <martin.pitt@ubuntu.com>
22058 Date: Tue Jan 18 16:23:39 2011 +0100
22060 tests: Respect existing $GI_TYPELIB_PATH
22062 This allows us to run the test suite against local typelibs.
22064 tests/Makefile.am | 2 +-
22065 1 file changed, 1 insertion(+), 1 deletion(-)
22067 commit c96ca383350e5b9b079d9a86464922314939c006
22068 Author: John (J5) Palmieri <johnp@redhat.com>
22069 Date: Tue Jan 18 07:16:40 2011 -0500
22071 [gi] fix aux value offsets for methods and element size crashers
22073 * if the callable is a method we need to add 1 to the aux index
22074 for in values so we grab the right argument cache
22075 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
22078 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
22079 1 file changed, 24 insertions(+), 18 deletions(-)
22081 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
22082 Merge: 84d6142 7d997b6
22083 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22084 Date: Tue Jan 18 13:14:45 2011 +0100
22086 Merge branch 'value'
22088 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
22089 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22090 Date: Tue Jan 18 13:12:36 2011 +0100
22092 GTK overrides: Do type conversion to column types of ListStore and
22093 TreeStore in set_value
22095 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
22096 tests/test_overrides.py | 12 +++++++++++-
22097 2 files changed, 29 insertions(+), 11 deletions(-)
22099 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
22100 Author: Steve Frécinaux <code@istique.net>
22101 Date: Mon Jan 17 18:57:58 2011 +0100
22103 Always register a new GType when a GObject class is subclassed
22105 This patch makes the GType <-> python mapping much more predictible,
22106 and fixes the bug caused by overriding methods without specifying a
22107 __gtype_name__ member in the subclass, and makes type_register useless
22110 It is still possible to provide an explicit __gtype_name__ member
22112 subclass as it allows having a predictible GType name, which is handy
22113 for some of our tests. There is also an explicit special case for
22114 overrides because we obviously do not want to register new GTypes for
22115 those ones as it would clearly defeat the purpose of overrides.
22117 https://bugzilla.gnome.org/show_bug.cgi?id=543056
22119 gobject/__init__.py | 6 +++---
22120 tests/test_gi.py | 21 ++-------------------
22121 2 files changed, 5 insertions(+), 22 deletions(-)
22123 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
22124 Author: Simon van der Linden <svdlinden@gnome.org>
22125 Date: Tue Jan 18 12:57:13 2011 +0100
22127 Raise required versions of GLib and GObject-Introspection
22129 https://bugzilla.gnome.org/show_bug.cgi?id=612126
22131 configure.ac | 6 +++---
22132 1 file changed, 3 insertions(+), 3 deletions(-)
22134 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
22135 Author: Martin Pitt <martin.pitt@ubuntu.com>
22136 Date: Tue Jan 18 12:52:32 2011 +0100
22138 pygi-convert.sh: Handle keysyms
22140 pygi-convert.sh | 1 +
22141 1 file changed, 1 insertion(+)
22143 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
22144 Author: Martin Pitt <martin.pitt@ubuntu.com>
22145 Date: Tue Jan 18 12:14:09 2011 +0100
22147 GLib overrides: Add test case for array variant building
22149 tests/test_overrides.py | 7 +++++++
22150 1 file changed, 7 insertions(+)
22152 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
22153 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22154 Date: Tue Jan 18 10:21:03 2011 +0100
22156 Remove cairo.RectangleInt from the foreign module
22158 https://bugzilla.gnome.org/show_bug.cgi?id=639824
22160 gi/pygi-foreign-cairo.c | 96
22161 -------------------------------------------------
22162 1 file changed, 96 deletions(-)
22164 commit 017680c9a5e163021628bf29543598861a3b600a
22165 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22166 Date: Tue Jan 18 10:20:25 2011 +0100
22168 Dont try to guess the transfer if its a boxed
22170 https://bugzilla.gnome.org/show_bug.cgi?id=639823
22172 gi/pygi-invoke.c | 5 ++++-
22173 1 file changed, 4 insertions(+), 1 deletion(-)
22175 commit 771ef76574690eb98926249f38661d741d1ebbb0
22176 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22177 Date: Tue Jan 18 12:02:01 2011 +0100
22179 The tags can be Empty not None.
22181 gi/overrides/Gtk.py | 2 +-
22182 1 file changed, 1 insertion(+), 1 deletion(-)
22184 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
22185 Author: Martin Pitt <martin.pitt@ubuntu.com>
22186 Date: Tue Jan 18 12:01:28 2011 +0100
22188 Add Pythonic iterators and indexing to GVariant
22190 Add the usual set of iterators and index accessors to GLib.Variant
22192 which are containers.
22194 Add corresponding test cases.
22196 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
22197 tests/test_overrides.py | 55
22198 +++++++++++++++++++++++++++++++++++++++++++++++++
22199 2 files changed, 105 insertions(+)
22201 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
22202 Author: Martin Pitt <martin.pitt@ubuntu.com>
22203 Date: Tue Jan 18 10:48:03 2011 +0100
22205 Add GLib.Variant.unpack()
22207 This method decomposes a GLib.Variant into a native Python object,
22209 counterpart of _VariantCreator. This makes it a lot nicer for
22211 developers to use e. g. return values from gdbus calls.
22213 Add appropriate test case.
22215 gi/overrides/GLib.py | 45
22216 +++++++++++++++++++++++++++++++++++++++++++++
22217 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
22218 2 files changed, 77 insertions(+), 1 deletion(-)
22220 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
22221 Author: Ignacio Casal Quinteiro <icq@gnome.org>
22222 Date: Tue Jan 18 10:56:18 2011 +0100
22224 Add override for gtk_text_buffer_insert_with_tags
22226 gi/overrides/Gtk.py | 12 ++++++++++++
22227 tests/test_overrides.py | 6 ++++++
22228 2 files changed, 18 insertions(+)
22230 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
22231 Author: Simon van der Linden <svdlinden@gnome.org>
22232 Date: Mon Jan 17 14:35:14 2011 +0100
22234 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
22236 https://bugzilla.gnome.org/show_bug.cgi?id=620215
22238 gi/Makefile.am | 6 ++++--
22239 gio/Makefile.am | 2 +-
22240 glib/Makefile.am | 2 +-
22241 m4/python.m4 | 7 +++++--
22242 tests/Makefile.am | 2 +-
22243 5 files changed, 12 insertions(+), 7 deletions(-)
22245 commit bceec758b27e6c396d17a79424633b5dc9116f54
22246 Author: Simon van der Linden <svdlinden@gnome.org>
22247 Date: Mon Jan 17 14:20:55 2011 +0100
22249 Kill JD_CHECK_PYTHON_HEADERS
22251 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
22253 https://bugzilla.gnome.org/show_bug.cgi?id=620215
22255 configure.ac | 2 +-
22256 m4/python.m4 | 31 +------------------------------
22257 2 files changed, 2 insertions(+), 31 deletions(-)
22259 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
22260 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22261 Date: Mon Jan 17 19:09:27 2011 +0100
22263 Revert "Override Gtk.Box.pack_start and pack_end to set default
22264 values to be compliant with pygtk"
22266 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
22270 gi/overrides/Gtk.py
22272 gi/overrides/Gtk.py | 10 ----------
22273 1 file changed, 10 deletions(-)
22275 commit 4fbae9629adc166627de05bb0946b71485343d69
22276 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22277 Date: Mon Jan 17 19:08:23 2011 +0100
22279 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
22280 default values to be compliant with pygtk"
22282 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
22284 gi/overrides/Gtk.py | 13 ++-----------
22285 1 file changed, 2 insertions(+), 11 deletions(-)
22287 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
22288 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22289 Date: Mon Jan 17 19:08:06 2011 +0100
22291 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
22292 set_cell_data_func to add default values to be compliant with pygtk"
22294 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
22296 gi/overrides/Gtk.py | 9 ---------
22297 1 file changed, 9 deletions(-)
22299 commit 2d9534f347505573da46743b47318e08bf073aef
22300 Author: Martin Pitt <martin.pitt@ubuntu.com>
22301 Date: Mon Jan 17 18:54:10 2011 +0100
22303 pygi-convert.sh: Handle gtk.combo_box_new_text()
22305 pygi-convert.sh | 1 +
22306 1 file changed, 1 insertion(+)
22308 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
22309 Author: John (J5) Palmieri <johnp@redhat.com>
22310 Date: Mon Jan 17 12:31:03 2011 -0500
22314 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
22315 gi/pygi-cache.c | 80
22316 +++++++++++++++++++++++++++++++++++++++++-------------
22317 gi/pygi-cache.h | 13 +++++++--
22318 gi/pygi-invoke.c | 2 +-
22319 4 files changed, 138 insertions(+), 25 deletions(-)
22321 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
22322 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22323 Date: Mon Jan 17 16:57:53 2011 +0100
22325 Override TreeSortable.set_sort_func and set_default_sort_func to
22326 add default values to be pygtk compliant
22328 gi/overrides/Gtk.py | 6 ++++++
22329 1 file changed, 6 insertions(+)
22331 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
22332 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22333 Date: Mon Jan 17 16:29:28 2011 +0100
22335 Override Gtk.TreeViewColumn.pack_start, pack_end and
22336 set_cell_data_func to add default values to be compliant with pygtk
22338 gi/overrides/Gtk.py | 9 +++++++++
22339 1 file changed, 9 insertions(+)
22341 commit 232841148f35684be83a2f47b5b18da4fb74f63a
22342 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22343 Date: Mon Jan 17 16:28:51 2011 +0100
22345 Override Gtk.CellLayout.pack_start and pack_end to add default values
22346 to be compliant with pygtk
22348 gi/overrides/Gtk.py | 13 +++++++++++--
22349 1 file changed, 11 insertions(+), 2 deletions(-)
22351 commit 1dec12826753756fcadefc8ef8c756fc902c320b
22352 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22353 Date: Mon Jan 17 15:54:32 2011 +0100
22355 Override Gtk.Paned pack1 and pack2 to add default values to be
22356 compliant with pygtk
22358 gi/overrides/Gtk.py | 10 ++++++++++
22359 1 file changed, 10 insertions(+)
22361 commit a8c727b9c4195d8085a45661683a18614ae84485
22362 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22363 Date: Mon Jan 17 15:46:25 2011 +0100
22365 Override Gtk.Box.pack_start and pack_end to set default values to
22366 be compliant with pygtk
22368 gi/overrides/Gtk.py | 10 ++++++++++
22369 1 file changed, 10 insertions(+)
22371 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
22372 Author: Steve Frécinaux <code@istique.net>
22373 Date: Wed Aug 4 00:30:05 2010 +0200
22375 Handle GObject subclasses in the property helper.
22377 https://bugzilla.gnome.org/show_bug.cgi?id=625982
22379 gobject/propertyhelper.py | 26 +++++++++++++-------------
22380 tests/test_properties.py | 9 +++++++++
22381 2 files changed, 22 insertions(+), 13 deletions(-)
22383 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
22384 Author: Martin Pitt <martin.pitt@ubuntu.com>
22385 Date: Mon Jan 17 17:52:15 2011 +0100
22387 Fix handling of unicode for GtkTreeModels
22389 The code previously converted an unicode object into unicode, but
22391 models actually have to specify 'str' (GTK expects a gchararray). So
22393 UTF-8 instead to get what GTK expects.
22395 Add corresponding test case.
22397 gi/overrides/Gtk.py | 2 +-
22398 tests/test_overrides.py | 12 +++++++++++-
22399 2 files changed, 12 insertions(+), 2 deletions(-)
22401 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
22402 Author: Laszlo Pandy <lpandy@src.gnome.org>
22403 Date: Mon Jan 17 16:46:08 2011 +0100
22405 In IntrospectionModule and DynamicModule classes, make all instance
22406 attributes start with an underscore.
22408 This changes IntrospectionModule.version to _version and
22409 DynamicModule.introspection_module to _introspection_module.
22410 This is done to mark the attributes as private, and also avoid name
22411 collisions with attributes from the typelib.
22412 In Gstreamer, there is a function gst_version, which was previously
22413 inaccessible because of IntrospectionModule.version overriding it.
22415 gi/module.py | 26 +++++++++++++-------------
22416 gi/overrides/GIMarshallingTests.py | 2 +-
22417 gi/overrides/GLib.py | 2 +-
22418 gi/overrides/Gdk.py | 10 +++++-----
22419 gi/overrides/Gtk.py | 2 +-
22420 gi/overrides/Pango.py | 2 +-
22421 gi/overrides/__init__.py | 2 +-
22422 tests/test_everything.py | 2 +-
22423 8 files changed, 24 insertions(+), 24 deletions(-)
22425 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
22426 Author: Laszlo Pandy <lpandy@src.gnome.org>
22427 Date: Mon Jan 17 16:17:25 2011 +0100
22429 Amend previous enum wrapping commit to remove redundant setting of
22430 __info__ attribute.
22432 gi/module.py | 2 +-
22433 gi/types.py | 6 +++---
22434 2 files changed, 4 insertions(+), 4 deletions(-)
22436 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
22437 Author: Martin Pitt <martin.pitt@ubuntu.com>
22438 Date: Mon Jan 17 16:16:45 2011 +0100
22440 pygi-convert.sh: Handle GdkPixbuf.InterpType
22442 pygi-convert.sh | 2 ++
22443 1 file changed, 2 insertions(+)
22445 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
22446 Author: Laszlo Pandy <laszlok2@gmail.com>
22447 Date: Mon Jan 17 15:43:34 2011 +0100
22449 Fix wrapping of enums: Create new Python type for each non-gtype enum.
22451 Previously non-gtype enums used the same class, which meant they
22452 were all the same type.
22453 This caused another problem that since they were all the same class,
22454 attributes from different enums were available from each other.
22456 A new test case is created to check for this bug. It requires a new
22457 enum from the GIMarshallingTests (updating gobject-introspection
22460 gi/module.py | 2 +-
22462 tests/test_gi.py | 10 ++++++++++
22463 3 files changed, 13 insertions(+), 1 deletion(-)
22465 commit da50d5620a42046d4fc905bb28a0890d73533cb1
22466 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22467 Date: Mon Dec 13 18:03:51 2010 +0100
22469 Use g_vfunc_info_invoke for chaining up in vfuncs
22471 https://bugzilla.gnome.org/show_bug.cgi?id=637165
22473 gi/pygi-info.c | 4 ++--
22474 gi/pygi-invoke.c | 72
22475 +++++++++++++++++++++++++++++++++++++++++++-------------
22476 gi/pygi-invoke.h | 3 ++-
22477 gi/types.py | 28 +++++++++++++++++++++-
22478 tests/test_gi.py | 5 ++--
22479 5 files changed, 89 insertions(+), 23 deletions(-)
22481 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
22482 Author: Simon van der Linden <svdlinden@gnome.org>
22483 Date: Fri Dec 31 18:38:04 2010 +0100
22485 Move pyglib_{main_context, option_context, option_group}_new into
22488 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
22490 when used inside the glib module, since pyglib_init is not called.
22492 pyglib.c is compiled as a stand-alone library loaded by the _glib
22494 declares the above-mentioned types. Hence, they cannot be accessed
22496 former. This patch moves the functions that need those symbols
22498 glib._glib module and exports them to the pyglib library through
22501 https://bugzilla.gnome.org/show_bug.cgi?id=636656
22503 glib/glibmodule.c | 5 ++++-
22504 glib/pyglib-private.h | 3 +++
22506 +++---------------------------------------------
22507 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
22508 glib/pygmaincontext.h | 2 +-
22509 glib/pygmainloop.c | 2 +-
22510 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
22511 glib/pygoptioncontext.h | 2 ++
22512 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
22513 glib/pygoptiongroup.h | 2 ++
22514 glib/pygsource.c | 2 +-
22515 11 files changed, 86 insertions(+), 49 deletions(-)
22517 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
22518 Author: Martin Pitt <martin.pitt@ubuntu.com>
22519 Date: Mon Jan 17 14:51:26 2011 +0100
22521 pygi-convert.sh: Handle Gdk.DragAction
22523 pygi-convert.sh | 1 +
22524 1 file changed, 1 insertion(+)
22526 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
22527 Author: Martin Pitt <martin.pitt@ubuntu.com>
22528 Date: Mon Jan 17 14:46:58 2011 +0100
22530 pygi-convert.sh: Generalize Gtk.Settings migration
22532 There are other GSettings.get_* functions like get_for_screen().
22534 pygi-convert.sh | 2 +-
22535 1 file changed, 1 insertion(+), 1 deletion(-)
22537 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
22538 Author: Martin Pitt <martin.pitt@ubuntu.com>
22539 Date: Mon Jan 17 11:22:46 2011 +0100
22541 pygi-convert.sh: Don't change the name of "glib" submodules
22543 This particular affects dbus.mainloop.glib.*
22545 pygi-convert.sh | 2 +-
22546 1 file changed, 1 insertion(+), 1 deletion(-)
22548 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
22549 Author: Paolo Borelli <pborelli@gnome.org>
22550 Date: Sun Jan 16 22:09:56 2011 +0100
22552 Plug another memory leak
22554 Do not leak interface info in (g|s)_et_property.
22556 gi/pygi-property.c | 4 ++++
22557 1 file changed, 4 insertions(+)
22559 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
22560 Author: Paolo Borelli <pborelli@gnome.org>
22561 Date: Sun Jan 16 21:43:30 2011 +0100
22563 Plug a small memory leak.
22565 Do not leak type_info in find_vfunc_info
22567 gi/gimodule.c | 10 +++++-----
22568 1 file changed, 5 insertions(+), 5 deletions(-)
22570 commit d0cbcc45366d40702c69cef207d3c0f361260c02
22571 Author: Paolo Borelli <pborelli@gnome.org>
22572 Date: Sun Jan 16 12:16:31 2011 +0100
22574 Override Table.attach() to behave like pygtk
22576 It is fairly common and even gtk itself still has attach_defaults.
22578 gi/overrides/Gtk.py | 3 +++
22579 tests/test_overrides.py | 4 ++++
22580 2 files changed, 7 insertions(+)
22582 commit 6409d659326bf3cefdf6051379e8bc2031f16733
22583 Author: Martin Pitt <martin.pitt@ubuntu.com>
22584 Date: Sat Jan 15 11:20:23 2011 -0600
22586 pygi-convert.sh: Convert Pango.WrapMode
22588 pygi-convert.sh | 1 +
22589 1 file changed, 1 insertion(+)
22591 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
22592 Author: Martin Pitt <martin.pitt@ubuntu.com>
22593 Date: Sat Jan 15 11:17:09 2011 -0600
22595 pygi-convert.sh: Don't change the name of "gtk" submodules
22597 Some projects have local modules like "myproject.ui.gtk". Avoid
22599 just change module names which start with "gtk" or "gdk".
22601 pygi-convert.sh | 4 ++--
22602 1 file changed, 2 insertions(+), 2 deletions(-)
22604 commit 9be0f1f2dfb89150faf1827ef482feea03645149
22605 Author: John (J5) Palmieri <johnp@redhat.com>
22606 Date: Thu Jan 13 23:56:19 2011 -0500
22608 [gi] implement aux arg handling for array lengths
22610 gi/pygi-argument.c | 8 ++++++++
22611 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
22612 gi/pygi-cache.h | 1 -
22613 gi/pygi-invoke.c | 8 ++++++--
22614 4 files changed, 42 insertions(+), 11 deletions(-)
22616 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
22617 Author: John (J5) Palmieri <johnp@redhat.com>
22618 Date: Thu Jan 13 21:07:25 2011 -0500
22620 [gi] marshal in hashes
22622 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
22623 gi/pygi-cache.c | 122
22624 +++++++++++++++++++++++++++++++++++++----------------
22625 2 files changed, 176 insertions(+), 39 deletions(-)
22627 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
22628 Author: Laszlo Pandy <git@laszlopandy.com>
22629 Date: Tue Jan 11 21:41:47 2011 +0100
22631 Fix the __dir__() methods on DynamicModule and IntrospectionModule
22633 Previously the __dir__() methods did not list all attributes.
22634 A simple test case is included. It does not test to see if
22635 every attribute is listed, it just tests a few of each kind:
22636 - (wrapped) typelib attributes
22637 - class attributes and methods
22638 - instance attributes
22640 A set() is used to avoid returning duplicate attributes.
22641 The test case checks for this as well.
22643 https://bugzilla.gnome.org/show_bug.cgi?id=639229
22645 gi/module.py | 28 +++++++++++++++++++++-------
22646 tests/test_everything.py | 18 ++++++++++++++++++
22647 2 files changed, 39 insertions(+), 7 deletions(-)
22649 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
22650 Author: Paolo Borelli <pborelli@gnome.org>
22651 Date: Thu Jan 13 00:02:20 2011 +0100
22653 pygi-convert.sh: handle ReliefStyle
22655 pygi-convert.sh | 1 +
22656 1 file changed, 1 insertion(+)
22658 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
22659 Author: John (J5) Palmieri <johnp@redhat.com>
22660 Date: Wed Jan 12 16:50:30 2011 -0500
22662 [gi] support for GList and GSList in
22664 gi/pygi-argument.c | 122
22665 ++++++++++++++++++++++++++++++++++++++++++++++++++---
22666 1 file changed, 116 insertions(+), 6 deletions(-)
22668 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
22669 Author: John (J5) Palmieri <johnp@redhat.com>
22670 Date: Wed Jan 12 16:24:17 2011 -0500
22672 [gi] handle allow_none for all args
22674 gi/pygi-cache.c | 3 ++-
22675 gi/pygi-cache.h | 1 +
22676 gi/pygi-invoke.c | 7 +++++++
22677 3 files changed, 10 insertions(+), 1 deletion(-)
22679 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
22680 Author: John (J5) Palmieri <johnp@redhat.com>
22681 Date: Wed Jan 12 16:23:02 2011 -0500
22683 [gi] fix marshalling fixed arrays
22685 * get the correct item_size and pass the GArray data not the GArray
22687 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
22688 gi/pygi-cache.c | 3 ++-
22689 2 files changed, 24 insertions(+), 18 deletions(-)
22691 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
22692 Author: John (J5) Palmieri <johnp@redhat.com>
22693 Date: Tue Jan 11 17:20:43 2011 -0500
22695 [gi] implement out arg handling
22697 gi/pygi-argument.c | 43 ++++++++++---------------------------
22698 gi/pygi-cache.c | 22 ++++++++++++++-----
22699 gi/pygi-invoke-state-struct.h | 13 +++++++++++
22700 gi/pygi-invoke.c | 50
22701 +++++++++++++++++++++++++++++++++++++++++--
22702 4 files changed, 89 insertions(+), 39 deletions(-)
22704 commit bd002c72675d35b5e60ab773181e7c36c30d2625
22705 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22706 Date: Tue Jan 11 22:21:18 2011 +0100
22708 setup.py: fix the provides keyword argument
22711 1 file changed, 1 insertion(+), 1 deletion(-)
22713 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
22714 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22715 Date: Tue Jan 11 22:19:18 2011 +0100
22717 setup.py: use the same spaces-less format for all setup() parameters
22719 setup.py | 8 ++++----
22720 1 file changed, 4 insertions(+), 4 deletions(-)
22722 commit c5c149be171895d292852df364541f14f0ec423a
22723 Author: John (J5) Palmieri <johnp@redhat.com>
22724 Date: Tue Jan 11 15:39:09 2011 -0500
22726 [gi] implemented return marshalling and started on out marshalling
22728 gi/pygi-argument.c | 387
22729 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
22730 gi/pygi-argument.h | 117 ++++++++++++++++
22731 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
22732 gi/pygi-cache.h | 8 +-
22733 gi/pygi-invoke.c | 12 +-
22734 5 files changed, 829 insertions(+), 11 deletions(-)
22736 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
22737 Author: John (J5) Palmieri <johnp@redhat.com>
22738 Date: Tue Jan 11 13:49:58 2011 -0500
22740 [gi] flesh out interface in marshalling a bit more
22742 gi/pygi-argument.c | 74
22743 ++++++++++++++++++++++++++++++++++++++++----------
22744 gi/pygi-cache.c | 79
22745 ++++++++++++++++++++++++++++++++++++++++++------------
22746 gi/pygi-cache.h | 1 +
22747 3 files changed, 123 insertions(+), 31 deletions(-)
22749 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
22750 Author: Laszlo Pandy <laszlok2@gmail.com>
22751 Date: Tue Jan 11 19:30:38 2011 +0100
22753 Add a __repr__() method to DynamicModule.
22755 This patch adds a __repr__() method to DynamicModule so that modules
22757 meaningful string with the typelib path included:
22759 >>> from gi.repository import Gtk
22761 <gi.module.DynamicModule 'Gtk' from
22762 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
22764 https://bugzilla.gnome.org/show_bug.cgi?id=639232
22766 gi/module.py | 9 +++++++++
22767 1 file changed, 9 insertions(+)
22769 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
22770 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22771 Date: Tue Jan 11 19:40:19 2011 +0100
22773 Go back to using getattr() in DynamicModule.__getattr__
22775 Breaks marshalling of some types
22777 gi/module.py | 2 +-
22778 1 file changed, 1 insertion(+), 1 deletion(-)
22780 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
22781 Author: Laszlo Pandy <laszlok2@gmail.com>
22782 Date: Tue Jan 11 19:26:50 2011 +0100
22784 Change __dir__() to report all the attributes that __getattr__
22787 Change DynamicModule.__dir__() to return the local class members as
22789 typelib attributes.
22791 Change DynamicModule.__getattr__() to call
22792 IntrospectionModule.__getattr__()
22793 directly, so that it won't inadvertently return class attributes from
22794 IntrospectionModule.
22796 https://bugzilla.gnome.org/show_bug.cgi?id=639229
22798 gi/module.py | 10 +++++++---
22799 1 file changed, 7 insertions(+), 3 deletions(-)
22801 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
22802 Author: John (J5) Palmieri <johnp@redhat.com>
22803 Date: Mon Jan 10 17:55:03 2011 -0500
22805 [gi] add object and interface in marshalling
22807 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
22810 gi/pygi-argument.c | 15 +++--
22811 gi/pygi-cache.c | 182
22812 ++++++++++++++++++++++++++++++++++++++++++++++++-----
22813 gi/pygi-cache.h | 1 -
22814 gi/pygi-invoke.c | 1 +
22815 4 files changed, 178 insertions(+), 21 deletions(-)
22817 commit 88531c58d0491a31dd319387237a03df5c9edc07
22818 Author: John (J5) Palmieri <johnp@redhat.com>
22819 Date: Mon Jan 10 15:33:56 2011 -0500
22821 [gi] fix casting when marshaling a char to uint8
22823 gi/pygi-argument.c | 2 +-
22824 1 file changed, 1 insertion(+), 1 deletion(-)
22826 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
22827 Author: John (J5) Palmieri <johnp@redhat.com>
22828 Date: Mon Jan 10 15:07:16 2011 -0500
22830 [gi] hook up invoke to the cache
22832 * We now can invoke with in values
22833 * out, constructors and returns still don't work along with numerous
22837 gi/Makefile.am | 1 +
22838 gi/pygi-argument.c | 60 +++++++++--------
22839 gi/pygi-argument.h | 60 ++++++++---------
22840 gi/pygi-cache.h | 6 +-
22841 gi/pygi-invoke-state-struct.h | 26 ++++++++
22842 gi/pygi-invoke.c | 149
22843 ++++++++++++++++++++++++++++++++----------
22844 gi/pygi-invoke.h | 2 +-
22845 gi/pygi-private.h | 1 +
22846 8 files changed, 208 insertions(+), 97 deletions(-)
22848 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
22849 Author: John (J5) Palmieri <johnp@redhat.com>
22850 Date: Sun Jan 9 19:37:55 2011 -0500
22852 hooked up caching stage and fixed segfaults
22854 * caching stage is hooked up but not used yet
22855 * throws exceptions for everything that can not be cached yet
22857 gi/pygi-cache.c | 59
22858 +++++++++++++++++++++++++++++++++++++++++++-------------
22859 gi/pygi-info.c | 3 +++
22860 gi/pygi-invoke.c | 5 +++++
22862 4 files changed, 56 insertions(+), 13 deletions(-)
22864 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
22865 Author: John (J5) Palmieri <johnp@redhat.com>
22866 Date: Sun Jan 9 18:05:31 2011 -0500
22868 [gi] fix some function names
22870 gi/pygi-cache.c | 5 ++---
22871 1 file changed, 2 insertions(+), 3 deletions(-)
22873 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
22874 Author: John (J5) Palmieri <johnp@redhat.com>
22875 Date: Sun Jan 9 15:58:06 2011 -0500
22877 [gi] refactor cache structs so they inherit from ArgCache
22879 gi/pygi-argument.c | 122 +++++++++----------
22880 gi/pygi-cache.c | 344
22881 +++++++++++++++++++++++++++++------------------------
22882 gi/pygi-cache.h | 50 ++++----
22883 3 files changed, 273 insertions(+), 243 deletions(-)
22885 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
22886 Author: John (J5) Palmieri <johnp@redhat.com>
22887 Date: Sat Jan 8 20:45:11 2011 -0500
22889 [gi]fix cache compile error - now compiles but cache still not
22892 gi/Makefile.am | 2 +
22893 gi/pygi-argument.c | 100 +++++++++++++++---------------
22894 gi/pygi-argument.h | 174
22895 ++++++++++++++++++++++++++++++++++++++++++++---------
22896 gi/pygi-cache.c | 169
22897 +++++++++++++++++++++++++--------------------------
22898 gi/pygi-cache.h | 25 ++++----
22899 5 files changed, 293 insertions(+), 177 deletions(-)
22901 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
22902 Author: John (J5) Palmieri <johnp@redhat.com>
22903 Date: Sat Jan 8 19:10:29 2011 -0500
22905 add sequence caching and array marshalling w/ item marshalling
22907 * simplify what we pass into the arg cache generators so we may
22909 for geneating marshalling caches for container items, not just
22912 gi/pygi-argument.c | 76 ++++++++++++++++-
22913 gi/pygi-cache.c | 242
22914 ++++++++++++++++++++++-------------------------------
22915 gi/pygi-cache.h | 4 +-
22916 3 files changed, 175 insertions(+), 147 deletions(-)
22918 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
22919 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
22920 Date: Sat Jan 8 02:19:52 2011 +0000
22922 Bump the minimum gio dependency
22924 Needed for G_TYPE_CONVERTER_FLAGS and others.
22926 configure.ac | 2 +-
22927 1 file changed, 1 insertion(+), 1 deletion(-)
22929 commit c3aa36151fdef9ed9884d93114786bbe86387983
22930 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
22931 Date: Fri Jan 7 12:58:11 2011 +0100
22933 Add test for incorrect attributes in Gdk.Event
22935 tests/test_overrides.py | 4 ++++
22936 1 file changed, 4 insertions(+)
22938 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
22939 Author: Simon van der Linden <svdlinden@gnome.org>
22940 Date: Sun Jan 2 19:25:55 2011 +0100
22942 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
22944 __getattr__ is only called when the attribute is not found through
22946 mechanism, so getattr must not be called again in __getattr__
22948 create an infinite loop).
22950 Another possibility would be to implement __getattribute__ instead,
22952 called in place of the normal mechanism. In that case, calling
22954 needed for normal attributes.
22956 https://bugzilla.gnome.org/show_bug.cgi?id=638523
22958 gi/overrides/Gdk.py | 2 +-
22959 1 file changed, 1 insertion(+), 1 deletion(-)
22961 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
22962 Author: Mike Gorse <mgorse@novell.com>
22963 Date: Fri Jan 7 09:08:31 2011 +0100
22965 Release allocated array of arguments when handling closures
22967 https://bugzilla.gnome.org/show_bug.cgi?id=638847
22969 gi/pygi-closure.c | 3 +++
22970 1 file changed, 3 insertions(+)
22972 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
22973 Author: Mike Gorse <mgorse@novell.com>
22974 Date: Fri Jan 7 09:07:35 2011 +0100
22976 Release GIValueInfo when checking an enum argument
22978 https://bugzilla.gnome.org/show_bug.cgi?id=638847
22980 gi/pygi-argument.c | 1 +
22981 1 file changed, 1 insertion(+)
22983 commit 43849c51391fc9cd239697065c3d40fa02fb6783
22984 Author: John (J5) Palmieri <johnp@redhat.com>
22985 Date: Thu Jan 6 17:30:14 2011 -0500
22989 gi/pygi-cache.c | 24 ++++++++++++------------
22990 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
22991 2 files changed, 33 insertions(+), 33 deletions(-)
22993 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
22994 Author: John (J5) Palmieri <johnp@redhat.com>
22995 Date: Thu Jan 6 17:29:00 2011 -0500
22997 add marshalling for basic types and add more skeleton code
22999 * still doesn't compile
23001 gi/pygi-argument.c | 708
23002 +++++++++++++++++++++++++++++++++++++++++++++++++++++
23003 gi/pygi-argument.h | 35 ++-
23004 gi/pygi-cache.c | 82 +++++--
23005 gi/pygi-cache.h | 41 +++-
23006 4 files changed, 832 insertions(+), 34 deletions(-)
23008 commit f554cf62848104d31518138ae85bc51acaafda67
23009 Author: John (J5) Palmieri <johnp@redhat.com>
23010 Date: Tue Jan 4 18:49:53 2011 -0500
23012 first checkin of the new caching branch
23014 * this does not compile and is not hooked up to the build system
23015 * lays out the caching data structures and some skeleton functions
23017 gi/pygi-cache.c | 480
23018 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23019 gi/pygi-cache.h | 104 ++++++++++++
23020 2 files changed, 584 insertions(+)
23022 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
23023 Author: Eitan Isaacson <eitan@monotonous.org>
23024 Date: Wed Dec 22 12:34:10 2010 -0800
23026 Respect different type lengths when assigning out-argument pointers.
23028 https://bugzilla.gnome.org/show_bug.cgi?id=637832
23030 gi/pygi-closure.c | 66
23031 ++++++++++++++++++++++++++++++++++++++++++++++---------
23032 1 file changed, 56 insertions(+), 10 deletions(-)
23034 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
23035 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23036 Date: Tue Dec 28 18:34:25 2010 +0100
23038 Fix stupid name clash
23040 gi/module.py | 7 +++++--
23041 1 file changed, 5 insertions(+), 2 deletions(-)
23043 commit 01b2a193d403beb861eab524300b4f1af63157ce
23044 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23045 Date: Tue Dec 28 13:49:18 2010 +0100
23047 Add /usr/share to XDG_DATA_DIRS when running the tests
23049 tests/Makefile.am | 7 ++++++-
23050 1 file changed, 6 insertions(+), 1 deletion(-)
23052 commit efc186f692f9eac781cc47456be74a3da7f14dcd
23053 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23054 Date: Tue Dec 28 13:25:34 2010 +0100
23056 Comment out tests that require SRV lookups
23058 tests/test_gresolver.py | 5 ++++-
23059 1 file changed, 4 insertions(+), 1 deletion(-)
23061 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
23062 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23063 Date: Tue Dec 28 13:00:16 2010 +0100
23065 Use suppresion file when running valgrind
23067 tests/Makefile.am | 2 +-
23068 tests/python.supp | 387
23069 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
23070 2 files changed, 388 insertions(+), 1 deletion(-)
23072 commit 0ee58113ecbea72784c52de928c041fc8fc88984
23073 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23074 Date: Thu Dec 23 00:10:41 2010 +0100
23078 gi/pygi-argument.c | 16 +++++++---------
23079 gi/pygi-foreign-cairo.c | 13 ++-----------
23080 gio/gfile.override | 5 ++---
23081 glib/pyglib-python-compat.h | 3 +++
23082 glib/pyglib.c | 2 +-
23083 glib/pygmainloop.c | 3 ++-
23084 6 files changed, 17 insertions(+), 25 deletions(-)
23086 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
23087 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
23088 Date: Sun Dec 19 23:10:57 2010 +0100
23090 Allow comparing Gtk.TreePath to None
23092 https://bugzilla.gnome.org/show_bug.cgi?id=637615
23094 gi/overrides/Gtk.py | 12 ++++++------
23095 tests/test_overrides.py | 6 ++++++
23096 2 files changed, 12 insertions(+), 6 deletions(-)
23098 commit 046cc5915286e042d1040271a90676b77632409e
23099 Author: John (J5) Palmieri <johnp@redhat.com>
23100 Date: Thu Dec 16 15:41:10 2010 -0500
23102 handle unicode objects in properties
23104 * There are still some cavets in Python 2:
23105 - properties are returned as String objects with the unicode
23107 - you must add # coding=utf-8 to the top of your python file
23109 will error out if it sees embeded unicode charaters (such as when
23110 supporting python 3 and python 2 from the same source)
23112 https://bugzilla.gnome.org/show_bug.cgi?id=620579
23114 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
23115 tests/test_properties.py | 16 ++++++++++++++++
23116 2 files changed, 42 insertions(+), 9 deletions(-)
23118 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
23119 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23120 Date: Tue Dec 14 12:29:54 2010 +0100
23122 dsextras.py: check if gcc is there when platform is win32 and compiler
23125 dsextras.py | 6 ++++++
23126 1 file changed, 6 insertions(+)
23128 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
23129 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23130 Date: Tue Dec 14 12:29:01 2010 +0100
23132 dsextras.py: be consistent in how distutils imports are done
23134 dsextras.py | 6 +++---
23135 1 file changed, 3 insertions(+), 3 deletions(-)
23137 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
23138 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23139 Date: Tue Dec 14 12:25:07 2010 +0100
23141 dsextras.py: add have_gcc() function
23143 dsextras.py | 5 +++++
23144 1 file changed, 5 insertions(+)
23146 commit 637c2c287cfb0e89365026531c651111f5593ac7
23147 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23148 Date: Tue Dec 14 12:24:41 2010 +0100
23150 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
23152 dsextras.py | 8 ++------
23153 1 file changed, 2 insertions(+), 6 deletions(-)
23155 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
23156 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23157 Date: Tue Dec 14 12:22:54 2010 +0100
23159 setup.py: fix another case of use True/False instead of 1/0
23162 1 file changed, 1 insertion(+), 1 deletion(-)
23164 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
23165 Author: Paolo Borelli <pborelli@gnome.org>
23166 Date: Mon Dec 13 10:21:52 2010 +0100
23168 pygi-convert.sh: improve GtkSourceView conversion
23170 pygi-convert.sh | 7 +++++++
23171 1 file changed, 7 insertions(+)
23173 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
23174 Author: Paolo Borelli <pborelli@gnome.org>
23175 Date: Mon Dec 13 10:27:56 2010 +0100
23177 pygi-convert.sh: Gtk.DialogFlags conversion
23179 pygi-convert.sh | 1 +
23180 1 file changed, 1 insertion(+)
23182 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
23183 Author: José Alburquerque <jaalburqu@svn.gnome.org>
23184 Date: Sun Dec 12 20:38:46 2010 -0500
23186 Doc Extractor: Print the gtk-doc blocks sorted by function name.
23188 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
23190 alphabetical order according to the identifier (function name)
23192 the generation of xml files in the C++ bindings is deterministic.
23193 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm
23196 codegen/docextract_to_xml.py | 2 +-
23197 1 file changed, 1 insertion(+), 1 deletion(-)
23199 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
23200 Author: Paolo Borelli <pborelli@gnome.org>
23201 Date: Mon Dec 13 00:17:26 2010 +0100
23203 pygi-convert.sh: add more Gtk conversions and sort
23205 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
23206 1 file changed, 26 insertions(+), 24 deletions(-)
23208 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
23209 Author: Paolo Borelli <pborelli@gnome.org>
23210 Date: Mon Dec 13 00:01:40 2010 +0100
23212 pygi-convert.sh: convert Atk
23214 pygi-convert.sh | 12 ++++++++++++
23215 1 file changed, 12 insertions(+)
23217 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
23218 Author: Paolo Borelli <pborelli@gnome.org>
23219 Date: Sun Dec 12 23:48:48 2010 +0100
23221 pygi-convert.sh: convert a few more Gio types
23223 pygi-convert.sh | 9 +++++++++
23224 1 file changed, 9 insertions(+)
23226 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
23227 Author: Paolo Borelli <pborelli@gnome.org>
23228 Date: Sun Dec 12 14:19:00 2010 +0100
23230 pygi-convert.sh: more GLib conversion
23232 pygi-convert.sh | 7 +++++++
23233 1 file changed, 7 insertions(+)
23235 commit c903390814bebdc62d530472f6f94feecc59b8b3
23236 Author: Paolo Borelli <pborelli@gnome.org>
23237 Date: Sun Dec 12 14:00:34 2010 +0100
23239 pygi-convert.sh: remove two cases handled by overrides
23241 pygi-convert.sh | 2 --
23242 1 file changed, 2 deletions(-)
23244 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
23245 Author: Paolo Borelli <pborelli@gnome.org>
23246 Date: Sun Dec 12 13:38:56 2010 +0100
23248 Override Gtk.ScrolledWindow constructor
23250 gi/overrides/Gtk.py | 7 +++++++
23251 tests/test_overrides.py | 7 +++++++
23252 2 files changed, 14 insertions(+)
23254 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
23255 Author: Paolo Borelli <pborelli@gnome.org>
23256 Date: Sun Dec 12 12:32:39 2010 +0100
23258 pygi-convert.sh: Fix 'find' syntax
23260 pygi-convert.sh | 2 +-
23261 1 file changed, 1 insertion(+), 1 deletion(-)
23263 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
23264 Author: Paolo Borelli <pborelli@gnome.org>
23265 Date: Sun Dec 12 12:29:38 2010 +0100
23267 pygi-convert.sh: start handling Gio and GLib
23269 pygi-convert.sh | 8 ++++++++
23270 1 file changed, 8 insertions(+)
23272 commit 365bf3251af3498dc797a58cce071805451b49b1
23273 Author: Paolo Borelli <pborelli@gnome.org>
23274 Date: Sat Dec 11 23:05:31 2010 +0100
23276 pygi-convert.sh: convert Gdk.ScrollDirection.
23278 pygi-convert.sh | 1 +
23279 1 file changed, 1 insertion(+)
23281 commit bca603de0f217fb290189a0ea330f82961c46d5d
23282 Author: Paolo Borelli <pborelli@gnome.org>
23283 Date: Sat Dec 11 15:03:21 2010 +0100
23285 Override Pango.Layout constructor.
23287 I must take a Pango.Context argument. Unfortumately the context is
23289 gobject property so we need to jump through some oops.
23291 gi/overrides/Pango.py | 13 +++++++++++++
23292 tests/test_overrides.py | 6 ++++++
23293 2 files changed, 19 insertions(+)
23295 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
23296 Author: Paolo Borelli <pborelli@gnome.org>
23297 Date: Sat Dec 11 14:18:53 2010 +0100
23299 Remove Pango.FontDescription() conversion.
23301 It is now properly handled by an override.
23303 pygi-convert.sh | 1 -
23304 1 file changed, 1 deletion(-)
23306 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
23307 Author: Paolo Borelli <pborelli@gnome.org>
23308 Date: Fri Dec 10 14:05:20 2010 +0100
23310 Override GtkAction and GtkRadioAction constructors.
23312 gi/overrides/Gtk.py | 20 +++++++++++++++++---
23313 tests/test_overrides.py | 18 ++++++++++++++++++
23314 2 files changed, 35 insertions(+), 3 deletions(-)
23316 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
23317 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
23318 Date: Sat Dec 4 22:13:28 2010 +0000
23320 Override Adjustment constructor to behave like pygtk
23322 https://bugzilla.gnome.org/show_bug.cgi?id=636486
23324 gi/overrides/Gtk.py | 7 +++++++
23325 tests/test_overrides.py | 9 +++++++++
23326 2 files changed, 16 insertions(+)
23328 commit e76352dd83c8706e68ad57d00d185da9afea99c4
23329 Author: John (J5) Palmieri <johnp@redhat.com>
23330 Date: Thu Dec 9 13:23:10 2010 -0500
23332 add secondary_text apis to MessageDialog
23334 gi/overrides/Gtk.py | 8 ++++++++
23335 tests/test_overrides.py | 8 ++++++++
23336 2 files changed, 16 insertions(+)
23338 commit de682b2d36c362140ab7d43c0743b01ec0865a74
23339 Author: John (J5) Palmieri <johnp@redhat.com>
23340 Date: Wed Dec 8 16:39:27 2010 -0500
23342 [gi] get rid of some debug prints and fix error messages
23344 gi/overrides/Gtk.py | 7 +++----
23345 1 file changed, 3 insertions(+), 4 deletions(-)
23347 commit dbb16571803bf51f497768bf80944514f4290ee5
23348 Author: Paolo Borelli <pborelli@gnome.org>
23349 Date: Wed Dec 8 18:25:15 2010 +0100
23351 Fix demo for override changes.
23353 demos/gtk-demo/gtk-demo.py | 5 +++--
23354 1 file changed, 3 insertions(+), 2 deletions(-)
23356 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
23357 Author: Paolo Borelli <pborelli@gnome.org>
23358 Date: Wed Dec 8 18:06:01 2010 +0100
23360 Override Pango.FontDescription.
23362 demos/gtk-demo/gtk-demo.py | 2 +-
23363 gi/overrides/Makefile.am | 1 +
23364 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
23365 tests/test_overrides.py | 7 +++++++
23366 4 files changed, 49 insertions(+), 1 deletion(-)
23368 commit 769da968c9187414d0420412d8fb8c833d12042a
23369 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
23370 Date: Wed Dec 8 17:38:11 2010 +0100
23372 Stop checking that all vfuncs are implemented
23374 Because some methods are optionally implementable but g-i won't
23377 https://bugzilla.gnome.org/show_bug.cgi?id=619606
23379 gi/gimodule.c | 4 +++-
23380 gi/types.py | 12 ++----------
23381 tests/test_gi.py | 10 ----------
23382 3 files changed, 5 insertions(+), 21 deletions(-)
23384 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
23385 Author: Paolo Borelli <pborelli@gnome.org>
23386 Date: Wed Dec 8 17:37:00 2010 +0100
23388 Fix usage of TreeIter api that is now an override.
23390 demos/gtk-demo/gtk-demo.py | 6 +++---
23391 1 file changed, 3 insertions(+), 3 deletions(-)
23393 commit d2cfd6e9250d40de7c715ac74e299deddf137683
23394 Author: Paolo Borelli <pborelli@gnome.org>
23395 Date: Wed Dec 8 17:34:54 2010 +0100
23397 Fix Gtk.Label(label="Foo")
23399 Use 'label' as an argument name instead of 'str', otherwise we may
23400 end up up with two 'label' in the kwds dict. Besides 'str' is a
23403 gi/overrides/Gtk.py | 4 ++--
23404 1 file changed, 2 insertions(+), 2 deletions(-)
23406 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
23407 Author: Paolo Borelli <pborelli@gnome.org>
23408 Date: Wed Dec 8 14:16:39 2010 +0100
23410 Fix typo when raising an exception
23413 1 file changed, 1 insertion(+), 1 deletion(-)
23415 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
23416 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23417 Date: Wed Dec 8 10:46:27 2010 +0100
23419 pygi-convert.sh: Added more conversions
23421 pygi-convert.sh | 14 ++++++++++++++
23422 1 file changed, 14 insertions(+)
23424 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
23425 Author: Paolo Borelli <pborelli@gnome.org>
23426 Date: Tue Dec 7 20:39:15 2010 +0100
23428 Override LinkButton constructor to make 'uri' mandatory
23430 gi/overrides/Gtk.py | 7 +++++++
23431 tests/test_overrides.py | 6 ++++++
23432 2 files changed, 13 insertions(+)
23434 commit f4f7fb35af1b41598dc050f5df155a01c370a920
23435 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
23436 Date: Sat Dec 4 19:19:19 2010 +0600
23438 Container should be iterable.
23440 gi/overrides/Gtk.py | 9 +++++++++
23441 tests/test_overrides.py | 6 +++++-
23442 2 files changed, 14 insertions(+), 1 deletion(-)
23444 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
23445 Author: Paolo Borelli <pborelli@gnome.org>
23446 Date: Tue Dec 7 14:13:00 2010 +0100
23448 No need to import Gdk
23450 gi/overrides/Gtk.py | 1 -
23451 1 file changed, 1 deletion(-)
23453 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
23454 Author: Paolo Borelli <pborelli@gnome.org>
23455 Date: Tue Dec 7 14:07:53 2010 +0100
23459 gi/overrides/Gtk.py | 7 +++----
23460 1 file changed, 3 insertions(+), 4 deletions(-)
23462 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
23463 Author: John (J5) Palmieri <johnp@redhat.com>
23464 Date: Mon Dec 6 16:05:30 2010 -0500
23466 [gi] make sure Gtk.Button override passes all keywords to parent
23469 gi/overrides/Gtk.py | 4 ++--
23470 1 file changed, 2 insertions(+), 2 deletions(-)
23472 commit cede81ad65db017e95543d8d35715751aa202fed
23473 Author: Paolo Borelli <pborelli@gnome.org>
23474 Date: Sun Dec 5 13:31:20 2010 +0100
23476 Fix cut&paste error in the Label override
23478 gi/overrides/Gtk.py | 2 +-
23479 1 file changed, 1 insertion(+), 1 deletion(-)
23481 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
23482 Author: Paolo Borelli <pborelli@gnome.org>
23483 Date: Sat Dec 4 16:03:27 2010 +0100
23485 pygi-convert.sh: handle TextWindowType
23487 pygi-convert.sh | 1 +
23488 1 file changed, 1 insertion(+)
23490 commit dfeabe0b68938e27da2e65903983b5113dc422f1
23491 Author: Paolo Borelli <pborelli@gnome.org>
23492 Date: Sat Dec 4 15:49:15 2010 +0100
23494 Override Label constructor to behave like pygtk
23496 gi/overrides/Gtk.py | 7 +++++++
23497 tests/test_overrides.py | 4 ++++
23498 2 files changed, 11 insertions(+)
23500 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
23501 Author: Paolo Borelli <pborelli@gnome.org>
23502 Date: Sat Dec 4 15:40:35 2010 +0100
23504 Override GtkTable constructor to behave like pygtk
23506 gi/overrides/Gtk.py | 7 +++++++
23507 tests/test_overrides.py | 12 ++++++++++++
23508 2 files changed, 19 insertions(+)
23510 commit 81452c23ab1befa59ff375692e582791432796a5
23511 Author: Paolo Borelli <pborelli@gnome.org>
23512 Date: Sat Dec 4 12:59:43 2010 +0100
23514 pygi-convert.sh: convert MovementStep
23516 pygi-convert.sh | 1 +
23517 1 file changed, 1 insertion(+)
23519 commit 4d097eea94258eda0c328711491fd456cbd6741b
23520 Author: Paolo Borelli <pborelli@gnome.org>
23521 Date: Sat Dec 4 11:57:02 2010 +0100
23523 Update Gdk overrides to work with latest Gtk+ 3
23525 For now added consitionals on version == 2.0, but maybe at some
23527 shuld just clean up the old stuff.
23529 gi/overrides/Gdk.py | 22 ++++++++++++++++------
23530 1 file changed, 16 insertions(+), 6 deletions(-)
23532 commit cda317195566711d66190145b545e26ed7226172
23533 Author: Johan Dahlin <johan@gnome.org>
23534 Date: Thu Dec 2 23:47:40 2010 -0200
23536 Gtk: add an override for Gtk.main_quit
23538 Override gtk.main_quit so that it can be used as a callback
23539 to signals, most importantly to the destroy signal of a widget:
23541 widget.connect('destroy', gtk.main_quit)
23543 This is compatible with what PyGTK does.
23545 https://bugzilla.gnome.org/show_bug.cgi?id=636336
23547 gi/overrides/Gtk.py | 5 ++++-
23548 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
23549 2 files changed, 29 insertions(+), 3 deletions(-)
23551 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
23552 Author: John (J5) Palmieri <johnp@redhat.com>
23553 Date: Thu Dec 2 16:27:04 2010 -0500
23555 [gi] handle subtypes when inserting into tree models
23557 * Often modules will give back basic types wrapped in a subtype.
23558 This is the case with D-Bus where you may want to keep some of the
23559 metadata around. More often than not, the developer is just looking
23560 to use the basetype.
23562 * This override checks the column type and handles basic types such as
23563 gchararrays, ints, longs, floats and doubles, converting them
23565 base types before sending them to the generic GI type marshaller.
23567 * More types may need to be supported but these are the common
23571 https://bugzilla.gnome.org/show_bug.cgi?id=635172
23573 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
23574 tests/test_overrides.py | 8 +++++++-
23575 2 files changed, 43 insertions(+), 3 deletions(-)
23577 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
23578 Author: Paolo Borelli <pborelli@gnome.org>
23579 Date: Fri Dec 3 23:39:50 2010 +0100
23581 Override TreeSelection.select_path and TreeView.scroll_to_cell
23583 The "path" argument may also be a string or a tuple
23585 gi/overrides/Gtk.py | 10 ++++++++++
23586 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
23587 2 files changed, 39 insertions(+)
23589 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
23590 Author: Paolo Borelli <pborelli@gnome.org>
23591 Date: Fri Dec 3 23:29:00 2010 +0100
23593 Override TreePath.__new__
23595 Instead of having a private _tree_path_from_string it is cleaner to
23596 override __new__ and it will be useful for all the api that take a
23597 TreePath or a string or a tuple.
23599 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
23600 tests/test_overrides.py | 18 ++++++++++++++++++
23601 2 files changed, 33 insertions(+), 18 deletions(-)
23603 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
23604 Author: Paolo Borelli <pborelli@gnome.org>
23605 Date: Sun Nov 28 13:02:30 2010 +0100
23607 Override Container to behave like a sequence
23609 gi/overrides/Gtk.py | 6 ++++++
23610 tests/test_overrides.py | 11 +++++++++++
23611 2 files changed, 17 insertions(+)
23613 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
23614 Author: John (J5) Palmieri <johnp@redhat.com>
23615 Date: Tue Nov 30 16:57:05 2010 -0500
23617 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
23620 * this patch does the recursion using the previous patche's support
23623 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
23624 1 file changed, 45 insertions(+), 10 deletions(-)
23626 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
23627 Author: Jonathan Matthew <jonathan@d14n.org>
23628 Date: Thu Jul 22 23:19:51 2010 +1000
23630 Recurse up through base classes when setting up vfuncs
23632 * this patch adds the support methods to do the recursion
23634 https://bugzilla.gnome.org/show_bug.cgi?id=625033
23636 gi/gimodule.c | 130
23637 ++++++++++++++++++++++++++++++++++++++++---------------
23638 tests/test_gi.py | 37 ++++++++++++++++
23639 2 files changed, 131 insertions(+), 36 deletions(-)
23641 commit 78358e1ab54d02317f397276adee03ecb2187588
23642 Author: John (J5) Palmieri <johnp@redhat.com>
23643 Date: Mon Nov 29 18:29:57 2010 -0500
23645 add a profiling torture test for when we fix up invoke
23647 tests/test_everything.py | 67
23648 ++++++++++++++++++++++++++++++++++++++++++++++++
23649 1 file changed, 67 insertions(+)
23651 commit 792e679c06df4357843fd310c7953a931172fc99
23652 Author: John (J5) Palmieri <johnp@redhat.com>
23653 Date: Mon Nov 29 16:41:38 2010 -0500
23655 moved dynamic and base modules outside of gtk-2.0 directory
23657 * do not move header files yet as they are mostly used by static
23659 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
23661 these back to pygtk but you might want to import gio static
23663 having to have pygtk installed
23664 * I have not tested this with pygtk, committing it so we can find
23666 causes any issues with legacy modules and code
23668 gi/Makefile.am | 2 +-
23669 gi/overrides/Makefile.am | 2 +-
23670 gi/repository/Makefile.am | 2 +-
23671 glib/Makefile.am | 2 +-
23672 gobject/Makefile.am | 2 +-
23673 tests/test_gi.py | 2 --
23674 tests/test_overrides.py | 3 ---
23675 7 files changed, 5 insertions(+), 10 deletions(-)
23677 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
23678 Author: John (J5) Palmieri <johnp@redhat.com>
23679 Date: Mon Nov 29 15:11:46 2010 -0500
23681 add test for inout argument count
23683 tests/test_gi.py | 1 +
23684 1 file changed, 1 insertion(+)
23686 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
23687 Author: John (J5) Palmieri <johnp@redhat.com>
23688 Date: Mon Nov 22 19:17:23 2010 -0500
23690 [gi] add check for UNICHAR
23692 https://bugzilla.gnome.org/show_bug.cgi?id=623615
23694 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
23695 tests/test_everything.py | 17 +++++++++++++++--
23696 2 files changed, 41 insertions(+), 3 deletions(-)
23698 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
23699 Author: Paolo Borelli <pborelli@gnome.org>
23700 Date: Sun Nov 21 12:16:53 2010 +0100
23704 https://bugzilla.gnome.org/show_bug.cgi?id=623615
23706 gi/pygi-argument.c | 60
23707 ++++++++++++++++++++++++++++++++++++++++++++++++
23708 gi/pygi-info.c | 5 ++++
23709 tests/test_everything.py | 5 ++++
23710 3 files changed, 70 insertions(+)
23712 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
23713 Author: Paolo Borelli <pborelli@gnome.org>
23714 Date: Sat Nov 27 23:01:42 2010 +0100
23716 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
23718 pygi-convert.sh | 1 +
23719 1 file changed, 1 insertion(+)
23721 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
23722 Author: Paolo Borelli <pborelli@gnome.org>
23723 Date: Sat Nov 27 22:34:13 2010 +0100
23725 pygi-convert.sh: handle "from gtk import gdk"
23727 pygi-convert.sh | 2 ++
23728 1 file changed, 2 insertions(+)
23730 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
23731 Author: Paolo Borelli <pborelli@gnome.org>
23732 Date: Sat Nov 27 22:23:24 2010 +0100
23734 pygi-convert.sh: add some Pango special cases
23736 pygi-convert.sh | 3 +++
23737 1 file changed, 3 insertions(+)
23739 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
23740 Author: Paolo Borelli <pborelli@gnome.org>
23741 Date: Sat Nov 27 19:51:38 2010 +0100
23743 Override TextIter (begins|ends|toggles)_tag()
23745 Make the tag argument optional.
23747 gi/overrides/Gtk.py | 9 +++++++++
23748 tests/test_overrides.py | 17 +++++++++++++++++
23749 2 files changed, 26 insertions(+)
23751 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
23752 Author: Paolo Borelli <pborelli@gnome.org>
23753 Date: Sat Nov 27 19:32:48 2010 +0100
23755 Override TextBuffer.set_text() to make length optional
23757 gi/overrides/Gtk.py | 3 +++
23758 tests/test_overrides.py | 11 ++++++++++-
23759 2 files changed, 13 insertions(+), 1 deletion(-)
23761 commit bf55dc862755a57bb1b998702d284fc460e88a30
23762 Author: Paolo Borelli <pborelli@gnome.org>
23763 Date: Sat Nov 27 16:46:40 2010 +0100
23765 Override TextBuffer.create_mark()
23767 Override create_mark to make the left_gravity argument optional
23769 gi/overrides/Gtk.py | 3 +++
23770 tests/test_overrides.py | 3 +++
23771 2 files changed, 6 insertions(+)
23773 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
23774 Author: Paolo Borelli <pborelli@gnome.org>
23775 Date: Sat Nov 27 16:10:33 2010 +0100
23777 Fix TextBuffer.get_selection_bounds() override
23779 Fix the override and add unit test
23781 gi/overrides/Gtk.py | 8 +++++---
23782 tests/test_overrides.py | 7 +++++++
23783 2 files changed, 12 insertions(+), 3 deletions(-)
23785 commit 0cd717e3926276540b9145e58a4a3368136b00de
23786 Author: John (J5) Palmieri <johnp@redhat.com>
23787 Date: Mon Nov 22 18:35:09 2010 -0500
23789 [gi] fix ActionGroup constructor to allow other keyword properties
23792 gi/overrides/Gtk.py | 4 ++--
23793 1 file changed, 2 insertions(+), 2 deletions(-)
23795 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
23796 Author: John (J5) Palmieri <johnp@redhat.com>
23797 Date: Mon Nov 22 18:32:28 2010 -0500
23799 [gi] require the name parameter when creatin a Gtk.ActionGroup
23801 gi/overrides/Gtk.py | 3 +++
23802 tests/test_overrides.py | 2 ++
23803 2 files changed, 5 insertions(+)
23805 commit d0049fa9982d13b3553b05569fb0a227e48b6647
23806 Author: Paolo Borelli <pborelli@gnome.org>
23807 Date: Sun Nov 21 15:20:58 2010 +0100
23809 Override UIManager.insert_action_group
23811 https://bugzilla.gnome.org/show_bug.cgi?id=635437
23813 gi/overrides/Gtk.py | 3 +++
23814 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
23815 2 files changed, 24 insertions(+), 13 deletions(-)
23817 commit e1db544e46aeed984133896af34b671a6a5547df
23818 Author: Paolo Borelli <pborelli@gnome.org>
23819 Date: Sun Nov 21 23:03:25 2010 +0100
23821 Override TreeModel.get() to return a tuple
23823 https://bugzilla.gnome.org/show_bug.cgi?id=635466
23825 gi/overrides/Gtk.py | 15 +++++++++++++++
23826 tests/test_overrides.py | 6 ++++++
23827 2 files changed, 21 insertions(+)
23829 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
23830 Author: Paolo Borelli <pborelli@gnome.org>
23831 Date: Sun Nov 21 21:57:40 2010 +0100
23833 Make TreeSelection.get_selected_rows compatible with PyGtk
23835 https://bugzilla.gnome.org/show_bug.cgi?id=635464
23837 gi/overrides/Gtk.py | 6 ++++++
23838 1 file changed, 6 insertions(+)
23840 commit 1c537bc67107948c92b51ba6ba749747e84263e2
23841 Author: John (J5) Palmieri <johnp@redhat.com>
23842 Date: Mon Nov 22 15:04:00 2010 -0500
23844 [gi] switch to using sequences/tuples when marshalling
23845 cairo_rectangle_int_t
23847 * Upstream pycairo didn't want to add a new wrapper for
23848 cairo_rectangle_int_t
23849 * this works around that issue by using 4 element squences instead
23851 should be accepted by pycairo for any API that takes a rect
23853 gi/pygi-foreign-cairo.c | 85
23854 +++++++++++++++++++++++++++++++++++++------------
23855 1 file changed, 64 insertions(+), 21 deletions(-)
23857 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
23858 Author: John (J5) Palmieri <johnp@redhat.com>
23859 Date: Fri Nov 19 16:46:53 2010 -0500
23861 [gi] overrides for treeview Drag and Drop
23863 https://bugzilla.gnome.org/show_bug.cgi?id=627367
23865 gi/overrides/Gdk.py | 7 +++++++
23866 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
23867 2 files changed, 32 insertions(+)
23869 commit 3fd51bb903724b752f72f49c7cb35652b819791d
23870 Author: John (J5) Palmieri <johnp@redhat.com>
23871 Date: Fri Nov 19 16:44:32 2010 -0500
23873 [gi] when encountering guint8 arrays treat them as byte arrays
23875 * In Python 2 this means returning a PyString object
23876 * In Python 3 we return a PyBytes object
23878 https://bugzilla.gnome.org/show_bug.cgi?id=627367
23880 gi/pygi-argument.c | 65
23881 ++++++++++++++++++++++++++++++++++++++++++++----------
23882 tests/test_gi.py | 6 +++--
23883 2 files changed, 57 insertions(+), 14 deletions(-)
23885 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
23886 Author: Martin Pitt <martin.pitt@ubuntu.com>
23887 Date: Fri Nov 19 18:19:38 2010 +0100
23889 pygi-convert.sh: Add pynotify -> Notify
23891 pygi-convert.sh | 3 +++
23892 1 file changed, 3 insertions(+)
23894 commit bf03d4db03a7739ac16ddc4e614441557ede554d
23895 Author: Martin Pitt <martin.pitt@ubuntu.com>
23896 Date: Fri Nov 19 09:08:07 2010 +0100
23898 pygi-convert.sh: Remove sugar specifics, and allow command line
23901 This script is generally useful for converting pygtk2 projects,
23903 sugar. Remove the sugar specific bits, since they will just cause
23906 Also allow the user to specify the files to convert as command line
23907 arguments. If not given, all *.py files will be processed.
23909 https://bugzilla.gnome.org/show_bug.cgi?id=635244
23911 pygi-convert.sh | 25 +++++--------------------
23912 1 file changed, 5 insertions(+), 20 deletions(-)
23914 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
23915 Author: Martin Pitt <martin.pitt@ubuntu.com>
23916 Date: Fri Nov 19 09:00:35 2010 +0100
23918 pygi-convert.sh: Cover Message and Buttons types
23920 https://bugzilla.gnome.org/show_bug.cgi?id=635244
23922 pygi-convert.sh | 2 ++
23923 1 file changed, 2 insertions(+)
23925 commit ef74273c2043944708515e59a654ebe4944b46ff
23926 Author: John (J5) Palmieri <johnp@redhat.com>
23927 Date: Thu Nov 18 13:54:48 2010 -0500
23929 [gi] fix actiongroup test since actions are hashed
23931 * when actions are listed they may not show up in the order they
23933 since they reside in an unordered hash internally
23935 tests/test_overrides.py | 9 +++++----
23936 1 file changed, 5 insertions(+), 4 deletions(-)
23938 commit 2c25886bf6710568d0646f82dce4770faa44c40d
23939 Author: John (J5) Palmieri <johnp@redhat.com>
23940 Date: Wed Nov 17 14:38:09 2010 -0500
23942 [gi] when converting to UTF-8 accept Python Unicode objects as input
23945 https://bugzilla.gnome.org/show_bug.cgi?id=620579
23947 gi/pygi-argument.c | 14 ++++++++++++--
23948 glib/pyglib-python-compat.h | 5 +++++
23949 tests/test_gi.py | 3 +++
23950 3 files changed, 20 insertions(+), 2 deletions(-)
23952 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
23953 Author: Damien Caliste <damien.caliste@cea.fr>
23954 Date: Fri Nov 12 10:20:32 2010 +0100
23956 Correct a bug in the freeing of memory in pygi-invoke.c.
23958 When a method with inout arguments is called from Python with
23959 a wrong number of arguments, the system crashs because of an
23960 assertion fail. This patch corrects this behaviour.
23962 https://bugzilla.gnome.org/show_bug.cgi?id=634671
23964 gi/pygi-invoke.c | 25 ++++++++++++++-----------
23965 1 file changed, 14 insertions(+), 11 deletions(-)
23967 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
23968 Author: John (J5) Palmieri <johnp@redhat.com>
23969 Date: Wed Nov 10 14:11:56 2010 -0500
23971 update news for release
23974 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23975 1 file changed, 73 insertions(+)
23977 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
23978 Author: Jonathan Matthew <jonathan@d14n.org>
23979 Date: Tue Sep 28 13:44:13 2010 +1000
23981 Implement richcompare for GIBaseInfo
23983 https://bugzilla.gnome.org/show_bug.cgi?id=625033
23985 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
23986 1 file changed, 29 insertions(+)
23988 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
23989 Author: John (J5) Palmieri <johnp@redhat.com>
23990 Date: Tue Nov 9 22:57:41 2010 -0500
23992 [gi] add the rectangle_int_t forign cairo type
23994 * the pycairo maintainer is not being responsive so you will need
23996 https://bugs.freedesktop.org/show_bug.cgi?id=31111
23997 * added conditionals, if the api doesn't exist in PyCairo we will
23999 without the forign structs
24001 gi/pygi-foreign-cairo.c | 4 ++++
24002 1 file changed, 4 insertions(+)
24004 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
24005 Author: John (J5) Palmieri <johnp@redhat.com>
24006 Date: Mon Oct 25 18:28:36 2010 -0400
24008 add a foreign type for cairo_rectangle_int_t and allow it to be
24011 * this is needed because Gdk and Gtk switched from returning a
24013 to a CairoRectangleInt structure
24014 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
24016 for pycairo (however there is currently no patch for python 2)
24017 * added fix for foreign types to allow them to be caller allocated
24018 * in order for a type to be caller allocated it must be able to take
24020 and create an empty struct in foreign_struct_from_arg and it must
24022 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
24024 https://bugzilla.gnome.org/show_bug.cgi?id=627545
24026 gi/pygi-foreign-cairo.c | 57
24027 +++++++++++++++++++++++++++++++++++++++++++++++++
24028 gi/pygi-invoke.c | 15 +++++++++++--
24029 2 files changed, 70 insertions(+), 2 deletions(-)
24031 commit ce8b948310220288e9eef904eef4ec8f4e24a376
24032 Author: John (J5) Palmieri <johnp@redhat.com>
24033 Date: Tue Nov 9 22:11:51 2010 -0500
24035 [gi] add overrides to Gtk.Editable
24037 gi/overrides/Gtk.py | 17 +++++++++++++++++
24038 tests/test_overrides.py | 12 ++++++++++++
24039 2 files changed, 29 insertions(+)
24041 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
24042 Author: John (J5) Palmieri <johnp@redhat.com>
24043 Date: Tue Nov 9 21:12:54 2010 -0500
24045 [gi] handle virtual invokers
24047 * right now we check to see if there is an method with the same name
24048 as the virtual method and assume that is the invoker
24049 * some invokers are named different so we now ask the VFuncInfo if
24050 the vfunc has an invoker
24051 * this is still not completly correct, gi needs to support telling
24052 us which vfuncs must be overridden.
24053 * this keeps the old way of checking vfuncs while adding the edge case
24054 where vfunc is named differently from their invoker
24056 gi/pygi-info.c | 16 ++++++++++++++++
24058 2 files changed, 17 insertions(+), 1 deletion(-)
24060 commit 540e9f1f349ba3625e28b7673c92210eb8974098
24061 Author: John (J5) Palmieri <johnp@redhat.com>
24062 Date: Tue Nov 9 12:17:05 2010 -0500
24064 add overrides for the insert* apis of list_store and tree_store
24066 * add set_row to tree_model as convinience method for both list and
24069 https://bugzilla.gnome.org/show_bug.cgi?id=634423
24071 gi/overrides/Gtk.py | 80
24072 ++++++++++++++++++++++++++++++++++++++-----------
24073 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
24074 2 files changed, 114 insertions(+), 19 deletions(-)
24076 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
24077 Author: John (J5) Palmieri <johnp@redhat.com>
24078 Date: Fri Nov 5 13:56:12 2010 -0400
24080 fix dialogs overrides which were relying on broken inheritance
24083 gi/overrides/Gtk.py | 14 ++++++++++++--
24084 1 file changed, 12 insertions(+), 2 deletions(-)
24086 commit 89c104d17d79d7b935cd76101cba19d49390f7be
24087 Author: John (J5) Palmieri <johnp@redhat.com>
24088 Date: Thu Nov 4 12:00:14 2010 -0400
24090 Add a overrides registry so we can refrence overrides inside the
24093 * Overrides have a reentrancy issue when doing inheritance. If an
24095 inherits from another override down the stack it won't see the
24097 because the module is not finished loading and will inherit from the
24098 non-overriden object instead. This causes type errors later.
24099 * By adding the overrides to a registry outside of the module we
24101 registration and make the override available as soon as the class
24103 not when the whole module is parsed.
24105 https://bugzilla.gnome.org/show_bug.cgi?id=633347
24107 gi/module.py | 12 ++++++++++-
24108 gi/overrides/GIMarshallingTests.py | 2 +-
24109 gi/overrides/Gdk.py | 2 +-
24110 gi/overrides/Gtk.py | 2 +-
24111 gi/overrides/__init__.py | 43
24112 ++++++++++++++++++++++++++++++++++++++
24113 gi/types.py | 8 -------
24114 tests/test_overrides.py | 27 ++++++++++++++++++++++++
24115 7 files changed, 84 insertions(+), 12 deletions(-)
24117 commit 878b8f630acd2146bee364054acd45cd33eea37a
24118 Merge: cdacaa9 e317838
24119 Author: John Stowers <john.stowers@gmail.com>
24120 Date: Fri Nov 5 11:40:22 2010 +1300
24122 Merge remote branch 'dieterv/setup-fixes-for-merge'
24124 commit e317838178fba5f0590fb8bd323f49602d564b53
24125 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24126 Date: Thu Nov 4 11:16:43 2010 +0100
24128 setup.py: ease maintenance burden for tests installation
24130 setup.py | 23 +++--------------------
24131 1 file changed, 3 insertions(+), 20 deletions(-)
24133 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
24134 Author: John (J5) Palmieri <johnp@redhat.com>
24135 Date: Wed Nov 3 09:51:09 2010 -0400
24137 fix inheritence issues in overrides
24139 gi/overrides/Gtk.py | 79
24140 +++++++++++++++++++++++++++--------------------------
24141 1 file changed, 40 insertions(+), 39 deletions(-)
24143 commit 3d5955767d81f45e796ab2af0707533375681774
24144 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24145 Date: Wed Nov 3 09:38:56 2010 +0100
24147 tests: add runtests-windows.py script
24149 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24151 tests/runtests-windows.py | 47
24152 +++++++++++++++++++++++++++++++++++++++++++++++
24153 1 file changed, 47 insertions(+)
24155 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
24156 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24157 Date: Wed Nov 3 09:35:52 2010 +0100
24159 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
24160 postinstall as pkg-config on windows figures out the correct prefix
24163 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24165 pygobject_postinstall.py | 26 +++-----------------------
24166 1 file changed, 3 insertions(+), 23 deletions(-)
24168 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
24169 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24170 Date: Wed Nov 3 09:34:38 2010 +0100
24172 pygobject_postinstall.py: remove shortcut creation
24174 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24176 pygobject_postinstall.py | 35 +----------------------------------
24177 1 file changed, 1 insertion(+), 34 deletions(-)
24179 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
24180 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24181 Date: Wed Nov 3 09:31:14 2010 +0100
24183 setup.py: formatting cleanup, makes things readable
24185 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24187 setup.py | 56 ++++++++++++++++++++++++++------------------------------
24188 1 file changed, 26 insertions(+), 30 deletions(-)
24190 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
24191 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24192 Date: Wed Nov 3 09:28:36 2010 +0100
24194 setup.py: build and install tests
24196 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24199 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24200 1 file changed, 61 insertions(+)
24202 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
24203 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24204 Date: Wed Nov 3 09:26:59 2010 +0100
24206 setup.py: install documentation when available on build system
24208 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24211 1 file changed, 3 insertions(+)
24213 commit 78533d851ee1314686f18cfa793613a9cf7d6686
24214 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24215 Date: Wed Nov 3 09:25:56 2010 +0100
24217 setup.py: install pygobject-codegen script
24219 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24221 setup.py | 25 +++++++++++++++++++++++++
24222 1 file changed, 25 insertions(+)
24224 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
24225 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24226 Date: Wed Nov 3 09:24:45 2010 +0100
24228 setup.py: install fixxref.py script
24230 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24233 1 file changed, 3 insertions(+)
24235 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
24236 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24237 Date: Wed Nov 3 09:23:05 2010 +0100
24239 setup.py: rearrange constants
24241 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24243 setup.py | 37 ++++++++++++++++++++-----------------
24244 1 file changed, 20 insertions(+), 17 deletions(-)
24246 commit 7d353d04892de67265bf693f591f37fd393de639
24247 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24248 Date: Wed Nov 3 09:18:11 2010 +0100
24250 setup.py: check python version and pkgconig availability before
24253 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24255 setup.py | 18 ++++++++++--------
24256 1 file changed, 10 insertions(+), 8 deletions(-)
24258 commit 286364ed39953e942e24d5911519bcac2f90975a
24259 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24260 Date: Wed Nov 3 09:05:59 2010 +0100
24262 setup.py: simplify sys.platform != 'win32' detection and error
24265 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24267 setup.py | 29 +++++++++--------------------
24268 1 file changed, 9 insertions(+), 20 deletions(-)
24270 commit 3f70f92904c123e6cc40929c0affd3f75d061828
24271 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24272 Date: Wed Nov 3 09:02:30 2010 +0100
24274 setup.py: rearrange imports
24276 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24278 setup.py | 31 ++++++++++++++++++++++---------
24279 1 file changed, 22 insertions(+), 9 deletions(-)
24281 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
24282 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24283 Date: Wed Nov 3 08:58:00 2010 +0100
24285 README.win32: update build instructions
24287 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24289 README.win32 | 13 +++++--------
24290 1 file changed, 5 insertions(+), 8 deletions(-)
24292 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
24293 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24294 Date: Wed Nov 3 07:59:18 2010 +0100
24296 dsextras.py: formatting cleanup, makes things readable
24298 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24301 ++++++++++++++++++++++++++++++++++++++----------------------
24302 1 file changed, 93 insertions(+), 55 deletions(-)
24304 commit d03503d0412d173acb383926ab3c2d640dad3e3f
24305 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24306 Date: Wed Nov 3 07:00:40 2010 +0100
24308 dsextras.py: add ggc4 to MSVC compatible struct packing comment
24310 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24312 dsextras.py | 4 ++--
24313 1 file changed, 2 insertions(+), 2 deletions(-)
24315 commit 8c62968e9f8467e24870b8c4f61112676eef4630
24316 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24317 Date: Wed Nov 3 06:56:32 2010 +0100
24319 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
24320 incantations all over the place
24322 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24324 dsextras.py | 15 ++++++---------
24325 1 file changed, 6 insertions(+), 9 deletions(-)
24327 commit b98277afc24886bbda400e0ad360992bffa77b7c
24328 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24329 Date: Wed Nov 3 06:49:48 2010 +0100
24331 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
24333 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24335 dsextras.py | 10 ++++++++++
24336 1 file changed, 10 insertions(+)
24338 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
24339 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24340 Date: Wed Nov 3 06:45:05 2010 +0100
24342 dsextras.py: PEP8: Comparisons to singletons like None should always
24343 be done with 'is' or 'is not', never the equality operators.
24345 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24347 dsextras.py | 4 ++--
24348 1 file changed, 2 insertions(+), 2 deletions(-)
24350 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
24351 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24352 Date: Wed Nov 3 06:44:21 2010 +0100
24354 dsextras.py: use True/False instead of 1/0
24356 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24358 dsextras.py | 25 +++++++++++++------------
24359 1 file changed, 13 insertions(+), 12 deletions(-)
24361 commit 819a21cea831c3892040390e9446b78a91d1cbbe
24362 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24363 Date: Wed Nov 3 06:28:04 2010 +0100
24365 dsextras.py: rearrange imports
24367 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24370 +++++++++++++++++++++++++++++++---------------------------
24371 1 file changed, 31 insertions(+), 27 deletions(-)
24373 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
24374 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24375 Date: Wed Nov 3 06:16:21 2010 +0100
24377 Add distutils generated build/dist directories and eclipse
24378 configuration files to .gitignore
24380 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
24382 .gitignore | 7 +++++++
24383 1 file changed, 7 insertions(+)
24385 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
24386 Author: John (J5) Palmieri <johnp@redhat.com>
24387 Date: Thu Oct 28 15:32:28 2010 -0400
24389 [gi] add tests for calling dir on a dynamic module
24391 tests/test_gi.py | 24 ++++++++++++++++++++++++
24392 1 file changed, 24 insertions(+)
24394 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
24395 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
24396 Date: Wed Oct 27 18:28:11 2010 -0400
24398 [gi] dir() now works for modules
24400 https://bugzilla.gnome.org/show_bug.cgi?id=625093
24402 gi/module.py | 8 ++++++++
24403 1 file changed, 8 insertions(+)
24405 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
24406 Author: Simón Pena <spenap@gmail.com>
24407 Date: Mon Sep 20 23:10:14 2010 +0200
24409 Don't check the inner type when comparing gpointers
24411 When using pyg_pointer_richcompare to compare two objects,
24412 don't check their inner types. As we can't compare their private
24413 fields, nor get a proper compare function, we can consider them
24414 gpointers and compare them that way.
24416 https://bugzilla.gnome.org/show_bug.cgi?id=629552
24418 gobject/pygpointer.c | 2 +-
24419 1 file changed, 1 insertion(+), 1 deletion(-)
24421 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
24422 Author: John (J5) Palmieri <johnp@redhat.com>
24423 Date: Thu Oct 28 14:21:12 2010 -0400
24425 Release GIL when calling into C functions
24427 Author: Daniel P. Berrange <dan@berrange.com>
24429 https://bugzilla.gnome.org/show_bug.cgi?id=629042
24431 gi/pygi-invoke.c | 10 +++++++++-
24432 1 file changed, 9 insertions(+), 1 deletion(-)
24434 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
24435 Author: José Aliste <jaliste@src.gnome.org>
24436 Date: Fri Oct 15 14:30:10 2010 -0300
24438 _gi.Repository : Implement missing info bindings.
24440 https://bugzilla.gnome.org/show_bug.cgi?id=632185
24442 gi/pygi-info.c | 91
24443 +++++++++++++++++++++++++++++++++++++++++++++++++---------
24444 gi/pygi-info.h | 7 +++++
24445 2 files changed, 84 insertions(+), 14 deletions(-)
24447 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
24448 Author: John (J5) Palmieri <johnp@redhat.com>
24449 Date: Thu Oct 28 13:49:15 2010 -0400
24451 include Python.h so that PY_VERSION_HEX gets defined
24453 gi/pygi-foreign-cairo.c | 1 +
24454 1 file changed, 1 insertion(+)
24456 commit 8b28b1d713df33931e255600ab98feda37a8e02a
24457 Author: John (J5) Palmieri <johnp@redhat.com>
24458 Date: Thu Oct 28 13:47:34 2010 -0400
24460 [gi] make overrides work for python 3.x protocols and alias for
24463 gi/overrides/Gtk.py | 9 +++++++--
24464 1 file changed, 7 insertions(+), 2 deletions(-)
24466 commit 3c09710d2f68af9c16ce39fd25656147656a486a
24467 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24468 Date: Sat Oct 23 14:24:24 2010 +0200
24470 Override Gtk.Widget.translate_coordinates to not return success value
24472 gi/overrides/Gtk.py | 11 +++++++++++
24473 1 file changed, 11 insertions(+)
24475 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
24476 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24477 Date: Sat Oct 23 14:22:36 2010 +0200
24479 Override Gtk.TreeViewColumn.cell_get_position to not return success
24482 gi/overrides/Gtk.py | 5 +++++
24483 1 file changed, 5 insertions(+)
24485 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
24486 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24487 Date: Sat Oct 23 14:21:36 2010 +0200
24489 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
24490 not return success value
24492 gi/overrides/Gtk.py | 15 +++++++++++++++
24493 1 file changed, 15 insertions(+)
24495 commit 80b1b266fa68a5c67106871502017166628f71e4
24496 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24497 Date: Sat Oct 23 14:20:38 2010 +0200
24499 Override Gtk.TreeSortable.get_sort_column_id to not return success
24502 gi/overrides/Gtk.py | 12 ++++++++++++
24503 1 file changed, 12 insertions(+)
24505 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
24506 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24507 Date: Sat Oct 23 14:19:20 2010 +0200
24509 Override forward_search and backward_search of Gtk.TextIter to not
24510 return success value
24512 gi/overrides/Gtk.py | 15 +++++++++++++++
24513 1 file changed, 15 insertions(+)
24515 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
24516 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24517 Date: Sat Oct 23 14:18:09 2010 +0200
24519 Override Gtk.TextBuffer.get_selection_bounds to not return success
24522 gi/overrides/Gtk.py | 5 +++++
24523 1 file changed, 5 insertions(+)
24525 commit da6d87460b9392c29d025a7eed9249fb604204bc
24526 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24527 Date: Sat Oct 23 14:17:04 2010 +0200
24529 Override Gtk.RecentInfo.get_application_info to not return success
24532 gi/overrides/Gtk.py | 10 ++++++++++
24533 1 file changed, 10 insertions(+)
24535 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
24536 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24537 Date: Sat Oct 23 14:16:21 2010 +0200
24539 Override Gtk.IMContext.get_surrounding to not return success value
24541 gi/overrides/Gtk.py | 10 ++++++++++
24542 1 file changed, 10 insertions(+)
24544 commit b85b445f15421209c0b4adf676d7c8218d6437c5
24545 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24546 Date: Sat Oct 23 14:15:24 2010 +0200
24548 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
24549 of Gtk.IconView to not return success value
24551 gi/overrides/Gtk.py | 19 +++++++++++++++++++
24552 1 file changed, 19 insertions(+)
24554 commit 684d716192d58c972083e579e909bcd97f8a5025
24555 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24556 Date: Sat Oct 23 14:13:47 2010 +0200
24558 Override Gtk.Container.get_focus_chain to not return success value
24560 gi/overrides/Gtk.py | 10 ++++++++++
24561 1 file changed, 10 insertions(+)
24563 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
24564 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24565 Date: Sat Oct 23 14:12:44 2010 +0200
24567 Override Gtk.ComboBox.get_active_iter to not return success value
24569 gi/overrides/Gtk.py | 10 ++++++++++
24570 1 file changed, 10 insertions(+)
24572 commit b483852904468722230903989e3451c7c6a24c0f
24573 Author: John (J5) Palmieri <johnp@redhat.com>
24574 Date: Tue Oct 12 12:18:33 2010 -0400
24576 [gi] make parameter check less strict when dealing with GValue params
24578 * Some GValue API can store a pointer to a python object for later
24579 use but our parameter checking was too strict to allow this
24580 * Add pyg_type_from_object_strict API which takes a strict boolean and
24581 returns PY_TYPE_OBJECT if no other GType can be found
24582 * Since we don't have enough info to genrically check GValue
24584 use the less strict type guessing when encountering a GValue param
24585 * Other API stays the same and continues to do strict testing
24587 https://bugzilla.gnome.org/show_bug.cgi?id=622987
24589 gi/pygi-argument.c | 17 ++++++---------
24590 gobject/gobjectmodule.c | 4 ++--
24591 gobject/pygobject-private.h | 1 +
24592 gobject/pygobject.h | 2 ++
24593 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
24594 tests/test_gi.py | 1 -
24595 tests/test_overrides.py | 50
24596 +++++++++++++++++++++++++++++++++++++++++----
24597 7 files changed, 90 insertions(+), 22 deletions(-)
24599 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
24600 Author: John Stowers <john.stowers@gmail.com>
24601 Date: Fri Oct 22 13:28:31 2010 +1300
24603 Shortcut removal is not needed on post-uninstall
24605 pygobject_postinstall.py | 14 ++------------
24606 1 file changed, 2 insertions(+), 12 deletions(-)
24608 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
24609 Author: John Stowers <john.stowers@gmail.com>
24610 Date: Thu Oct 21 13:25:35 2010 +1300
24612 Disable shortcut creation in windows installer
24614 pygobject_postinstall.py | 2 +-
24615 1 file changed, 1 insertion(+), 1 deletion(-)
24617 commit a3d6212b0abccef58f05d454c091936776413d98
24618 Author: John (J5) Palmieri <johnp@redhat.com>
24619 Date: Thu Oct 7 11:43:27 2010 -0400
24621 overrides for all subclasses of dialog
24623 https://bugzilla.gnome.org/show_bug.cgi?id=631634
24625 gi/overrides/Gtk.py | 94
24626 +++++++++++++++++++++++++++++++++++++++++++++----
24627 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
24628 2 files changed, 151 insertions(+), 7 deletions(-)
24630 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
24631 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24632 Date: Thu Oct 7 19:37:53 2010 +0200
24634 Make TreeModel behave like in GTK-2.x
24636 Moved stuff from __getitem__ to get_iter.
24637 Added TreePath.__cmp__
24639 get_iter_from_string throws ValueError.
24640 iterchildren() does not return None.
24642 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
24645 Added support for negative row and column indices
24647 Use rich comparison methods instead of __cmp__
24649 Added TreeModel.__bool__/__nonzero__
24651 Raise Error if tree path string is empty
24653 https://bugzilla.gnome.org/show_bug.cgi?id=631547
24655 gi/overrides/Gtk.py | 195
24656 ++++++++++++++++++++++++++++++++++++++++++++++++
24657 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
24658 2 files changed, 349 insertions(+), 6 deletions(-)
24660 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
24661 Author: John Stowers <john.stowers@gmail.com>
24662 Date: Sat Oct 16 18:59:25 2010 +1300
24664 Correctly build GIO on windows
24666 setup.py | 6 +++---
24667 1 file changed, 3 insertions(+), 3 deletions(-)
24669 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
24670 Author: John Stowers <john.stowers@gmail.com>
24671 Date: Sat Oct 16 18:17:28 2010 +1300
24673 Require Python >= 2.6.0 for Windows build
24676 1 file changed, 1 insertion(+), 1 deletion(-)
24678 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
24679 Author: John Stowers <john.stowers@gmail.com>
24680 Date: Sat Oct 16 17:41:01 2010 +1300
24682 Fix depreciation warning in dsextras.py
24685 1 file changed, 1 insertion(+), 1 deletion(-)
24687 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
24688 Author: John Stowers <john.stowers@gmail.com>
24689 Date: Sat Oct 16 17:34:50 2010 +1300
24691 Fix build on windows
24693 gi/pygi-foreign.c | 5 ++++-
24694 gi/pygi.h | 5 ++++-
24696 3 files changed, 10 insertions(+), 4 deletions(-)
24698 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
24699 Author: Michael Culbertson <michael.culbertson@gmail.com>
24700 Date: Sat Oct 16 17:08:11 2010 +1300
24702 Support for GCC4 in Windows distutils build - bug 626548
24704 dsextras.py | 3 ++-
24705 1 file changed, 2 insertions(+), 1 deletion(-)
24707 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
24708 Author: John Stowers <john.stowers@gmail.com>
24709 Date: Fri Oct 15 09:39:02 2010 +1300
24711 Remove obsolete comments in dsextras.py
24713 dsextras.py | 11 ++---------
24714 1 file changed, 2 insertions(+), 9 deletions(-)
24716 commit b5f383f854fb8f72677828b029589320c59006d1
24717 Author: John Stowers <john.stowers@gmail.com>
24718 Date: Fri Oct 15 09:21:03 2010 +1300
24720 Broken dsextras.py pkg-config check error message
24725 1 file changed, 1 insertion(+), 1 deletion(-)
24727 commit e1981da105b574e273ae6500fc6d25caf6af6aae
24728 Author: John (J5) Palmieri <johnp@redhat.com>
24729 Date: Tue Sep 28 15:31:03 2010 -0400
24731 add compat functions for the deprecated PyCObject api
24733 * Moved to using the PyCapsule API for python >= 3
24734 * PyCObject is removed from Python 3.2
24735 * It has also been deprecated in 2.7 but since we use the API in
24737 which are consumed by static binding modules, appling this for
24739 causes crashes unless the modules are recompiled, breaking ABI.
24741 to rely on for 2.7 because it will never be removed and there is
24743 undeprecating it upstream.
24744 * There is no issues with static bindings under python 3 because
24746 supported yet and most likely never will be.
24747 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
24749 which adds a poorman's type check when unboxing.
24751 https://bugzilla.gnome.org/show_bug.cgi?id=630844
24753 gi/gimodule.c | 2 +-
24754 gi/pygi.h | 5 ++++-
24755 glib/glibmodule.c | 2 +-
24756 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
24757 glib/pyglib.c | 6 +++---
24758 glib/pygoptioncontext.c | 2 +-
24759 gobject/gobjectmodule.c | 2 +-
24760 gobject/pygobject.h | 6 ++++++
24761 gobject/pygtype.c | 10 +++++-----
24762 9 files changed, 50 insertions(+), 13 deletions(-)
24764 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
24765 Author: Damien Caliste <damien.caliste@cea.fr>
24766 Date: Tue Sep 28 12:44:42 2010 +0200
24768 Add __path__ attributes.
24770 Add an attribute __path__ to DynamicModule and IntrospectionModule,
24771 using the path of the typelib.
24773 https://bugzilla.gnome.org/show_bug.cgi?id=630807
24775 gi/module.py | 2 ++
24776 1 file changed, 2 insertions(+)
24778 commit 28f9366c9cb382801bad080864f667c867daa3c7
24779 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24780 Date: Sat Oct 9 17:40:40 2010 +0200
24782 Override Gtk.TreeSelection.get_selected to not return success value.
24784 https://bugzilla.gnome.org/show_bug.cgi?id=631765
24786 gi/overrides/Gtk.py | 12 ++++++++++++
24787 1 file changed, 12 insertions(+)
24789 commit f01a7d9e8222663ce52100e061033f2745a5e7af
24790 Author: Vincent Untz <vuntz@gnome.org>
24791 Date: Thu Oct 7 09:42:24 2010 +0200
24793 Make row optional in Gtk.TreeStore/ListStore.append override
24795 https://bugzilla.gnome.org/show_bug.cgi?id=631548
24797 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
24798 1 file changed, 22 insertions(+), 14 deletions(-)
24800 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
24801 Author: John (J5) Palmieri <johnp@redhat.com>
24802 Date: Mon Oct 4 12:50:55 2010 -0400
24804 Revert "add compat functions for the deprecated PyCObject api"
24806 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
24808 I ment to commit another patch and ended up comitting both
24810 gi/gimodule.c | 2 +-
24811 gi/pygi.h | 5 +----
24812 glib/glibmodule.c | 2 +-
24813 glib/pyglib-python-compat.h | 19 -------------------
24814 glib/pyglib.c | 6 +++---
24815 glib/pygoptioncontext.c | 2 +-
24816 gobject/gobjectmodule.c | 2 +-
24817 gobject/pygobject.h | 6 ------
24818 gobject/pygtype.c | 10 +++++-----
24819 9 files changed, 13 insertions(+), 41 deletions(-)
24821 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
24822 Author: John (J5) Palmieri <johnp@redhat.com>
24823 Date: Mon Oct 4 12:43:31 2010 -0400
24825 return NULL instead of -1 which fixes crash when introspection is
24828 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
24831 1 file changed, 1 insertion(+), 1 deletion(-)
24833 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
24834 Author: John (J5) Palmieri <johnp@redhat.com>
24835 Date: Tue Sep 28 15:31:03 2010 -0400
24837 add compat functions for the deprecated PyCObject api
24839 * Moved to using the PyCapsule API for python >= 2.7
24841 https://bugzilla.gnome.org/show_bug.cgi?id=630844
24843 gi/gimodule.c | 2 +-
24844 gi/pygi.h | 5 ++++-
24845 glib/glibmodule.c | 2 +-
24846 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
24847 glib/pyglib.c | 6 +++---
24848 glib/pygoptioncontext.c | 2 +-
24849 gobject/gobjectmodule.c | 2 +-
24850 gobject/pygobject.h | 6 ++++++
24851 gobject/pygtype.c | 10 +++++-----
24852 9 files changed, 41 insertions(+), 13 deletions(-)
24854 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
24855 Author: John (J5) Palmieri <johnp@redhat.com>
24856 Date: Tue Sep 28 15:28:16 2010 -0400
24858 fix commit 7fe83108 which didn't use the compat functions for
24861 glib/glibmodule.c | 2 +-
24862 1 file changed, 1 insertion(+), 1 deletion(-)
24864 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
24865 Author: John (J5) Palmieri <johnp@redhat.com>
24866 Date: Tue Sep 28 13:15:57 2010 -0400
24868 Python 3 fixes for dsextras and the python.m4 distribution files
24870 dsextras.py | 13 +++++++------
24871 m4/python.m4 | 4 ++--
24872 2 files changed, 9 insertions(+), 8 deletions(-)
24874 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
24875 Author: John (J5) Palmieri <johnp@redhat.com>
24876 Date: Mon Sep 27 14:01:31 2010 -0400
24878 post release bump to 2.27.0 unstable
24880 * update hacking to fill in some holes in the release instructions
24883 configure.ac | 2 +-
24884 2 files changed, 5 insertions(+), 3 deletions(-)
24886 commit fd38010101411e6bc1ca9314657f418de660fa13
24887 Author: John (J5) Palmieri <johnp@redhat.com>
24888 Date: Mon Sep 27 12:03:10 2010 -0400
24890 update NEWS for release
24893 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24894 1 file changed, 93 insertions(+)
24896 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
24897 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24898 Date: Sun Sep 26 08:37:31 2010 +0200
24900 Pre-release version bump 2.26.0
24902 configure.ac | 4 ++--
24903 1 file changed, 2 insertions(+), 2 deletions(-)
24905 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
24906 Author: John Stowers <john.stowers@gmail.com>
24907 Date: Fri Sep 24 22:44:03 2010 +1200
24909 Wrap g_get_system_{config,data}_dirs ()
24911 * Also tidy up g_get_{cache,config,data}_dir
24912 to share common code
24914 glib/glibmodule.c | 68
24915 ++++++++++++++++++++++++++++++++++++++++---------------
24916 1 file changed, 50 insertions(+), 18 deletions(-)
24918 commit 328aca600714bdca89dfdb531c222ee561ede27e
24919 Author: John (J5) Palmieri <johnp@redhat.com>
24920 Date: Fri Sep 24 12:16:22 2010 -0400
24922 fixed make check and make dist
24924 tests/Makefile.am | 31 ++++++++++++++++++-------------
24925 1 file changed, 18 insertions(+), 13 deletions(-)
24927 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
24928 Author: John Stowers <john.stowers@gmail.com>
24929 Date: Fri Sep 24 21:20:53 2010 +1200
24931 Disable GI tests when introspection disabled
24933 tests/Makefile.am | 2 ++
24934 1 file changed, 2 insertions(+)
24936 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
24937 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
24938 Date: Sat Jul 18 19:35:08 2009 +0200
24940 Wrap g_uri_list_extract_uris. Fixes bug #584431
24942 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
24943 gobject/__init__.py | 2 +-
24944 tests/Makefile.am | 3 ++-
24945 tests/test_uris.py | 15 +++++++++++++++
24946 4 files changed, 56 insertions(+), 2 deletions(-)
24948 commit d6721a59c294f2471142b8c32de2f647b7084bca
24949 Author: Paul Bolle <pebolle@tiscali.nl>
24950 Date: Thu Sep 23 15:38:40 2010 -0400
24952 Fix a few uses of TRUE and FALSE in the docs
24954 docs/reference/pygio-mount.xml | 5 +++--
24955 docs/reference/pyglib-functions.xml | 18 +++++++++---------
24956 docs/reference/pyglib-maincontext.xml | 12 ++++++------
24957 docs/reference/pyglib-mainloop.xml | 6 +++---
24958 docs/reference/pygobject-functions.xml | 6 +++---
24959 docs/reference/pygobject.xml | 4 ++--
24960 6 files changed, 26 insertions(+), 25 deletions(-)
24962 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
24963 Author: Damien Caliste <damien.caliste@cea.fr>
24964 Date: Tue Sep 21 17:52:14 2010 +0200
24966 pygi: always free the invocation_state struct
24968 In pygi-invoke.c, the invocation_state struct is never freed
24969 in case of success. Thus, always call _free_invocation_state()
24971 Modify _free_invocation_state to avoid double free in case of
24972 caller-allocated GValue, once as a released argument in the
24973 _process routine and another time in the _free as the special
24974 case. So move all argument releasing code from the _process
24975 routine to the _free one.
24976 Modify the tests for the callback routines to return an integer
24977 value as specified in the GIR file.
24979 Make check is as successful as before (already existing error
24980 related to GVariant is still there).
24982 https://bugzilla.gnome.org/show_bug.cgi?id=630271
24984 gi/pygi-invoke.c | 83
24985 +++++++++++++++++++++---------------------------
24986 tests/test_everything.py | 4 ++-
24987 2 files changed, 40 insertions(+), 47 deletions(-)
24989 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
24990 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
24991 Date: Mon Sep 13 16:36:47 2010 +0200
24993 Start implementing something equivalent to g_variant_new
24995 https://bugzilla.gnome.org/show_bug.cgi?id=629367
24997 gi/gimodule.c | 20 +++++++
24998 gi/overrides/GLib.py | 131
24999 ++++++++++++++++++++++++++++++++++++++++++---
25000 gi/pygi-foreign-gvariant.c | 2 +-
25001 tests/test_everything.py | 16 ------
25002 tests/test_overrides.py | 25 +++++++++
25003 5 files changed, 170 insertions(+), 24 deletions(-)
25005 commit fc45abdd9b55ab63556798ab0f04715be79dba08
25006 Author: John (J5) Palmieri <johnp@redhat.com>
25007 Date: Thu Sep 23 10:49:36 2010 -0400
25009 fixed typo - missing comma in glib.option module
25011 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
25013 glib/option.py | 2 +-
25014 1 file changed, 1 insertion(+), 1 deletion(-)
25016 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
25017 Author: John (J5) Palmieri <johnp@redhat.com>
25018 Date: Fri Sep 17 12:08:09 2010 -0400
25020 add checks so we can compile under python 3 by setting PYTHON=python3
25022 * compile for python 3
25023 * disables gio if compiling under python 3.x
25024 * runs only pertinant tests
25026 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25028 configure.ac | 32 +++++++++++++++++++++++++++++---
25029 tests/Makefile.am | 35 ++++++++++++++++++++---------------
25030 tests/runtests.py | 4 ++++
25031 3 files changed, 53 insertions(+), 18 deletions(-)
25033 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
25034 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25035 Date: Fri Sep 17 15:50:47 2010 +0200
25037 Rename static methods as functions
25039 In recent gobject-introspection releases, static methods have been
25040 removed and placed as functions in the namespace level. In a future
25041 releases it's planned to become static methods again but for now
25042 let's fix the tests.
25044 tests/test_gi.py | 14 +++++++-------
25045 1 file changed, 7 insertions(+), 7 deletions(-)
25047 commit 2da8da589644d6125101210712defb1272a8abb1
25048 Author: John (J5) Palmieri <johnp@redhat.com>
25049 Date: Thu Sep 9 13:52:14 2010 -0400
25051 fix a couple of compiler warnings
25053 https://bugzilla.gnome.org/show_bug.cgi?id=629199
25055 gi/pygi-argument.c | 4 ++--
25056 gi/pygi-struct.c | 2 +-
25057 gobject/gobjectmodule.c | 2 +-
25058 3 files changed, 4 insertions(+), 4 deletions(-)
25060 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
25061 Author: John (J5) Palmieri <johnp@redhat.com>
25062 Date: Thu Sep 9 13:55:17 2010 -0400
25066 * we use richcompare now
25068 https://bugzilla.gnome.org/show_bug.cgi?id=629198
25070 gobject/pygtype.c | 9 ---------
25071 1 file changed, 9 deletions(-)
25073 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
25074 Author: John (J5) Palmieri <johnp@redhat.com>
25075 Date: Tue Sep 14 14:10:49 2010 -0400
25077 Check the type of the instance object
25079 * in python 2 methods were added to classes as unbound methods and
25081 check the instance type to make sure it was correct
25082 * in python 3 for perfomance reasons methods are added to classes
25084 functions which treat the instance as an untyped argument so
25087 * this patch adds a type check so that the correct errors are
25089 python 3 (python 2 this just adds another layer of redundancy should
25090 something change with type checking in the future)
25091 * since GI handles regular args and the instance arg slightly
25093 we had to split out the interface checks in
25094 _pygi_g_type_info_check_object
25095 in order to not duplicate code
25097 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25099 gi/pygi-argument.c | 182
25100 ++++++++++++++++++++++++++++-------------------------
25101 gi/pygi-argument.h | 2 +
25102 gi/pygi-invoke.c | 14 +++++
25103 3 files changed, 112 insertions(+), 86 deletions(-)
25105 commit 5d79498d38b147b66ae72c1481e397160491e8d6
25106 Author: John (J5) Palmieri <johnp@redhat.com>
25107 Date: Wed Sep 15 10:26:20 2010 -0400
25109 include the correct pycairo version
25111 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25113 gi/pygi-foreign-cairo.c | 6 ++++++
25114 1 file changed, 6 insertions(+)
25116 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
25117 Author: John (J5) Palmieri <johnp@redhat.com>
25118 Date: Thu Sep 9 22:16:58 2010 -0400
25120 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
25122 * in Py3k PyMapping_Check returns true for sequences such as strings
25123 and lists. Since we need to get the keys anyway, and it returns
25124 NULL if this is not a dict, this is a much better test, even in
25127 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25129 gi/pygi-argument.c | 10 +++-------
25130 1 file changed, 3 insertions(+), 7 deletions(-)
25132 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
25133 Author: John (J5) Palmieri <johnp@redhat.com>
25134 Date: Thu Sep 9 18:44:11 2010 -0400
25136 fix handling of UINT64 and INT64 arguments in py3k
25138 * decode to the right sized C long
25140 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25142 gi/pygi-argument.c | 20 ++++++++++++--------
25143 1 file changed, 12 insertions(+), 8 deletions(-)
25145 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
25146 Author: John (J5) Palmieri <johnp@redhat.com>
25147 Date: Thu Sep 9 17:35:10 2010 -0400
25149 properly handle ulongs properties in py3k
25151 * If this is a PyLong object pull use AsUnsignedLong
25153 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25155 gobject/pygtype.c | 29 ++++++++++++++++-------------
25156 1 file changed, 16 insertions(+), 13 deletions(-)
25158 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
25159 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25160 Date: Fri Sep 17 12:14:56 2010 +0200
25162 Specify encoding of tests/test_gi.py
25164 tests/test_gi.py | 3 ++-
25165 1 file changed, 2 insertions(+), 1 deletion(-)
25167 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
25168 Author: John (J5) Palmieri <johnp@redhat.com>
25169 Date: Thu Sep 9 13:24:30 2010 -0400
25171 use actual unicode in the tests on py3k, not the byte representation
25173 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25175 tests/test_gi.py | 6 +++++-
25176 1 file changed, 5 insertions(+), 1 deletion(-)
25178 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
25179 Author: John (J5) Palmieri <johnp@redhat.com>
25180 Date: Thu Sep 9 12:45:21 2010 -0400
25182 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
25185 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
25187 with both the METH_VARARGS and METH_KEYWORDS flags.
25189 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25191 glib/pygiochannel.c | 30 +++++++++++++++---------------
25192 glib/pygsource.c | 4 ++--
25193 gobject/pygobject.c | 2 +-
25194 3 files changed, 18 insertions(+), 18 deletions(-)
25196 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
25197 Author: John (J5) Palmieri <johnp@redhat.com>
25198 Date: Thu Sep 9 08:04:40 2010 -0400
25200 fix subclassing PyLong by calling __new__ correctly
25202 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25204 glib/pygspawn.c | 4 ++--
25205 1 file changed, 2 insertions(+), 2 deletions(-)
25207 commit a499b2f0d622b671bd154544f66b73f1278e66ed
25208 Author: John (J5) Palmieri <johnp@redhat.com>
25209 Date: Thu Sep 9 07:56:44 2010 -0400
25211 minor py3k fixups for python modules
25213 * add _basestring and _bytes and _callable wrappers
25214 * use items instead of iteritems and range instead of xrange
25218 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25220 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
25221 glib/option.py | 16 ++++++++++++----
25222 2 files changed, 28 insertions(+), 12 deletions(-)
25224 commit dec9001d26c97949e7b3578086cb35e98075c047
25225 Author: John (J5) Palmieri <johnp@redhat.com>
25226 Date: Thu Sep 9 07:36:04 2010 -0400
25228 minor fixes in tests for py3k compat
25230 * add a _bytes wrapper for API that expects bytes in py3k but str
25232 * fix some more exception handling using sys.exc_info()[:2]
25233 * use range instead of xrange, items instead of iteritems since py3k
25234 dropped support for the different ways of accessing iterators
25235 - this is less efficient in py2 but we plan to target py3k as the
25237 * use list(dict.items()) since py3k only returns iterables which
25240 * missed some _long wrapping
25242 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25244 tests/compathelper.py | 18 ++++++++++++++++++
25245 tests/test_everything.py | 5 +++--
25246 tests/test_mainloop.py | 3 ++-
25247 tests/test_option.py | 6 ++++--
25248 tests/test_overrides.py | 4 ++--
25249 tests/test_properties.py | 6 +++---
25250 6 files changed, 32 insertions(+), 10 deletions(-)
25252 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
25253 Author: Colin Walters <walters@verbum.org>
25254 Date: Thu Sep 9 16:25:51 2010 -0400
25256 compilation: Fix syntax error
25258 gi/pygi-info.c | 2 +-
25259 1 file changed, 1 insertion(+), 1 deletion(-)
25261 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
25262 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25263 Date: Thu Sep 9 22:17:00 2010 +0200
25267 gi/overrides/GLib.py | 48
25268 ++++++++++++++++++++++++++++++++++++++++++++++++
25269 1 file changed, 48 insertions(+)
25271 commit 306b792ac97a458ddee59fb86d66453495117f3e
25272 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25273 Date: Thu Jul 22 13:48:51 2010 +0100
25275 Add override for GLib.Variant.new_tuple
25277 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
25278 * gi/overrides/GLib.py: Override Variant.new_tuple and
25280 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
25281 _pygi_type_import_by_gi_info
25282 * gi/types.py: Never override gobject.TYPE_NONE
25283 * tests/test_everything.py: Add tests for GVariant tuples
25285 https://bugzilla.gnome.org/show_bug.cgi?id=625050
25287 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
25288 gi/overrides/Makefile.am | 1 +
25289 gi/pygi-type.c | 15 +++++++++------
25290 gi/pygi-type.h | 2 ++
25292 tests/test_everything.py | 9 +++++++++
25293 6 files changed, 60 insertions(+), 6 deletions(-)
25295 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
25296 Author: John (J5) Palmieri <johnp@redhat.com>
25297 Date: Wed Sep 8 13:08:48 2010 -0400
25299 fix for changes in the gi test libraries
25301 tests/test_everything.py | 2 +-
25302 1 file changed, 1 insertion(+), 1 deletion(-)
25304 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
25305 Author: John (J5) Palmieri <johnp@redhat.com>
25306 Date: Wed Sep 8 13:08:07 2010 -0400
25308 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
25310 gi/overrides/Gtk.py | 10 ++++++++--
25311 1 file changed, 8 insertions(+), 2 deletions(-)
25313 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
25314 Author: John (J5) Palmieri <johnp@redhat.com>
25315 Date: Wed Sep 8 12:35:09 2010 -0400
25317 no need to offset arg positions when is_method is true
25319 * The old GI libraries required we offset arg positions for the
25321 self argument. The new library fixes this so we don't have
25325 https://bugzilla.gnome.org/show_bug.cgi?id=629087
25327 gi/pygi-callbacks.c | 5 +----
25328 1 file changed, 1 insertion(+), 4 deletions(-)
25330 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
25331 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25332 Date: Fri Aug 20 14:54:35 2010 +0200
25334 gi: Add support for more property types
25336 https://bugzilla.gnome.org/show_bug.cgi?id=627494
25338 gi/pygi-property.c | 156
25339 ++++++++++++++++++++++++++++++++++++-----------
25340 tests/test_everything.py | 34 +++++++++++
25341 2 files changed, 154 insertions(+), 36 deletions(-)
25343 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
25344 Author: John (J5) Palmieri <johnp@redhat.com>
25345 Date: Fri Sep 3 12:04:16 2010 -0400
25347 use PyObject_SetAttrString, not PyDict_SetItemString when setting
25350 * When registering a gtype wrapper we used to set tp_dict
25351 directly. This works
25352 in python 2 but python 3 seems to handle attributes in a slightly
25354 way where the tp_dict and attr get out of sync. By setting the attr
25355 directly we avoid this issue.
25356 * Note that there are many more places where we set __gtype__
25358 however for objects which are not instantiated yet we have to
25361 * Since this one change fixes a lot of failed tests, for now we
25363 other places where we set __gtype__. If we run into more issues
25365 with __gtype__ we can take a closer look later.
25367 https://bugzilla.gnome.org/show_bug.cgi?id=627878
25369 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25371 gobject/gobjectmodule.c | 2 +-
25372 1 file changed, 1 insertion(+), 1 deletion(-)
25374 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
25375 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25376 Date: Wed Sep 1 11:03:40 2010 +0200
25378 Rename GArgument to GIArgument
25380 gi/pygi-argument.c | 52
25381 +++++++++++++++++++++++-----------------------
25382 gi/pygi-argument.h | 10 ++++-----
25383 gi/pygi-closure.c | 34 +++++++++++++++---------------
25384 gi/pygi-foreign-cairo.c | 8 +++----
25385 gi/pygi-foreign-gvariant.c | 4 ++--
25386 gi/pygi-foreign-gvariant.h | 4 ++--
25387 gi/pygi-foreign.c | 12 +++++------
25388 gi/pygi-foreign.h | 8 +++----
25389 gi/pygi-info.c | 8 +++----
25390 gi/pygi-invoke.c | 28 ++++++++++++-------------
25391 gi/pygi-property.c | 4 ++--
25392 gi/pygi.h | 16 +++++++-------
25393 12 files changed, 94 insertions(+), 94 deletions(-)
25395 commit 7197f85c9be2b03636639ac909ca2c3170653509
25396 Author: John (J5) Palmieri <johnp@redhat.com>
25397 Date: Wed Aug 18 10:29:19 2010 -0400
25399 fix up tests so they run in py3k
25401 * add a compat helper that should only be used by tests
25402 * fix long notation to use the compat helper instead
25403 * add parens to print statements
25404 * use compatable try/except pattern
25406 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25408 gobject/propertyhelper.py | 16 +++++++++++-----
25409 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
25410 tests/test_option.py | 7 ++++++-
25411 tests/test_properties.py | 24 ++++++++++++++----------
25412 tests/test_signal.py | 14 +++++++-------
25413 tests/test_source.py | 4 ++--
25414 6 files changed, 72 insertions(+), 25 deletions(-)
25416 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
25417 Author: Colin Walters <walters@verbum.org>
25418 Date: Fri Aug 20 10:58:48 2010 -0400
25420 tests: Port to new introspection tests
25422 Everything is renamed "Regress", and both it and GIMarshallingTests
25423 are now in source form, so we compile them.
25425 The scanner now adds "static methods" to objects, structs, and unions,
25426 so update the test code to use those.
25428 In the tests, remove broken (inout) cases - the person writing these
25429 tests misunderstood the semantics of (inout). It's not acceptable for
25430 a C API to mutate e.g. a GSList* passed in, or unref an object.
25432 The invocation code needed to be updated for this - remove some
25435 https://bugzilla.gnome.org/show_bug.cgi?id=627878
25437 configure.ac | 5 +-
25438 gi/pygi-argument.c | 9 +--
25439 gi/pygi-invoke.c | 147
25440 +++++----------------------------------------
25441 tests/Makefile.am | 42 ++++++++++++-
25442 tests/test_everything.py | 6 +-
25443 tests/test_gi.py | 151
25444 +++++++++--------------------------------------
25445 6 files changed, 93 insertions(+), 267 deletions(-)
25447 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
25448 Author: John (J5) Palmieri <johnp@redhat.com>
25449 Date: Fri Aug 20 10:43:58 2010 -0400
25451 we need to specify tp_hash since we overide tp_richcompare
25453 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25455 gobject/pygenum.c | 1 +
25456 gobject/pygflags.c | 1 +
25457 2 files changed, 2 insertions(+)
25459 commit c03e6b482548aee99362356807c804f8834fad2b
25460 Author: John Ehresman <jpe@wingware.com>
25461 Date: Thu Apr 15 17:11:30 2010 -0400
25463 working enum/flags/pid subclasses of long
25465 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25467 glib/pygspawn.c | 7 ++---
25468 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
25469 gobject/pygflags.c | 76
25470 +++++++++++++++++++++++-------------------------------
25471 3 files changed, 71 insertions(+), 73 deletions(-)
25473 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
25474 Author: John (J5) Palmieri <johnp@redhat.com>
25475 Date: Wed Aug 18 11:03:32 2010 -0400
25477 make vfuncs work in py3k
25479 * methods now export __func__ instead of im_func for getting the
25481 out of a method closure
25482 * however classes no longer return unbound methods in py3k and instead
25483 return the actual function
25484 * in python 2 we use im_func when getting the function from the
25486 * in py3k we simply assign vfunc to the function
25488 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25490 gi/types.py | 12 ++++++++----
25491 1 file changed, 8 insertions(+), 4 deletions(-)
25493 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
25494 Author: John (J5) Palmieri <johnp@redhat.com>
25495 Date: Tue Aug 17 15:43:42 2010 -0400
25497 make cairo module compile in py3k
25499 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25501 gi/Makefile.am | 2 +-
25502 gi/pygi-foreign-cairo.c | 17 +++++++----------
25503 2 files changed, 8 insertions(+), 11 deletions(-)
25505 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
25506 Author: John (J5) Palmieri <johnp@redhat.com>
25507 Date: Tue Aug 17 02:33:45 2010 -0400
25509 fix exceptions so they work in python 3.x
25511 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25513 gi/module.py | 2 +-
25515 2 files changed, 2 insertions(+), 2 deletions(-)
25517 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
25518 Author: John (J5) Palmieri <johnp@redhat.com>
25519 Date: Tue Aug 17 02:24:44 2010 -0400
25521 make the gi module compile under 3.x
25523 * include the compat macros
25524 * use GLIB_MODULE_START/END to define module
25525 * add PyInit__gi to the exported symbols
25527 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25529 gi/Makefile.am | 2 +-
25530 gi/gimodule.c | 24 +++++++++---------------
25531 2 files changed, 10 insertions(+), 16 deletions(-)
25533 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
25534 Author: John (J5) Palmieri <johnp@redhat.com>
25535 Date: Tue Aug 17 02:14:14 2010 -0400
25537 fix up testshelper module so it compiles in python 3.x
25539 * include the compat header
25540 * fix up PyInts to be PYGLIB_Long
25541 * Use PYGLIB_DEFINE_TYPE macros to define module objects
25542 * Use PYGLIB_MODULE_START/END to define modules
25544 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25546 tests/Makefile.am | 2 +-
25547 tests/testhelpermodule.c | 221
25548 ++++++-----------------------------------------
25549 2 files changed, 28 insertions(+), 195 deletions(-)
25551 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
25552 Author: John (J5) Palmieri <johnp@redhat.com>
25553 Date: Mon Aug 16 21:14:27 2010 -0400
25555 convert to using PYGLIB_DEFINE_TYPE for module objects
25557 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25559 gi/pygi-boxed.c | 43 ++-----------
25560 gi/pygi-info.c | 171
25561 ++++++++++++++++++++-------------------------------
25562 gi/pygi-repository.c | 39 +++---------
25563 gi/pygi-struct.c | 45 +++-----------
25564 4 files changed, 88 insertions(+), 210 deletions(-)
25566 commit 1efa2b12913b194d433c17014bc1077271a6ca32
25567 Author: John (J5) Palmieri <johnp@redhat.com>
25568 Date: Mon Aug 16 13:51:05 2010 -0400
25570 some more p3k PyString and PyInt eradication in GI
25572 * add the glib dir to the includes list in the build
25573 * make sure we include the compat macros
25574 * add GLIB_PyBytes_FromString to compat macros
25575 * add GLIB_PyNumber_Long to compat macros
25576 * use RichCompare instead of Compare
25578 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25580 gi/Makefile.am | 2 +-
25581 gi/pygi-argument.c | 96
25582 +++++++++++++++++++++++++++------------------
25583 gi/pygi-boxed.c | 1 +
25584 gi/pygi-info.c | 13 +++---
25585 gi/pygi-private.h | 23 +++++++++++
25586 gi/pygi-repository.c | 8 ++--
25587 gi/pygi-struct.c | 1 +
25588 glib/pyglib-python-compat.h | 6 +++
25589 8 files changed, 103 insertions(+), 47 deletions(-)
25591 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
25592 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25593 Date: Fri Aug 20 09:28:57 2010 +0200
25595 pyglib: Fix typo (Leo Singer)
25597 https://bugzilla.gnome.org/show_bug.cgi?id=627408
25599 glib/option.py | 4 ++--
25600 1 file changed, 2 insertions(+), 2 deletions(-)
25602 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
25603 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
25604 Date: Thu Aug 19 18:45:05 2010 -0300
25606 Add defines for size_t and ssize_t conversion functions
25608 These missing defines cause the resulting module to have unresolved
25609 symbols, rendering it unusable.
25611 https://bugzilla.gnome.org/show_bug.cgi?id=627440
25613 glib/pyglib-python-compat.h | 2 ++
25614 1 file changed, 2 insertions(+)
25616 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
25617 Author: Colin Walters <walters@verbum.org>
25618 Date: Thu Aug 19 17:50:35 2010 -0400
25620 pyglib: Fix a compiler warning
25622 glib/pyglib.c | 1 +
25623 1 file changed, 1 insertion(+)
25625 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
25626 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25627 Date: Wed Aug 18 20:36:51 2010 +0200
25629 Don't force gtk 2.0
25631 pygi-convert.sh | 11 +++++++----
25632 1 file changed, 7 insertions(+), 4 deletions(-)
25634 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
25635 Author: Steve Frécinaux <code@istique.net>
25636 Date: Tue Aug 17 14:49:30 2010 +0200
25638 Fix some ref leaks in hook_up_vfunc_implementation()
25640 https://bugzilla.gnome.org/show_bug.cgi?id=627143
25642 gi/gimodule.c | 9 +++++++--
25643 1 file changed, 7 insertions(+), 2 deletions(-)
25645 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
25646 Author: John (J5) Palmieri <johnp@redhat.com>
25647 Date: Thu Aug 12 12:16:31 2010 -0400
25649 handle strings correctly in gio
25651 gio/gappinfo.override | 5 +++++
25652 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
25653 2 files changed, 40 insertions(+), 7 deletions(-)
25655 commit 45ab0c03110c911b47519941dfd753326891b5e0
25656 Author: John (J5) Palmieri <johnp@redhat.com>
25657 Date: Wed Aug 11 16:13:59 2010 -0400
25659 make giomodule compile under py3k
25661 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25663 gio/giomodule.c | 153
25664 +++++++++++++++++++++++++++++---------------------------
25665 1 file changed, 78 insertions(+), 75 deletions(-)
25667 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
25668 Author: John (J5) Palmieri <johnp@redhat.com>
25669 Date: Wed Aug 11 16:04:48 2010 -0400
25671 for py3k we need to do some more processing to get bytes from a
25674 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25676 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
25677 1 file changed, 27 insertions(+), 4 deletions(-)
25679 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
25680 Author: John (J5) Palmieri <johnp@redhat.com>
25681 Date: Wed Aug 11 15:03:55 2010 -0400
25683 use Bytes instead of Unicode when reading io
25685 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25687 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
25688 1 file changed, 24 insertions(+), 6 deletions(-)
25690 commit 5824ff98175b749dbcfa72d24b994230b6e05377
25691 Author: John (J5) Palmieri <johnp@redhat.com>
25692 Date: Mon Aug 9 15:16:51 2010 -0400
25694 prefix compat macros with PYGLIB
25696 * refactor from John Ehresman <jpe@wingware.com> py3k branch
25697 * fix up some extranious PyString calls
25698 * remove duplicate macros from pyglib.h that are in
25699 pyglib-python-compat.h
25700 * pygobject.h can't import pyglib-python-compat.h so add codepaths
25701 for both Py3k and legacy code instead of using macros
25703 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25705 glib/glibmodule.c | 48 +++++-----
25706 glib/pygiochannel.c | 46 +++++-----
25707 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
25708 glib/pyglib.c | 22 ++---
25709 glib/pyglib.h | 14 ---
25710 glib/pygoptioncontext.c | 4 +-
25711 glib/pygsource.c | 16 ++--
25712 glib/pygspawn.c | 32 +++----
25713 gobject/gobjectmodule.c | 216
25714 ++++++++++++++++++++++----------------------
25715 gobject/pygboxed.c | 2 +-
25716 gobject/pygenum.c | 84 ++++++++---------
25717 gobject/pygflags.c | 122 ++++++++++++-------------
25718 gobject/pygobject-private.h | 12 +--
25719 gobject/pygobject.c | 46 +++++-----
25720 gobject/pygobject.h | 23 +++++
25721 gobject/pygparamspec.c | 24 ++---
25722 gobject/pygpointer.c | 2 +-
25723 gobject/pygtype.c | 170 +++++++++++++++++-----------------
25724 18 files changed, 563 insertions(+), 473 deletions(-)
25726 commit 231e934cc01d061e81bb60d35127a133cd0e1793
25727 Author: John (J5) Palmieri <johnp@redhat.com>
25728 Date: Mon Aug 16 10:14:04 2010 +0200
25730 Gtk.Button unit tests
25732 https://bugzilla.gnome.org/show_bug.cgi?id=622606
25734 tests/test_overrides.py | 10 ++++++++++
25735 1 file changed, 10 insertions(+)
25737 commit f07cfde377e42686c6b80f56cac62338ee333e61
25738 Author: Johan Dahlin <johan@gnome.org>
25739 Date: Mon Aug 16 10:08:38 2010 +0200
25741 [Gtk] Add overrides for Button
25743 https://bugzilla.gnome.org/show_bug.cgi?id=622606
25745 gi/overrides/Gtk.py | 13 +++++++++++++
25746 1 file changed, 13 insertions(+)
25748 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
25749 Author: Simon van der Linden <svdlinden@gnome.org>
25750 Date: Thu Aug 12 16:18:58 2010 +0200
25752 Make Cairo an optional dependency
25754 Add the --enable-cairo configure argument.
25756 https://bugzilla.gnome.org/show_bug.cgi?id=616732
25758 configure.ac | 15 ++++++++++++---
25759 gi/Makefile.am | 20 ++++++++++++--------
25760 2 files changed, 24 insertions(+), 11 deletions(-)
25762 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
25763 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25764 Date: Mon Aug 16 09:55:35 2010 +0200
25766 Don't import again PyGObject (John Ralls)
25768 https://bugzilla.gnome.org/show_bug.cgi?id=626996
25771 1 file changed, 1 insertion(+)
25773 commit 0dc3656070f496431829c6e8441ca17129c569f8
25774 Author: John (J5) Palmieri <johnp@redhat.com>
25775 Date: Mon Aug 9 16:11:55 2010 -0400
25777 move to using richcompare slot instead of compare
25779 https://bugzilla.gnome.org/show_bug.cgi?id=615872
25781 glib/pygiochannel.c | 18 +++++++----
25783 +++++++++++++++++++++++++++++++++++++++++++++++++
25784 glib/pyglib.h | 3 ++
25785 glib/pygmaincontext.c | 17 ++++++----
25786 glib/pygmainloop.c | 17 ++++++----
25787 glib/pygoptioncontext.c | 18 +++++++----
25788 glib/pygoptiongroup.c | 22 +++++++------
25789 gobject/pygboxed.c | 18 +++++++----
25790 gobject/pygobject.c | 44 ++++++++++++++++++-------
25791 gobject/pygparamspec.c | 19 +++++++----
25792 gobject/pygpointer.c | 17 ++++++----
25793 gobject/pygtype.c | 26 +++++++++++----
25794 12 files changed, 233 insertions(+), 71 deletions(-)
25796 commit b426e531dc53d4b50e572a2da19733479635e662
25797 Author: Simon van der Linden <svdlinden@gnome.org>
25798 Date: Thu Aug 12 18:09:33 2010 +0200
25800 Replace autogen.sh by a newer version
25802 It pulls automake 1.10 or 1.11.
25803 Greatly inspired from GLib's.
25805 https://bugzilla.gnome.org/show_bug.cgi?id=625661
25808 +++++++------------------------------------------------------
25809 1 file changed, 58 insertions(+), 448 deletions(-)
25811 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
25812 Author: Simon van der Linden <svdlinden@gnome.org>
25813 Date: Thu Aug 12 14:11:55 2010 +0200
25817 pyglib.c: In function ‘pyglib_gerror_exception_check’:
25818 pyglib.c:362: warning: format not a string literal and no format
25820 pyglib.c:371: warning: format not a string literal and no format
25823 gio.override: In function 'pygio_notify_allocate_buffer':
25824 gio.override:144:13: warning: format '%d' expects type 'int', but
25828 https://bugzilla.gnome.org/show_bug.cgi?id=625437
25830 gio/gio.override | 2 +-
25831 glib/pyglib.c | 4 ++--
25832 2 files changed, 3 insertions(+), 3 deletions(-)
25834 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
25835 Author: Simon van der Linden <svdlinden@gnome.org>
25836 Date: Thu Aug 12 11:09:37 2010 +0200
25838 Fix caller-allocates emergency free.
25840 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
25842 NULL in order to be able caller-allocates. This patch adds those
25845 Moreover, the interface info needs to be freed afterwards.
25847 https://bugzilla.gnome.org/show_bug.cgi?id=626684
25849 gi/pygi-invoke.c | 9 ++++++++-
25850 1 file changed, 8 insertions(+), 1 deletion(-)
25852 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
25853 Author: Simon van der Linden <svdlinden@gnome.org>
25854 Date: Thu Aug 12 10:46:17 2010 +0200
25856 Remove useless checks.
25858 No need to check for state->arg_infos, state->arg_type_infos, and
25859 state->args_is_auxiliary to be NULL, they are always allocated.
25861 https://bugzilla.gnome.org/show_bug.cgi?id=626684
25863 gi/pygi-invoke.c | 14 +++-----------
25864 1 file changed, 3 insertions(+), 11 deletions(-)
25866 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
25867 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25868 Date: Tue Aug 10 17:40:16 2010 +0200
25870 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
25872 tests/Makefile.am | 2 +-
25873 1 file changed, 1 insertion(+), 1 deletion(-)
25875 commit 8be59c37dd57acc51875c7189ca09d728b729013
25876 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25877 Date: Wed Aug 4 13:43:17 2010 +0200
25881 gi/pygi-argument.c | 2 --
25882 gi/pygi-invoke.c | 2 +-
25883 gi/pygi-struct.c | 1 -
25884 3 files changed, 1 insertion(+), 4 deletions(-)
25886 commit 529eca6054e9a7e2267f1529e317c2373932762f
25887 Author: Simon van der Linden <svdlinden@gnome.org>
25888 Date: Fri Jul 30 22:39:40 2010 +0200
25890 Add myself as a maintainer
25892 MAINTAINERS | 4 ++++
25893 1 file changed, 4 insertions(+)
25895 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
25896 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25897 Date: Fri Jul 30 14:14:16 2010 +0200
25899 Properly allocate boxed structs that are (caller-allocates)
25901 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
25902 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
25903 are (caller-allocates)
25904 * tests/test_overrides.py: Split the TreeView tests
25906 https://bugzilla.gnome.org/show_bug.cgi?id=625653
25908 gi/pygi-boxed.c | 50
25909 ++++++++++++++++++++++++++++++++-----------------
25910 gi/pygi-boxed.h | 10 ++++++----
25911 gi/pygi-invoke.c | 16 ++++++----------
25912 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
25913 4 files changed, 64 insertions(+), 51 deletions(-)
25915 commit 99c7322898c00a576c7319ea0a7c808446253133
25916 Author: Toms Baugis <toms.baugis@gmail.com>
25917 Date: Fri Jul 30 15:44:21 2010 +0200
25919 override gdk.Event to return attribute from the proper event object
25921 https://bugzilla.gnome.org/show_bug.cgi?id=620593
25923 gi/overrides/Gdk.py | 48
25924 ++++++++++++++++++++++++++++++++++++++++++++++++
25925 gi/pygi-invoke.c | 4 ----
25926 tests/test_overrides.py | 10 ++++++++++
25927 3 files changed, 58 insertions(+), 4 deletions(-)
25929 commit 55814e722c2ae11310f346790c9221e4fad92b50
25930 Author: John (J5) Palmieri <johnp@redhat.com>
25931 Date: Fri Jul 30 06:30:48 2010 -0400
25933 check if z# needs an int or Py_ssize_t
25935 https://bugzilla.gnome.org/show_bug.cgi?id=625438
25937 gio/gio.override | 5 +++++
25938 1 file changed, 5 insertions(+)
25940 commit 477315465d0a6d84b51e146e86e254873bc564ff
25941 Author: John (J5) Palmieri <johnp@redhat.com>
25942 Date: Fri Jul 30 06:43:06 2010 -0400
25944 make sure we parse parameters to python object vars not glib vars
25946 * py_flags was already set up but due to a typo &flags was being
25950 https://bugzilla.gnome.org/show_bug.cgi?id=625438
25952 gio/gfile.override | 8 ++++----
25953 1 file changed, 4 insertions(+), 4 deletions(-)
25955 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
25956 Author: Paul Bolle <pebolle@tiscali.nl>
25957 Date: Fri Jul 30 10:56:01 2010 +0200
25959 Make an example and a demo work out of the box
25961 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
25962 regarding pygtk to work out of the box. So add those.
25964 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
25966 https://bugzilla.gnome.org/show_bug.cgi?id=625638
25968 demos/gtk-demo/gtk-demo.py | 2 ++
25969 examples/cairo-demo.py | 2 ++
25970 2 files changed, 4 insertions(+)
25972 commit c9da5782e6c633d9af43ee85075e9ee65db09780
25973 Author: John (J5) Palmieri <johnp@redhat.com>
25974 Date: Fri Jul 9 13:14:42 2010 -0400
25976 make sure caller allocated structs are freed when they go out of scope
25978 * Move struct transfer checks from pygi-arguments to pygi-invoke
25979 * add better warning if an unknown struct is fully transfered
25980 * only free GValues we create in the invoke cleanup. All other
25982 get cleaned up when they go out of scope in python
25983 * Fixes issues with caller allocated treeiters getting freed to early
25984 * this is a fix to crashes in the current test suite when API's
25986 TreeIters were annotated as out caller-allocates so no new tests
25989 https://bugzilla.gnome.org/show_bug.cgi?id=623969
25991 gi/pygi-argument.c | 13 +++++--------
25992 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
25993 2 files changed, 45 insertions(+), 14 deletions(-)
25995 commit e0a85305cd107aae5902e524afd074cd8c329927
25996 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25997 Date: Fri Jul 30 10:35:33 2010 +0200
25999 Revert "override gdk.Event to return attribute from the proper
26002 Pushed by mistake, we still need testcases
26004 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
26006 gi/overrides/Gdk.py | 44 --------------------------------------------
26007 1 file changed, 44 deletions(-)
26009 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
26010 Author: Paul Bolle <pebolle@tiscali.nl>
26011 Date: Thu Jul 29 22:55:28 2010 +0200
26013 PyGI: properly quit cairo-demo
26015 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
26017 https://bugzilla.gnome.org/show_bug.cgi?id=625619
26019 examples/cairo-demo.py | 2 +-
26020 1 file changed, 1 insertion(+), 1 deletion(-)
26022 commit e7bb3954880568884ca66e7751ede689dc2f24f6
26023 Author: Toms Baugis <toms.baugis@gmail.com>
26024 Date: Tue Jul 27 21:37:16 2010 +0200
26026 override gdk.Event to return attribute from the proper event object.
26028 https://bugzilla.gnome.org/show_bug.cgi?id=620593
26030 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
26031 1 file changed, 44 insertions(+)
26033 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
26034 Author: Simon van der Linden <svdlinden@gnome.org>
26035 Date: Wed Jul 28 14:56:00 2010 +0200
26037 Clean and improve the test infrastructure
26039 To run select tests, use for instance:
26040 % make check TEST_NAMES='test_everything test_gi.TestConstant'
26042 It works with check.gdb and check.valgrind too.
26044 https://bugzilla.gnome.org/show_bug.cgi?id=625488
26046 Makefile.am | 5 ----
26047 tests/Makefile.am | 65
26048 +++++++++++++++++++++-------------------------
26049 tests/common.py | 47 ---------------------------------
26050 tests/runtests.py | 43 ++++++++++++------------------
26051 tests/test_gcancellable.py | 4 +--
26052 tests/test_gi.py | 3 ---
26053 tests/test_gicon.py | 3 ++-
26054 tests/test_gio.py | 3 ++-
26055 tests/test_gobject.py | 3 ++-
26056 tests/test_gresolver.py | 4 +--
26057 tests/test_gsocket.py | 4 ++-
26058 tests/test_interface.py | 6 ++++-
26059 tests/test_mainloop.py | 11 +++-----
26060 tests/test_signal.py | 4 ++-
26061 tests/test_source.py | 4 +--
26062 tests/test_subprocess.py | 5 +---
26063 tests/test_thread.py | 5 +++-
26064 tests/test_unknown.py | 5 +++-
26065 18 files changed, 82 insertions(+), 142 deletions(-)
26067 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
26068 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26069 Date: Thu Jul 29 12:34:19 2010 +0200
26071 Add some more transformations to pygi-convert.sh
26073 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
26074 1 file changed, 29 insertions(+), 8 deletions(-)
26076 commit de519adcd21947a0aef7932cdecb78cef200c85e
26077 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26078 Date: Wed Jul 28 14:42:36 2010 +0200
26080 Adapt to API changes: g_irepository_enumerate_versions
26082 gi/importer.py | 2 +-
26083 gi/pygi-repository.c | 12 ++++++------
26084 2 files changed, 7 insertions(+), 7 deletions(-)
26086 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
26087 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26088 Date: Wed Jul 28 12:26:48 2010 +0200
26090 Add GValue<->GArgument marshalling for some more types
26092 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
26093 1 file changed, 36 insertions(+), 1 deletion(-)
26095 commit ddffa70c3ee0e837070f390632bc692430f79171
26096 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26097 Date: Wed Jul 28 11:10:42 2010 +0200
26099 Chain up with the non-introspection implementation for properties
26102 gobject/pygobject.c | 7 ++++++-
26103 1 file changed, 6 insertions(+), 1 deletion(-)
26105 commit 045433a1f8167205dc8eae613dcb8835d02c8916
26106 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26107 Date: Wed Jul 28 10:59:49 2010 +0200
26109 Improve error reporting for missing attributes in introspection
26112 gi/module.py | 4 ++--
26113 1 file changed, 2 insertions(+), 2 deletions(-)
26115 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
26116 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26117 Date: Tue Jul 27 21:52:49 2010 +0200
26119 Implement getting and setting properties using introspection
26122 This allows us to use information not present in GObject such as
26123 transfer and element types.
26125 https://bugzilla.gnome.org/show_bug.cgi?id=620808
26127 gi/Makefile.am | 2 +
26128 gi/gimodule.c | 2 +
26129 gi/pygi-argument.c | 2 +
26130 gi/pygi-private.h | 1 +
26131 gi/pygi-property.c | 226
26132 +++++++++++++++++++++++++++++++++++++++++++++++
26133 gi/pygi-property.h | 39 ++++++++
26134 gi/pygi.h | 41 +++++++++
26135 gobject/pygobject.c | 9 ++
26136 tests/test_everything.py | 19 ++++
26137 9 files changed, 341 insertions(+)
26139 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
26140 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26141 Date: Tue Jul 27 21:32:41 2010 +0200
26143 Readd Gdk.Rectangle override for Gtk-2.0
26145 gi/overrides/Gdk.py | 19 +++++++++++++++++++
26146 1 file changed, 19 insertions(+)
26148 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
26149 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26150 Date: Tue Jul 27 18:25:27 2010 +0200
26152 Allow specifying a version when loading a typelib
26154 * gi/importer.py: Defer loading the typelib until first usage.
26155 * gi/module.py: Load the typelib in IntrospectionModule().
26156 * gi/overrides/*.py: Adapt to API change.
26157 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
26158 g_irepository_get_version.
26160 gi/importer.py | 26 ++++++-----------
26162 +++++++++++++++++++++++++-------------
26163 gi/overrides/GIMarshallingTests.py | 2 +-
26164 gi/overrides/Gdk.py | 2 +-
26165 gi/overrides/Gtk.py | 2 +-
26166 gi/pygi-repository.c | 56
26167 +++++++++++++++++++++++++++++++++++-
26168 6 files changed, 105 insertions(+), 41 deletions(-)
26170 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
26171 Author: Jonathan Matthew <jonathan@d14n.org>
26172 Date: Tue Jul 13 20:27:28 2010 +1000
26174 treat GFreeFunc as equivalent to GDestroyNotify when scanning
26177 https://bugzilla.gnome.org/show_bug.cgi?id=624232
26179 gi/pygi-callbacks.c | 3 ++-
26180 1 file changed, 2 insertions(+), 1 deletion(-)
26182 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
26183 Author: Simon van der Linden <svdlinden@gnome.org>
26184 Date: Mon Jul 26 17:00:23 2010 +0200
26186 Don't use == to compare doubles, use <= and =>.
26188 This avoids inequality due to small precisions difference.
26190 https://bugzilla.gnome.org/show_bug.cgi?id=625326
26192 tests/testhelpermodule.c | 2 +-
26193 1 file changed, 1 insertion(+), 1 deletion(-)
26195 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
26196 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26197 Date: Thu Jul 8 11:36:12 2010 +0200
26199 Allow passing ints as enum args
26201 https://bugzilla.gnome.org/show_bug.cgi?id=622584
26203 gi/pygi-argument.c | 23 +++++++++++++++++++++--
26204 tests/test_gi.py | 6 ++++--
26205 2 files changed, 25 insertions(+), 4 deletions(-)
26207 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
26208 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26209 Date: Sun Jul 25 17:30:40 2010 +0100
26211 Make error message less ambiguous
26213 https://bugzilla.gnome.org/show_bug.cgi?id=625095
26215 gi/pygi-callbacks.c | 3 ++-
26216 1 file changed, 2 insertions(+), 1 deletion(-)
26218 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
26219 Author: John (J5) Palmieri <johnp@redhat.com>
26220 Date: Thu Jun 24 10:07:12 2010 -0400
26222 fix passing in type names as a GType and add gtype unit tests
26224 * a simple call to pyg_type_from_object covers all the bases
26225 * added unit tests to check for correct GType value passing
26226 * fixed up tree override tests to also check different ways of
26229 https://bugzilla.gnome.org/show_bug.cgi?id=622605
26231 gi/pygi-argument.c | 8 +-------
26232 tests/test_everything.py | 27 +++++++++++++++++++++++++++
26233 tests/test_overrides.py | 6 ++----
26234 3 files changed, 30 insertions(+), 11 deletions(-)
26236 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
26237 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26238 Date: Mon Jul 26 11:54:47 2010 +0200
26240 Increase a bit verbosity of tests so people know which test failed
26242 tests/runtests.py | 2 +-
26243 1 file changed, 1 insertion(+), 1 deletion(-)
26245 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
26246 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26247 Date: Thu Jul 15 15:17:53 2010 +0200
26249 Actually add the files for GVariant foreign structs
26251 gi/pygi-foreign-gvariant.c | 63
26252 ++++++++++++++++++++++++++++++++++++++++++++++
26253 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
26254 2 files changed, 104 insertions(+)
26256 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
26257 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26258 Date: Thu Jul 15 13:31:33 2010 +0200
26260 Add foreign struct support for GVariant
26262 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
26263 * gi/pygi-foreign.c: Register foreign support for GVariant
26264 * gi/pygi-struct.c: properly release foreign structs
26265 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
26267 * tests/test_everything.py: Add basic tests for GVariant
26269 https://bugzilla.gnome.org/show_bug.cgi?id=619501
26271 gi/Makefile.am | 2 +
26272 gi/pygi-argument.c | 2 +-
26273 gi/pygi-foreign-cairo.c | 16 +++----
26274 gi/pygi-foreign.c | 107
26275 +++++++++++++++++++++++++++++------------------
26276 gi/pygi-foreign.h | 7 ++--
26277 gi/pygi-invoke.c | 18 ++++----
26278 gi/pygi-struct.c | 10 ++++-
26280 tests/test_everything.py | 8 ++++
26281 9 files changed, 110 insertions(+), 69 deletions(-)
26283 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
26284 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26285 Date: Mon Jul 12 11:19:06 2010 +0200
26287 Add HACKING to MANIFEST.in
26290 1 file changed, 1 insertion(+), 1 deletion(-)
26292 commit 40bf08ff001b119c7daf709197005ef6480216c5
26293 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26294 Date: Mon Jul 12 11:18:04 2010 +0200
26296 Add HACKING file with instructions for releasing
26298 HACKING | 14 ++++++++++++++
26299 1 file changed, 14 insertions(+)
26301 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
26302 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26303 Date: Mon Jul 12 11:09:58 2010 +0200
26305 Post release version bump to 2.21.6
26307 configure.ac | 2 +-
26308 1 file changed, 1 insertion(+), 1 deletion(-)
26310 commit 42a5a0897b38156ae010c396ea254abf502f35de
26311 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26312 Date: Mon Jul 12 11:00:29 2010 +0200
26314 Update NEWS and release PyGObject-2.21.5
26316 NEWS | 17 +++++++++++++++++
26317 1 file changed, 17 insertions(+)
26319 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
26320 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26321 Date: Mon Jul 12 11:00:20 2010 +0200
26323 Pre-release version bump to 2.21.5
26325 configure.ac | 2 +-
26326 1 file changed, 1 insertion(+), 1 deletion(-)
26328 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
26329 Author: Florian Müllner <florian.muellner@gmail.com>
26330 Date: Sat Jul 10 22:35:13 2010 +0200
26332 Shut up some compiler warnings
26334 Remove unused variables, make sure variables are properly initialized.
26336 https://bugzilla.gnome.org/show_bug.cgi?id=624066
26338 gi/pygi-callbacks.c | 1 -
26339 gi/pygi-closure.c | 2 +-
26340 gi/pygi-invoke.c | 1 -
26341 3 files changed, 1 insertion(+), 3 deletions(-)
26343 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
26344 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
26345 Date: Mon Jul 12 10:31:42 2010 +0200
26347 Adjust to API break in GObject-Introspection
26349 As of commit 5cb925b20, many type_tags for standard C types have
26350 been removed - namely machine-dependent integer types and derived
26351 types (size_t, time_t).
26353 Most removals are just synonyms of other types, so their removal
26354 should not have too much impact, with the exception of time_t,
26355 which was translated to a native datetime object before.
26357 Also remove time_t tests (Tomeu Vizoso).
26359 https://bugzilla.gnome.org/show_bug.cgi?id=624065
26361 configure.ac | 2 +-
26362 gi/importer.py | 7 +--
26363 gi/pygi-argument.c | 146
26364 -----------------------------------------------------
26365 gi/pygi-closure.c | 10 ----
26366 gi/pygi-info.c | 37 --------------
26367 tests/test_gi.py | 21 --------
26368 6 files changed, 5 insertions(+), 218 deletions(-)
26370 commit 27a417c71f8c122e46c7472663bb25c17413f103
26371 Author: John (J5) Palmieri <johnp@redhat.com>
26372 Date: Thu Jul 8 16:01:25 2010 -0400
26374 pass in the demo app so demos can use utility methods like requesting
26377 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
26378 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
26379 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
26380 demos/gtk-demo/demos/assistant.py | 2 +-
26381 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
26382 demos/gtk-demo/demos/button_box.py | 2 +-
26383 demos/gtk-demo/demos/clipboard.py | 8 +-------
26384 demos/gtk-demo/demos/colorselector.py | 2 +-
26385 demos/gtk-demo/demos/combobox.py | 8 +++++---
26386 demos/gtk-demo/demos/drawingarea.py | 2 +-
26387 demos/gtk-demo/demos/test.py | 2 +-
26388 demos/gtk-demo/gtk-demo.py | 6 +++---
26389 12 files changed, 37 insertions(+), 26 deletions(-)
26391 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
26392 Author: John (J5) Palmieri <johnp@redhat.com>
26393 Date: Thu Jul 8 15:38:07 2010 -0400
26395 demo fixes to keep up with Gtk+
26397 * treeiter changes to reflect caller-allocate annotations
26398 * fix some flag handling
26399 * use get_indicies_with_depth instead of get_indices for paths
26401 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
26402 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
26403 demos/gtk-demo/gtk-demo.py | 13 +++++--------
26404 3 files changed, 24 insertions(+), 23 deletions(-)
26406 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
26407 Author: John (J5) Palmieri <johnp@redhat.com>
26408 Date: Thu Jul 8 12:54:43 2010 -0400
26410 override test fixes for new GTK+ annotations
26412 tests/test_overrides.py | 23 +++++++++++++----------
26413 1 file changed, 13 insertions(+), 10 deletions(-)
26415 commit 7a400f8139b70ddfe7c949035e0851689951c647
26416 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26417 Date: Thu Jul 8 12:42:25 2010 +0200
26421 gi/pygi-argument.c | 4 ++--
26422 1 file changed, 2 insertions(+), 2 deletions(-)
26424 commit 39fd0a85a3de06b1b877d1125f91036409886373
26425 Author: John (J5) Palmieri <johnp@redhat.com>
26426 Date: Wed Jul 7 15:48:36 2010 -0400
26428 fix up treeiter usage due to caller-allocates annotations in gtk+
26430 * we still don't pass tests because the caller-allocates code path
26432 handle the case where the parameter is followed by a regular
26435 gi/overrides/Gtk.py | 7 +++----
26436 tests/test_overrides.py | 21 +++++++++++----------
26437 2 files changed, 14 insertions(+), 14 deletions(-)
26439 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
26440 Author: John (J5) Palmieri <johnp@redhat.com>
26441 Date: Tue Jul 6 17:50:10 2010 -0400
26443 add entry completion demo
26445 demos/gtk-demo/demos/Entry/entry_completion.py | 87
26446 ++++++++++++++++++++++++++
26447 1 file changed, 87 insertions(+)
26449 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
26450 Author: John (J5) Palmieri <johnp@redhat.com>
26451 Date: Tue Jul 6 17:49:18 2010 -0400
26455 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
26456 1 file changed, 2 insertions(+), 2 deletions(-)
26458 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
26459 Author: John (J5) Palmieri <johnp@redhat.com>
26460 Date: Tue Jul 6 17:27:04 2010 -0400
26462 add the Entry demo directory and the entry_buffer demo
26464 demos/gtk-demo/demos/Entry/__init__.py | 0
26465 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
26466 ++++++++++++++++++++++++++++++
26467 2 files changed, 73 insertions(+)
26469 commit f2b1d222120f055bec9339cca55c9cc90f538c00
26470 Author: John (J5) Palmieri <johnp@redhat.com>
26471 Date: Tue Jul 6 17:26:03 2010 -0400
26473 fix loading of demo modules to support sub modules
26475 demos/gtk-demo/gtk-demo.py | 9 +++++++--
26476 1 file changed, 7 insertions(+), 2 deletions(-)
26478 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
26479 Author: John (J5) Palmieri <johnp@redhat.com>
26480 Date: Tue Jul 6 15:56:34 2010 -0400
26482 add the ability to have demos in sub catagories
26484 demos/gtk-demo/gtk-demo.py | 76
26485 ++++++++++++++++++++++++++++++++--------------
26486 1 file changed, 54 insertions(+), 22 deletions(-)
26488 commit dc2249a3ecf339008351316217191d0551ccc588
26489 Author: Jose Aliste <jaliste@src.gnome.org>
26490 Date: Mon Jul 5 14:36:59 2010 -0400
26492 Add __name__ to DynamicModule class.
26497 1 file changed, 1 insertion(+)
26499 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
26500 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26501 Date: Mon Jul 5 16:11:07 2010 +0200
26503 Do not override GdkRectangle.
26505 This class was lately removed from gtk+ 3, so there is no need
26509 gi/overrides/Gdk.py | 19 -------------------
26510 1 file changed, 19 deletions(-)
26512 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
26513 Author: Philip Withnall <philip.withnall@collabora.co.uk>
26514 Date: Tue Jun 29 16:37:36 2010 +0100
26516 Add override for TreeModel implementing __len__()
26520 gi/overrides/Gtk.py | 11 +++++++++--
26521 tests/test_overrides.py | 5 +++++
26522 2 files changed, 14 insertions(+), 2 deletions(-)
26524 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
26525 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26526 Date: Tue Jun 29 11:27:13 2010 +0200
26528 Update NEWS and release PyGObject-2.21.4
26530 NEWS | 27 +++++++++++++++++++++++++--
26531 1 file changed, 25 insertions(+), 2 deletions(-)
26533 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
26534 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26535 Date: Tue Jun 29 10:55:03 2010 +0200
26537 Remove files from the makefiles
26539 gi/Makefile.am | 4 +---
26540 gobject/Makefile.am | 3 +--
26541 2 files changed, 2 insertions(+), 5 deletions(-)
26543 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
26544 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26545 Date: Tue Jun 29 10:27:39 2010 +0200
26547 Build the cairo shim as a python module so the _gi module stops
26550 https://bugzilla.gnome.org/show_bug.cgi?id=623021
26553 gi/Makefile.am | 38 ++++++++++-----
26554 gi/gimodule.c | 8 +---
26555 gi/pygi-argument.c | 10 +---
26556 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
26557 gi/pygi-foreign-cairo.h | 55 ---------------------
26558 gi/pygi-foreign.c | 125
26559 ++++++++++++++++++++++++++++--------------------
26560 gi/pygi-foreign.h | 31 ++++++------
26561 gi/pygi.h | 40 ++++++++++++++--
26562 9 files changed, 196 insertions(+), 169 deletions(-)
26564 commit a6a90551311bc64f037cbd442e13f70c30060871
26565 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26566 Date: Mon Jun 28 14:20:43 2010 +0200
26568 Remove pygi-external.h
26570 https://bugzilla.gnome.org/show_bug.cgi?id=623021
26572 gi/gimodule.c | 8 +++---
26573 gi/pygi-type.c | 4 +--
26574 gi/pygi-type.h | 2 +-
26575 gi/pygi.h | 54 ++++++++++++++++-----------------------
26576 gobject/Makefile.am | 6 +++++
26577 gobject/pygboxed.c | 2 +-
26578 gobject/pygenum.c | 2 +-
26579 gobject/pygflags.c | 2 +-
26580 gobject/pygi-external.h | 67
26581 -------------------------------------------------
26582 gobject/pygobject.c | 2 +-
26583 gobject/pygpointer.c | 2 +-
26584 11 files changed, 40 insertions(+), 111 deletions(-)
26586 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
26587 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26588 Date: Fri Jun 25 13:54:57 2010 +0200
26590 Revert "correctly handle floating objects in gtk"
26592 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
26597 tests/test_everything.py
26599 gi/gimodule.c | 13 -------------
26600 tests/test_everything.py | 3 ++-
26601 2 files changed, 2 insertions(+), 14 deletions(-)
26603 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
26604 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26605 Date: Fri Jun 25 13:49:04 2010 +0200
26607 Make valgrind happy again
26609 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
26610 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
26612 gi/pygi-argument.c | 1 +
26613 gi/pygi-info.c | 2 ++
26614 gi/pygi-invoke.c | 8 ++++++--
26615 3 files changed, 9 insertions(+), 2 deletions(-)
26617 commit 63afe55906c8637e913783e65b82b540b81bed65
26618 Author: John (J5) Palmieri <johnp@redhat.com>
26619 Date: Thu Jun 24 16:13:37 2010 -0400
26621 add drawing area demo
26623 demos/gtk-demo/demos/drawingarea.py | 249
26624 ++++++++++++++++++++++++++++++++++++
26625 1 file changed, 249 insertions(+)
26627 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
26628 Author: John (J5) Palmieri <johnp@redhat.com>
26629 Date: Thu Jun 24 14:11:00 2010 -0400
26633 demos/gtk-demo/gtk-demo.py | 2 ++
26634 1 file changed, 2 insertions(+)
26636 commit b9da82742701ed276b01dee39626cd71cbef8556
26637 Author: John (J5) Palmieri <johnp@redhat.com>
26638 Date: Thu Jun 24 13:56:18 2010 -0400
26640 rename iter to treeiter so we aren't using a python reserved word
26642 demos/gtk-demo/gtk-demo.py | 12 ++++++------
26643 1 file changed, 6 insertions(+), 6 deletions(-)
26645 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
26646 Author: John (J5) Palmieri <johnp@redhat.com>
26647 Date: Thu Jun 24 13:47:54 2010 -0400
26649 Fixup for change in buffer API
26651 * Part of buffer API dealing with TextIter now marked (out
26654 demos/gtk-demo/gtk-demo.py | 10 ++++------
26655 1 file changed, 4 insertions(+), 6 deletions(-)
26657 commit 8d9516a593a515290109401a9db7aa259b5aa35c
26658 Author: John (J5) Palmieri <johnp@redhat.com>
26659 Date: Wed Jun 23 17:04:33 2010 -0400
26661 add ListStore, TreeStore and TreeViewColumn APIs
26663 * this is enough to support the gtk-demo.py shell
26664 * TreeStore and ListStore allow passing in as an argument list
26665 of either python or GLib types to the constructor as a description
26666 of the columns in the model
26667 * TreeStore and ListStore override the append method, allowing
26668 the application developer to send in a list of column values
26669 for one row in the model. Unlike the append in C which
26670 just returns an iter that you can then add data to,
26671 this append actualy appends data in one step
26672 * TreeViewColumn overrides the constructor to allow the adding
26673 of attributes and a cell renderer when constructing the
26676 https://bugzilla.gnome.org/show_bug.cgi?id=620405
26678 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
26679 tests/test_overrides.py | 69
26680 +++++++++++++++++++++++++++++++++++++++++++++++++
26681 2 files changed, 128 insertions(+)
26683 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
26684 Author: Johan Dahlin <johan@gnome.org>
26685 Date: Wed Jun 23 14:34:28 2010 -0300
26687 [gi] Add -I../gobject to cflags
26689 Since we're no longer pulling in pygobject cflags,
26690 add this to be able to include pygobject.h
26692 gi/Makefile.am | 3 +++
26693 1 file changed, 3 insertions(+)
26695 commit 53a093198851e3ba5abd1f6c3314737decd401d8
26696 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26697 Date: Wed Jun 23 18:09:19 2010 +0200
26699 Add unit test for add_actions user data.
26701 tests/test_overrides.py | 20 +++++++++++++++-----
26702 1 file changed, 15 insertions(+), 5 deletions(-)
26704 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
26705 Author: Paolo Borelli <pborelli@gnome.org>
26706 Date: Wed Jun 23 18:06:46 2010 +0200
26708 Pass user_data param when adding actions
26710 gi/overrides/Gtk.py | 12 ++++++------
26711 1 file changed, 6 insertions(+), 6 deletions(-)
26713 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
26714 Author: John (J5) Palmieri <johnp@redhat.com>
26715 Date: Wed Jun 23 12:02:04 2010 -0400
26717 add an exception type to the try/except block
26719 * we should always specify what exception types we are expecting
26721 gi/overrides/Gtk.py | 6 +++---
26722 1 file changed, 3 insertions(+), 3 deletions(-)
26724 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
26725 Author: Johan Dahlin <johan@gnome.org>
26726 Date: Wed Jun 23 12:31:51 2010 -0300
26728 Avoid duplicating required versions
26730 Avoid duplicating the version of all required packages.
26731 Also remove cyclic dependency of pygobject
26733 https://bugzilla.gnome.org/show_bug.cgi?id=622503
26735 configure.ac | 9 +++++----
26736 1 file changed, 5 insertions(+), 4 deletions(-)
26738 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
26739 Author: John (J5) Palmieri <johnp@redhat.com>
26740 Date: Tue Jun 22 15:03:08 2010 -0400
26742 return PyList instead of PyTuple for array, return empty list for
26745 * returns an empty list when a NULL array (empty array) is encountered
26746 * fix tests to check for lists instead of tuples or None
26747 * test the ability to send in both None and empty list for arrays
26750 gi/pygi-argument.c | 7 ++--
26751 tests/test_everything.py | 5 ++-
26752 tests/test_gi.py | 84
26753 ++++++++++++++++++++++++------------------------
26754 3 files changed, 49 insertions(+), 47 deletions(-)
26756 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
26757 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26758 Date: Wed Jun 23 15:42:29 2010 +0200
26760 Fix 'make distcheck'
26762 * Makefile.am: put the tests dir to the end
26763 * g*/Makefile.am: build the .so when running make check
26764 * tests/Makefile.am: Don't pass the src dir to runtests.py and
26765 remove (hopefully) unneeded cruft.
26766 * tests/common.py: Don't add the src dir to the python path
26767 * tests/runtests.py: Don't pass the src dir to common.py
26769 Makefile.am | 4 +++-
26770 gi/Makefile.am | 1 +
26771 gio/Makefile.am | 1 +
26772 glib/Makefile.am | 2 +-
26773 gobject/Makefile.am | 1 +
26774 tests/Makefile.am | 17 ++---------------
26775 tests/common.py | 3 +--
26776 tests/runtests.py | 12 +++++-------
26777 8 files changed, 15 insertions(+), 26 deletions(-)
26779 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
26780 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26781 Date: Wed Jun 23 13:59:14 2010 +0200
26783 Allow building pygobject without introspection support by providing
26784 --disable-introspection to configure.
26786 Makefile.am | 6 +++++-
26787 configure.ac | 15 ++++++++-------
26788 gobject/pygi-external.h | 4 ++--
26789 tests/Makefile.am | 8 ++++++--
26790 tests/runtests.py | 21 +++++++--------------
26791 5 files changed, 28 insertions(+), 26 deletions(-)
26793 commit cc3ea77318ee572673d2a044deca9001366b0f08
26794 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26795 Date: Wed Jun 23 12:26:51 2010 +0200
26797 Make sure that sys.argv is a list and not a sequence.
26799 Because Python's optparse will try to do things on it that can
26800 only be done with list.
26802 gi/overrides/Gtk.py | 2 +-
26803 1 file changed, 1 insertion(+), 1 deletion(-)
26805 commit 3d72b8248cc534a689dee5679a729b2fba56c528
26806 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26807 Date: Wed Jun 23 12:26:02 2010 +0200
26809 Force loading the GObject typelib so we have available the wrappers
26810 for base classes such as GInitiallyUnowned.
26812 gi/__init__.py | 3 +++
26813 1 file changed, 3 insertions(+)
26815 commit c7c94ef349c30597f2f10d90f74718d678ec7add
26816 Author: John (J5) Palmieri <johnp@redhat.com>
26817 Date: Tue Jun 22 14:45:48 2010 -0400
26819 we shouldn't g_array_free NULL pointers
26821 https://bugzilla.gnome.org/show_bug.cgi?id=622425
26823 gi/pygi-info.c | 5 +++--
26824 1 file changed, 3 insertions(+), 2 deletions(-)
26826 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
26827 Merge: acf7b43 5f9cb91
26828 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26829 Date: Wed Jun 23 12:53:05 2010 +0200
26831 Merge branch 'pygi'
26833 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
26834 Author: John (J5) Palmieri <johnp@redhat.com>
26835 Date: Tue Jun 22 15:39:46 2010 -0400
26837 remove unneeded TextIter creation in the tests
26839 tests/test_overrides.py | 3 ---
26840 1 file changed, 3 deletions(-)
26842 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
26843 Author: John (J5) Palmieri <johnp@redhat.com>
26844 Date: Mon Jun 21 11:42:12 2010 -0400
26846 add override for TextBuffer
26848 * TextBuffer.create_tag takes vargs which we can't bind yet so
26850 to except a keyword list of properties
26851 * override the insert* methods so the developer does not have to
26853 - lengths are already encapsulated by a string in Python
26855 https://bugzilla.gnome.org/show_bug.cgi?id=620583
26857 gi/overrides/Gtk.py | 51
26858 +++++++++++++++++++++++++++++++++++++++++++++++++
26859 tests/test_overrides.py | 25 ++++++++++++++++++++++++
26860 2 files changed, 76 insertions(+)
26862 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
26863 Author: John (J5) Palmieri <johnp@redhat.com>
26864 Date: Tue Jun 22 12:46:39 2010 -0400
26866 fix up some build issues
26868 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
26870 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
26871 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
26873 make check.gdb work
26875 configure.ac | 2 +-
26876 tests/Makefile.am | 2 +-
26877 2 files changed, 2 insertions(+), 2 deletions(-)
26879 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
26880 Author: John (J5) Palmieri <johnp@redhat.com>
26881 Date: Tue Jun 22 11:50:30 2010 -0400
26883 make the overrides file git friendly by appending to __all__ after
26886 * modifying the __all__ line for each override would confuse git as
26887 each override needs to get seperate approval before comitting.
26889 this commits would not always go in in the same order as they
26891 Also different people working on the same file would start from
26893 commit states. This caused conflicts when patches were merged.
26894 * instead of modifying a single hard coded list we now append to
26896 after each override. This creates distinct blocks of changed text
26897 which will not conflict
26899 gi/overrides/GIMarshallingTests.py | 10 ++++------
26900 gi/overrides/Gdk.py | 8 ++++----
26901 gi/overrides/Gtk.py | 7 +++++--
26902 3 files changed, 13 insertions(+), 12 deletions(-)
26904 commit 49321b934603e1ec69fb04082c63902970907d2b
26905 Author: Paolo Borelli <pborelli@gnome.org>
26906 Date: Sun Jun 20 13:27:34 2010 +0200
26908 Override Dialog constructor and add_buttons method
26910 gi/overrides/Gtk.py | 46
26911 +++++++++++++++++++++++++++++++++++++++++++++-
26912 tests/test_overrides.py | 16 ++++++++++++++++
26913 2 files changed, 61 insertions(+), 1 deletion(-)
26915 commit acf7b43a41ce814f0c57ce609a090826f04771db
26916 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26917 Date: Mon Jun 21 18:17:38 2010 +0200
26919 Post release version bump to 2.21.4
26921 configure.ac | 2 +-
26922 1 file changed, 1 insertion(+), 1 deletion(-)
26924 commit a7fa8b80406227a06cf18f8675dbc1f471283829
26925 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26926 Date: Mon Jun 21 18:10:32 2010 +0200
26928 Update NEWS and release PyGObject-2.21.3
26931 1 file changed, 7 insertions(+)
26933 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
26934 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
26935 Date: Tue Jul 21 16:28:34 2009 +0200
26937 Proper handling of null-ok in virtual methods
26939 https://bugzilla.gnome.org/show_bug.cgi?id=589253
26941 codegen/codegen.py | 2 ++
26942 codegen/reversewrapper.py | 18 +++++++++++++++---
26943 2 files changed, 17 insertions(+), 3 deletions(-)
26945 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
26946 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26947 Date: Mon Jun 21 17:34:54 2010 +0200
26949 Add *~ and *.orig to .gitignore
26951 .gitignore | 5 ++++-
26952 1 file changed, 4 insertions(+), 1 deletion(-)
26954 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
26955 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26956 Date: Mon Jun 21 17:33:56 2010 +0200
26958 Fall back to use the floating references API in glib if there isn't
26959 a sinkfunc defined.
26961 * tests/*: Add ref counting tests for floating objects
26962 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
26964 or g_object_ref if there isn't a sinkfunc defined. Make sure that
26965 pygobject_sink gets called only once per GObject instance.
26967 https://bugzilla.gnome.org/show_bug.cgi?id=583909
26969 gobject/gobjectmodule.c | 2 -
26970 gobject/pygobject.c | 50 +++++++++++++---------
26971 gobject/pygobject.h | 1 +
26972 tests/Makefile.am | 2 +
26973 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
26974 tests/test-floating.h | 60 ++++++++++++++++++++++++++
26975 tests/test_gobject.py | 19 ++++++++-
26976 tests/testhelpermodule.c | 109
26977 +++++++++++++++++++++++++++++++++++++++++++++++
26978 8 files changed, 315 insertions(+), 23 deletions(-)
26980 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
26981 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26982 Date: Mon Jun 21 13:06:13 2010 +0200
26984 Revert "Drop sinkfuncs."
26986 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
26988 gobject/gobjectmodule.c | 3 ++-
26989 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
26990 gobject/pygobject.h | 1 -
26991 3 files changed, 36 insertions(+), 10 deletions(-)
26993 commit b2661054d6bde673484eab472e69ca021124528d
26994 Author: Johan Dahlin <johan@gnome.org>
26995 Date: Sun Jun 20 11:09:57 2010 -0300
26999 For reasons outlined at:
27000 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
27002 Makefile.am | 14 +-
27003 configure.ac | 29 +-
27004 demos/gtk-demo/demos/__init__.py | 0
27005 demos/gtk-demo/demos/appwindow.py | 411 +++++
27006 demos/gtk-demo/demos/assistant.py | 134 ++
27007 demos/gtk-demo/demos/builder.py | 57 +
27008 demos/gtk-demo/demos/button_box.py | 121 ++
27009 demos/gtk-demo/demos/clipboard.py | 238 +++
27010 demos/gtk-demo/demos/colorselector.py | 121 ++
27011 demos/gtk-demo/demos/combobox.py | 282 ++++
27012 demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
27014 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
27015 demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
27017 demos/gtk-demo/demos/data/demo.ui | 258 ++++
27018 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
27019 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
27020 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
27021 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
27022 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
27023 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
27024 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
27025 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
27026 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
27027 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
27028 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
27029 demos/gtk-demo/demos/test.py | 14 +
27030 demos/gtk-demo/gtk-demo.py | 266 ++++
27031 examples/Makefile.am | 2 +-
27032 examples/cairo-demo.py | 121 ++
27033 gi/Makefile.am | 4 +-
27034 gi/demos/gtk-demo/demos/__init__.py | 0
27035 gi/demos/gtk-demo/demos/appwindow.py | 411 -----
27036 gi/demos/gtk-demo/demos/assistant.py | 134 --
27037 gi/demos/gtk-demo/demos/builder.py | 57 -
27038 gi/demos/gtk-demo/demos/button_box.py | 121 --
27039 gi/demos/gtk-demo/demos/clipboard.py | 238 ---
27040 gi/demos/gtk-demo/demos/colorselector.py | 121 --
27041 gi/demos/gtk-demo/demos/combobox.py | 282 ----
27042 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
27044 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
27045 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
27047 gi/demos/gtk-demo/demos/data/demo.ui | 258 ----
27048 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
27049 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
27050 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
27051 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
27052 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
27053 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
27054 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
27055 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
27056 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
27057 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
27058 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
27059 gi/demos/gtk-demo/demos/test.py | 14 -
27060 gi/demos/gtk-demo/gtk-demo.py | 266 ----
27061 gi/examples/Makefile.am | 2 -
27062 gi/examples/cairo-demo.py | 121 --
27063 gi/tests/test_everything.py | 270 ----
27064 gi/tests/test_gi.py | 1624
27065 --------------------
27066 gi/tests/test_overrides.py | 132 --
27067 pygi-Makefile.am | 28 -
27068 pygi-configure.ac | 60 -
27070 pygobject.doap | 16 +-
27071 tests/Makefile.am | 23 +-
27072 tests/test_everything.py | 270 ++++
27073 tests/test_gi.py | 1624
27074 ++++++++++++++++++++
27075 tests/test_overrides.py | 132 ++
27076 68 files changed, 4124 insertions(+), 4186 deletions(-)
27078 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
27079 Merge: ec8d148 fa91dfd
27080 Author: Johan Dahlin <johan@gnome.org>
27081 Date: Sun Jun 20 10:53:46 2010 -0300
27083 Merge branch 'pygi-merge'
27085 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
27086 Author: Johan Dahlin <johan@gnome.org>
27087 Date: Sun Jun 20 10:53:36 2010 -0300
27094 autogen.sh | 166 --
27095 configure.ac | 60 -
27096 demos/gtk-demo/demos/__init__.py | 0
27097 demos/gtk-demo/demos/appwindow.py | 411 -----
27098 demos/gtk-demo/demos/assistant.py | 134 --
27099 demos/gtk-demo/demos/builder.py | 57 -
27100 demos/gtk-demo/demos/button_box.py | 121 --
27101 demos/gtk-demo/demos/clipboard.py | 238 ---
27102 demos/gtk-demo/demos/colorselector.py | 121 --
27103 demos/gtk-demo/demos/combobox.py | 282 ----
27104 demos/gtk-demo/demos/data/alphatest.png | Bin 26529 ->
27106 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes
27107 demos/gtk-demo/demos/data/background.jpg | Bin 22219 ->
27109 demos/gtk-demo/demos/data/demo.ui | 258 ----
27110 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes
27111 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes
27112 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes
27113 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes
27114 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes
27115 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes
27116 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes
27117 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes
27118 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes
27119 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes
27120 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes
27121 demos/gtk-demo/demos/test.py | 14 -
27122 demos/gtk-demo/gtk-demo.py | 266 ----
27123 examples/Makefile.am | 2 -
27124 examples/cairo-demo.py | 121 --
27125 gi/.gitignore | 40 +
27127 gi/demos/gtk-demo/demos/__init__.py | 0
27128 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++
27129 gi/demos/gtk-demo/demos/assistant.py | 134 ++
27130 gi/demos/gtk-demo/demos/builder.py | 57 +
27131 gi/demos/gtk-demo/demos/button_box.py | 121 ++
27132 gi/demos/gtk-demo/demos/clipboard.py | 238 +++
27133 gi/demos/gtk-demo/demos/colorselector.py | 121 ++
27134 gi/demos/gtk-demo/demos/combobox.py | 282 ++++
27135 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 ->
27137 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
27138 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 ->
27140 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++
27141 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
27142 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
27143 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
27144 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
27145 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
27146 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
27147 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
27148 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
27149 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
27150 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
27151 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
27152 gi/demos/gtk-demo/demos/test.py | 14 +
27153 gi/demos/gtk-demo/gtk-demo.py | 266 ++++
27154 gi/examples/Makefile.am | 2 +
27155 gi/examples/cairo-demo.py | 121 ++
27156 gi/tests/Makefile.am | 22 +
27157 gi/tests/runtests.py | 21 +
27158 gi/tests/test_everything.py | 270 ++++
27159 gi/tests/test_gi.py | 1624
27160 ++++++++++++++++++++
27161 gi/tests/test_overrides.py | 132 ++
27162 pygi-Makefile.am | 28 +
27163 pygi-configure.ac | 60 +
27164 tests/Makefile.am | 22 -
27165 tests/runtests.py | 21 -
27166 tests/test_everything.py | 270 ----
27167 tests/test_gi.py | 1624
27168 --------------------
27169 tests/test_overrides.py | 132 --
27170 73 files changed, 4248 insertions(+), 4414 deletions(-)
27172 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
27173 Author: Johan Dahlin <johan@gnome.org>
27174 Date: Sun Jun 20 10:49:55 2010 -0300
27176 [giounix] Make it possible to compile on glib 2.20
27178 gio/unix.override | 2 ++
27179 1 file changed, 2 insertions(+)
27181 commit 606018a2c551d890fc2bb987d99683f777598bda
27182 Author: John (J5) Palmieri <johnp@redhat.com>
27183 Date: Mon Jun 7 16:32:29 2010 -0400
27185 Don't free transfer full struct pointers because we can't do it safely
27187 * Most libraries which are sending back structs as transfer-full
27188 are either annotated incorrectly or should be sending boxed types
27189 * It is much better to throw a warning and leak memory than it is to
27190 call free on an unknown struct pointer. Doing so may cause
27192 * Specific case is gdk_atom_intern where a GdkAtom is not actually
27194 but an integer stuffed into a pointer type
27196 https://bugzilla.gnome.org/show_bug.cgi?id=620898
27198 gi/pygi-argument.c | 9 ++++++++-
27199 gi/pygi-invoke.c | 11 +++++++++--
27200 2 files changed, 17 insertions(+), 3 deletions(-)
27202 commit 433ee2aa029a1482961f478252a06492bd3498e6
27203 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
27204 Date: Tue Jun 15 11:42:28 2010 +0200
27206 Release the lock when potentially invoking Python code.
27208 * gobject/pygobject.c: Release GIL lock when retrieving properties
27209 and when clearing a PyGObject.
27211 https://bugzilla.gnome.org/show_bug.cgi?id=530935
27213 gobject/pygobject.c | 11 ++++++++++-
27214 1 file changed, 10 insertions(+), 1 deletion(-)
27216 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
27217 Author: John (J5) Palmieri <johnp@redhat.com>
27218 Date: Mon Jun 14 18:36:57 2010 -0400
27220 add combobox example
27222 demos/gtk-demo/demos/combobox.py | 282
27223 +++++++++++++++++++++++++++++++++++++++
27224 1 file changed, 282 insertions(+)
27226 commit a8668694da59c2dd959c875f13337e64ca22f7e9
27227 Author: John (J5) Palmieri <johnp@redhat.com>
27228 Date: Mon Jun 14 13:43:53 2010 -0400
27230 fix leak in the allow None callbacks patch
27232 gi/pygi-callbacks.c | 4 ++--
27233 1 file changed, 2 insertions(+), 2 deletions(-)
27235 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
27236 Author: John (J5) Palmieri <johnp@redhat.com>
27237 Date: Mon Jun 7 17:12:09 2010 -0400
27239 Allow passing None for callbacks which are annotated allow-none
27241 * Many callbacks are optional parameters yet we were asserting on
27243 * We now check to see if allow_none is set when setting up callbacks,
27244 if it is set and py_function == Py_None, we set the closure to NULL
27246 * pygi-invoke.c now checks to see if the closure == NULL when setting
27248 * if it is NULL there is no reason to set the the destroy notify
27250 so we skip that too
27252 https://bugzilla.gnome.org/show_bug.cgi?id=620906
27254 gi/pygi-callbacks.c | 7 +++++++
27255 gi/pygi-invoke.c | 14 +++++++++++---
27256 tests/test_everything.py | 4 ++++
27257 3 files changed, 22 insertions(+), 3 deletions(-)
27259 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
27260 Author: Paolo Borelli <pborelli@gnome.org>
27261 Date: Mon Jun 14 19:06:45 2010 +0200
27263 Fix to match latest gtk annotations
27265 demos/gtk-demo/demos/appwindow.py | 3 +--
27266 1 file changed, 1 insertion(+), 2 deletions(-)
27268 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
27269 Author: John (J5) Palmieri <johnp@redhat.com>
27270 Date: Tue Jun 8 15:03:49 2010 -0400
27272 fix variable member names in Gdk.Color override
27274 * override was using r, g, and b for the red, green, blue components
27276 the struct specifies red, green, blue so we need to use those names
27278 https://bugzilla.gnome.org/show_bug.cgi?id=621007
27280 gi/overrides/Gdk.py | 10 +++++-----
27281 tests/test_overrides.py | 6 +++---
27282 2 files changed, 8 insertions(+), 8 deletions(-)
27284 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
27285 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27286 Date: Thu Jun 10 20:23:13 2010 +0200
27288 Post release version bump to 2.21.3
27290 configure.ac | 2 +-
27291 1 file changed, 1 insertion(+), 1 deletion(-)
27293 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
27294 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27295 Date: Thu Jun 10 20:21:13 2010 +0200
27297 Update NEWS and release PyGObject-2.21.2
27299 NEWS | 26 ++++++++++++++++++++++++++
27300 1 file changed, 26 insertions(+)
27302 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
27303 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27304 Date: Thu Jun 10 20:09:07 2010 +0200
27306 Remove deleted files from the Makefile.
27313 tests/Makefile.am | 4 ----
27314 1 file changed, 4 deletions(-)
27316 commit 495a301cb81c5e914bcef905999265604faa27fc
27317 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27318 Date: Thu Jun 10 19:39:09 2010 +0200
27320 Add myself to the maintainers list in the README
27323 1 file changed, 1 insertion(+)
27325 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
27326 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27327 Date: Thu Jun 10 19:24:31 2010 +0200
27331 * use g_object methods to sink floating refs instead of allowing
27332 custom sink functions to be registered
27333 * we now sink inside of pygobject_new_full to handle cases where
27334 a library creates its own gobject via g_object_new and just
27335 needs a python wrapper
27336 - a previous patch had done the sink when creating the gobject,
27337 since it needs to call pygobject_new_full to wrap the object,
27338 this patch handles both cases (e.g. pygobject created object
27339 and externally created gobject)
27341 https://bugzilla.gnome.org/show_bug.cgi?id=583909
27343 gobject/gobjectmodule.c | 3 +--
27344 gobject/pygobject.c | 42 ++++++++----------------------------------
27345 gobject/pygobject.h | 1 +
27346 3 files changed, 10 insertions(+), 36 deletions(-)
27348 commit 07df124dc06cf506634e95d08397f50a2d07fce2
27349 Author: Steve Frécinaux <code@istique.net>
27350 Date: Mon Jun 7 09:47:23 2010 +0200
27352 Make the "wrong argument count" exception more explicit.
27354 Previously we had messages like this one:
27355 TypeError: takes exactly 2 argument(s) (1 given)
27357 With this patch, they become like this:
27358 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
27360 It makes things much easier to debug when there are several pygi calls
27363 https://bugzilla.gnome.org/show_bug.cgi?id=620804
27365 gi/pygi-invoke.c | 3 ++-
27366 tests/test_everything.py | 6 ++++++
27367 2 files changed, 8 insertions(+), 1 deletion(-)
27369 commit b435319fe830a909cc4d414533b3b66574931e24
27370 Author: Steve Frécinaux <code@istique.net>
27371 Date: Mon Jun 7 09:54:06 2010 +0200
27373 Use bash explicitely in the pre-commit hook.
27375 The "builtin" command is not available in all sh flavours, so the
27376 pre-commit hook is going to fail if you use dash or others instead of
27377 bash as your default 'sh' alias.
27379 https://bugzilla.gnome.org/show_bug.cgi?id=620805
27381 pre-commit.hook | 2 +-
27382 1 file changed, 1 insertion(+), 1 deletion(-)
27384 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
27385 Author: John (J5) Palmieri <johnp@redhat.com>
27386 Date: Tue Jun 8 16:55:26 2010 -0400
27390 demos/gtk-demo/demos/colorselector.py | 121
27391 ++++++++++++++++++++++++++++++++++
27392 1 file changed, 121 insertions(+)
27394 commit ec598128de9e90dccab662ed2f5511c8d659e156
27395 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27396 Date: Tue Jun 8 15:48:33 2010 +0200
27398 Update PyGObject dependency to 2.21.1
27400 configure.ac | 2 +-
27401 1 file changed, 1 insertion(+), 1 deletion(-)
27403 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
27404 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27405 Date: Tue Jun 8 10:40:39 2010 +0200
27407 Add myself to maintainers
27409 MAINTAINERS | 4 ++++
27410 pygobject.doap | 7 +++++++
27411 2 files changed, 11 insertions(+)
27413 commit 46c91a11d448e5e11d142d3362aff1483226bca4
27414 Author: Colin Walters <walters@verbum.org>
27415 Date: Wed May 5 13:54:27 2010 -0400
27417 Clear error if we failed the import
27419 Otherwise we leave the exception set which causes bizarre problems
27420 later in unrelated code.
27422 https://bugzilla.redhat.com/show_bug.cgi?id=569885
27424 https://bugzilla.gnome.org/show_bug.cgi?id=617796
27426 gobject/pygi-external.h | 2 ++
27427 1 file changed, 2 insertions(+)
27429 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
27430 Author: John (J5) Palmieri <johnp@redhat.com>
27431 Date: Mon Jun 7 17:19:30 2010 -0400
27433 fix some typos and add a link to a patch which fixes a FIXME
27435 demos/gtk-demo/demos/clipboard.py | 7 +++++--
27436 1 file changed, 5 insertions(+), 2 deletions(-)
27438 commit e7fabb5024d94a3166766e5fca740741bc50380a
27439 Author: John (J5) Palmieri <johnp@redhat.com>
27440 Date: Mon Jun 7 16:21:42 2010 -0400
27444 demos/gtk-demo/demos/clipboard.py | 235
27445 ++++++++++++++++++++++++++++++++++++++
27446 1 file changed, 235 insertions(+)
27448 commit e0f1dce5ec58d071759f886697501da6eeea549d
27449 Author: John (J5) Palmieri <johnp@redhat.com>
27450 Date: Sun Jun 6 13:27:46 2010 -0400
27452 set is_fully_bound to false
27454 demos/gtk-demo/demos/button_box.py | 2 +-
27455 1 file changed, 1 insertion(+), 1 deletion(-)
27457 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
27458 Author: John (J5) Palmieri <johnp@redhat.com>
27459 Date: Sat Jun 5 23:53:36 2010 -0400
27461 new button box demo
27463 demos/gtk-demo/demos/button_box.py | 121
27464 +++++++++++++++++++++++++++++++++++++
27465 1 file changed, 121 insertions(+)
27467 commit e9f5f8a829121e59367bae690442150f144946ad
27468 Author: John (J5) Palmieri <johnp@redhat.com>
27469 Date: Sat Jun 5 23:26:03 2010 -0400
27471 set is_fully_bound to True fro builder example
27473 demos/gtk-demo/demos/builder.py | 2 +-
27474 1 file changed, 1 insertion(+), 1 deletion(-)
27476 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
27477 Author: John (J5) Palmieri <johnp@redhat.com>
27478 Date: Sat Jun 5 23:24:36 2010 -0400
27480 fix up formatting in demos
27482 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
27483 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
27484 demos/gtk-demo/demos/builder.py | 2 +-
27485 3 files changed, 21 insertions(+), 21 deletions(-)
27487 commit ffca02536bafb55e8c3bce31cd992365207429f6
27488 Author: John (J5) Palmieri <johnp@redhat.com>
27489 Date: Sat Jun 5 14:54:47 2010 -0400
27491 add the builder demo
27493 demos/gtk-demo/demos/builder.py | 57
27494 +++++++++++++++++++++++++++++++++++++++++
27495 1 file changed, 57 insertions(+)
27497 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
27498 Author: John (J5) Palmieri <johnp@redhat.com>
27499 Date: Fri Jun 4 17:48:24 2010 -0400
27503 demos/gtk-demo/demos/assistant.py | 134
27504 ++++++++++++++++++++++++++++++++++++++
27505 1 file changed, 134 insertions(+)
27507 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
27508 Author: John (J5) Palmieri <johnp@redhat.com>
27509 Date: Fri Jun 4 16:56:46 2010 -0400
27511 add formatting rules and copyright notice
27513 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
27514 1 file changed, 19 insertions(+)
27516 commit 03b99692b81631d397ab62dcd263341465bcee88
27517 Author: John (J5) Palmieri <johnp@redhat.com>
27518 Date: Fri Jun 4 16:26:54 2010 -0400
27520 add the gtk-demo app along with a couple of demos
27522 * note there are still a couple of patches in bugzilla that are
27525 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
27526 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
27528 demos/gtk-demo/demos/__init__.py | 0
27529 demos/gtk-demo/demos/appwindow.py | 393
27530 +++++++++++++++++++++++
27531 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
27532 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
27533 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
27534 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
27535 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
27536 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
27537 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
27538 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
27539 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
27540 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
27541 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
27542 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
27543 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
27544 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
27545 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
27546 demos/gtk-demo/demos/test.py | 14 +
27547 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
27548 19 files changed, 931 insertions(+)
27550 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
27551 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27552 Date: Fri Jun 4 11:25:08 2010 +0200
27554 Update gobject-introspection dependency to 0.6.14
27556 configure.ac | 2 +-
27557 1 file changed, 1 insertion(+), 1 deletion(-)
27559 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
27560 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27561 Date: Fri Jun 4 11:23:41 2010 +0200
27563 Post-release version bump to 0.6.1
27565 configure.ac | 2 +-
27566 1 file changed, 1 insertion(+), 1 deletion(-)
27568 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
27569 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27570 Date: Fri Jun 4 08:29:42 2010 +0200
27572 Pre-release version bump 0.6.0
27574 configure.ac | 2 +-
27575 1 file changed, 1 insertion(+), 1 deletion(-)
27577 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
27578 Author: John (J5) Palmieri <johnp@redhat.com>
27579 Date: Fri May 28 10:03:11 2010 -0400
27581 support for caller-allocates annotations for structs
27583 * out caller-allocates parameters expect an already constructed
27585 to be passed in by reference. It is then modified and the caller
27587 modified value. We support this by using only one level of pointer
27589 * Only structs are considered to be caller-allocates parameters
27591 they are marked as such by GI. This is because the GI scanner
27593 enough to correctly guess 100% of the time
27594 * GValues are a special case of a caller-allocates parameter when
27596 up (e.g. g_value_unset is called). GValues make no sense in
27598 language. Developers should never deal with them.
27600 https://bugzilla.gnome.org/show_bug.cgi?id=620406
27602 gi/pygi-invoke.c | 73
27603 +++++++++++++++++++++++++++++++++++++++++++++---
27604 tests/test_everything.py | 28 +++++++++++++++++++
27605 2 files changed, 97 insertions(+), 4 deletions(-)
27607 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
27608 Author: John (J5) Palmieri <johnp@redhat.com>
27609 Date: Wed Jun 2 14:14:16 2010 -0400
27611 don't import gobject directly in the tests
27613 * use from gi.repository import GObject
27615 tests/test_overrides.py | 5 ++---
27616 1 file changed, 2 insertions(+), 3 deletions(-)
27618 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
27619 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27620 Date: Tue Jun 1 14:28:57 2010 +0200
27622 Wrap C arrays in structs as GArrays before converting to Python
27624 https://bugzilla.gnome.org/show_bug.cgi?id=620247
27626 gi/pygi-info.c | 11 +++++++++++
27627 tests/test_gi.py | 17 +++++++++++++++++
27628 2 files changed, 28 insertions(+)
27630 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
27631 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27632 Date: Wed May 26 13:20:27 2010 +0200
27634 Install pre-commit hook that checks the code changes for style
27637 autogen.sh | 7 +++++++
27638 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
27639 2 files changed, 46 insertions(+)
27641 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
27642 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27643 Date: Wed May 26 12:19:17 2010 +0200
27645 Apply consistent whitespace formatting with:
27647 astyle -p -d -c -S -U -M60
27649 This won't affect git blame nor git diff if the switch -w is used.
27651 gi/gimodule.c | 138 +++----
27652 gi/pygi-argument.c | 960
27653 ++++++++++++++++++++++++------------------------
27654 gi/pygi-boxed.c | 108 +++---
27655 gi/pygi-callbacks.c | 154 ++++----
27656 gi/pygi-callbacks.h | 8 +-
27657 gi/pygi-closure.c | 270 +++++++-------
27658 gi/pygi-closure.h | 18 +-
27659 gi/pygi-foreign-cairo.c | 36 +-
27660 gi/pygi-foreign-cairo.h | 36 +-
27661 gi/pygi-foreign.c | 54 +--
27662 gi/pygi-foreign.h | 10 +-
27663 gi/pygi-info.c | 646 ++++++++++++++++----------------
27664 gi/pygi-invoke.c | 380 +++++++++----------
27665 gi/pygi-repository.c | 114 +++---
27666 gi/pygi-struct.c | 88 ++---
27667 gi/pygi-type.c | 32 +-
27669 gi/pygobject-external.h | 14 +-
27670 18 files changed, 1544 insertions(+), 1542 deletions(-)
27672 commit 6156f15cb15b4c20e975527227135d49207c520a
27673 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27674 Date: Tue May 25 14:08:51 2010 +0200
27676 Prepend gi.repository to the __module__ attribute of wrapper classes.
27678 https://bugzilla.gnome.org/show_bug.cgi?id=619597
27680 gi/module.py | 4 ++--
27681 tests/test_gi.py | 4 +++-
27682 2 files changed, 5 insertions(+), 3 deletions(-)
27684 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
27685 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27686 Date: Tue May 25 14:17:13 2010 +0200
27688 Correctly identify at creation time:
27690 * if the class is defined in python -> hook up vfuncs
27691 * if the class wraps a type from a .typelib -> set atributes
27692 * else (GLocalFile) -> do nothing
27694 https://bugzilla.gnome.org/show_bug.cgi?id=619604
27696 gi/types.py | 15 +++++++++++----
27697 1 file changed, 11 insertions(+), 4 deletions(-)
27699 commit 686e10fcdb108af9758eb025a3447813c3513a93
27700 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
27701 Date: Thu Apr 29 10:55:13 2010 +0200
27703 Dont complain if another base has implemented the method
27705 https://bugzilla.gnome.org/show_bug.cgi?id=617153
27707 gi/types.py | 3 ++-
27708 1 file changed, 2 insertions(+), 1 deletion(-)
27710 commit 9f34d120845d936b04546a5cea599ec67e9181a7
27711 Author: John (J5) Palmieri <johnp@redhat.com>
27712 Date: Mon May 24 16:16:50 2010 -0400
27714 fix up Builder override, add new override methods, and add unit tests
27716 * check for flags when connecting signals now that we get gi
27718 * override the add_from_string and add_objects_from string overrides
27720 that you don't have to pass in the length of the buffer
27721 * add test that loads objects from strings and connects them to
27724 gi/overrides/Gtk.py | 19 +++++++++++--
27725 tests/test_overrides.py | 72
27726 ++++++++++++++++++++++++++++++++++++++++++++++---
27727 2 files changed, 86 insertions(+), 5 deletions(-)
27729 commit 1561d2977691f1cb8684f183a2e274c47960d931
27730 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27731 Date: Mon May 24 18:48:10 2010 +0200
27733 Improve handling of subclasses without __gtype_name__
27735 Gives a better message at type registration.
27737 https://bugzilla.gnome.org/show_bug.cgi?id=616849
27739 gi/gimodule.c | 9 +++++++++
27740 tests/test_gi.py | 13 ++++++++++++-
27741 2 files changed, 21 insertions(+), 1 deletion(-)
27743 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
27744 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
27745 Date: Fri Apr 30 18:17:50 2010 +0200
27747 Add support for GArray args
27749 https://bugzilla.gnome.org/show_bug.cgi?id=617054
27751 gi/pygi-invoke.c | 11 +++++++----
27752 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
27753 2 files changed, 57 insertions(+), 4 deletions(-)
27755 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
27756 Author: John (J5) Palmieri <johnp@redhat.com>
27757 Date: Mon May 24 11:48:16 2010 -0400
27759 check refcounting of callback userdata in unit tests
27761 tests/test_everything.py | 18 ++++++++++++++++++
27762 1 file changed, 18 insertions(+)
27764 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
27765 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27766 Date: Sat May 22 15:12:37 2010 +0200
27768 Add support for out args in callbacks
27770 This patch refactors argument marshalling for closures in
27771 preparation for more complete support.
27773 Also fixes a bug in the memory management of user_data args.
27775 https://bugzilla.gnome.org/show_bug.cgi?id=617780
27777 gi/pygi-closure.c | 335
27778 +++++++++++++++++++++++++++++++++++++++++-------------
27779 tests/test_gi.py | 4 +
27780 2 files changed, 263 insertions(+), 76 deletions(-)
27782 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
27783 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27784 Date: Sun May 23 10:59:27 2010 +0200
27786 If None is passed to an interface which takes an object, convert it to
27789 * without this patch PyGI treats the None object as a PyGObject
27791 extracting garbage data causing a crash
27792 * None's equivalent in C is NULL so we must provide a special case
27794 marshal the None as NULL
27796 https://bugzilla.gnome.org/show_bug.cgi?id=617880
27798 gi/pygi-argument.c | 5 +++++
27799 tests/test_everything.py | 6 ++++++
27800 2 files changed, 11 insertions(+)
27802 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
27803 Author: John (J5) Palmieri <johnp@redhat.com>
27804 Date: Sat May 22 14:06:37 2010 +0200
27806 correctly handle floating objects in gtk
27808 * this is a stopgap so we work with older pygobject libraries
27809 * there is a patch at
27810 https://bugzilla.gnome.org/show_bug.cgi?id=583909
27811 which adds the correct fix to pygobject
27812 * once pygobject accepts the above patch this patch does not need to
27813 be reverted because pygobject_register_sinkfunc becomes a noop
27814 * add tests (Tomeu)
27816 https://bugzilla.gnome.org/show_bug.cgi?id=619007
27818 gi/gimodule.c | 12 ++++++++++++
27819 tests/test_everything.py | 3 +++
27820 2 files changed, 15 insertions(+)
27822 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
27823 Author: John (J5) Palmieri <johnp@redhat.com>
27824 Date: Sat May 22 13:21:30 2010 +0200
27826 Return an empty list when a NULL GList and GSList is returned
27828 * In GTK a GList * and GSList set to NULL is equivilant to empty
27830 GTK list methods can take a NULL and treat it as an empty list. e.g.
27831 g_list_length(NULL) returns 0
27832 * PyGtk consitently returns empty list when a NULL is returned for
27835 * Many PyGtk apps do this:
27836 for i in range(len(obj.get_list())):
27838 * If we were to continue to return None, they would have to add
27840 which is needlessly verbose and isn't very "pythonic"
27842 https://bugzilla.gnome.org/show_bug.cgi?id=619232
27844 gi/pygi-argument.c | 6 ------
27845 tests/test_everything.py | 4 ++--
27846 2 files changed, 2 insertions(+), 8 deletions(-)
27848 commit 71a2148b00dfdda99e0d961ae39b901608724e59
27849 Author: Steve Frécinaux <code@istique.net>
27850 Date: Fri May 21 19:05:03 2010 +0200
27852 Fix warning in configure.
27854 The warning is caused by the use of the construction 'CFLAGS+=' in a
27855 sh version that doesn't understand it (in this case, 'dash').
27857 https://bugzilla.gnome.org/show_bug.cgi?id=619311
27859 configure.ac | 2 +-
27860 1 file changed, 1 insertion(+), 1 deletion(-)
27862 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
27863 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
27864 Date: Thu Apr 29 13:06:15 2010 +0200
27866 GTypeInterface cannot be unrefed
27868 https://bugzilla.gnome.org/show_bug.cgi?id=617159
27870 gi/gimodule.c | 4 +++-
27871 1 file changed, 3 insertions(+), 1 deletion(-)
27873 commit ab1aaff108d23aabd28c3634edfb67236eb55460
27874 Author: John (J5) Palmieri <johnp@redhat.com>
27875 Date: Sat May 22 13:09:48 2010 +0200
27877 fix NULL array unit tests and fix crasher when sending None as
27880 * Unit tests were wrong given the annotation for
27881 test_array_int_null_in and
27882 test_array_int_null_out:
27885 * test_array_int_null_in:
27886 * @arr: (array length=len) (allow-none):
27893 * test_array_int_null_out:
27894 * @arr: (out) (array length=len) (allow-none):
27895 * @len: (out) : length
27898 The (array length=len) annotation meant we don't pass in or
27899 receive the len argument as this is handled under the hood
27900 (Python's representation of an array, the list type, encapsulates
27901 the length inside the type)
27903 * Fixing up the tests revealed a latent crasher bug when passing
27905 interface that accepts an array. The fix was to check for NULL
27907 the length argument to 0 when invoking the bound method.
27909 https://bugzilla.gnome.org/show_bug.cgi?id=619235
27911 gi/pygi-invoke.c | 6 +++++-
27912 tests/test_everything.py | 4 ++--
27913 2 files changed, 7 insertions(+), 3 deletions(-)
27915 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
27916 Author: John (J5) Palmieri <johnp@redhat.com>
27917 Date: Fri May 14 14:57:27 2010 -0400
27919 don't error out on methods with callbacks as return type
27921 * Right now we just throw an error which means API's like
27922 gtk_about_dialog_set_url_hook aren't able to be called,
27923 * this allows us to call such APIs while printing a warning, in
27925 API such as this doesn't need to be used anymore and is a result of
27926 early GTK development
27928 gi/pygi-argument.c | 14 +++++++++++---
27929 1 file changed, 11 insertions(+), 3 deletions(-)
27931 commit d963007aab123f4e53a944a66a935db2d22907c2
27932 Author: John (J5) Palmieri <johnp@redhat.com>
27933 Date: Mon May 17 11:54:34 2010 -0400
27935 reset sys.argv to the return value of Gtk.init_check
27937 * applications which check command line arguments will error out if it
27938 encounters a GTK command line switch such as --g-fatal-warnings.
27939 * The Gtk.init* API reads these switches and returns a new argv with
27941 switches stripped out
27942 * In C argv is modified in place but in Python we must set sys.argv
27944 new modified argument list
27945 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
27947 gi/overrides/Gtk.py | 1 +
27948 1 file changed, 1 insertion(+)
27950 commit 897420ed97cc4a7b8a806894df5e76ed72617614
27951 Author: John (J5) Palmieri <johnp@redhat.com>
27952 Date: Wed May 12 14:25:32 2010 -0400
27954 add GtkUIManager and GtkActionGroup overrides
27956 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
27958 gi/overrides/Gtk.py | 167
27959 +++++++++++++++++++++++++++++++++++++++++++++++-
27960 tests/test_overrides.py | 45 +++++++++++++
27961 2 files changed, 211 insertions(+), 1 deletion(-)
27963 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
27964 Author: Zach Goldberg <zach@zachgoldberg.com>
27965 Date: Thu May 13 01:02:24 2010 -0400
27967 Bump version for development to 0.5.2 (hopefully 0.6)
27969 configure.ac | 2 +-
27970 1 file changed, 1 insertion(+), 1 deletion(-)
27972 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
27973 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
27974 Date: Wed May 5 15:54:39 2010 +0200
27976 Fix overrides.Gdk.Color.__new__ args
27978 https://bugzilla.gnome.org/show_bug.cgi?id=617757
27980 gi/overrides/Gdk.py | 2 +-
27981 tests/Makefile.am | 3 ++-
27982 tests/test_overrides.py | 22 ++++++++++++++++++++++
27983 3 files changed, 25 insertions(+), 2 deletions(-)
27985 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
27986 Author: John (J5) Palmieri <johnp@redhat.com>
27987 Date: Thu Apr 29 14:55:33 2010 -0400
27989 wrap GObject module so we can go through GI when requesting attrs
27991 * This gives us the best of both worlds.
27992 - We remain backwards compatable with pygobject by checking for
27994 attrs in the gobject module
27995 - If an attr does not exist we use the GI mechanism to look it up
27997 things like flags look the same whether exported from GObject, Gtk
27998 or any GI managed library
28000 * add DynamicGObjectModule tests and make tests use the new module
28001 - change import gobject to from gi.repository import GObject
28003 gi/importer.py | 6 ++--
28004 gi/module.py | 30 ++++++++++++++++
28005 tests/test_everything.py | 6 ++--
28006 tests/test_gi.py | 93
28007 ++++++++++++++++++++++++++----------------------
28008 4 files changed, 87 insertions(+), 48 deletions(-)
28010 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
28011 Author: John (J5) Palmieri <johnp@redhat.com>
28012 Date: Fri Apr 30 14:11:55 2010 -0400
28014 override Gdk.Drawable to add cairo_create convinience method
28016 gi/overrides/Gdk.py | 7 ++++++-
28017 1 file changed, 6 insertions(+), 1 deletion(-)
28019 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
28020 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28021 Date: Mon May 3 19:13:46 2010 +0200
28023 Fix passing callbacks as constructor args
28025 https://bugzilla.gnome.org/show_bug.cgi?id=617551
28027 gi/pygi-callbacks.c | 3 ++-
28028 gi/pygi-callbacks.h | 1 +
28029 gi/pygi-invoke.c | 7 +++++--
28030 tests/test_everything.py | 21 +++++++++++++++++++++
28031 4 files changed, 29 insertions(+), 3 deletions(-)
28033 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
28034 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28035 Date: Wed May 5 08:06:03 2010 +0200
28037 Avoid freeing garbage
28039 gi/pygi-invoke.c | 6 ++++--
28040 1 file changed, 4 insertions(+), 2 deletions(-)
28042 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
28043 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28044 Date: Thu Apr 29 13:09:03 2010 +0200
28046 Only hookup vfunc implementations for locally-defined methods
28048 https://bugzilla.gnome.org/show_bug.cgi?id=617160
28050 gi/types.py | 10 +++++++++-
28051 tests/test_gi.py | 10 ++++++++++
28052 2 files changed, 19 insertions(+), 1 deletion(-)
28054 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
28055 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28056 Date: Mon May 3 18:35:13 2010 +0200
28058 Fix passing GDestroyNotify
28060 https://bugzilla.gnome.org/show_bug.cgi?id=617542
28062 gi/pygi-invoke.c | 3 ++-
28063 tests/test_everything.py | 10 ++++++++++
28064 2 files changed, 12 insertions(+), 1 deletion(-)
28066 commit 9669acd0fad193013ef3505ae231588307f9834c
28067 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28068 Date: Mon May 3 12:23:58 2010 +0200
28070 Move invocation code to its own file
28072 https://bugzilla.gnome.org/show_bug.cgi?id=617107
28074 gi/Makefile.am | 2 +
28075 gi/pygi-info.c | 884
28076 ----------------------------------------------------
28077 gi/pygi-invoke.c | 909
28078 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
28079 gi/pygi-invoke.h | 37 +++
28080 gi/pygi-private.h | 1 +
28081 5 files changed, 949 insertions(+), 884 deletions(-)
28083 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
28084 Author: John (J5) Palmieri <johnp@redhat.com>
28085 Date: Tue Apr 27 19:13:08 2010 -0400
28087 Add the Gtk.Builder override
28089 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
28090 1 file changed, 36 insertions(+), 1 deletion(-)
28092 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
28093 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28094 Date: Fri Apr 30 15:00:52 2010 +0200
28096 Fix GAsyncReadyCallback
28098 https://bugzilla.gnome.org/show_bug.cgi?id=616236
28100 gi/pygi-closure.c | 8 +++++++-
28101 tests/test_everything.py | 16 ++++++++++++++++
28102 2 files changed, 23 insertions(+), 1 deletion(-)
28104 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
28105 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28106 Date: Thu Apr 29 18:32:50 2010 +0200
28108 Add override for Gdk.Color
28110 https://bugzilla.gnome.org/show_bug.cgi?id=617162
28112 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
28113 1 file changed, 19 insertions(+), 1 deletion(-)
28115 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
28116 Author: John (J5) Palmieri <johnp@redhat.com>
28117 Date: Wed Apr 28 13:19:48 2010 -0400
28119 make __all__ be a list of strings, fix override mechanism to use
28122 * before we were adding classes to the __all__ module property but
28123 the convention is to use the name of the class
28124 * simplified the check to just check the name against __all__
28125 instead of trying to get the class and then checking the class
28126 against None as well as in __all__
28127 * went through all the overrides and made __all__ be a list of strings
28129 gi/module.py | 9 ++++-----
28130 gi/overrides/GIMarshallingTests.py | 2 +-
28131 gi/overrides/Gdk.py | 2 +-
28132 3 files changed, 6 insertions(+), 7 deletions(-)
28134 commit 64fa8f936bad9a90628df446e690d67d947a0a22
28135 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28136 Date: Mon Apr 26 11:41:06 2010 +0200
28138 One more step at refactoring _wrap_g_function_info_invoke
28140 https://bugzilla.gnome.org/show_bug.cgi?id=616357
28142 gi/pygi-callbacks.c | 22 +-
28143 gi/pygi-callbacks.h | 4 +-
28144 gi/pygi-info.c | 582
28145 ++++++++++++++++++++++++++++++----------------------
28146 3 files changed, 346 insertions(+), 262 deletions(-)
28148 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
28149 Author: Zach Goldberg <zach@zachgoldberg.com>
28150 Date: Tue Apr 20 23:23:38 2010 -0400
28152 Step 1 of refactoring _wrap_g_function_info_invoke
28154 Original patch by David Malcom <dmalcolm@redhat.com>
28156 This patch bitrots *REALLY* fast.
28158 https://bugzilla.gnome.org/show_bug.cgi?id=616357
28160 gi/pygi-info.c | 417
28161 +++++++++++++++++++++++++++++----------------------------
28162 1 file changed, 214 insertions(+), 203 deletions(-)
28164 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
28165 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28166 Date: Tue Apr 27 10:24:35 2010 +0200
28168 Dont force subclasses to implement all virtual methods of their bases
28170 https://bugzilla.gnome.org/show_bug.cgi?id=616674
28172 gi/types.py | 4 ++--
28173 tests/test_gi.py | 15 +++++++++++++++
28174 2 files changed, 17 insertions(+), 2 deletions(-)
28176 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
28177 Author: Zach Goldberg <zach@zachgoldberg.com>
28178 Date: Sun Apr 25 15:09:08 2010 -0400
28180 Correct the reference counting of userdata in closure handling
28182 Without this we lose references on every call and eventually end up
28184 while they are still in use.
28186 https://bugzilla.gnome.org/show_bug.cgi?id=616786
28188 gi/pygi-closure.c | 3 +++
28189 tests/test_everything.py | 13 +++++++++++++
28190 2 files changed, 16 insertions(+)
28192 commit 2b12049306bf57513c43d08017185468bf897a4a
28193 Author: Zach Goldberg <zach@zachgoldberg.com>
28194 Date: Tue Apr 20 22:57:14 2010 -0400
28196 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
28198 (Previous commit did not include the proper error message. I blame
28201 https://bugzilla.gnome.org/show_bug.cgi?id=616356
28203 gi/pygi-closure.c | 4 ++--
28204 1 file changed, 2 insertions(+), 2 deletions(-)
28206 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
28207 Author: Zach Goldberg <zach@zachgoldberg.com>
28208 Date: Tue Apr 20 23:53:57 2010 -0400
28210 Force out arguments to be initialized as NULL. Comes with a test.
28212 This fix was motivated by a real world library which had a transfer
28214 utf8 out argument which sometimes was not set. We would leave
28216 dangling and try and free it at the end of invoke() and crash.
28218 to change their behavior so we're forced to take care of it on
28221 https://bugzilla.gnome.org/show_bug.cgi?id=616043
28223 gi/pygi-info.c | 1 +
28224 tests/test_gi.py | 3 +++
28225 2 files changed, 4 insertions(+)
28227 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
28228 Author: Zach Goldberg <zach@zachgoldberg.com>
28229 Date: Tue Apr 20 22:57:14 2010 -0400
28231 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
28233 Be slightly nicer to library maintainers. It really isn't a fatal
28235 if we don't have a proper scope type, better to leave a good code
28237 and a warning than to cause their code to segv.
28239 https://bugzilla.gnome.org/show_bug.cgi?id=616356
28241 gi/pygi-closure.c | 3 ++-
28242 1 file changed, 2 insertions(+), 1 deletion(-)
28244 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
28245 Author: Zach Goldberg <zach@zachgoldberg.com>
28246 Date: Tue Apr 20 22:43:20 2010 -0400
28248 Refactor implementation of scope call to allow for multiple calls
28249 during lifetime of function invocation.
28251 https://bugzilla.gnome.org/show_bug.cgi?id=616343
28253 gi/pygi-closure.c | 10 +++++-----
28254 gi/pygi-info.c | 9 +++++++--
28255 tests/test_everything.py | 9 +++++++++
28256 3 files changed, 21 insertions(+), 7 deletions(-)
28258 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
28259 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28260 Date: Sat Jan 2 16:31:55 2010 +0100
28262 Add basic support for unions
28264 https://bugzilla.gnome.org/show_bug.cgi?id=603598
28266 gi/module.py | 3 +-
28267 gi/pygi-argument.c | 24 +++-----------
28268 gi/pygi-boxed.c | 18 +++++++++--
28269 gi/pygi-info.c | 94
28270 ++++++++++++++++++++++++++++++++++++++++++++++++------
28271 gi/pygi-info.h | 1 +
28272 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
28273 6 files changed, 165 insertions(+), 31 deletions(-)
28275 commit af9e4e086d160fe7fb24758ed81753e784b198a8
28276 Author: Simon van der Linden <svdlinden@src.gnome.org>
28277 Date: Fri Jan 22 22:16:32 2010 +0100
28279 Bump required GLib version to 2.22
28281 Since PyGObject now depends on GLib 2.22.4, there is no need to
28283 backward-compatible.
28285 configure.ac | 2 +-
28286 gi/pygi-private.h | 20 --------------------
28287 2 files changed, 1 insertion(+), 21 deletions(-)
28289 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
28290 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28291 Date: Sun Apr 18 11:50:14 2010 -0400
28293 Refactor get_* methods in the *Info wrappers
28295 https://bugzilla.gnome.org/show_bug.cgi?id=616108
28297 gi/pygi-info.c | 360
28298 +++++++++++++++++++++++++++------------------------------
28299 1 file changed, 168 insertions(+), 192 deletions(-)
28301 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
28302 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28303 Date: Tue Apr 20 15:12:47 2010 +0200
28305 Print any error messages raised inside _pygi_closure_handle
28307 https://bugzilla.gnome.org/show_bug.cgi?id=616279
28309 gi/pygi-closure.c | 9 +++++----
28310 1 file changed, 5 insertions(+), 4 deletions(-)
28312 commit d1ba23cdd05686ea721425f233371d573a2e9cce
28313 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28314 Date: Thu Apr 22 19:57:17 2010 +0200
28316 Rename variable with a very generic name
28318 gi/module.py | 28 ++++++++++++++--------------
28319 1 file changed, 14 insertions(+), 14 deletions(-)
28321 commit 391640b30ede50af3667b1019edb72bd79f2c68c
28322 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28323 Date: Thu Apr 22 19:53:06 2010 +0200
28325 Add support for enums without GType
28327 https://bugzilla.gnome.org/show_bug.cgi?id=616520
28329 gi/module.py | 6 +++++-
28330 gi/pygi-argument.c | 22 +++++++++++++++++++++-
28331 gi/types.py | 14 ++++++++++++++
28332 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
28333 4 files changed, 68 insertions(+), 4 deletions(-)
28335 commit 89704f60ddae0c81f1383d86491ef2785590a353
28336 Author: Zach Goldberg <zach@zachgoldberg.com>
28337 Date: Tue Apr 20 22:20:42 2010 -0400
28339 Bump version during development to 0.5.1
28341 This follows what is, according to Colin Walters,
28342 standard versioning practice. During development the
28343 version in your config is the *next* version you will release,
28344 not the version after. Thus after a release you make a new commit
28345 bumping to the next development version.
28347 configure.ac | 2 +-
28348 1 file changed, 1 insertion(+), 1 deletion(-)
28350 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
28351 Author: John Ehresman <jpe@wingware.com>
28352 Date: Tue Apr 20 20:40:02 2010 -0400
28354 Added missing , to keyword list of gio.GFile.set_attribute
28356 gio/gresolver.override | 2 +-
28357 1 file changed, 1 insertion(+), 1 deletion(-)
28359 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
28360 Author: John Ehresman <jpe@wingware.com>
28361 Date: Tue Apr 20 20:37:12 2010 -0400
28363 Fix arg conversion in gio.GFile.set_attribute
28365 gio/gfile.override | 232
28366 +++++++++++++++++++++++++++++++++++++++++++++++++++--
28367 1 file changed, 227 insertions(+), 5 deletions(-)
28369 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
28370 Author: John Ehresman <jpe@wingware.com>
28371 Date: Tue Apr 20 20:01:53 2010 -0400
28373 Set constants under python 2.5 or before
28375 gobject/gobjectmodule.c | 8 ++++++++
28376 1 file changed, 8 insertions(+)
28378 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
28379 Author: José Alburquerque <jaalburqu@svn.gnome.org>
28380 Date: Sun Apr 18 20:22:21 2010 -0400
28382 Doc Extractor: Use replacements that make sense for &...;
28385 * codegen/docextract_to_xml.py: Use # and   respectively
28387 # (#) and . These are interpreted correctly in XML
28389 not make the parsing crash.
28391 codegen/docextract_to_xml.py | 4 ++--
28392 1 file changed, 2 insertions(+), 2 deletions(-)
28394 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
28395 Author: Zach Goldberg <zach@zachgoldberg.com>
28396 Date: Sun Apr 18 14:32:06 2010 -0400
28398 Bump version for release 0.5.0
28400 HACKING | 7 +++++++
28401 configure.ac | 4 ++--
28402 2 files changed, 9 insertions(+), 2 deletions(-)
28404 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
28405 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28406 Date: Sun Apr 18 14:28:13 2010 -0400
28408 One more missing file...
28410 examples/Makefile.am | 2 ++
28411 1 file changed, 2 insertions(+)
28413 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
28414 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28415 Date: Sun Apr 18 14:18:44 2010 -0400
28417 Add more stuff to the tarballs
28419 Makefile.am | 8 +++++++-
28421 2 files changed, 8 insertions(+), 1 deletion(-)
28423 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
28424 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28425 Date: Sun Apr 18 13:48:45 2010 -0400
28427 Add one more missing file to tarballs
28429 gi/overrides/GIMarshallingTests.py | 0
28430 gi/overrides/Makefile.am | 1 +
28431 2 files changed, 1 insertion(+)
28433 commit 979e01852fc7f830ee91093accdc387fa535075f
28434 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28435 Date: Sun Apr 18 13:45:29 2010 -0400
28437 Add missing file to tarballs
28439 tests/Makefile.am | 1 +
28440 1 file changed, 1 insertion(+)
28442 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
28443 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28444 Date: Sun Apr 18 13:11:11 2010 -0400
28448 https://bugzilla.gnome.org/show_bug.cgi?id=602736
28451 +++++++++++++++++++++++++++++++++++++++++++++++++++++
28452 gi/pygi-argument.c | 1 +
28453 gi/pygi-callbacks.c | 3 +-
28454 gi/pygi-closure.c | 4 +--
28455 gi/pygi-closure.h | 2 +-
28456 gi/pygi-info.c | 86
28457 +++++++++++++++++++++++++++++++++++++++++++++++++--
28458 gi/pygi-info.h | 1 +
28459 gi/types.py | 44 +++++++++++++++++---------
28460 tests/test_gi.py | 18 +++++++++++
28461 9 files changed, 227 insertions(+), 21 deletions(-)
28463 commit e239faacb4798fe2d166233ca1a19a843a6225e3
28464 Author: Zach Goldberg <zach@zachgoldberg.com>
28465 Date: Sun Apr 18 11:59:06 2010 -0400
28467 Fix a typo in pygi-callbacks.c header
28469 gi/pygi-callbacks.c | 2 +-
28470 1 file changed, 1 insertion(+), 1 deletion(-)
28472 commit 79aa416ae8632b123da61d79fb820d9e2704209c
28473 Author: Zach Goldberg <zach@zachgoldberg.com>
28474 Date: Sat Apr 17 12:00:05 2010 -0400
28476 Implement nullable argument support, including tests
28478 https://bugzilla.gnome.org/show_bug.cgi?id=616035
28480 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
28481 gi/pygi-argument.h | 3 ++-
28482 gi/pygi-info.c | 19 +++++++++++++------
28483 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
28484 4 files changed, 80 insertions(+), 13 deletions(-)
28486 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
28487 Author: Zach Goldberg <zach@zachgoldberg.com>
28488 Date: Sat Apr 17 12:56:19 2010 -0400
28490 Move some tests from test_gi to test_everything
28492 tests/test_everything.py | 60
28493 ++++++++++++++++++++++++++++++++++++++++++++++
28494 tests/test_gi.py | 62
28495 +-----------------------------------------------
28496 2 files changed, 61 insertions(+), 61 deletions(-)
28498 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
28499 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28500 Date: Sun Apr 18 10:44:35 2010 -0400
28502 Update to latest version of the pygi-convert.sh script
28504 pygi-convert.sh | 193
28505 ++++++++++++++++++++++++++++++++++++++++----------------
28506 1 file changed, 137 insertions(+), 56 deletions(-)
28508 commit 34a39318c674737c6d64f2430456daef86ba1626
28509 Author: Colin Walters <walters@verbum.org>
28510 Date: Sun Apr 18 10:40:44 2010 -0400
28512 Add Tomeu's prototype script for converting pygtk to pygi
28514 pygi-convert.sh | 71
28515 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
28516 1 file changed, 71 insertions(+)
28518 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
28519 Author: Olav Vitters <olav@vitters.nl>
28520 Date: Sun Apr 18 13:01:58 2010 +0200
28525 1 file changed, 4 insertions(+)
28527 commit 0de73d0bba79f92af22f43693f3575c596712416
28528 Author: Zach Goldberg <zach@zachgoldberg.com>
28529 Date: Sat Apr 17 16:01:31 2010 -0400
28531 Add Zach Goldberg as a pygi maintainer
28533 pygi.doap | 5 +++++
28534 1 file changed, 5 insertions(+)
28536 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
28537 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28538 Date: Sat Apr 17 11:47:54 2010 -0400
28542 configure.ac | 7 +------
28543 1 file changed, 1 insertion(+), 6 deletions(-)
28545 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
28546 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28547 Date: Sat Apr 17 11:40:14 2010 -0400
28549 Add examples/cairo-demo.py
28551 examples/cairo-demo.py | 121
28552 +++++++++++++++++++++++++++++++++++++++++++++++++
28553 1 file changed, 121 insertions(+)
28555 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
28556 Author: Zach Goldberg <zach@zachgoldberg.com>
28557 Date: Sat Apr 17 09:17:14 2010 -0400
28559 Implementation callback support with scoping and basic argument
28562 This patch was originally written by
28563 Zach Goldberg <zach@zachgoldberg.com> with modifications and
28564 review by Simon van der Linden <svdlinden@src.gnome.org> and
28565 Colin Walters <walters@verbum.org>.
28567 This impementation enforces the assumption that any one function
28568 signature can only have one (callback, userdata, destronotify) tuple.
28569 This allows us to move callback creation into the actual function
28570 invoke pipeline and also to keep just one destroy notify callback
28571 around, vastly simplifying the code.
28573 https://bugzilla.gnome.org/show_bug.cgi?id=603095
28576 gi/Makefile.am | 4 +
28577 gi/pygi-argument.c | 12 ++-
28578 gi/pygi-callbacks.c | 216
28579 ++++++++++++++++++++++++++++++++++++++++++++++++++++
28580 gi/pygi-callbacks.h | 47 ++++++++++++
28581 gi/pygi-closure.c | 205
28582 +++++++++++++++++++++++++++++++++++++++++++++++++
28583 gi/pygi-closure.h | 57 ++++++++++++++
28584 gi/pygi-info.c | 49 ++++++++++--
28585 gi/pygi-private.h | 2 +
28586 tests/test_gi.py | 64 +++++++++++++++-
28587 10 files changed, 648 insertions(+), 10 deletions(-)
28589 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
28590 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28591 Date: Sat Apr 17 10:54:45 2010 -0400
28593 Add support for foreign structs
28595 https://bugzilla.gnome.org/show_bug.cgi?id=603712
28597 configure.ac | 6 +++
28598 gi/Makefile.am | 10 +++-
28599 gi/gimodule.c | 7 +++
28600 gi/pygi-argument.c | 27 ++++++++++-
28601 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
28602 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
28603 gi/pygi-foreign.c | 123
28604 +++++++++++++++++++++++++++++++++++++++++++++++
28605 gi/pygi-foreign.h | 52 ++++++++++++++++++++
28606 gi/pygi-private.h | 1 +
28607 tests/test_everything.py | 48 ++++++++++++++++++
28608 10 files changed, 428 insertions(+), 4 deletions(-)
28610 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
28611 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28612 Date: Fri Apr 16 14:35:13 2010 -0400
28614 Allow creating structs with pointers
28616 https://bugzilla.gnome.org/show_bug.cgi?id=603537
28618 gi/pygi-struct.c | 6 ------
28619 tests/test_gi.py | 3 ++-
28620 2 files changed, 2 insertions(+), 7 deletions(-)
28622 commit fc9ff02e53aacf9e77625c70985e99813544912a
28623 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28624 Date: Fri Apr 16 10:40:40 2010 -0400
28626 Add gdb and valgrind variants for the tests
28628 HACKING | 19 +++++++++++++++++++
28629 Makefile.am | 12 ++++++++++++
28630 tests/Makefile.am | 14 +++++++++++++-
28631 3 files changed, 44 insertions(+), 1 deletion(-)
28633 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
28634 Author: John Stowers <john.stowers@gmail.com>
28635 Date: Fri Apr 16 14:36:11 2010 +1200
28637 Add build docs for windows
28640 README.win32 | 24 ++++++++++++++++++++++++
28641 2 files changed, 25 insertions(+)
28643 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
28644 Author: John Stowers <john.stowers@gmail.com>
28645 Date: Thu Apr 15 13:40:39 2010 +1200
28647 Setup.py cosmetic tidy
28649 * Remove local doc install, point to website instead
28650 * link to versioned docs
28652 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
28653 setup.py | 39 ++++++++++++++-------------------------
28654 2 files changed, 40 insertions(+), 42 deletions(-)
28656 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
28657 Author: John Stowers <john.stowers@gmail.com>
28658 Date: Sat Jul 25 14:12:30 2009 +1200
28660 Fix crash when importing gio
28662 Only seems to be necessary on windows, but
28663 no harm on linux as multiple calls to init
28666 gio/giomodule.c | 3 +++
28667 1 file changed, 3 insertions(+)
28669 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
28670 Author: John Stowers <john.stowers@gmail.com>
28671 Date: Thu Apr 15 22:52:48 2010 +1200
28673 Bug 589671 - Dont use generate-constants
28675 This breaks the build using distutils, and it is
28676 largely unneeded. Just add the G_XXX constants
28677 to the module directly
28679 gobject/Makefile.am | 16 +--------
28680 gobject/constants.py | 83
28681 ++++++++++++++++++++++++++++++++++++++++++++
28682 gobject/constants.py.in | 50 --------------------------
28683 gobject/generate-constants.c | 44 -----------------------
28684 gobject/gobjectmodule.c | 35 +++++++++++++++++++
28686 tests/runtests.py | 3 +-
28687 7 files changed, 121 insertions(+), 112 deletions(-)
28689 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
28690 Author: John Stowers <john.stowers@gmail.com>
28691 Date: Thu Apr 15 22:49:17 2010 +1200
28693 Bug 589671 - Fix setup.py for windows build
28695 * Building pyglib as a static private library
28696 * Update to include new defs
28697 * Modernise setup.py and add more util functions
28700 dsextras.py | 32 ++++++++++++++++---
28702 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
28703 2 files changed, 116 insertions(+), 18 deletions(-)
28705 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
28706 Author: John Stowers <john.stowers@gmail.com>
28707 Date: Thu Apr 15 22:48:28 2010 +1200
28709 Include pygsource.h
28711 glib/pygiochannel.c | 1 +
28712 1 file changed, 1 insertion(+)
28714 commit c5f6af4844c74354abc508d17969d9d45153acf2
28715 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28716 Date: Thu Apr 15 14:25:59 2010 -0400
28718 Add metadata to the .doap file
28721 1 file changed, 3 insertions(+)
28723 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
28724 Author: John (J5) Palmieri <johnp@redhat.com>
28725 Date: Wed Apr 14 12:01:43 2010 -0400
28727 override that wasn't checked in - fixes some test cases
28729 gi/overrides/GIMarshallingTests.py | 69
28730 ++++++++++++++++++++++++++++++++++++++
28731 1 file changed, 69 insertions(+)
28733 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
28734 Author: Colin Walters <walters@verbum.org>
28735 Date: Wed Apr 14 10:06:07 2010 -0400
28737 [Makefile.am] Clean up CFLAGS handling, don't override all: target
28739 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
28740 per-target CFLAGS forces Automake to prefix object files, which
28741 is unnecessary since we only have one target.
28743 More importantly, avoid overriding the all: target here; that's
28744 owned by Automake. Use all-local instead to append things to
28745 the end of the normal build.
28747 gi/Makefile.am | 15 +++++++++------
28748 1 file changed, 9 insertions(+), 6 deletions(-)
28750 commit 5a47e96e3f580c973e6880dafa747f54c144c760
28751 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28752 Date: Tue Apr 13 19:15:49 2010 -0400
28754 Use GIMarshallingTests (old TestGI) in gobject-introspection
28756 gi/overrides/TestGI.py | 69 --
28757 tests/Makefile.am | 40 -
28758 tests/libtestgi.c | 2924
28759 ------------------------------------------------
28760 tests/libtestgi.h | 628 -----------
28761 tests/test_gi.py | 832 +++++++-------
28762 5 files changed, 416 insertions(+), 4077 deletions(-)
28764 commit 681832c3cd040433a488a400693b68f213bf7078
28765 Author: José Alburquerque <jaalburqu@svn.gnome.org>
28766 Date: Tue Apr 13 13:33:12 2010 -0400
28768 codegen/docextract_to_xml.py: One more &...; replacement ( ).
28770 * codegen/docextract_to_xml.py: Replace which also causes
28771 errors with a regular space.
28773 codegen/docextract_to_xml.py | 1 +
28774 1 file changed, 1 insertion(+)
28776 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
28777 Author: José Alburquerque <jaalburqu@svn.gnome.org>
28778 Date: Tue Apr 13 12:28:10 2010 -0400
28780 codegen/docextract_to_xml.py: Replace some &..; that cause errors.
28782 * codegen/docextract_to_xml.py (escape_text): Replace some &..;
28783 expressions that cause errors with more appropriate output.
28785 codegen/docextract_to_xml.py | 4 ++++
28786 1 file changed, 4 insertions(+)
28788 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
28789 Author: José Alburquerque <jaalburqu@svn.gnome.org>
28790 Date: Sun Apr 11 17:46:40 2010 -0400
28792 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
28794 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
28796 in text to '/ *' and '* /' respectively so that comment errors
28798 show up when the descriptions that include C++ code with C++
28799 multi-line comments are used in Doxygen blocks.
28801 codegen/docextract_to_xml.py | 9 +++++++++
28802 1 file changed, 9 insertions(+)
28804 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
28805 Author: José Alburquerque <jaalburqu@svn.gnome.org>
28806 Date: Sun Apr 11 16:15:01 2010 -0400
28808 codegen/docextract.py: Stop final section processing on first
28811 * codegen/docextract.py (process_final_sections): Modify the final
28812 section pattern matching for loop to stop on first match so
28814 doesn't match both a colon return ('Returns: ...') and a no colon
28815 return ('Returns ...') which leads to annotation extraction
28818 codegen/docextract.py | 4 ++++
28819 1 file changed, 4 insertions(+)
28821 commit 825fd305f03b726665edca34963978ce27448182
28822 Author: José Alburquerque <jaalburqu@svn.gnome.org>
28823 Date: Sun Apr 11 15:45:09 2010 -0400
28825 Update doc extraction tool to handle GObjectIntrospection
28828 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc.
28829 (GtkDoc::annotations): Added a list field to store annotations
28831 are 2-tuples of (name, value).
28832 (GtkDoc::ret): Modified field to store the return description
28834 with a list of annotations as described above.
28835 (GtkDoc::params): Now holds a list of 3-tupples: name,
28837 annotations (as described above).
28838 (GtkDoc::block_type): Add a field to tell if the comment block
28840 function block, signal block or property block.
28841 (GtkDoc::set_type):
28842 (GtkDoc::get_type): Add methods for setting/getting the block
28844 (GtkDoc::add_param): Modified to also accept a list of
28846 be added with the parameter.
28847 (GtkDoc::add_annotation):
28848 (GtkDoc::get_annotations): Added methods to add/get annotations
28851 (GtkDoc::append_description): Renamed to append_to_description().
28852 (GtkDoc::get_param_description): Removed unused method.
28853 (GtkDoc::get_description): Added method to get block description.
28854 (GtkDoc::add_return): Added method to add a return accepting
28856 line of the description and its annotations.
28857 (GtkDoc::append_return): Renamed to append_to_return().
28858 (Regular expressions):
28859 - Made the names of the variables un-abbreviated.
28861 - Added 'since', 'deprecated' and 'rename to' regular
28864 - Modified the return matching regular expression so that
28866 match descriptions that begin with 'Returns ...'.
28868 the docs of many function.
28870 - Added signal and property comment block identifier matching
28872 expressions in case those are useful.
28874 - Modified existing identifier matching regular expressions
28876 signal, and property regular expressions) to properly parse
28877 annotations. Also added a regular expression for extracting
28878 annotations from the parameter and return descriptions.
28880 - Refined the function name matching regular expression to
28882 identifiers that begin with a lowercase letter. This eliminates
28883 'SECTION:' matches.
28885 - Finally, grouped commonly related expressions like
28887 since_pattern, etc. into groups (in lists) so that matching
28889 sections can be done using loops.
28891 (Parsing algorithm): Modified the algorithm to use a functional
28892 approach to parsing. Extra methods like skip_to_comment() and
28893 processs_params() have been added and used in the parse_file()
28894 function to now process the comment blocks.
28895 (parse_dir): Added file processing output to stderr.
28896 * codegen/docextract_to_xml.py (usage): Added function to
28899 (print_annotations): Added function to print the given list of
28901 (options): Added --with-signals (-i), with-properties (-p) and
28902 --with-annotation (-a) to the existing --source-dir (-s) option.
28904 (algorithm): Now prints annotations, if specified. Also, prints
28905 signals and properties correctly (using names like
28907 for signals and Classs:property) with xml such as <signal
28908 name="...">...</signal>. The return xml is slightly modified with
28909 annotations but this would only be exhibited if annotation xml is
28912 codegen/docextract.py | 439
28913 ++++++++++++++++++++++++++++++++++---------
28914 codegen/docextract_to_xml.py | 87 ++++++---
28915 2 files changed, 414 insertions(+), 112 deletions(-)
28917 commit 9fef1acb42cd900d4a814a7378f60bc189121785
28918 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
28919 Date: Fri Apr 9 13:47:03 2010 +0200
28921 Always create the .so link
28923 gi/Makefile.am | 2 +-
28924 1 file changed, 1 insertion(+), 1 deletion(-)
28926 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
28927 Author: Paul Bolle <pebolle@tiscali.nl>
28928 Date: Thu Apr 8 11:52:25 2010 +0200
28930 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
28932 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
28934 docs/reference/pygio-file.xml | 58
28935 ++++++++++++++++++------------------
28936 docs/reference/pygio-inputstream.xml | 22 +++++++-------
28937 docs/reference/pygio-mount.xml | 10 +++----
28938 3 files changed, 45 insertions(+), 45 deletions(-)
28940 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
28941 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
28942 Date: Mon Apr 5 18:10:42 2010 +0200
28944 Bug 613341 - pygobject tests seem to require pygtk causing a circular
28945 dependencies problem
28947 move tests that require pygtk to pygtk itself
28949 tests/test_conversion.py | 83 --------------
28950 tests/test_enum.py | 234 --------------------------------------
28951 tests/test_gtype.py | 112 ------------------
28952 tests/test_subtype.py | 289
28953 -----------------------------------------------
28954 4 files changed, 718 deletions(-)
28956 commit ef0ceb266a45715ece58642fb0042e3376416755
28957 Author: Simon van der Linden <svdlinden@src.gnome.org>
28958 Date: Wed Feb 3 20:33:03 2010 +0100
28960 Add modelines and copyright information to overrides modules
28962 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
28963 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
28964 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
28965 3 files changed, 62 insertions(+)
28967 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
28968 Author: Simon van der Linden <svdlinden@src.gnome.org>
28969 Date: Wed Feb 3 20:29:55 2010 +0100
28971 Fix and complete overrides tests
28973 Those tests were missing in the last commit
28975 https://bugzilla.gnome.org/show_bug.cgi?id=602830
28977 gi/overrides/TestGI.py | 49
28978 +++++++++++++++++++++++++++++++++++++++++++++++++
28979 tests/test_gi.py | 8 +++++++-
28980 2 files changed, 56 insertions(+), 1 deletion(-)
28982 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
28983 Author: Simon van der Linden <svdlinden@src.gnome.org>
28984 Date: Thu Jan 21 17:30:51 2010 +0100
28986 Don't raise an error in _pygi_import if pygi support is disabled
28988 http://bugzilla.gnome.org/show_bug.cgi?id=607674
28990 gobject/pygboxed.c | 6 +-----
28991 gobject/pygi-external.h | 1 -
28992 gobject/pygobject.c | 6 +-----
28993 gobject/pygpointer.c | 6 +-----
28994 4 files changed, 3 insertions(+), 16 deletions(-)
28996 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
28997 Author: Simon van der Linden <svdlinden@src.gnome.org>
28998 Date: Fri Jan 22 22:22:37 2010 +0100
29000 Remove support for pointers to basic types as input-only argument
29003 There is no reason for an API to use such things, and
29004 g_function_info_invoke
29005 broke such features.
29007 https://bugzilla.gnome.org/show_bug.cgi?id=607759
29009 gi/pygi-argument.c | 586 ++++-------------------------------------------
29010 gi/pygi-argument.h | 1 -
29011 gi/pygi-info.c | 8 +-
29012 tests/libtestgi.c | 660
29013 -----------------------------------------------------
29014 tests/libtestgi.h | 86 -------
29015 tests/test_gi.py | 144 ------------
29016 6 files changed, 47 insertions(+), 1438 deletions(-)
29018 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
29019 Author: Simon van der Linden <svdlinden@src.gnome.org>
29020 Date: Fri Jan 22 13:41:21 2010 +0100
29022 Restore the overrides support
29024 Add a ModuleProxy in front of the DynamicModule when an overrides
29026 present. There is no need for an overrides module to be a class;
29027 it can just be a module.
29029 Add an override decorator to override the wrapper of a registered
29032 Adapt Gdk and Gtk accordingly.
29036 https://bugzilla.gnome.org/show_bug.cgi?id=602830
29038 gi/importer.py | 40 +++++++-------------
29039 gi/module.py | 43 ++++++++++++++-------
29040 gi/overrides/Gdk.py | 42 +++++++++++++--------
29041 gi/overrides/Gtk.py | 16 ++++----
29042 gi/types.py | 6 +++
29043 tests/libtestgi.c | 105
29044 ++++++++++++++++++++++++++++++++++++++++++++++++++++
29045 tests/libtestgi.h | 49 ++++++++++++++++++++++++
29046 tests/test_gi.py | 36 ++++++++++++++++++
29047 8 files changed, 273 insertions(+), 64 deletions(-)
29049 commit 289d641775d1ea52d2a5379126b70b7fcee46683
29050 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29051 Date: Sun Jan 10 21:01:59 2010 +0100
29053 Initialize PyGPollFD_Type.fd_obj to NULL
29055 https://bugzilla.gnome.org/show_bug.cgi?id=606582
29057 gio/gcancellable.override | 1 +
29058 1 file changed, 1 insertion(+)
29060 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
29061 Author: Simon van der Linden <svdlinden@src.gnome.org>
29062 Date: Fri Jan 8 21:10:28 2010 +0100
29064 Initialize struct fields to 0 when allocating
29066 gi/pygi-struct.c | 2 +-
29067 tests/test_gi.py | 5 +++++
29068 2 files changed, 6 insertions(+), 1 deletion(-)
29070 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
29071 Author: Simon van der Linden <svdlinden@src.gnome.org>
29072 Date: Fri Jan 8 20:33:44 2010 +0100
29074 Don't set a default constructor for structures.
29076 Update tests accordingly.
29078 The reason for this change is that setting __new__ in the metaclass
29080 one overrides it afterwards, in a subclass (in my experience, at
29082 though it seems weird).
29084 https://bugzilla.gnome.org/show_bug.cgi?id=603536
29086 gi/types.py | 35 +++++++----------------------------
29087 tests/libtestgi.c | 33 ---------------------------------
29088 tests/libtestgi.h | 7 -------
29089 tests/test_gi.py | 21 ++++++++++-----------
29090 4 files changed, 17 insertions(+), 79 deletions(-)
29092 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
29093 Author: Simon van der Linden <svdlinden@src.gnome.org>
29094 Date: Tue Jan 5 13:36:44 2010 +0100
29096 Suppress compilation warnings
29098 gi/pygi-argument.c | 3 ++-
29099 gi/pygi-boxed.c | 2 --
29100 gi/pygobject-external.h | 2 +-
29101 3 files changed, 3 insertions(+), 4 deletions(-)
29103 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
29104 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29105 Date: Mon Jan 4 08:35:14 2010 +0100
29107 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
29109 Committed a patch from Kevin Pyle
29111 Makefile.am | 27 +++++++++++++--------------
29112 1 file changed, 13 insertions(+), 14 deletions(-)
29114 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
29115 Author: Simon van der Linden <svdlinden@src.gnome.org>
29116 Date: Fri Dec 11 22:24:30 2009 +0100
29118 sys.path must be modified after pygtk is imported
29120 Otherwise, sys.path is overridden by pygtk and gi.repository is
29122 system's default site-package directory.
29124 tests/runtests.py | 1 -
29125 tests/test_gi.py | 3 +++
29126 2 files changed, 3 insertions(+), 1 deletion(-)
29128 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
29129 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29130 Date: Sun Jan 3 11:02:57 2010 +0100
29132 Wrap gio.Cancellable.make_pollfd() and add a test
29134 gio/Makefile.am | 1 +
29135 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
29136 gio/gio.override | 3 +++
29137 tests/test_gcancellable.py | 15 +++++++++++++++
29138 4 files changed, 56 insertions(+)
29140 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
29141 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29142 Date: Sat Jan 2 23:15:56 2010 +0100
29144 Make cancellable an optional parameter in many methods
29147 +++++++++++++++++++++++++++++------------------------------
29148 1 file changed, 51 insertions(+), 51 deletions(-)
29150 commit 49a078cd22d55dc33a03ecfda235d63955edc741
29151 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29152 Date: Sat Jan 2 23:15:21 2010 +0100
29154 Post release version bump to 2.21.2
29156 configure.ac | 2 +-
29157 1 file changed, 1 insertion(+), 1 deletion(-)
29159 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
29160 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29161 Date: Sat Jan 2 22:58:36 2010 +0100
29163 Update NEWS and release PyGObject-2.21.1
29165 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
29166 1 file changed, 55 insertions(+)
29168 commit c1f34be73bd186d7b4682dfef133da2c4229d213
29169 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29170 Date: Fri Jan 1 20:25:35 2010 +0100
29172 Wrap gio.Volume.eject_with_operation()
29174 gio/gvolume.override | 54
29175 ++++++++++++++++++++++++++++++++++++++++++++++++++++
29176 1 file changed, 54 insertions(+)
29178 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
29179 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29180 Date: Fri Jan 1 20:22:21 2010 +0100
29182 gio.Mount.unmount_with_operation() fix a copy/paste leftover
29184 gio/gmount.override | 4 ++--
29185 1 file changed, 2 insertions(+), 2 deletions(-)
29187 commit 6f459786dd641cd49d81eba403d940620f961cab
29188 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29189 Date: Fri Jan 1 20:21:05 2010 +0100
29191 Wrap gio.Mount.eject_with_operation()
29193 gio/gmount.override | 54
29194 +++++++++++++++++++++++++++++++++++++++++++++++++++++
29195 1 file changed, 54 insertions(+)
29197 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
29198 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29199 Date: Fri Jan 1 20:15:38 2010 +0100
29201 Wrap gio.Mount.unmount_mountable_with_operation()
29203 gio/gmount.override | 54
29204 +++++++++++++++++++++++++++++++++++++++++++++++++++++
29205 1 file changed, 54 insertions(+)
29207 commit e919d47c2430451b436cec955e9b99237f97028c
29208 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29209 Date: Fri Jan 1 18:22:46 2010 +0100
29211 Wrap File.unmount_mountable_with_operation()
29213 gio/gfile.override | 54
29214 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
29215 1 file changed, 54 insertions(+)
29217 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
29218 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29219 Date: Fri Jan 1 18:14:11 2010 +0100
29221 Wrap gio.File.stop_mountable()
29223 gio/gfile.override | 52
29224 ++++++++++++++++++++++++++++++++++++++++++++++++++++
29225 1 file changed, 52 insertions(+)
29227 commit 6af506647f36f2b825bc6556df5ee57fa7721906
29228 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29229 Date: Fri Jan 1 18:10:49 2010 +0100
29231 Wrap gio.File.start_mountable()
29233 gio/gfile.override | 52
29234 ++++++++++++++++++++++++++++++++++++++++++++++++++++
29235 1 file changed, 52 insertions(+)
29237 commit e700efc839fc0b651fc9794a1611190bffa80263
29238 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29239 Date: Fri Jan 1 18:02:46 2010 +0100
29241 Wrap gio.File.replace_readwrite_async()
29243 gio/gfile.override | 55
29244 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
29245 1 file changed, 55 insertions(+)
29247 commit 92662f129fc728258fd5e34f53dcb081e3715017
29248 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29249 Date: Fri Jan 1 17:00:26 2010 +0100
29251 Wrap gio.File.poll_mountable()
29253 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
29254 1 file changed, 41 insertions(+)
29256 commit 99902b786500948c3278779841e4db54223b9256
29257 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29258 Date: Fri Jan 1 16:56:26 2010 +0100
29260 Wrap gio.File.open_readwrite_async()
29262 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
29263 1 file changed, 44 insertions(+)
29265 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
29266 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29267 Date: Fri Jan 1 16:50:15 2010 +0100
29269 Wrap gio.File.eject_mountable_with_operation()
29271 gio/gfile.override | 54
29272 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
29273 1 file changed, 54 insertions(+)
29275 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
29276 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29277 Date: Fri Jan 1 13:30:24 2010 +0100
29279 Wrap gio.File.create_readwrite_async() and add a test
29281 gio/gfile.override | 51
29282 +++++++++++++++++++++++++++++++++++++++++++++++++++
29283 tests/test_gio.py | 24 ++++++++++++++++++++++++
29284 2 files changed, 75 insertions(+)
29286 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
29287 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29288 Date: Fri Jan 1 13:20:11 2010 +0100
29290 Wrap gio.Drive.stop()
29292 gio/gdrive.override | 52
29293 ++++++++++++++++++++++++++++++++++++++++++++++++++++
29294 1 file changed, 52 insertions(+)
29296 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
29297 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29298 Date: Fri Jan 1 13:00:42 2010 +0100
29300 Wrap gio.Drive.start()
29302 gio/gdrive.override | 52
29303 ++++++++++++++++++++++++++++++++++++++++++++++++++++
29304 1 file changed, 52 insertions(+)
29306 commit dff374287bbecc8af782bbc726fad86c6c867754
29307 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29308 Date: Fri Jan 1 12:45:29 2010 +0100
29310 Add more remainders on missing methods of gio.Socket and related types
29312 gio/gsocket.override | 3 +++
29313 1 file changed, 3 insertions(+)
29315 commit b8c7e996498bd72df551011af85ff05ef7335b4f
29316 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29317 Date: Fri Jan 1 12:41:08 2010 +0100
29319 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
29321 gio/gsocket.override | 86
29322 +++++++++++++++++++++++++++++++++++++++++++++++++--
29323 tests/test_gsocket.py | 24 ++++++++++++++
29324 2 files changed, 108 insertions(+), 2 deletions(-)
29326 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
29327 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29328 Date: Fri Jan 1 12:28:53 2010 +0100
29330 Wrap gio.SocketListener.accept_finish() and add a test
29332 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
29333 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
29334 2 files changed, 66 insertions(+), 2 deletions(-)
29336 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
29337 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29338 Date: Fri Jan 1 11:19:34 2010 +0100
29340 Wrap gio.SocketListener.accept_async()
29342 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
29343 1 file changed, 42 insertions(+)
29345 commit c9496b29ef9ef232020a4044577d2947353953a5
29346 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29347 Date: Fri Jan 1 11:14:35 2010 +0100
29349 Wrap gio.SocketListener.accept_socket() and add a test
29351 gio/gsocket.override | 48
29352 +++++++++++++++++++++++++++++++++++++++++++++++-
29353 tests/test_gsocket.py | 13 +++++++++++++
29354 2 files changed, 60 insertions(+), 1 deletion(-)
29356 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
29357 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29358 Date: Thu Dec 31 16:35:18 2009 +0100
29360 Wrap gio.SocketListener.accept() and add a test
29362 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
29363 tests/test_gsocket.py | 13 +++++++++++++
29364 2 files changed, 58 insertions(+), 1 deletion(-)
29366 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
29367 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29368 Date: Thu Dec 31 16:25:33 2009 +0100
29370 Make cancellable optional in gio.SocketClient.connect_to_host()
29372 gio/gio.defs | 2 +-
29373 1 file changed, 1 insertion(+), 1 deletion(-)
29375 commit 3829d7667b19126fb74562b28d271e616b154c99
29376 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29377 Date: Thu Dec 31 15:25:10 2009 +0100
29379 Wrap gio.SocketListener.add_address() and add a test
29381 gio/gsocket.override | 57
29382 ++++++++++++++++++++++++++++++++++++++++++++++++++-
29383 tests/test_gsocket.py | 9 ++++++++
29384 2 files changed, 65 insertions(+), 1 deletion(-)
29386 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
29387 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29388 Date: Thu Dec 31 10:19:47 2009 +0100
29390 Add more remainders on missing methods of gio.Socket and related types
29392 gio/gsocket.override | 8 ++++++++
29393 1 file changed, 8 insertions(+)
29395 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
29396 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29397 Date: Thu Dec 31 10:16:18 2009 +0100
29399 Wrap gio.SocketClient.connect_to_service_async()
29401 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
29402 1 file changed, 47 insertions(+)
29404 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
29405 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29406 Date: Thu Dec 31 10:10:43 2009 +0100
29408 Wrap gio.SocketClient.connect_to_host_async()
29410 gio/gsocket.override | 48
29411 ++++++++++++++++++++++++++++++++++++++++++++++++
29412 1 file changed, 48 insertions(+)
29414 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
29415 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29416 Date: Thu Dec 31 09:59:46 2009 +0100
29418 Wrap gio.SocketClient.connect_async()
29420 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
29421 1 file changed, 45 insertions(+)
29423 commit dff024256295c15e49888ad9d5fef74a7746edd7
29424 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29425 Date: Wed Dec 30 23:44:25 2009 +0100
29427 Wrap gio.SocketAddressEnumerator.next_async() and add a test
29429 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
29430 tests/test_gsocket.py | 16 ++++++++++++++++
29431 2 files changed, 58 insertions(+)
29433 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
29434 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29435 Date: Wed Dec 30 23:43:14 2009 +0100
29437 Add a missing object gio.InetSocketAddress new in GIO 2.22
29439 gio/gio-types.defs | 7 +++++++
29440 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
29441 2 files changed, 38 insertions(+)
29443 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
29444 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29445 Date: Wed Dec 30 22:54:47 2009 +0100
29447 Make cancellable optional for gio.SocketAddressEnumerator.next()
29449 gio/gio.defs | 2 +-
29450 1 file changed, 1 insertion(+), 1 deletion(-)
29452 commit b19f59790b9de943d69b6c5e483928e0443c3d20
29453 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29454 Date: Wed Dec 30 22:17:44 2009 +0100
29456 Add a remainder of the Socket methods that needs manual wrapping still
29458 gio/gsocket.override | 5 +++++
29459 1 file changed, 5 insertions(+)
29461 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
29462 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29463 Date: Wed Dec 30 17:20:35 2009 +0100
29465 Wrap gio.Socket.condition_wait() and add a test
29467 gio/gsocket.override | 27 +++++++++++++++++++++++++++
29468 tests/test_gsocket.py | 6 +++++-
29469 2 files changed, 32 insertions(+), 1 deletion(-)
29471 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
29472 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29473 Date: Wed Dec 30 16:21:49 2009 +0100
29475 Wrap gio.Socket.condition_check() and add a test
29477 gio/Makefile.am | 1 +
29478 gio/gio.override | 1 +
29479 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
29480 tests/test_gsocket.py | 21 +++++++++++++++++++++
29481 4 files changed, 64 insertions(+)
29483 commit de7a359e81792ae8573ac944455ea289985449ed
29484 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29485 Date: Wed Dec 30 14:07:52 2009 +0100
29487 Wrap gio.Resolver.lookup_service_finish() and add a test
29489 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
29490 tests/test_gresolver.py | 13 +++++++++++++
29491 2 files changed, 50 insertions(+)
29493 commit 308421789ce849040d645077c41c80b6e2e65e83
29494 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29495 Date: Wed Dec 30 14:00:22 2009 +0100
29497 Wrap gio.Resolver.lookup_service_async()
29499 gio/gresolver.override | 48
29500 ++++++++++++++++++++++++++++++++++++++++++++++++
29501 1 file changed, 48 insertions(+)
29503 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
29504 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29505 Date: Wed Dec 30 11:11:32 2009 +0100
29507 Wrap gio.Resolver.lookup_service() and add a test
29509 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
29510 tests/test_gresolver.py | 5 +++++
29511 2 files changed, 47 insertions(+)
29513 commit 7fc71f490494dae73a5264869a97a9d30814930e
29514 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29515 Date: Tue Dec 29 22:12:50 2009 +0100
29517 Wrap gio.Resolver.lookup_by_address_async() and add a test
29519 gio/gresolver.override | 46
29520 ++++++++++++++++++++++++++++++++++++++++++++++
29521 tests/test_gresolver.py | 14 ++++++++++++++
29522 2 files changed, 60 insertions(+)
29524 commit c91656dbe56f07d3ebbad5113467c22427cf212a
29525 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29526 Date: Tue Dec 29 21:41:30 2009 +0100
29528 Wrap gio.Resolver.lookup_by_name_finish() and add a test
29530 gio/gresolver.override | 82
29531 +++++++++++++++++++++++++++++++++++++++++++++++++
29532 tests/test_gresolver.py | 16 ++++++++--
29533 2 files changed, 96 insertions(+), 2 deletions(-)
29535 commit 45b477342fa1c2435917c6d97745ad57665c4734
29536 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29537 Date: Tue Dec 29 17:15:44 2009 +0100
29539 Wrap gio.Drive.eject_with_data()
29541 gio/gdrive.override | 54
29542 +++++++++++++++++++++++++++++++++++++++++++++++++++++
29543 1 file changed, 54 insertions(+)
29545 commit 635227480f9659a1f91ab1ec12536d3ed012a976
29546 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29547 Date: Tue Dec 29 17:06:52 2009 +0100
29549 Deprecate old gio.Drive methods
29551 gio/gdrive.override | 7 ++++++-
29553 2 files changed, 7 insertions(+), 1 deletion(-)
29555 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
29556 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29557 Date: Tue Dec 29 13:51:54 2009 +0100
29559 Small fix in the header
29561 gio/gdrive.override | 2 +-
29562 1 file changed, 1 insertion(+), 1 deletion(-)
29564 commit 7589128515b79d836365247dc876538c6352da23
29565 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29566 Date: Tue Dec 29 12:40:50 2009 +0100
29568 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
29570 gio/Makefile.am | 1 +
29571 gio/gio.override | 1 +
29572 gio/gresolver.override | 57
29573 +++++++++++++++++++++++++++++++++++++++++++++++++
29574 tests/test_gresolver.py | 21 ++++++++++++++++++
29575 4 files changed, 80 insertions(+)
29577 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
29578 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29579 Date: Tue Dec 29 12:39:13 2009 +0100
29581 Make cancellable an optional parameter in
29582 gio.Resolver.lookup_by_address()
29584 gio/gio.defs | 2 +-
29585 1 file changed, 1 insertion(+), 1 deletion(-)
29587 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
29588 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29589 Date: Tue Dec 29 10:15:14 2009 +0100
29591 Strip g_ prefix for many other functions
29594 ++++++++++++++++++++++++++++++------------------------------
29595 1 file changed, 47 insertions(+), 47 deletions(-)
29597 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
29598 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29599 Date: Tue Dec 29 10:12:53 2009 +0100
29601 Strip g_prefix from InetAddress functions
29603 gio/gio.defs | 8 ++++----
29604 1 file changed, 4 insertions(+), 4 deletions(-)
29606 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
29607 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29608 Date: Tue Dec 29 10:03:59 2009 +0100
29610 Fix function name gio.resolver_get_default()
29612 Strip the g_ prefix from function name
29614 gio/gio.defs | 2 +-
29615 1 file changed, 1 insertion(+), 1 deletion(-)
29617 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
29618 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29619 Date: Tue Dec 29 09:54:05 2009 +0100
29621 Wrap gio.FileIOStream.query_info_async() and add a test
29623 gio/Makefile.am | 1 +
29624 gio/gfileiostream.override | 68
29625 ++++++++++++++++++++++++++++++++++++++++++++++
29626 gio/gio.override | 1 +
29627 tests/test_gio.py | 18 ++++++++++++
29628 4 files changed, 88 insertions(+)
29630 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
29631 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29632 Date: Tue Dec 29 13:08:29 2009 +0100
29634 Register enums and flags in PyGI if needed
29636 https://bugzilla.gnome.org/show_bug.cgi?id=603534
29638 gobject/pygenum.c | 20 ++++++++++++++------
29639 gobject/pygflags.c | 19 +++++++++++++------
29640 2 files changed, 27 insertions(+), 12 deletions(-)
29642 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
29643 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29644 Date: Mon Dec 28 22:41:54 2009 +0100
29646 Wrap GIOStream.close_async() and add a test
29648 gio/Makefile.am | 1 +
29649 gio/gio.override | 1 +
29650 gio/giostream.override | 68
29651 ++++++++++++++++++++++++++++++++++++++++++++++++++
29652 tests/test_gio.py | 21 ++++++++++++++++
29653 4 files changed, 91 insertions(+)
29655 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
29656 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29657 Date: Mon Dec 28 22:39:09 2009 +0100
29659 Make cancellable an optional parameter in GFile.create_readwrite()
29661 gio/gio.defs | 2 +-
29662 1 file changed, 1 insertion(+), 1 deletion(-)
29664 commit 1cabd733cde269ce3164834933f4a226673ecb0b
29665 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29666 Date: Mon Dec 28 21:39:50 2009 +0100
29668 Remove a duplicate entry in gio.defs
29670 gio/gio.defs | 9 ---------
29671 1 file changed, 9 deletions(-)
29673 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
29674 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29675 Date: Mon Dec 28 21:37:49 2009 +0100
29677 Wrap gio.FileInfo.set_modification_time and add a test
29679 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
29680 tests/test_gio.py | 7 ++++++-
29681 2 files changed, 38 insertions(+), 2 deletions(-)
29683 commit 7bc2673f92138b1804d8eba091942d14d8884f90
29684 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29685 Date: Mon Dec 28 18:28:03 2009 +0100
29687 Wrap gio.EmblemedIcon.get_emblems() and add a test
29689 gio/gicon.override | 14 ++++++++++++++
29690 tests/test_gicon.py | 7 +++++++
29691 2 files changed, 21 insertions(+)
29693 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
29694 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29695 Date: Sat Dec 26 22:27:48 2009 +0100
29697 Update Enums and Flags with new API
29699 gio/gio-types.defs | 153
29700 +++++++++++++++++++++++++++++++++++++++++++++++++++--
29701 1 file changed, 149 insertions(+), 4 deletions(-)
29703 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
29704 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29705 Date: Fri Dec 25 18:06:39 2009 +0100
29707 Post release version bump to 2.21.1
29709 configure.ac | 2 +-
29710 1 file changed, 1 insertion(+), 1 deletion(-)
29712 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
29713 Author: Bastian Winkler <buz@netbuz.org>
29714 Date: Fri Aug 14 15:10:26 2009 +0200
29716 Fix handling of uchar in pyg_value_from_pyobject
29718 Set the value by g_value_set_uchar and allow to use integer types
29721 gobject/pygtype.c | 15 +++++++++++----
29722 1 file changed, 11 insertions(+), 4 deletions(-)
29724 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
29725 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29726 Date: Tue Dec 22 18:05:47 2009 +0100
29728 Add Gtk.keysyms to overrides
29730 gi/overrides/Gtk.py | 2 +
29731 gi/overrides/Makefile.am | 1 +
29732 gi/overrides/keysyms.py | 1499
29733 ++++++++++++++++++++++++++++++++++++++++++++++
29734 3 files changed, 1502 insertions(+)
29736 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
29737 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29738 Date: Wed Nov 25 10:33:56 2009 +0100
29740 The array field 'length' starts to count from the C arg list, so
29741 need to decrement when it's a method
29743 https://bugzilla.gnome.org/show_bug.cgi?id=602640
29745 gi/pygi-argument.c | 11 +++++++++-
29746 gi/pygi-argument.h | 3 ++-
29747 gi/pygi-info.c | 14 +++++++++++--
29748 tests/libtestgi.c | 60
29749 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
29750 tests/libtestgi.h | 4 ++++
29751 tests/test_gi.py | 15 ++++++++++++++
29752 6 files changed, 103 insertions(+), 4 deletions(-)
29754 commit 867536c6734e606d045760837ed22583da06566e
29755 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29756 Date: Fri Dec 18 10:50:09 2009 +0100
29758 Update NEWS and README, release pygobject 2.21.0
29760 NEWS | 18 ++++++++++++++++++
29762 2 files changed, 21 insertions(+), 3 deletions(-)
29764 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
29765 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29766 Date: Fri Dec 18 10:31:48 2009 +0100
29768 Add pygi-external.h into Makefile SOURCES
29770 gobject/Makefile.am | 3 ++-
29771 1 file changed, 2 insertions(+), 1 deletion(-)
29773 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
29774 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29775 Date: Fri Dec 18 01:20:34 2009 +0100
29777 Bug 598435 - No wrapping for g_find_program_in_path ()
29779 glib/glibmodule.c | 20 ++++++++++++++++++++
29780 1 file changed, 20 insertions(+)
29782 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
29783 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29784 Date: Thu Dec 17 21:54:36 2009 +0100
29786 Wrap new API added in GIO-UNIX 2.22
29788 gio/unix-types.defs | 22 ++++++++++
29789 gio/unix.defs | 115
29790 +++++++++++++++++++++++++++++++++++++++++++++++++++-
29791 gio/unix.override | 8 ++++
29792 3 files changed, 144 insertions(+), 1 deletion(-)
29794 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
29795 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29796 Date: Thu Dec 17 21:52:11 2009 +0100
29798 Bump required glib version to 2.22.4
29800 I've committed a patch to glib which will be released in the stable
29802 Without the patch the unix module will fail, so I'm forced to bump.
29804 configure.ac | 6 +++---
29805 1 file changed, 3 insertions(+), 3 deletions(-)
29807 commit b630c8d4b1e55938dac89729768c4a877b305215
29808 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29809 Date: Thu Dec 17 02:24:45 2009 +0100
29811 Properly define Connectable as interface type and not object type
29813 gio/gio-types.defs | 12 ++++++------
29814 1 file changed, 6 insertions(+), 6 deletions(-)
29816 commit e955b931b07113c7432f7a85f882f69f12d263ad
29817 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
29818 Date: Mon Nov 30 22:01:25 2009 +0100
29820 Depend on GLib 2.20 rather than 2.22
29822 Backport g_array_get_element_size.
29824 https://bugzilla.gnome.org/show_bug.cgi?id=603411
29826 configure.ac | 2 +-
29827 gi/pygi-private.h | 19 +++++++++++++++++++
29828 2 files changed, 20 insertions(+), 1 deletion(-)
29830 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
29831 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29832 Date: Sat Nov 28 18:48:19 2009 +0000
29834 Use the limit constants from glib and interpret G_MAXUINT32 as
29835 PyLong_FromLongLong
29837 https://bugzilla.gnome.org/show_bug.cgi?id=602384
29839 gi/pygi-argument.c | 14 +++++++-------
29840 tests/test_gi.py | 18 +++++++++---------
29841 2 files changed, 16 insertions(+), 16 deletions(-)
29843 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
29844 Author: Simon van der Linden <svdlinden@src.gnome.org>
29845 Date: Mon Nov 30 00:10:56 2009 +0100
29847 Suppress warnings about format conversion
29849 https://bugzilla.gnome.org/show_bug.cgi?id=603355
29851 gobject/generate-constants.c | 32 ++++++++++++++++----------------
29852 1 file changed, 16 insertions(+), 16 deletions(-)
29854 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
29855 Author: Simon van der Linden <svdlinden@src.gnome.org>
29856 Date: Sat Nov 28 00:22:21 2009 +0100
29858 Remove global checks for pointers and move them in type cases that
29861 gi/pygi-argument.c | 516
29862 +++++++++++++++++++++++++++++++++++++++++++----------
29863 gi/pygi-info.c | 333 +++++++++++++++++-----------------
29864 2 files changed, 596 insertions(+), 253 deletions(-)
29866 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
29867 Author: Johan Dahlin <johan@gnome.org>
29868 Date: Mon Nov 23 15:58:17 2009 -0200
29870 Pythonify. Avoid ; and () around if statements
29872 https://bugzilla.gnome.org/show_bug.cgi?id=602830
29874 gi/types.py | 8 ++++----
29875 1 file changed, 4 insertions(+), 4 deletions(-)
29877 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
29878 Author: Johan Dahlin <johan@gnome.org>
29879 Date: Tue Nov 24 10:36:18 2009 -0200
29881 Remove trailing whitespace
29883 https://bugzilla.gnome.org/show_bug.cgi?id=602830
29885 gi/module.py | 4 ++--
29886 1 file changed, 2 insertions(+), 2 deletions(-)
29888 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
29889 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29890 Date: Mon Nov 30 10:03:34 2009 +0000
29892 Set a default constructor for boxed structs that don't have one
29894 https://bugzilla.gnome.org/show_bug.cgi?id=602735
29896 gi/Makefile.am | 2 +
29897 gi/gimodule.c | 1 +
29898 gi/module.py | 2 +-
29899 gi/pygi-argument.c | 14 +++-
29900 gi/pygi-boxed.c | 184
29901 +++++++++++++++++++++++++++++++++++++++++++++++++++++
29902 gi/pygi-boxed.h | 40 ++++++++++++
29903 gi/pygi-info.c | 2 +-
29904 gi/pygi-private.h | 1 +
29906 gi/types.py | 18 ------
29907 tests/libtestgi.c | 72 ++++++++++-----------
29908 tests/libtestgi.h | 18 +++---
29909 tests/test_gi.py | 47 ++++++++------
29910 13 files changed, 321 insertions(+), 86 deletions(-)
29912 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
29913 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29914 Date: Mon Nov 30 10:53:57 2009 +0000
29916 Revert "Use the limit constants from glib and interpret G_MAXUINT32
29917 as PyLong_FromLongLong"
29919 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
29921 gi/pygi-argument.c | 14 +++++++-------
29922 tests/test_gi.py | 18 +++++++++---------
29923 2 files changed, 16 insertions(+), 16 deletions(-)
29925 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
29926 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29927 Date: Sat Nov 28 18:48:19 2009 +0000
29929 Use the limit constants from glib and interpret G_MAXUINT32 as
29930 PyLong_FromLongLong
29932 https://bugzilla.gnome.org/show_bug.cgi?id=602384
29934 gi/pygi-argument.c | 14 +++++++-------
29935 tests/test_gi.py | 18 +++++++++---------
29936 2 files changed, 16 insertions(+), 16 deletions(-)
29938 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
29939 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29940 Date: Sat Nov 28 18:45:54 2009 +0000
29942 Add the missing limit constants from glibconfig.h
29944 https://bugzilla.gnome.org/show_bug.cgi?id=603244
29946 gobject/generate-constants.c | 17 ++++++++++++++++-
29947 1 file changed, 16 insertions(+), 1 deletion(-)
29949 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
29950 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29951 Date: Sat Nov 28 18:48:49 2009 +0100
29953 Fix bad name when rebuilding the unix source module
29955 gio/Makefile.am | 2 +-
29956 1 file changed, 1 insertion(+), 1 deletion(-)
29958 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
29959 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
29960 Date: Sat Nov 28 18:47:26 2009 +0100
29962 Wrap new API added in GIO 2.22
29964 gio/gio-types.defs | 138 +++
29965 gio/gio.defs | 2444
29966 +++++++++++++++++++++++++++++++++++++++++++++++-----
29967 2 files changed, 2360 insertions(+), 222 deletions(-)
29969 commit 96f6c638709636d7e2ddf560b877879691da3314
29970 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
29971 Date: Sat Nov 28 11:03:51 2009 +0000
29973 A few tests about interfaces
29975 https://bugzilla.gnome.org/show_bug.cgi?id=601181
29977 tests/libtestgi.c | 23 +++++++++++++++++++++++
29978 tests/libtestgi.h | 16 ++++++++++++++++
29979 tests/test_gi.py | 21 +++++++++++++++++++++
29980 3 files changed, 60 insertions(+)
29982 commit 076ba3156c13375a75983cef7a409c8c8afea119
29983 Author: Simon van der Linden <svdlinden@src.gnome.org>
29984 Date: Thu Nov 26 23:50:54 2009 +0100
29986 Fix members initialization in metaclasses
29988 In metaclasses, the test for the name of the class was wrong, since it
29989 prevented one to create a subclass with the same name (especially
29991 overrides). Now, if a GType is available from the info, the fact
29993 doesn't have any wrapper yet means that the metaclass is creating
29995 class, which will be registerd just after its creation. This is
29997 objects, and for structures registered as boxed or pointer too.
29999 This patch includes a test for basic subclassing in Python. It
30001 that methods don't get overridden by the metaclass.
30003 gi/types.py | 5 +++--
30004 tests/test_gi.py | 19 +++++++++++++++++++
30005 2 files changed, 22 insertions(+), 2 deletions(-)
30007 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
30008 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30009 Date: Fri Nov 27 12:06:59 2009 +0000
30011 Structs in arrays are not marshalled correctly
30013 https://bugzilla.gnome.org/show_bug.cgi?id=602709
30015 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
30016 tests/libtestgi.c | 23 ++++++++++++++++++++++-
30017 tests/libtestgi.h | 7 +++++--
30018 tests/test_gi.py | 8 ++++++++
30019 4 files changed, 59 insertions(+), 8 deletions(-)
30021 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
30022 Author: Simon van der Linden <svdlinden@src.gnome.org>
30023 Date: Wed Nov 25 16:53:55 2009 +0100
30025 Use the right variable when looking up in sys.modules
30027 gi/importer.py | 2 +-
30028 1 file changed, 1 insertion(+), 1 deletion(-)
30030 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
30031 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30032 Date: Tue Nov 24 15:52:47 2009 +0100
30034 Accept 0 as a valid value for flag and enum arguments
30036 https://bugzilla.gnome.org/show_bug.cgi?id=602638
30038 gi/pygi-argument.c | 19 ++++++++++++++++++-
30039 tests/libtestgi.c | 6 ++++++
30040 tests/libtestgi.h | 1 +
30041 tests/test_gi.py | 1 +
30042 4 files changed, 26 insertions(+), 1 deletion(-)
30044 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
30045 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30046 Date: Tue Nov 24 13:10:11 2009 +0100
30048 Add stuff to .gitignore
30050 .gitignore | 7 +++++++
30051 1 file changed, 7 insertions(+)
30053 commit 5c010fe673d9bd01c27c8d7d312064665275888c
30054 Author: Simon van der Linden <svdlinden@src.gnome.org>
30055 Date: Mon Nov 23 22:39:12 2009 +0100
30057 Remove the girepository module
30060 configure.ac | 17 -
30061 girepository/Makefile.am | 54 --
30062 girepository/__init__.py | 24 -
30063 girepository/bank-argument.c | 379 ------------
30064 girepository/bank-info.c | 1194
30065 ------------------------------------
30066 girepository/bank-repository.c | 236 -------
30067 girepository/bank.c | 155 -----
30068 girepository/bank.h | 80 ---
30069 girepository/btypes.py | 300 ---------
30070 girepository/importer.py | 51 --
30071 girepository/module.py | 224 -------
30072 girepository/overrides/Gdk.py | 14 -
30073 girepository/overrides/Gtk.py | 8 -
30074 girepository/overrides/__init__.py | 0
30075 girepository/repository.py | 51 --
30076 tests/test_girepository.py | 386 ------------
30077 17 files changed, 1 insertion(+), 3174 deletions(-)
30079 commit a644edf0515c26ed027522891ccf02aceac764e8
30080 Author: Johan Dahlin <johan@gnome.org>
30081 Date: Mon Nov 23 15:32:16 2009 -0200
30083 Create overridden modules in two passes
30085 This patch splits overridden module creation into two passes. The
30087 creates the auto-generated module normally before the overridden
30089 attempted to be imported. The second pass imports the overridden
30091 replaces the auto-generated module with the overridden. This is
30093 for the overridden modules to be able to access the auto-generated
30096 gi/importer.py | 34 +++++++++++++++++++++-------------
30097 1 file changed, 21 insertions(+), 13 deletions(-)
30099 commit fad89e12a744b57e6348968f351d25d167de8248
30100 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30101 Date: Sun Nov 22 17:56:20 2009 +0100
30103 Add support for Any arguments
30105 https://bugzilla.gnome.org/show_bug.cgi?id=601253
30107 gi/pygi-argument.c | 20 ++++++++++++--------
30108 tests/libtestgi.c | 5 +++++
30109 tests/libtestgi.h | 5 +++++
30110 tests/test_gi.py | 5 +++++
30111 4 files changed, 27 insertions(+), 8 deletions(-)
30113 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
30114 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30115 Date: Sun Nov 22 17:25:04 2009 +0100
30117 Register interfaces
30119 https://bugzilla.gnome.org/show_bug.cgi?id=601181
30121 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
30122 gi/types.py | 5 ++++-
30123 2 files changed, 37 insertions(+), 1 deletion(-)
30125 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
30126 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30127 Date: Sun Nov 22 18:23:02 2009 +0200
30129 Ignore one more file.
30132 1 file changed, 1 insertion(+)
30134 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
30135 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30136 Date: Sun Nov 22 18:22:23 2009 +0200
30138 Fix wrong minimum checking in float properties
30140 Bug #587637. Test the fix.
30142 gobject/propertyhelper.py | 5 +++--
30143 tests/test_properties.py | 6 ++++++
30144 2 files changed, 9 insertions(+), 2 deletions(-)
30146 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
30147 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30148 Date: Mon Oct 26 18:06:06 2009 +0000
30150 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
30152 gi/pygi-argument.c | 3 +++
30153 1 file changed, 3 insertions(+)
30155 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
30156 Author: Simon van der Linden <svdlinden@src.gnome.org>
30157 Date: Sat Nov 14 21:42:43 2009 +0100
30159 Import pygtk properly to avoid failure on some setups
30161 tests/test_gi.py | 3 +++
30162 1 file changed, 3 insertions(+)
30164 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
30165 Author: Alex Dedul <rotmer@gmail.com>
30166 Date: Sat Nov 14 21:39:15 2009 +0100
30168 Search for python-config-${VERSION} when python${VERSION}-config is
30171 On Gentoo, notably, the config tool is named python-config-${VERSION},
30173 Fedora and Ubuntu, it is named python${VERSION}-config.
30175 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
30177 configure.ac | 7 +++++--
30178 1 file changed, 5 insertions(+), 2 deletions(-)
30180 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
30181 Author: Simon van der Linden <svdlinden@src.gnome.org>
30182 Date: Sat Nov 14 21:36:19 2009 +0100
30184 Fix silent rules setup
30186 configure.ac | 2 +-
30187 1 file changed, 1 insertion(+), 1 deletion(-)
30189 commit 602afea88c338a38327cd84e08703c5daa384ec6
30190 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30191 Date: Tue Nov 10 22:32:33 2009 +0200
30193 Move threads_init() function from 'gobject' to 'glib'
30195 Retain in original place for backward compatibility, but remove it
30198 docs/reference/pygobject-functions.xml | 36
30199 +++++++---------------------------
30200 glib/glibmodule.c | 16 +++++++++++++++
30201 2 files changed, 23 insertions(+), 29 deletions(-)
30203 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
30204 Author: Simon van der Linden <svdlinden@src.gnome.org>
30205 Date: Mon Nov 9 22:44:12 2009 +0100
30207 Remove PyGObject patches since they've been merged to master
30209 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
30210 patches/0002-Fix-girpository-build-setup.patch | 186
30211 -------------------
30212 ...capabilities-to-import-wrappers-from-pygi.patch | 200
30213 ---------------------
30214 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
30215 4 files changed, 493 deletions(-)
30217 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
30218 Author: Simon van der Linden <svdlinden@src.gnome.org>
30219 Date: Sat Nov 7 23:42:07 2009 +0100
30221 Create instances by calling tp_alloc rather than PyObject_NEW
30223 PyObject_NEW calls a generic allocator and should only be called by
30225 that the type's free function agrees. In pyg_boxed_new, we may
30227 PyGBoxed subtypes, so the subtype's allocation function must be
30230 gobject/pygboxed.c | 3 ++-
30231 1 file changed, 2 insertions(+), 1 deletion(-)
30233 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
30234 Author: Simon van der Linden <svdlinden@src.gnome.org>
30235 Date: Sat Nov 7 16:43:35 2009 +0100
30237 Add capabilities to import wrappers from pygi
30239 At instance creation for boxed and pointers, at lookup for objects,
30240 when the gtype has no wrapper yet, a wrapper may be imported from
30243 The feature is turned on at configure time by --enable-pygi.
30245 Because we couldn't create a circular build dependency, PyGI's import
30247 API definition had to be copied in this tree.
30249 configure.ac | 8 ++++++
30250 gobject/pygboxed.c | 10 ++++++++
30251 gobject/pygi-external.h | 66
30252 +++++++++++++++++++++++++++++++++++++++++++++++++
30253 gobject/pygobject.c | 10 ++++++++
30254 gobject/pygpointer.c | 11 +++++++++
30255 5 files changed, 105 insertions(+)
30257 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
30258 Author: Simon van der Linden <svdlinden@src.gnome.org>
30259 Date: Sun Nov 8 20:03:58 2009 +0100
30261 Update PyGObject patches
30263 A file, pygi-external.h, was missing in patch #3.
30265 ...capabilities-to-import-wrappers-from-pygi.patch | 74
30266 ++++++++++++++++++++--
30267 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
30268 2 files changed, 69 insertions(+), 7 deletions(-)
30270 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
30271 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
30272 Date: Sun Nov 8 16:52:18 2009 +0100
30274 Add myself to pygi.doap
30276 pygi.doap | 5 +++++
30277 1 file changed, 5 insertions(+)
30279 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
30280 Author: Simon van der Linden <svdlinden@src.gnome.org>
30281 Date: Sun Nov 8 15:40:51 2009 +0100
30285 pygi.doap | 17 +++++++++++++++++
30286 1 file changed, 17 insertions(+)
30288 commit ce673b9027868e6add4eeb438bc707eb40bfd046
30289 Author: Simon van der Linden <svdlinden@src.gnome.org>
30290 Date: Sun Nov 8 13:06:54 2009 +0100
30292 Add PyGObject patches
30294 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
30295 patches/0002-Fix-girpository-build-setup.patch | 186
30296 +++++++++++++++++++++
30297 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
30298 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
30299 4 files changed, 431 insertions(+)
30301 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
30302 Author: Simon van der Linden <svdlinden@src.gnome.org>
30303 Date: Sun Nov 8 12:35:08 2009 +0100
30309 autogen.sh | 159 +++
30310 configure.ac | 53 +
30311 gi/Makefile.am | 50 +
30312 gi/__init__.py | 24 +
30313 gi/gimodule.c | 144 ++
30314 gi/importer.py | 89 ++
30315 gi/module.py | 167 +++
30316 gi/overrides/Gdk.py | 21 +
30317 gi/overrides/Gtk.py | 13 +
30318 gi/overrides/Makefile.am | 10 +
30319 gi/overrides/__init__.py | 0
30320 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
30321 gi/pygi-argument.h | 65 +
30322 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
30323 gi/pygi-info.h | 64 +
30324 gi/pygi-private.h | 55 +
30325 gi/pygi-repository.c | 238 ++++
30326 gi/pygi-repository.h | 39 +
30327 gi/pygi-struct.c | 175 +++
30328 gi/pygi-struct.h | 40 +
30329 gi/pygi-type.c | 96 ++
30330 gi/pygi-type.h | 43 +
30332 gi/pygobject-external.h | 83 ++
30333 gi/repository/Makefile.am | 8 +
30334 gi/repository/__init__.py | 30 +
30335 gi/types.py | 163 +++
30336 tests/Makefile.am | 48 +
30337 tests/libtestgi.c | 3397
30338 +++++++++++++++++++++++++++++++++++++++++++++
30339 tests/libtestgi.h | 643 +++++++++
30340 tests/runtests.py | 22 +
30341 tests/test_gi.py | 1416 +++++++++++++++++++
30342 34 files changed, 11566 insertions(+)
30344 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
30345 Author: Simon van der Linden <svdlinden@src.gnome.org>
30346 Date: Sat Nov 7 13:23:53 2009 +0100
30348 Fix girpository build setup
30350 configure.ac | 21 ++++++-----
30351 girepository/Makefile.am | 13 ++++---
30352 m4/introspection.m4 | 92
30353 ++++++++++++++++++++++++++++++++++++++++++++++++
30354 3 files changed, 111 insertions(+), 15 deletions(-)
30356 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
30357 Author: Simon van der Linden <svdlinden@src.gnome.org>
30358 Date: Fri Nov 6 19:17:36 2009 +0100
30360 Make GType.pytype aware of the interface, enum, flags, pointer and
30363 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
30364 1 file changed, 33 insertions(+), 6 deletions(-)
30366 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
30367 Author: Philippe Normad <phil@base-art.net>
30368 Date: Wed Oct 21 18:01:16 2009 +0200
30370 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
30374 glib/pygmainloop.c | 95
30375 ++++++++++++++++++++++++++++--------------------------
30376 1 file changed, 50 insertions(+), 45 deletions(-)
30378 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
30379 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30380 Date: Fri Sep 25 20:12:21 2009 +0200
30382 Post release version bump to 2.21.0
30384 configure.ac | 2 +-
30385 1 file changed, 1 insertion(+), 1 deletion(-)
30387 commit 33920eb013628a5e22b7b32403fb965ae3210f47
30388 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30389 Date: Wed Sep 23 21:52:04 2009 +0200
30391 Update NEWS and release 2.20.0
30394 1 file changed, 6 insertions(+)
30396 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
30397 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30398 Date: Wed Sep 23 21:51:43 2009 +0200
30400 Bump version to 2.20.0
30402 configure.ac | 2 +-
30403 1 file changed, 1 insertion(+), 1 deletion(-)
30405 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
30406 Author: Brian Cameron <Brian.Cameron@sun.com>
30407 Date: Wed Sep 23 12:11:50 2009 -0500
30409 Updated uninstalled.pc file so that it contains the right paths for
30410 defsdir files and codegen files. See bug #596023.
30412 pygobject-2.0-uninstalled.pc.in | 4 ++--
30413 1 file changed, 2 insertions(+), 2 deletions(-)
30415 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
30416 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30417 Date: Tue Sep 22 22:02:27 2009 +0300
30419 Plug reference leak of GSource in pyg_main_loop_init()
30421 Bug #579406, second change.
30423 glib/pygmainloop.c | 1 +
30424 1 file changed, 1 insertion(+)
30426 commit 640be8109d066e85ed77c810830a5f73c750415b
30427 Author: Frédéric Péters <fpeters@0d.be>
30428 Date: Sun Aug 30 16:46:02 2009 +0200
30430 Specify programming language in .devhelp file
30432 This add a new language attribute (hardcoded to python) in the
30434 file that is produced when using ref-html-style.xsl.
30436 docs/xsl/devhelp.xsl | 2 +-
30437 1 file changed, 1 insertion(+), 1 deletion(-)
30439 commit c888b5ca722fcad6a03de585606c677c2969ebd6
30440 Author: Paolo Borelli <pborelli@gnome.org>
30441 Date: Thu Aug 13 21:32:07 2009 +0200
30443 Allow to use automake 1.11
30445 autogen.sh | 13 +++++++------
30446 1 file changed, 7 insertions(+), 6 deletions(-)
30448 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
30449 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30450 Date: Tue Aug 11 22:19:50 2009 +0200
30454 README | 10 ++++++++--
30455 1 file changed, 8 insertions(+), 2 deletions(-)
30457 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
30458 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30459 Date: Tue Aug 11 22:16:52 2009 +0200
30463 AUTHORS | 8 +++++---
30464 1 file changed, 5 insertions(+), 3 deletions(-)
30466 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
30467 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30468 Date: Tue Aug 11 22:11:43 2009 +0200
30470 Add myself and Paul as maintainers
30472 MAINTAINERS | 8 ++++++++
30473 pygobject.doap | 14 ++++++++++++++
30474 2 files changed, 22 insertions(+)
30476 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
30477 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30478 Date: Tue Aug 11 20:52:44 2009 +0200
30480 Update NEWS release 2.19.0
30482 NEWS | 29 +++++++++++++++++++++++++++++
30483 1 file changed, 29 insertions(+)
30485 commit e82a1841f31ad54dd50569d0d45290713409e0bf
30486 Author: John Finlay <finlay@moeraki.com>
30487 Date: Tue Aug 11 00:04:31 2009 -0700
30489 Add macros to help with Python list to/from GList/GSList conversions.
30491 gobject/pygobject.h | 242
30492 +++++++++++++++++++++++++++++++++++++++++++++++++++-
30493 1 file changed, 241 insertions(+), 1 deletion(-)
30495 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
30496 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30497 Date: Sat Aug 8 21:37:54 2009 +0200
30499 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
30501 gio/gfileinfo.override | 4 ++--
30502 1 file changed, 2 insertions(+), 2 deletions(-)
30504 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
30505 Author: Johan Dahlin <johan@gnome.org>
30506 Date: Fri Jul 24 14:30:37 2009 -0300
30508 Remove myself as a maintainer
30510 MAINTAINERS | 4 ----
30511 pygobject.doap | 7 -------
30512 2 files changed, 11 deletions(-)
30514 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
30515 Author: John Finlay <finlay@moeraki.com>
30516 Date: Wed Jul 8 15:47:44 2009 -0700
30518 * codegen/defsgen.py (clean_patterns): Strip out Windows
30521 codegen/defsgen.py | 6 +++---
30522 1 file changed, 3 insertions(+), 3 deletions(-)
30524 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
30525 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30526 Date: Tue Jun 23 21:18:23 2009 +0200
30528 Fix the gio.unix namespace in docs
30530 docs/Makefile.am | 2 ++
30531 docs/reference/pygio-classes.xml | 2 --
30532 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
30533 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
30534 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
30535 docs/reference/pygobject-ref.xml | 1 +
30536 6 files changed, 42 insertions(+), 28 deletions(-)
30538 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
30539 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30540 Date: Mon Jun 22 23:13:36 2009 +0200
30542 Add docs for gio functions (mostly for content types)
30544 docs/Makefile.am | 2 +
30545 docs/reference/pygio-classes.xml | 1 +
30546 docs/reference/pygio-functions.xml | 395
30547 +++++++++++++++++++++++++++++++++++++
30548 3 files changed, 398 insertions(+)
30550 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
30551 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30552 Date: Sun Jun 21 18:35:56 2009 +0200
30554 Add docs for gio.Unix[In|Out]putStream classes
30556 docs/Makefile.am | 4 +
30557 docs/reference/pygio-classes.xml | 2 +
30558 docs/reference/pygio-unixinputstream.xml | 202
30559 ++++++++++++++++++++++++++++++
30560 docs/reference/pygio-unixoutputstream.xml | 202
30561 ++++++++++++++++++++++++++++++
30562 4 files changed, 410 insertions(+)
30564 commit 5b71e58117c85634d95d08449eb54079b246e5be
30565 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30566 Date: Sun Jun 21 16:50:03 2009 +0300
30568 Document that many functions got moved gobject -> glib
30570 docs/reference/pygobject-functions.xml | 7 +++++++
30571 1 file changed, 7 insertions(+)
30573 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
30574 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30575 Date: Sat Jun 20 19:23:25 2009 +0200
30577 Add docs for class gio.DataOutputStream
30579 docs/Makefile.am | 2 +
30580 docs/reference/pygio-classes.xml | 1 +
30581 docs/reference/pygio-dataoutputstream.xml | 504
30582 ++++++++++++++++++++++++++++++
30583 3 files changed, 507 insertions(+)
30585 commit 549313fc4886fa3deb31761de6f5400708165d86
30586 Author: Murray Cumming <murrayc@murrayc.com>
30587 Date: Thu Jun 18 18:48:37 2009 +0200
30589 Allow h2def.py to work when there are tabs or multiple spaces after
30590 the struct keyword.
30592 codegen/h2def.py | 8 ++++----
30593 1 file changed, 4 insertions(+), 4 deletions(-)
30595 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
30596 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30597 Date: Mon Jun 15 23:02:34 2009 +0200
30599 Add dpcs for class gio.DataInputStream
30601 docs/Makefile.am | 2 +
30602 docs/reference/pygio-classes.xml | 1 +
30603 docs/reference/pygio-constants.xml | 66 +++
30604 docs/reference/pygio-datainputstream.xml | 799
30605 +++++++++++++++++++++++++++++++
30606 4 files changed, 868 insertions(+)
30608 commit a8b36c343c6850af929c1d5a930f923831b4e637
30609 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
30610 Date: Mon Jun 15 23:25:01 2009 +0300
30612 Fix build when builddir is not the same as srcdir
30616 girepository/Makefile.am | 2 +-
30617 1 file changed, 1 insertion(+), 1 deletion(-)
30619 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
30620 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30621 Date: Mon Jun 15 23:19:47 2009 +0300
30623 Make gio.Emblem constructor new-style
30625 Add optional 'origin' parameter. Expand gio.Emblem documentation and
30626 mark gio.emblem_new_with_origin as sort-of-deprecated.
30628 docs/reference/pygio-emblem.xml | 51
30629 +++++++++++++++++++++++++++++++++++++++--
30630 gio/gio.defs | 5 ++--
30631 2 files changed, 52 insertions(+), 4 deletions(-)
30633 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
30634 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30635 Date: Sat Jun 13 14:44:47 2009 +0200
30637 Add docs for gio.BufferedOutputStream class
30639 docs/Makefile.am | 96 ++++-----
30640 docs/reference/pygio-bufferedoutputstream.xml | 275
30641 ++++++++++++++++++++++++++
30642 docs/reference/pygio-classes.xml | 1 +
30643 3 files changed, 325 insertions(+), 47 deletions(-)
30645 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
30646 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30647 Date: Sat Jun 13 14:38:34 2009 +0200
30649 Fix gio.BufferedInputStream docs
30651 Added the constructor reference and fixed a typo in properties header
30653 docs/reference/pygio-bufferedinputstream.xml | 34
30654 ++++++++++++++++++++++++++--
30655 1 file changed, 32 insertions(+), 2 deletions(-)
30657 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
30658 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30659 Date: Sat Jun 13 01:25:06 2009 +0200
30661 Add docs for gio.BufferedInputStream
30663 docs/Makefile.am | 2 +
30664 docs/reference/pygio-bufferedinputstream.xml | 431
30665 +++++++++++++++++++++++++++
30666 docs/reference/pygio-classes.xml | 1 +
30667 3 files changed, 434 insertions(+)
30669 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
30670 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30671 Date: Sun May 31 18:25:47 2009 +0300
30673 Cleanup GIO overrides to use Python function/method names
30675 Also move several gio.Mount overrides over from 'gio.override' to
30676 existing 'gmount.override'. Part of bug #584289.
30678 gio/gfile.override | 20 ++---
30679 gio/gfileenumerator.override | 6 +-
30680 gio/ginputstream.override | 2 +-
30681 gio/gio.override | 204
30682 -------------------------------------------
30683 gio/gmount.override | 204
30684 +++++++++++++++++++++++++++++++++++++++++++
30685 5 files changed, 218 insertions(+), 218 deletions(-)
30687 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
30688 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30689 Date: Sun May 31 18:56:55 2009 +0300
30691 Make codegen report errors using Python function/method names
30693 Part of bug #584289.
30695 codegen/codegen.py | 9 +++++----
30696 codegen/definitions.py | 10 +++++++++-
30697 2 files changed, 14 insertions(+), 5 deletions(-)
30699 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
30700 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30701 Date: Fri Jun 12 00:12:17 2009 +0200
30703 Fix object type in gio.BufferedInputStream_fill_async
30705 gio/gbufferedinputstream.override | 2 +-
30706 1 file changed, 1 insertion(+), 1 deletion(-)
30708 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
30709 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30710 Date: Tue Jun 9 00:08:21 2009 +0200
30712 Wrap gio.BufferedInputStream.fill_async
30714 Wrap the method gio.BufferedInputStream.fill_async and add a test
30716 gio/Makefile.am | 1 +
30717 gio/gbufferedinputstream.override | 70
30718 +++++++++++++++++++++++++++++++++++++++
30719 gio/gio.override | 1 +
30720 tests/test_gio.py | 25 ++++++++++++++
30721 4 files changed, 97 insertions(+)
30723 commit b7c96b41b287685fe57504e0add3a6f16e649975
30724 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30725 Date: Mon Jun 8 15:42:40 2009 +0200
30727 Add gio.BufferedOutputStream which was forgotten in the types
30730 gio/gio-types.defs | 7 +++++++
30731 1 file changed, 7 insertions(+)
30733 commit 3666f75af4ef2c8e038116aee5afada59d59f689
30734 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30735 Date: Mon Jun 8 14:20:02 2009 +0200
30737 Add docs for gio.MemoryOutputStream
30739 docs/Makefile.am | 2 +
30740 docs/reference/pygio-classes.xml | 1 +
30741 docs/reference/pygio-memoryoutputstream.xml | 175
30742 ++++++++++++++++++++++++++++
30743 3 files changed, 178 insertions(+)
30745 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
30746 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30747 Date: Mon Jun 8 13:30:15 2009 +0200
30749 Split overrides for gio.MemoryOutputStream
30751 gio/Makefile.am | 1 +
30752 gio/gio.override | 1 +
30753 gio/gmemoryoutputstream.override | 45
30754 ++++++++++++++++++++++++++++++++++++++++
30755 gio/goutputstream.override | 24 ---------------------
30756 4 files changed, 47 insertions(+), 24 deletions(-)
30758 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
30759 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30760 Date: Mon Jun 8 11:45:11 2009 +0200
30762 Wrap gio.memory_input_stream_new_from_data
30764 Add the wrapper for gio.memory_input_stream_new_from_data including
30767 docs/Makefile.am | 4 +-
30768 docs/reference/pygio-classes.xml | 1 +
30769 docs/reference/pygio-memoryinputstream.xml | 151
30770 +++++++++++++++++++++++++++++
30771 gio/Makefile.am | 1 +
30772 gio/ginputstream.override | 34 -------
30773 gio/gio.override | 1 +
30774 gio/gmemoryinputstream.override | 91 +++++++++++++++++
30775 tests/test_gio.py | 4 +
30776 8 files changed, 252 insertions(+), 35 deletions(-)
30778 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
30779 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
30780 Date: Mon Jun 8 19:15:24 2009 +0200
30782 Fixes whitespaces style issues with girepository.
30784 girepository/Makefile.am | 2 +-
30785 girepository/bank-repository.c | 67
30786 +++++++++++++++++++++---------------------
30787 girepository/bank.h | 2 +-
30788 girepository/btypes.py | 6 ++--
30789 girepository/module.py | 2 +-
30790 5 files changed, 39 insertions(+), 40 deletions(-)
30792 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
30793 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
30794 Date: Fri Jun 5 19:03:59 2009 +0200
30796 Removes the header but the modeline in test_girepository.py.
30798 tests/test_girepository.py | 26 +-------------------------
30799 1 file changed, 1 insertion(+), 25 deletions(-)
30801 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
30802 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
30803 Date: Wed Jun 3 10:47:58 2009 +0200
30805 Adds overrides modules from PyBank.
30807 girepository/Makefile.am | 3 +++
30808 girepository/importer.py | 3 +--
30809 girepository/overrides/Gdk.py | 14 ++++++++++++++
30810 girepository/overrides/Gtk.py | 8 ++++++++
30811 girepository/overrides/__init__.py | 0
30812 5 files changed, 26 insertions(+), 2 deletions(-)
30814 commit c12964e6a3354d8063355225c94e6d21d621e08b
30815 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
30816 Date: Tue Jun 2 23:40:41 2009 +0200
30818 Disables the tests that fail in tests/test_girepository.py.
30820 tests/test_girepository.py | 242
30821 ++++++++++++++++++++++++++++++++++-----------
30822 1 file changed, 182 insertions(+), 60 deletions(-)
30824 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
30825 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
30826 Date: Tue Jun 2 23:03:26 2009 +0200
30828 Imports test_girepository.py from former PyBank's
30829 everything_unittest.py.
30831 tests/test_girepository.py | 288
30832 +++++++++++++++++++++++++++++++++++++++++++++
30833 1 file changed, 288 insertions(+)
30835 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
30836 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
30837 Date: Thu May 28 17:45:11 2009 +0200
30839 Introduces the girepository module from the former PyBank.
30843 configure.ac | 12 +
30844 girepository/Makefile.am | 52 ++
30845 girepository/__init__.py | 24 +
30846 girepository/bank-argument.c | 379 +++++++++++++
30847 girepository/bank-info.c | 1194
30848 ++++++++++++++++++++++++++++++++++++++++
30849 girepository/bank-repository.c | 237 ++++++++
30850 girepository/bank.c | 155 ++++++
30851 girepository/bank.h | 80 +++
30852 girepository/btypes.py | 300 ++++++++++
30853 girepository/importer.py | 52 ++
30854 girepository/module.py | 224 ++++++++
30855 girepository/repository.py | 51 ++
30856 14 files changed, 2799 insertions(+), 32 deletions(-)
30858 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
30859 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30860 Date: Tue Jun 2 18:28:22 2009 +0200
30862 Fix the docs for gio.FilterOutputStream
30864 docs/reference/pygio-filteroutputstream.xml | 6 +++---
30865 1 file changed, 3 insertions(+), 3 deletions(-)
30867 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
30868 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30869 Date: Tue Jun 2 18:27:00 2009 +0200
30871 Add gio.FilterOutputStream docs
30873 docs/Makefile.am | 2 +
30874 docs/reference/pygio-classes.xml | 1 +
30875 docs/reference/pygio-filteroutputstream.xml | 152
30876 ++++++++++++++++++++++++++++
30877 3 files changed, 155 insertions(+)
30879 commit e2c31f916967229b6547e68013628ce0082cf875
30880 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30881 Date: Tue Jun 2 13:29:59 2009 +0200
30883 Add gio.FilterInputStream docs
30885 docs/Makefile.am | 2 +
30886 docs/reference/pygio-classes.xml | 1 +
30887 docs/reference/pygio-filterinputstream.xml | 152
30888 +++++++++++++++++++++++++++++
30889 3 files changed, 155 insertions(+)
30891 commit 49a467eee445bc75554db0374006722ac075194b
30892 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30893 Date: Tue Jun 2 11:33:20 2009 +0200
30895 Add API appeared in 2.20 but not marked as such in gio docs
30897 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
30898 1 file changed, 30 insertions(+)
30900 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
30901 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30902 Date: Tue Jun 2 10:41:26 2009 +0200
30904 Wrap gio.FileOutputStream.query_info_async
30906 Add the wrapper for gio.FileOutputStream.query_info_async
30907 including docs and a test.
30909 docs/Makefile.am | 2 +
30910 docs/reference/pygio-classes.xml | 1 +
30911 docs/reference/pygio-fileoutputstream.xml | 257
30912 ++++++++++++++++++++++++++++++
30913 gio/Makefile.am | 3 +-
30914 gio/gfileoutputstream.override | 68 ++++++++
30915 gio/gio.override | 1 +
30916 tests/test_gio.py | 27 ++++
30917 7 files changed, 358 insertions(+), 1 deletion(-)
30919 commit 4673577d1f6c3d54423808dd575987092fb05ad2
30920 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30921 Date: Tue Jun 2 10:17:41 2009 +0200
30923 Fix gio.FileInputStream docs
30925 Add implemented interface section and remove a method description
30927 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
30928 1 file changed, 9 insertions(+), 16 deletions(-)
30930 commit 1e1cad02879d514745b5233658654cbe944530a5
30931 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30932 Date: Mon Jun 1 22:54:26 2009 +0200
30934 Fix the method name
30936 gio/gfileinputstream.override | 14 +++++++-------
30937 1 file changed, 7 insertions(+), 7 deletions(-)
30939 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
30940 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
30941 Date: Mon Jun 1 22:40:56 2009 +0200
30943 Wrap gio.FileInputStream.query_async
30945 Add the wrapper for gio.FileInputStream.query_async including docs and
30948 docs/Makefile.am | 2 +
30949 docs/reference/pygio-classes.xml | 1 +
30950 docs/reference/pygio-fileinputstream.xml | 221
30951 +++++++++++++++++++++++++++++++
30952 gio/Makefile.am | 1 +
30953 gio/gfileinputstream.override | 68 ++++++++++
30954 gio/gio.override | 1 +
30955 tests/test_gio.py | 27 ++++
30956 7 files changed, 321 insertions(+)
30958 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
30959 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30960 Date: Sun May 31 17:43:16 2009 +0300
30962 Install executable codegen parts with executing permissions
30964 Also add shebang where it was missing. Bug #583979.
30966 codegen/Makefile.am | 23 ++++++++++++-----------
30967 codegen/code-coverage.py | 2 ++
30968 codegen/codegen.py | 2 ++
30969 codegen/createdefs.py | 0
30970 codegen/defsconvert.py | 2 ++
30971 codegen/defsgen.py | 0
30972 codegen/docgen.py | 0
30973 codegen/scmexpr.py | 0
30974 8 files changed, 18 insertions(+), 11 deletions(-)
30976 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
30977 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30978 Date: Sat May 30 16:57:49 2009 +0300
30980 Wrap gio.DataInputStream.read_line_async and read_until_async
30982 Wrap the functions and their corresponding *_finish() functions.
30983 Create 'gdatainputstream.override' for these and move two existing
30984 functions there. Add unit tests. Re-enable synchronous read_line
30985 unit test and adjust it for new official GIO behavior. Bug #584285.
30987 gio/Makefile.am | 1 +
30988 gio/gdatainputstream.override | 250
30989 ++++++++++++++++++++++++++++++++++++++++++
30990 gio/ginputstream.override | 65 -----------
30991 gio/gio.defs | 4 +-
30992 gio/gio.override | 1 +
30993 tests/test_gio.py | 51 ++++++++-
30994 6 files changed, 300 insertions(+), 72 deletions(-)
30996 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
30997 Author: Paul Pogonyshev <pogonyshev@gmx.net>
30998 Date: Sat May 30 17:24:15 2009 +0300
31000 Fix gio.OutputStream.splice_async
31004 gio/goutputstream.override | 8 ++++----
31005 1 file changed, 4 insertions(+), 4 deletions(-)
31007 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
31008 Author: Paul Pogonyshev <pogonyshev@gmx.net>
31009 Date: Wed May 27 21:19:27 2009 +0300
31011 Code maintenance: ignore one more file created by unit tests
31013 tests/.gitignore | 1 +
31014 1 file changed, 1 insertion(+)
31016 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
31017 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31018 Date: Mon May 25 20:20:38 2009 +0200
31020 Update the docs with new 2.20 API
31022 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
31023 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
31024 docs/reference/pygio-mount.xml | 156
31025 +++++++++++++++++++++++++++++++++++++++
31026 3 files changed, 367 insertions(+), 3 deletions(-)
31028 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
31029 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31030 Date: Mon May 25 01:33:08 2009 +0200
31034 add the new API added in gio 2.20, some needs to be wrapped manually
31037 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31038 gio/unix.defs | 48 +++++++++++++++++++++-----
31039 2 files changed, 146 insertions(+), 8 deletions(-)
31041 commit 0d08df42514fba6abc896814abfee0d2d083c29e
31042 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31043 Date: Mon May 25 00:14:21 2009 +0200
31045 Post release version bump 2.19.0
31047 configure.ac | 2 +-
31048 1 file changed, 1 insertion(+), 1 deletion(-)
31050 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
31051 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31052 Date: Sun May 24 23:56:29 2009 +0200
31054 Update NEWS, release 2.18.0
31056 NEWS | 14 ++++++++++++++
31057 configure.ac | 4 ++--
31058 2 files changed, 16 insertions(+), 2 deletions(-)
31060 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
31061 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31062 Date: Sun May 24 22:18:40 2009 +0200
31064 Add documentation for the gio.OutputStream class
31066 The docs for this class are not completed, missing methods
31068 The index is complete though, it will be completed once all the
31070 are in place so we can ship a (almost) complete reference.
31072 docs/Makefile.am | 2 +
31073 docs/reference/pygio-classes.xml | 3 +-
31074 docs/reference/pygio-outputstream.xml | 140
31075 ++++++++++++++++++++++++++++++++++
31076 3 files changed, 144 insertions(+), 1 deletion(-)
31078 commit 11524cdf6472d9115a812ce431f6767aec5627bc
31079 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31080 Date: Sun May 24 22:12:04 2009 +0200
31082 Wrap gio.OutputStream.splice_async()
31084 wrap gio.OutputStream.splice_async() and add a test.
31086 gio/goutputstream.override | 58
31087 +++++++++++++++++++++++++++++++++++++++++++++-
31088 tests/test_gio.py | 20 ++++++++++++++++
31089 2 files changed, 77 insertions(+), 1 deletion(-)
31091 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
31092 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
31093 Date: Sun May 24 22:55:16 2009 +0300
31095 Add Python version into installed libpyglib name
31097 Do this now, while no-one (as far as we know) links to the library
31098 besides PyGObject itself. Bug #550235.
31100 configure.ac | 2 ++
31101 gio/Makefile.am | 2 +-
31102 glib/Makefile.am | 10 +++++-----
31103 gobject/Makefile.am | 2 +-
31104 4 files changed, 9 insertions(+), 7 deletions(-)
31106 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
31107 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31108 Date: Sun May 24 11:44:24 2009 +0200
31110 Wrap gio.OutputStream.flush_async()
31112 wrap gio.OutputStream.flush_async() and add a test.
31114 gio/goutputstream.override | 47
31115 +++++++++++++++++++++++++++++++++++++++++++++-
31116 tests/test_gio.py | 11 +++++++++++
31117 2 files changed, 57 insertions(+), 1 deletion(-)
31119 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
31120 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31121 Date: Sun May 17 17:29:37 2009 +0200
31123 Add documentation for the gio.FileMonitor class
31125 The docs for this class are not completed, missing methods
31127 The index is complete though, it will be completed once all the
31129 are in place so we can ship a (almost) complete reference.
31131 docs/Makefile.am | 2 +
31132 docs/reference/pygio-classes.xml | 1 +
31133 docs/reference/pygio-filemonitor.xml | 128
31134 +++++++++++++++++++++++++++++++++++
31135 3 files changed, 131 insertions(+)
31137 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
31138 Author: Josselin Mouette <joss@malsain.org>
31139 Date: Sun May 17 18:03:44 2009 +0300
31141 Use 'Requires.private' for libffi in '.pc' files
31143 Correction for patch in bug #550231.
31145 pygobject-2.0-uninstalled.pc.in | 3 ++-
31146 pygobject-2.0.pc.in | 3 ++-
31147 2 files changed, 4 insertions(+), 2 deletions(-)
31149 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
31150 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31151 Date: Wed May 13 21:54:39 2009 +0200
31153 Add wrapper for gio.FileAttributeMatcher
31155 added a boxed type for gio.FileAttributeMatcher which has been
31157 wrapping the gio API. This should probably be done in gio itself.
31159 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
31160 gio/gio-types.defs | 7 +++++++
31161 gio/gio.override | 2 ++
31162 3 files changed, 31 insertions(+), 2 deletions(-)
31164 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
31165 Author: Paul Pogonyshev <pogonyshev@gmx.net>
31166 Date: Wed May 13 22:06:25 2009 +0300
31168 Mark relevant glib.IOChannel methods as METH_NOARGS
31170 Additionally fix glib.IOChannel.set_close_on_unref: was marked
31171 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
31173 glib/pygiochannel.c | 83
31174 +++++++++++++----------------------------------------
31175 1 file changed, 20 insertions(+), 63 deletions(-)
31177 commit 002915e5f458fec5a89766a54e8119a70a80caa7
31178 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31179 Date: Tue May 12 20:37:24 2009 +0200
31181 Add documentation for the gio.FileInfo class
31183 The docs for this class are not completed, missing methods
31185 The index is complete though, it will be completed once all the
31187 are in place so we can ship a (almost) complete reference.
31189 docs/Makefile.am | 2 +
31190 docs/reference/pygio-classes.xml | 1 +
31191 docs/reference/pygio-fileinfo.xml | 346
31192 ++++++++++++++++++++++++++++++++++++++
31193 3 files changed, 349 insertions(+)
31195 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
31196 Author: Paul Pogonyshev <pogonyshev@gmx.net>
31197 Date: Sat May 9 16:46:04 2009 +0300
31199 Retire hand-written ChangeLog; autocreate from Git history
31201 Basically copied over from GLib source tree.
31204 ---------------------------------------------------
31205 ChangeLog.pre-2.18 | 3608
31206 ++++++++++++++++++++++++++++++++++++++++++++++++++++
31208 3 files changed, 3640 insertions(+), 3606 deletions(-)
31210 commit 23556bdbcf9cf06db866901fb822dd78a9043648
31211 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31212 Date: Sat May 9 00:03:05 2009 +0200
31214 Fix a bug in InputStream.skip_async
31216 use the count argument instead of buffer_size which is always zero
31218 gio/ginputstream.override | 3 ++-
31219 1 file changed, 2 insertions(+), 1 deletion(-)
31221 commit ed6b06315c17441b41c001d38537c904b8fe18de
31222 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31223 Date: Sat May 9 00:02:33 2009 +0200
31225 Add docs for the gio.InputStream class
31227 docs/Makefile.am | 2 +
31228 docs/reference/pygio-classes.xml | 1 +
31229 docs/reference/pygio-inputstream.xml | 730
31230 +++++++++++++++++++++++++++++++++++
31231 3 files changed, 733 insertions(+)
31233 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
31234 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31235 Date: Mon May 4 23:40:28 2009 +0200
31237 Wrap gio.InputStream.skip_async()
31239 wrap gio.InputStream.skip_async() and add a test.
31241 gio/ginputstream.override | 50
31242 ++++++++++++++++++++++++++++++++++++++++++++++-
31243 tests/test_gio.py | 20 +++++++++++++++++++
31244 2 files changed, 69 insertions(+), 1 deletion(-)
31246 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
31247 Author: Siavash Safi <siavash@siavashs.org>
31248 Date: Mon May 4 15:46:49 2009 +0430
31250 Add -n --namespace option and the code to remove
31251 dll API in headers, Added documentation
31253 Patch from bug #579275
31256 codegen/h2def.py | 133
31257 +++++++++++++++++++++++++++++++++++++++++++++----------
31258 2 files changed, 117 insertions(+), 24 deletions(-)
31260 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
31261 Author: Paul Pogonyshev <pogonyshev@gmx.net>
31262 Date: Sat May 2 23:54:52 2009 +0300
31264 Properly mark glib.get_user_special_dir() as a keywords method
31268 glib/glibmodule.c | 2 +-
31269 1 file changed, 1 insertion(+), 1 deletion(-)
31271 commit f466dca880cc6ea68b9fe236943eea7a07d33520
31272 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31273 Date: Sun May 3 11:03:25 2009 +0200
31275 Add docs for the gio.LoadableIcon class
31277 docs/Makefile.am | 2 +
31278 docs/reference/pygio-classes.xml | 1 +
31279 docs/reference/pygio-loadableicon.xml | 198
31280 ++++++++++++++++++++++++++++++++++
31281 3 files changed, 201 insertions(+)
31283 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
31284 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31285 Date: Sun May 3 01:21:55 2009 +0200
31287 Add docs for the gio.ThemedIcon class
31289 docs/Makefile.am | 2 +
31290 docs/reference/pygio-classes.xml | 1 +
31291 docs/reference/pygio-themedicon.xml | 204
31292 ++++++++++++++++++++++++++++++++++++
31293 3 files changed, 207 insertions(+)
31295 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
31296 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31297 Date: Sat May 2 12:25:19 2009 +0200
31299 post release version bump to 2.17.1
31301 configure.ac | 2 +-
31302 1 file changed, 1 insertion(+), 1 deletion(-)
31304 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
31305 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31306 Date: Fri May 1 23:40:31 2009 +0200
31308 Fix the class title
31310 docs/reference/pygio-mountoperation.xml | 2 +-
31311 1 file changed, 1 insertion(+), 1 deletion(-)
31313 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
31314 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31315 Date: Fri May 1 22:24:33 2009 +0200
31317 Add docs for the gio.MountOperation class
31319 docs/Makefile.am | 2 +
31320 docs/reference/pygio-classes.xml | 1 +
31321 docs/reference/pygio-constants.xml | 107 +++++
31322 docs/reference/pygio-mountoperation.xml | 726
31323 ++++++++++++++++++++++++++++++++
31324 4 files changed, 836 insertions(+)
31326 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
31327 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
31328 Date: Thu Apr 30 22:13:06 2009 +0200
31330 Update NEWS, release 2.17.0
31333 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31334 1 file changed, 93 insertions(+)
31336 commit 47389217d1a65a8e3f404d486c508cf5d3164756
31337 Author: Paul Pogonyshev <pogonyshev@gmx.net>
31338 Date: Thu Apr 30 22:47:19 2009 +0300
31340 Fix memory leak in gio.File.query_info_async()
31342 After the recent patch it would leak exception data if old argument
31343 order was used. Properly decref the objects.
31345 gio/gfile.override | 4 ++++
31346 1 file changed, 4 insertions(+)