Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 22, 2010
  1. @owtaylor
  2. @owtaylor

    Fix error handling when writing out typelib

    owtaylor authored
    Return a non-zero result when opening the output file fails and
    don't use g_error() for other failures when writing out the file,
    since such errors should not produce a core dump.
Commits on Dec 21, 2010
  1. Regenerate gir/gio-2.0.c

    Pavel Holejsovsky authored
Commits on Dec 19, 2010
  1. Regenerate gio-2.0.c and gobject-2.0.c from current glib.

    Pavel Holejsovsky authored
  2. Fix misc/

    Pavel Holejsovsky authored
    g-ir-annotation-tool is in builddir root now.  Also avoid feeding
    problematic and not-GI-useful headers to it.
Commits on Dec 17, 2010
  1. @danwinship
  2. @cgwalters

    make check pass for recent commits

    cgwalters authored
    * Fix use of tabs
    * Update for correct signal parameters
  3. Regenerate gio-2.0.c from current glib/gio HEAD.

    Pavel Holejsovsky authored
Commits on Dec 16, 2010
  1. @pavouk

    Regenerate gio-2.0.c

    pavouk authored
  2. @pavouk
Commits on Dec 15, 2010
  1. scanner: support typedefs for container types

    Jonathan Matthew authored
    Inside an alias definition, we only need the name of the alias target
    type.  Add a method to GIRWriter to write out a type reference rather
    than full type definition and use it when writing out an alias.
    Determine introspectableness of aliases in IntrospectablePass so functions
    using aliases can be marked not-introspectable if the alias itself is not.
  2. Regenerate gio-2.0.c from current glib/gio.

    Pavel Holejsovsky authored
  3. @pavouk

    giscanner: don't ignore signal parameter names from annotations.

    pavouk authored
    If present in annotation, use parameter names from annotation instead
    of (object, p0, p1, ...) names generated by dumpparser.
    Assign names for all parameters before trying to resolve annotation
    types, so that annotations containing forward references to other
    arguments, e.g.
    * GApplication::open:
    * @application: the application
    * @files: (array length=n_files) (element-type GFile): an array of #GFiles
    * @n_files: the length of @files
Commits on Dec 10, 2010
  1. @cgwalters

    cairo: Fill out GIR with cairo-gobject boxed information

    cgwalters authored
    We need these references to correctly handle when an API (say GTK3)
    uses the cairo-gobject boxed types in a signal (like "draw").
    API consumers need to be using g-i for signal handling to make
    this all work.
  2. @cgwalters

    cairo-1.0.gir: Un-foreign RectangleInt

    cgwalters authored
    cairo.RectangleInt is a very tricky case; it's (as of now)
    boxed in cairo-gobject.  We're trying to fix a few bugs here.  First,
    we want to make (out caller-allocates) work.  In order to do that,
    we need to explicitly specify the fields so that the typelib
    has the right size.
    Also, add the boxed type now so that we pick up the right thing
    from GObject signal parameters.
    See history in bug 623222 and bug 636393.
Commits on Dec 9, 2010
  1. gir: Add Time to xlibs-2.0

    Emmanuele Bassi authored
Commits on Dec 8, 2010
  1. @pavouk @cgwalters

    Fix thinko in regress suite.

    pavouk authored cgwalters committed
    regress_test_fundamental_sub_object_finalize should call parent's
    regress_test_fundamental_object_finalize instead of
    regress_test_fundamental_object_unref, otherwise recursion and
    double-free might happen.
Commits on Dec 6, 2010
  1. @rotty

    Support glib-mkenums comment /*< flags >*/

    rotty authored
    - Modify the lexer to consider all "trigraph" comments specially, and
      parse them for "flags" as well as "private" and "public" (which were
      previously hardcoded).  This change allows for future support of
      multiple annotations inside a single trigraph comment.
    - Change the parser to consider the additional field "flags" set by
      the lexer when constructing enums.
    - Add a test case for the "flags" trigraph comment to the scanner
      annotation tests.
    See <>.
  2. @rotty

    Don't emit shadowed methods into the typelib

    rotty authored
    Ignore shadowed methods when parsing the GIR.
  3. @cgwalters

    g_object_info_find_method_using_interfaces: Fix crash if not found

    cgwalters authored
    If a method wasn't found, we'd try to unref NULL.
  4. @cgwalters

    g_object_info_find_method_using_interfaces: New function

    cgwalters authored
    Pull this down into introspection from gjs; this will allow us
    to cache this better in the future (for example, by caching the
    infos for interfaces in the info for the object).
  5. @tomeuv
Commits on Dec 3, 2010
  1. @cgwalters

    Add directory index section

    cgwalters authored
    Use the internal perfect hashing API to add an index to the directory.
    To support this, add the notion of additional "sections" to the
    typelib.  A section index is inserted between the header and the
  2. @cgwalters

    .gitignore: Update

    cgwalters authored
  3. @cgwalters

    Add internal hashing API designed for the typelib

    cgwalters authored
    In multiple places in the typelib, but most importantly the directory,
    we need some fast indexing.  Perfect hashing, as implemented by CMPH
    (previous commit), is an exact fit for the problem domain.
    Add an API built on top of CMPH which maps strings->guint16 (we just
    need a guint16 for the typelib index).
  4. @cgwalters

    cmph-bdz-test: New test

    cgwalters authored
    Add a basic test of CMPH (without any layers on top).
  5. @cgwalters

    cmph: Squash a lot of gcc -Wall compiler warnings

    cgwalters authored
    * Functions taking no parameters need to explicitly say (void).
    * Mark some functions as static that are
    * Comment out an unused function in bdz.c
    * Change loop indicies "i" to be unsigned if our limit is unsigned
  6. @cgwalters

    cmph: Add automake rules

    cgwalters authored
  7. @cgwalters

    cmph: Modify types to use GLib types

    cgwalters authored
    The 64 bit #ifdefs is just hackish and broken; e.g. it will fail
    on ppc64/linux and WIN64.
    Use the GLib typedefs, which I know are more correct.
  8. @cgwalters

    Import CMPH 1.0

    cgwalters authored
    This will be used for typelib indexing.  See README-CMPH-IMPORT.txt
    for more information.
  9. @cgwalters Add GTESTER_PROGS

    cgwalters authored
    This is a list of test programs to run under "gtester".
  10. @cgwalters

    scanner: Switch to only Python 2.5 C API usage

    cgwalters authored
    PyUnicode_FromString is 2.6 only, we can use PyUnicode_DecodeUTF8
    easily enough though.
    Also, fix memory leaks in this function; we leaked the buffer
    on success, and also in most failure paths.
Commits on Dec 2, 2010
  1. @cgwalters

    scanner: More XML unicode fixes

    cgwalters authored
    Coerce input temporarily inside xmlwriter into Unicode to do
    string manipulation, and then only convert it to "UTF8str" when
    writing into the data buffer.
  2. Add proper unicode support to the source scanner

    Johan Dahlin authored
    The assumption is that the only allowed source encoding
    is utf-8. Always strings as unicode and fix up the transformer
    and xml writer to properly output utf-8.
Something went wrong with that request. Please try again.