Commits on Mar 18, 2010
  1. Enumerations can be negative

    Change the internal type for ValueBlob to gint32, since it's perfectly
    valid for enumerations to have negative values.
    cgwalters committed Mar 17, 2010
Commits on Mar 17, 2010
Commits on Mar 15, 2010
  1. Small fix to handle @attributes: .... (.....) as a parameter to a fun…

    Previously crashed out, now just ignores the attribute
    Alan Knowles committed Mar 15, 2010
  2. [glib] Add g_convert annotations

    jdahlin-litl committed with Johan Dahlin Mar 15, 2010
Commits on Mar 10, 2010
  1. Merge remote branch 'origin'

    Johan Dahlin committed Mar 10, 2010
Commits on Mar 9, 2010
  1. [everything] Add alternative boxed constructors

    Johan Dahlin committed Mar 9, 2010
Commits on Mar 8, 2010
Commits on Mar 4, 2010
  1. [everything] Add some "torture" test functions with baroque signatures

    We didn't have good coverage of say in arguments after out.
    cgwalters committed Mar 4, 2010
Commits on Mar 1, 2010
Commits on Feb 17, 2010
  1. [giscanner] Catch CalledProcessError and OSError

    Instead of catching all errors, including AttributeError,
    TypeError and NameError.
    Johan Dahlin committed Feb 17, 2010
  2. [scanner] Catch OSError too when checking for libtool

    If we don't have permission to execute the libtool binary, we'd
    just throw here which is wrong.  Fix this by catching all
    cgwalters committed Feb 17, 2010
Commits on Feb 12, 2010
  1. Fix glib:error-quark scanning for unregistered enum types

    The enumeration type for an error might not be introspected
    and registered with GObject (this is, in particular, true for
    the errors in GLib itself). So, as a fallback search, through
    all enum types in the module.
    Add a special case for the aberrant GIOErrorEnum and a warning
    if resolution completely fails.
    owtaylor committed with cgwalters Dec 22, 2009
  2. Fix unittests, add missing allow-none

    Colin should remember to run `make check' before comitting!
    Johan Dahlin committed Feb 12, 2010
Commits on Feb 11, 2010
  1. Delete stray g_return_if_fail

    If g_alloca failed we're pretty much screwed, and g_return_if_fail
    is for API entry points, not internal assertions.
    cgwalters committed Feb 11, 2010
  2. Assume allow-none for GCancellable

    All GCancellables are allow-none, this allows us to remove a lot
    of custom annotations.
    cgwalters committed Dec 15, 2009
  3. Fix Alignment Errors.

    Signed-off-by: Kedar Sovani <>
    kedars committed with cgwalters Oct 21, 2009
  4. [g-ir-compiler] Slightly less lame error messages

    To make things really better we should track the line origin of
    element from the .gir file (and actually we need to do better
    checking in the scanner), but this is slightly less lame.
    cgwalters committed Feb 11, 2010
  5. Conform last patch with pep8

    cgwalters committed Feb 11, 2010
  6. [scanner] Print error instead of throwing for unknown include

    We should avoid exceptions being propagated to the toplevel.
    cgwalters committed Feb 11, 2010
Commits on Feb 1, 2010
Commits on Jan 25, 2010
  1. increase limit of GIRealInfo's ref_count

    New limit is 0x7FFFFFFF.
    Zaspire committed Jan 24, 2010
Commits on Jan 18, 2010
  1. tests: Add the scope for callbacks in expected girs

    following my previous patch to systematically specify the scope in
    callbacks. Had forgotten to add these.
    jobi committed Jan 18, 2010
Commits on Jan 15, 2010
  1. scanner: Always explicitely set the scope of callbacks

    default to 'call' as stated in the annotation documentation.
    jobi committed Jan 14, 2010
Commits on Jan 13, 2010
  1. annotate g_filename_to_uri

    danwinship committed Jan 13, 2010
Commits on Jan 12, 2010
  1. Correctly cast to a CommonBlob when looking up embedded types

    When looking at an embedded type (e.g. a Callback after a Field), the
    offset we put in the info structure was to the CallbackBlob itself.
    However the code in g_type_info_get_interface assumed that the offset
    was to a SimpleTypeBlob, which it wasn't.
    cgwalters committed Jan 7, 2010
  2. Don't remove .c file for dumper binary

    We're going to remove the entire temporary directory,
    so there's no point in explicitly removing just the .c file
    we create; leaving the .c file behind makes it easier to debug
    owtaylor committed with cgwalters Jan 3, 2010
Commits on Jan 8, 2010
  1. Remove tabs, fixes make check

    jdahlin-litl committed with Johan Dahlin Jan 8, 2010
Commits on Jan 5, 2010
  1. Add an --add-init-section argument

    One might need to call some init functions before being able to call
    get_type() to create the types of a library.
    --add-init-section let the user insert some initialization code in the
    introspection program.
    dlespiau committed with cgwalters Dec 23, 2009
Commits on Dec 31, 2009
  1. The private header should be included in girffi.c

    Not in the public girffi.h.
    Johan Dahlin committed Dec 31, 2009
  2. __extension__ can be put in front of expressions

    glib uses __extension__ in macros dealing with 64 bits integer such as
    To quote the GCC manual:
      `-pedantic' and other options cause warnings for many GNU C extensions.  You
      can prevent such warnings within one expression by writing `__extension__'
      before the expression.
    dlespiau committed with Johan Dahlin Dec 26, 2009