3.8.3 05-Jul-2013
- Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int. While
not particularly useful this allows some callbacks in WebKit to
function without causing a segfault. (Simon Feltman) (#694233)
- pygtkcompat: Fix for missing methods on Windows (Martin Pitt)
(#702787)
- gi/pygi-info.c: Avoid C99-style variable declaration (Chun-wei Fan)
(#702786)
- Clear return value of closures to zero when an exception occures
(Simon Feltman) (#702552)
- Re-add support for passing GValue's by reference (Simon Feltman)
(#701058)
- Don't use doctest syntax in docstrings for examples, to fix test
failures with pyflakes 0.7.x (Martin Pitt) (#701009)
- examples/option.py: Port to GI and Python 3 (Martin Pitt)
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
Many bug fixes and improvemnts:
https://git.gnome.org/browse/pygobject/tree/NEWS?id=3.8.2
Highlights:
- Dot not clobber original Gdk/Gtk functions with overrides
(Martin Pitt) (#686835)
- Fix array arguments on 32 bit architectures (Martin Pitt)
- Add backwards compatible API for GLib.unix_signal_add_full()
(Martin Pitt)
- Drop MININT64/MAXUINT64 workaround, current g-i gets this right now
(Martin Pitt)
- [API change] Drop almost all static GLib bindings and replace them
with proper introspection. This gets rid of several cases where the
PyGObject API was not matching the real GLib API, makes the full GLib
API available through introspection, and makes the code smaller,
easier to maintain. For backwards compatibility, overrides are
provided to emulate the old static binding API, but this will throw a
PyGIDeprecationWarning for the cases that diverge from the official
API (in particular, GLib.io_add_watch() and GLib.child_watch_add()
being called without a priority argument). (Martin Pitt, Simon Feltman)
- [API change] Deprecate calling GLib API through the GObject
namespace. This has always been a misnomer with introspection, and
will be removed in a later version; for now this throws a
PyGIDeprecationWarning.
- [API change] Do not bind gobject_get_data() and gobject_set_data().
These have been deprecated for a cycle, now dropped entirely.
(Steve Frécinaux) (#641944)
- [API change] Deprecate void pointer fields as general PyObject
storage. (Simon Feltman) (#683599)
- Fix marshalling of GByteArrays (Martin Pitt)
- Fix marshalling of ssize_t to smaller ints (Martin Pitt)
- Fix crash with GLib.child_watch_add (Daniel Narvaez) (#688067)
- Fix various bugs in GLib.IOChannel (Martin Pitt)
- Work around wrong 64 bit constants in GLib Gir (Martin Pitt)
- Fix OverflowError in source_remove() (Martin Pitt) (#684526)
- Fix Signal decorator to not use base class gsignals dict
(Simon Feltman) (#686496)
Although neither our egg.mk nor distutils.mk files use PLATFORM in
EGG_NAME, egg{,-info} filenames are of the form
name ["-" version ["-py" pyver ["-" required_platform]]] "." ext
As pygobject is C based, they chose to include required_platform in the
egg name. As per the patch, PLATFORM is the output of python's
get_platform() function, which is not just uname() output, but a
modified version of it on solaris. (Stricly, get_build_platform() might
be even more correct, but would require a depency on setuputils.)