Switch branches/tags
Commits on Jan 26, 2011
  1. Revert "attempt to fix "undefined symbol: pyglib_init" on python -c "…

    nzjrs committed Jan 26, 2011
    …import gio""
    This reverts commit 4b59558.
    Breaks pyglib with undefined errors.
Commits on Jan 25, 2011
  1. also allow libtool 2.4

    dieterv committed Jan 25, 2011
Commits on Jan 23, 2011
Commits on Jan 22, 2011
  1. Install pygsource system wide

    nzjrs committed Jan 22, 2011
  2. Make pyglib system wide

    nzjrs committed Jan 22, 2011
Commits on Jan 21, 2011
  1. [gi] Add Variant construction/unpack support for boxed Variants

    martinpitt committed Jan 21, 2011
    Construction uses a GVariantBuilder for now, as the new_variant() constructor
    currently does not work (see
Commits on Jan 20, 2011
  1. GdkPixbuf methods

    phomes committed Jan 20, 2011
    GNOME bug #639880

    phomes committed Jan 20, 2011
    GNOME bug #639880
  3. [gi] Support nested objects and empty sequences in GLib.Variant building

    martinpitt committed Jan 19, 2011
    The GVariant constructor (in the overrides) previously did not support empty
    arrays/dictionaries or nested structures. Rewrite the VariantCreator class to
    be fully recursive and determine the element types of arrays/dictionaries.
    This now also allows you to use actual tuples as input values for GVariant
    tuple types. Taking values from the flat argument list is still supported for
    convenience, though.
  4. Fix reference leaks for GInitiallyUnowned objects

    nud authored and tomeuv committed Jan 20, 2011
    References were leaked for GInitiallyUnowned objects which got their
    wrappers created several times, because someone else holds reference
    on it and it got out of python scope at some point.
  5. Add tests for refcount of a GObject owned by a library

    nud authored and tomeuv committed Jan 19, 2011
    When the object is constructed, its refcount is 2 because the library
    refs it once. It should remain around until we ask the library to
    release its reference.
  6. [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK

    martinpitt committed Jan 20, 2011
    GTK master now landed a lot of annotation fixes which also correctly marks the
    array length argument of Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
    drop the explicit array length argument from the call in the override.
  7. Modify override for Gtk.Adjustment to allow position or keyword argum…

    Laszlo Pandy
    Laszlo Pandy committed Jan 19, 2011
    …ents in __init__().
    Previously passing no arguments was not working, because the default value for each parameter was None, and GObject.__init__() refuses to allow None for integer properties. This patch does not pass None up to GObject.__init__. Instead it does not pass the parameter at all, and uses the class's default values.
Commits on Jan 19, 2011
  1. [gi] Fix small typo in previous commit

    martinpitt committed Jan 19, 2011
    The GVariant signature of the self test had a trailing 'i'. The current
    GVariant builder doesn't mind, but the new implementation proposed in bug
    639939 does.
  2. [gi] Add pythonic iterator and indexing for string GVariants

    martinpitt committed Jan 19, 2011
    This extends commit b1a9808 to also work for strings.
  3. Construct structs using default API constructor

    tomeuv committed Jan 19, 2011
    If the struct has something that looks like a default constructor,
    use it instead of trying to directly allocate it, as it will fail
    if the struct fields are not exposed.
  4. Handle .window attributes

    martinpitt committed Jan 19, 2011
    In general, convert them to .get_window(). For some of them, prefer calling the
    GtkWidget methods instead.
  5. Also deal with foreign boxed structs

    tomeuv committed Jan 19, 2011
    cairo.Context has been boxed and our tests started failing
  6. [gi] Convert GErrors to GObject.GError exceptions, and throw them upo…

    Laszlo Pandy
    Laszlo Pandy committed Jan 19, 2011
    …n returning from calling the C function.
    This changes gi to make use of pyglib_error_check() which already exists in pyglib.
    The included tests make use of the other patch attached to this bug, to check that the right exception is thrown from the new function in GIMarshallingTests.
    two Gtk C functions.
  7. Don't convert glib -> GLib for now

    martinpitt committed Jan 19, 2011
    This currently leads to a load of crashes, MemoryErrors, etc, as GLib is not
    very well introspectable, due to the low-level operations that it performs.
    John Palmieri confirms that using the static "glib" binding is preferred for
    now, so disable the replacement rules.
  8. Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.

    Laszlo Pandy
    Laszlo Pandy committed Jan 19, 2011
    This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS because in Python attributes starting with a numeral causes a syntax error.