Permalink
Commits on Feb 23, 2011
  1. Add "c:identifier" attribute to GIrNodeValue (for flags and enum valu…

    …es).
    
    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").
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642757
    Laszlo Pandy committed Feb 22, 2011
  2. Add GIMarshalllingTests function with in parameter as well as GError.

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

    …value.
    
    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.
    Laszlo Pandy committed Feb 23, 2011
Commits on Feb 22, 2011
  1. Add non GType flags to GIMarshallingTests.

    Laszlo Pandy committed Feb 22, 2011
Commits on Feb 21, 2011
  1. GIrNode: fix lookup of cached type nodes

    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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642300
    gcampax committed with cgwalters Feb 18, 2011
Commits on Feb 17, 2011
  1. [tests] Add GIMarshallingTests function for multiple in and multiple …

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

    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.
    Laszlo Pandy committed Feb 17, 2011
Commits on Feb 11, 2011
  1. Include cairo.h instead of cairo/cairo.h

    The cairo/ directory is searched for header files anyway.
    svdlinden committed Feb 11, 2011
Commits on Feb 8, 2011
Commits on Feb 7, 2011
  1. Post release version bump

    cgwalters committed Feb 7, 2011
Commits on Feb 3, 2011
  1. scanner: Don't fail on mkdir if cachedir already exists

    Hit this race in practice with two g-ir-scanner invocations
    in Fedora's koji.
    cgwalters committed Feb 3, 2011
Commits on Feb 2, 2011
  1. Add (method) overrides

    So methods such as gtk_drag_dest_set() can be put inside Gtk.Widget
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639945
    tomeuv committed Jan 21, 2011
Commits on Feb 1, 2011
  1. Update gobject/gio syntax

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

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

    Johan Dahlin committed Feb 1, 2011
  4. Sort output

    Johan Dahlin committed Feb 1, 2011
  5. Add missing spaces

    Johan Dahlin committed Feb 1, 2011
Commits on Jan 28, 2011
Commits on Jan 21, 2011
  1. Pass shared-library as-is to g_module_open

    Because it already has the lib prefix and the .so postfix
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639961
    tomeuv committed Jan 19, 2011
  2. Preserve the c:type of array elements

    So the element type has the correct is_pointer flag
    
    https://bugzilla.gnome.org/show_bug.cgi?id=638929
    tomeuv committed Jan 20, 2011
Commits on Jan 20, 2011
  1. ast: cleanup clone() methods

    Johan Dahlin committed Jan 19, 2011
  2. Depend on cairo-gobject if available

    And set library-name and package accordingly in the cairo .gir
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639831
    tomeuv committed Jan 19, 2011
  3. Add GIMarshallingTests.Interface2

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

    Pavel Holejsovsky committed Jan 20, 2011
Commits on Jan 19, 2011
  1. [tests] add tests for guint8 arrays

    * 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
    nacho committed Jan 19, 2011
Commits on Jan 17, 2011
  1. Add a second enum to GIMarshallingTests to support pygi tests for non…

    …-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.
    laszlopandy committed Jan 17, 2011
  2. test: gi_marshalling_tests_array_gvariant_in

    A new test to expose a bug in pygobject
    
    https://bugzilla.gnome.org/show_bug.cgi?id=638915
    Mikkel Kamstrup Erlandsen committed with martinpitt Jan 7, 2011
Commits on Jan 13, 2011
  1. Make caller-allocates detection work for struct aliases

    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.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=639081
    Pavel Holejsovsky committed Jan 9, 2011