Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 23, 2011
  1. Add "c:identifier" attribute to GIrNodeValue (for flags and enum valu…

    Laszlo Pandy committed
    Flags and enums with a GType have a value_nick and value_name
    strings available in the class struct. But for flags and enums
    without GType, we need to get this information from introspection.
    g_base_info_get_name() gives the string for value_nick. In the GIR,
    the attribute "c:identifier" is the string neede for value_name.
    This patch adds the "c:identifier" from GIR to the typelib for all
    flags and enum values. It can be retireved using
    g_base_info_get_attribute(info, "c:identifier").
  2. Add GIMarshalllingTests function with in parameter as well as GError.

    Laszlo Pandy committed
    This allows bindings to test the ability to clean up (in)
    parameters after a GError is set by the wrapped function.
  3. Add mask flags to GIMarshallingTests to test for flags with the same …

    Laszlo Pandy committed
    Glib uses flag aliases, multiple flag names with the same int
    value. For example G_IO_FLAG_MASK and G_IO_FLAG_GET_MASK. We need
    these flag values to test that gi bindings don't assume that all
    flags have the same value.
Commits on Feb 22, 2011
  1. @tomeuv
  2. @tomeuv
  3. @tomeuv
  4. Add non GType flags to GIMarshallingTests.

    Laszlo Pandy committed
Commits on Feb 21, 2011
  1. @gcampax @cgwalters

    GIrNode: fix lookup of cached type nodes

    gcampax committed with cgwalters
    Different types of array have different type nodes, so they should
    produce different keys in the cache of already seen type nodes, to
    avoid turning a GByteArray into a reference to a GPtrArray.
Commits on Feb 17, 2011
  1. [tests] Add GIMarshallingTests function for multiple in and multiple …

    Laszlo Pandy committed
    …out args.
  2. Fix argument name of MISSING_ATTRIBUTE macro ('ctx' => 'context').

    Laszlo Pandy committed
    The argument was called 'ctx' but the macro was using 'context'.
    This wasn't causing the build to fail because the variable
    'context' was already defined in all the scopes where this macro
    was used.
Commits on Feb 11, 2011
  1. @svdlinden

    Include cairo.h instead of cairo/cairo.h

    svdlinden committed
    The cairo/ directory is searched for header files anyway.
Commits on Feb 8, 2011
Commits on Feb 7, 2011
  1. @cgwalters

    Post release version bump

    cgwalters committed
Commits on Feb 3, 2011
  1. @cgwalters

    scanner: Don't fail on mkdir if cachedir already exists

    cgwalters committed
    Hit this race in practice with two g-ir-scanner invocations
    in Fedora's koji.
Commits on Feb 2, 2011
  1. @tomeuv

    Add (method) overrides

    tomeuv committed
    So methods such as gtk_drag_dest_set() can be put inside Gtk.Widget
Commits on Feb 1, 2011
  1. Update gobject/gio syntax

    Johan Dahlin committed
    Now fetches all sections correctly, with updated glib code base
    and an updated annotation tool.
  2. Preserve gtk-doc section names

    Johan Dahlin committed
    Preserve the section names and write them out on the class/record/
  3. Sort gio/gobject annotations

    Johan Dahlin committed
  4. Sort output

    Johan Dahlin committed
  5. Add missing spaces

    Johan Dahlin committed
Commits on Jan 28, 2011
  1. @tomeuv
Commits on Jan 21, 2011
  1. @tomeuv
  2. @tomeuv

    Pass shared-library as-is to g_module_open

    tomeuv committed
    Because it already has the lib prefix and the .so postfix
  3. @tomeuv

    Preserve the c:type of array elements

    tomeuv committed
    So the element type has the correct is_pointer flag
Commits on Jan 20, 2011
  1. ast: cleanup clone() methods

    Johan Dahlin committed
  2. @tomeuv

    Depend on cairo-gobject if available

    tomeuv committed
    And set library-name and package accordingly in the cairo .gir
  3. @tomeuv

    Add GIMarshallingTests.Interface2

    tomeuv committed
    so we can test conflicts when two bases have a vfunc with the
    same name.
  4. Regenerate gio-2.0.c from glib/master

    Pavel Holejsovsky committed
Commits on Jan 19, 2011
  1. @tomeuv
  2. @nacho

    [tests] add tests for guint8 arrays

    nacho committed
    * guint8 can be interpreted as array characters that can be memcpyied
      during marshalling so add a test to check if we are correctly handling
      this codepath
Commits on Jan 17, 2011
  1. @laszlopandy

    Add a second enum to GIMarshallingTests to support pygi tests for non…

    laszlopandy committed
    …-gtype enums.
    There was a bug in pygi in which non-gtype enums shared values between themselves.
    That is, if there was an attribute Enum.THE_VALUE, it would be available on as OtherEnum.THE_VALUE as well.
    To make a test case for this bug, we need a second non-gtype enum in GIMarshallingTests to compare with.
  2. @martinpitt

    test: gi_marshalling_tests_array_gvariant_in

    Mikkel Kamstrup Erlandsen committed with martinpitt
    A new test to expose a bug in pygobject
Commits on Jan 13, 2011
  1. Make caller-allocates detection work for struct aliases

    Pavel Holejsovsky committed
    Scanner tries to detect caller-allocates attribute automatically if
    not explicitly specified by checking that parameter is not double-referenced
    and is struct or union.  This patch adds resolving of aliases when
    checking whether parameter is struct or union.
    Also removes old incorrect method transformer.follow_aliases, which
    was never used in current code.
Something went wrong with that request. Please try again.