commit 92b1404e61f46348168f32720eff4a482531e5e3
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Tue Feb 5 07:46:46 2013 +0100

    release 3.7.5.1

 NEWS         | 3 +++
 configure.ac | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

commit a3a30559240077194f23c4651d6f382fa59b7d63
Author: Simon Feltman <sfeltman@src.gnome.org>
Date:   Mon Feb 4 15:16:37 2013 -0800

    Fix API break with pygobject.h

    Move pygobject_new_full after everything in the public API table.
    This fixes a break that went in along with bug 675726.

    https://bugzilla.gnome.org/show_bug.cgi?id=675726

 gi/_gobject/gobjectmodule.c | 5 +++--
 gi/_gobject/pygobject.h     | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

commit b3ca7e27494c35620995840d777037a097082661
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Mon Feb 4 19:53:26 2013 +0100

    configure.ac: post-release bump to 3.7.6

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 77f638411314218748f349b337a36e2864eed1f4
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Mon Feb 4 19:37:14 2013 +0100

    release 3.7.5

 NEWS | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
Author: Simon Feltman <sfeltman@src.gnome.org>
Date:   Sun Feb 3 23:56:14 2013 -0800

    Fix pointer cast warning that was missed in bug 675726

    https://bugzilla.gnome.org/show_bug.cgi?id=675726

 gi/_gobject/pygobject.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b31d8a952cd57dc92b06a381e054199660a2d570
Author: Simon Feltman <sfeltman@src.gnome.org>
Date:   Thu Jan 31 02:35:36 2013 -0800

    Move various signal methods from static bindings to gi and python

    Move disconnect, handler_is_connected, handler_block, handler_unblock,
    and stop_emission from static to gi python overrides.

    https://bugzilla.gnome.org/show_bug.cgi?id=692918

 gi/_gobject/pygobject.c | 90
 -------------------------------------------------
 gi/overrides/GObject.py | 44 +++++++++++++++++-------
 tests/test_signal.py    | 19 ++++++-----
 3 files changed, 42 insertions(+), 111 deletions(-)

commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
Author: Paolo Borelli <pborelli@gnome.org>
Date:   Fri Feb 1 21:09:26 2013 +0100

    GLib overrides: Support unpacking 'maybe' variants

    Automatically unpack 'maybe' variants to None or to their actual value
    as we do for other kind of variants

    https://bugzilla.gnome.org/show_bug.cgi?id=693032

 gi/overrides/GLib.py         | 5 +++++
 tests/test_overrides_glib.py | 8 ++++++++
 2 files changed, 13 insertions(+)

commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
Author: Mike Gorse <mgorse@suse.com>
Date:   Mon Jan 21 16:45:52 2013 -0600

    Fix ref count leak when creating pygobject wrappers for input args

    Only sink input references for closures and vfuncs when transfer is
    everything. This fixes cases where incoming floating references for
    callbacks need to maintain their floating state throughout the
    callback so they don't leak a strong reference. Re-introduce a
    working "sink" argument to pygobject_new_full which allows for this.
    Change existing callers to always sink in order maintain behavior.

    Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>

    https://bugzilla.gnome.org/show_bug.cgi?id=675726

 gi/_gobject/gobjectmodule.c     |  5 +--
 gi/_gobject/pygobject.c         |  7 ++--
 gi/_gobject/pygobject.h         |  2 ++
 gi/pygi-argument.c              | 13 +++----
 tests/test_object_marshaling.py | 76
 +++++++++++++++++++++++++++++++++++++----
 5 files changed, 85 insertions(+), 18 deletions(-)

commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
Author: Simon Feltman <sfeltman@src.gnome.org>
Date:   Thu Jan 31 01:50:44 2013 -0800

    Add tests for signal stop_emission, disconnect, and
    handler_is_connected

    Add tests for methods which will be moving from static bindings to gi
    by using the new __gpointer__ attribute of GObject.

    https://bugzilla.gnome.org/show_bug.cgi?id=692918

 tests/test_signal.py | 51
 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)

commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
Author: Simon Feltman <sfeltman@src.gnome.org>
Date:   Wed Jan 30 21:37:07 2013 -0800

    Add __gpointer__ property to GObject static binding

    Add access to the underlying C GObject pointer by wrapping it in a
    PyCapsule/PyCPointer and exposing it as __gpointer__.
    Add special case marshaling for gi parameters annotated as gpointer
    to accept a PyCapsule and extract the underlying pointer as the arg.
    This allows usage of methods like GObject.signal_handler_disconnect
    which we can start replacing the static bindings with.

    https://bugzilla.gnome.org/show_bug.cgi?id=692918

 gi/_gobject/pygobject.c   | 11 +++++++++--
 gi/pygi-marshal-from-py.c |  6 +++++-
 2 files changed, 14 insertions(+), 3 deletions(-)

commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
Author: Simon Feltman <sfeltman@src.gnome.org>
Date:   Sun Jan 27 01:22:37 2013 -0800

    Prefix names of typeless enums and flags for GType registration

    Prefix names given to g_flags_register_static and
    g_enum_register_static
    with "Py". This avoids conflicts with GTypes of the same name being
    registered later by a library which does not provide a "get-type"
    annotation.

    https://bugzilla.gnome.org/show_bug.cgi?id=692515

 gi/gimodule.c    | 10 ++++++++--
 tests/test_gi.py |  4 ++--
 2 files changed, 10 insertions(+), 4 deletions(-)

commit 97f48f5dcabc8dad4480727a78416b1c2a220777
Author: Simon Feltman <sfeltman@src.gnome.org>
Date:   Wed Jan 30 04:35:32 2013 -0800

    Add tests for vfunc object arguments and returns

    Add tests which use different combinations of floating, transfer full,
    transfer none, and held wrapper as in, out, or return arguments
    to vfuncs.
    Most of these are marked as skip or expectedFailure due to various
    bugs
    noted on the tests.

    https://bugzilla.gnome.org/show_bug.cgi?id=687522

 gi/overrides/GObject.py         |  15 +-
 tests/test_object_marshaling.py | 540
 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 550 insertions(+), 5 deletions(-)

commit 73a83186329ede7702501d5bc49df269482461e4
Author: Paolo Borelli <pborelli@gnome.org>
Date:   Wed Jan 30 17:48:12 2013 +0100

    Cosmetic fix to last patch

 gi/pygi-argument.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Jan 25 13:05:18 2013 +0800

    gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms

    Drop the array forward static declarations. They are not necessary
    and are not
    valid in C89.

    Also move declarations of variables to the top of their respective
    blocks.

    https://bugzilla.gnome.org/show_bug.cgi?id=692856

 gi/pygi-info.c       | 18 ++++++++++--------
 gi/pygi-repository.c |  2 --
 2 files changed, 10 insertions(+), 10 deletions(-)

commit 2e7c458ef6377a872043634b47737ef12eed744a
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Jan 25 13:00:48 2013 +0800

    Move variable declaration to top of blocks (C99ism)

    Move variable declarations to the top of their respective blocks,
    so that these
    code will build under C89 compilers such as Visual C++.

    https://bugzilla.gnome.org/show_bug.cgi?id=692856

 gi/pygi-argument.c        | 10 ++++++----
 gi/pygi-closure.c         | 23 +++++++++++++++--------
 gi/pygi-invoke.c          |  3 ++-
 gi/pygi-marshal-cleanup.c |  3 ++-
 gi/pygi-property.c        |  3 ++-
 5 files changed, 27 insertions(+), 15 deletions(-)

commit 20fc5aa7514215fc7807adceb603d17f7943304a
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Jan 25 12:58:26 2013 +0800

    gi/pygobject-external.h: Remove GCCism

    We can use G_GNUC_UNUSED from GLib that does the same purpose of
    __attribute__ ( (unused)) when we are using a GCC that provides this.

    The GLib headers that defines that macro should have already been
    included
    before this header is included (due to use of gboolean).

    https://bugzilla.gnome.org/show_bug.cgi?id=692856

 gi/pygobject-external.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Wed Jan 30 14:59:11 2013 +0100

    tests: Update test_double() after e65c1248

    Commit e65c1248 introduced support for NaN and ±inf as valid
    float values,
    rendering the "expect ValueError on 2*double" check broken. Just
    remove it.

 tests/test_everything.py | 1 -
 1 file changed, 1 deletion(-)

commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Wed Jan 23 07:14:16 2013 +0100

    Do not immediately initialize Gdk and Gtk on import

    Raising an exception if Gdk/Gtk cannot be imported makes it
    impossible to
    merely import a module for e. g. nosetests without actually running
    it.

    Programs who want to provide a proper error message should check
    Gtk.initialized explicitly after importing. Check initialized
    status in
    Window.__init__() instead to provide a reasonably early error message
    for most
    programs.

    https://bugzilla.gnome.org/show_bug.cgi?id=692300

 gi/overrides/Gdk.py | 2 --
 gi/overrides/Gtk.py | 5 +++--
 2 files changed, 3 insertions(+), 4 deletions(-)

commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
Date:   Fri Jan 25 12:49:18 2013 +0800

    gi/overrides/Glib.py: Fix running on Windows/non-Unix

    The definition of self._signal_source uses a Unix-specific GLib
    API, which
    does not exist or have a direct equivilant on Windows.

    Only define and use that variable when we aren't on Windows.

 gi/overrides/GLib.py | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Wed Jan 23 14:56:02 2013 +0100

    Accept ±inf and NaN as float and double values

    Also fix the broken error message when a float value is out of range.
    PyErr_Format() does not support float macros.

    https://bugzilla.gnome.org/show_bug.cgi?id=692381

 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
 tests/test_gobject.py     | 14 ++++++++++++++
 2 files changed, 33 insertions(+), 18 deletions(-)

commit a52245381fab3c2aebd330cc9c5e717a93c9607d
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Wed Jan 23 14:28:42 2013 +0100

    Fix repr() of GLib.Variant

    When using a standard constructor like GLib.Variant.new_*(), the
    object does
    not have a format_string property, and previously repr() would
    crash. Fall back
    to get_type_string() instead.

    Also drop the unintended type annotations in repr().

 gi/overrides/GLib.py         |  6 +++++-
 tests/test_overrides_glib.py | 15 ++++++++++++++-
 2 files changed, 19 insertions(+), 2 deletions(-)

commit 2270cf15012005362dc47456213c5d9e7f6ed28a
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Wed Jan 23 14:14:29 2013 +0100

    Fix gtk-demo for Python 3

    It was crashing with

       package = __import__(packagename, globals(), locals(),
       [modulename], -1)
      ValueError: level must be >= 0

    Using level zero works with both Python 2 and 3.

 demos/gtk-demo/gtk-demo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
Author: Colin Walters <walters@verbum.org>
Date:   Tue Jan 22 10:49:57 2013 -0500

    build: Add autogen.sh to EXTRA_DIST

    So downstreams that patch the autotools can use it.

 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit ed7fb99efa81854d947ae548d41a03f5275c5884
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Thu Jan 17 08:23:02 2013 +0100

    Define GObject.TYPE_VALUE gtype constant

 gi/overrides/GObject.py | 4 +++-
 tests/test_gobject.py   | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
Author: Olivier Crête <olivier.crete@collabora.com>
Date:   Mon Sep 17 15:37:04 2012 -0400

    gobject: Go through introspection on property setting

    Consider introspected properties in object.set_property().

    https://bugzilla.gnome.org/show_bug.cgi?id=684062

 gi/_gobject/pygobject.c  | 18 +++++++++++++++++-
 tests/test_properties.py | 13 ++++++++++---
 2 files changed, 27 insertions(+), 4 deletions(-)

commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
Author: Mike Gorse <mgorse@suse.com>
Date:   Tue Jan 15 20:04:46 2013 -0600

    Clean up caller-allocated GValues and their memory

    When space for a GValue is allocated by the caller (as in
    gtk_tree_model_get_value), we need to free the space allocated for the
    value along with its contents. The GValue is not needed after
    Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
    have it unset the value and deallocate the memory.

    https://bugzilla.gnome.org/show_bug.cgi?id=691820

 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
Author: Dmitry Shachnev <mitya57@ubuntu.com>
Date:   Wed Jan 16 13:44:42 2013 +0400

    tests: define correct unittest.skipIf for python 2.6

 tests/runtests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Wed Jan 16 09:17:13 2013 +0100

    tests: More robust tree view realization

    With current GNOME git head, the Gtk.TreeViews were not realized
    enough any
    more to receive property values. Put them into a Gtk.Dialog now and
    show it to
    ensure that they are realized.

 tests/test_overrides_gtk.py | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Tue Jan 15 10:42:49 2013 +0100

    Drop deprecated g_thread_create()

    Replace with g_thread_new(). This is available with glib >= 2.32,
    and we
    already require >= 2.34.

 tests/test-thread.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 98504273dead9eade6e53c2297bcaec7bea6265a
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Tue Jan 15 10:37:52 2013 +0100

    Drop usage of deprecated GStaticPrivate

    Replace with GPrivate.

 gi/_gobject/gobjectmodule.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 655e2eece14f5de3baf4505f524d17484b8b5a75
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Tue Jan 15 10:29:47 2013 +0100

    Don't call g_type_init() with glib >= 2.35.x

    This fixes a deprecation warning.

 gi/_gobject/gobjectmodule.c | 2 ++
 1 file changed, 2 insertions(+)

commit 206e736380ba798c68de09f661d75c8e27451117
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Tue Jan 15 09:47:11 2013 +0100

    Use GNOME_COMPILE_WARNINGS from gnome-common

    As we are now using gnome-common anyway for the code coverage macro,
    also use
    GNOME_COMPILE_WARNINGS, and only manually specify the extra options
    that we
    want beyond that.

    This also enables -Wstrict-prototypes.

 configure.ac | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

commit 137679426ff39507e15f08e9e6428d851fee06b7
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Tue Jan 15 09:46:01 2013 +0100

    Fix function prototypes and static functions

    These cause errors/warnings with -Wstrict-prototypes.

 gi/_glib/pyglib-python-compat.h | 2 ++
 gi/pygi-foreign.c               | 2 +-
 gi/pygi-marshal-from-py.c       | 4 ++--
 gi/pygi-marshal-to-py.c         | 4 ++--
 gi/pygi-source.c                | 2 +-
 gi/pygi-source.h                | 2 +-
 6 files changed, 9 insertions(+), 7 deletions(-)

commit d47927f1701a11aec8566425f22688c5df73d7f2
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Mon Jan 14 17:38:23 2013 +0100

    configure.ac: post-release bump to 3.7.5

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)