Permalink
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
Commits on Jan 12, 2011
  1. Post-release version bump

    cgwalters committed Jan 12, 2011
  2. Add g_vfunc_info_invoke and g_vfunc_info_get_address

    for calling the native implementation of a virtual function. Refactors
    the code common with g_function_info_invoke in _g_callable_info_invoke.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=637145
    tomeuv committed Dec 13, 2010
Commits on Jan 11, 2011
  1. scanner: Rename g_irepository_dump when included from the dumper

    This avoids a naming conflict when compiling GiRepository.gir, where
    g_irepository_dump() was defined in an included header.
    Benjamin Otte committed Jan 11, 2011
  2. gir: Fix build of Gio-2.0.gir

    - include gio-unix headers properly into Gio gir
    - don't include gsettingsbackend.h
    Benjamin Otte committed Jan 11, 2011
Commits on Jan 10, 2011
  1. scanner: Stop predeclaring the functions that are to be scanned

    Instead, rely on the c_includes. See the previous commit for details.
    Benjamin Otte committed Jan 10, 2011
  2. scanner: Include all headers when building the dumper binary

    This avoids warnings about undefined functions when using init sections
    and it removes the requirement to predeclare the get_type functions that
    should be called. For an example for this problem with GStreamer, see
    https://bugzilla.gnome.org/show_bug.cgi?id=639039
    
    We can now also use gcc's error checking to ensure that users
    - specify the correct C includes in the gir file (because otherwise we
      get errors when compiling the dumper).
    - the types do actually exist (because again, the compiler will
      complain).
    Benjamin Otte committed Jan 10, 2011
  3. scanner: Use packages from --pkg

    Use pkgconfig files from --pkg when compiling the dump binary.
    
    This helps avoiding linker errors when init sections are provided that
    use code from those packages.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639039
    Benjamin Otte committed Jan 10, 2011
Commits on Jan 7, 2011
  1. scanner: Make sure that vfuncs made to the GIR

    * don't skip those associated to a signal
    * don't warn if it doesn't have an invoker
    
    https://bugzilla.gnome.org/show_bug.cgi?id=637215
    tomeuv committed Jan 7, 2011