Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 22, 2009
  1. Update NEWS

    Johan Dahlin authored
  2. @cgwalters

    Bug 584423 – Add short/ushort support

    Mark Lee authored cgwalters committed
    Add type tags for short and ushort, plus all of the requisite code needed
    to utilize them in libgirepository.
    Add support in the scanner's AST files.
    Add test functions to the everything library and the expected gir file.
    gtypelib.c constant validation fixed by Colin Walters <>
Commits on Jun 18, 2009
  1. @cgwalters

    Update annotation expected "tgir" for previous commit

    cgwalters authored
    Since we're not writing out the zero-terminated flag now when
    we shouldn't, update the tests too.
Commits on Jun 17, 2009
  1. @svdlinden @cgwalters

    Bug 585328 - Only set zero_terminated flag for types we know are

    svdlinden authored cgwalters committed
    Rationalize our setting of the zero_terminated flag; we shouldn't
    set it if the gir doesn't say to.
  2. @rotty
Commits on Jun 16, 2009
  1. @jobi

    Make sure the scanner and compiler are able to find

    jobi authored
    and that it uses the uninstalled version.
    Fixes make check (when was uninstalled).
  2. @cscott

    Bug 585579: actually check Everything-1.0-expected.gir

    cscott authored
    As discussed in bug 585908, we also rename CHECKGIRS and EXPECTEDGIRS to
    match the naming in tests/scanner/
  3. @marcopg @cscott
Commits on Jun 15, 2009
  1. @jobi

    Annotate g_get_system_*_dirs ()

    jobi authored
Commits on Jun 12, 2009
  1. @cscott
  2. @cscott
  3. @cscott
  4. @cscott
  5. @cscott

    Bug 581685: Parse parameterized types (using <>) in annotations.

    cscott authored
    You can now specify a nested parameterized type in annotations as
    (for example):
      @param: (type GLib.HashTable<utf8,GLib.HashTable<utf,utf>>)
      @param: (element-type utf8 GLib.HashTable<utf,utf>)
    New test functions for the Everything typelib show how it works.
Commits on Jun 11, 2009
  1. @cgwalters

    Make g-ir-compiler find files installed by make install

    Holger Hans Peter Freyther authored cgwalters committed
    When ./configure --prefix $HOME/some/where is used gobject-introspection
    will happily install the files into $HOME/some/where/data/gir-1.0 but
    it will refuse to find them. Apply the same trick as in
    girepository/girepository.c:init_globals to find the gir files.
    Unifiy the name gir-1.0 in GIR_SUFFIX and use it throughout the
    project, introduce GIR_DIR which holds the path to the gir files and
    update girparser and to look into this path.
  2. @cgwalters

    Don't fail if no --output option is specified

    cgwalters authored
    Printing to stdout is legitimate.
Commits on Jun 10, 2009
  1. Remove duplicate typelib installation rules

    root authored
    No need to list them twice, and it confuses/breaks some install tools.
Commits on Jun 9, 2009
  1. @cgwalters

    Bug 577546 - More annotations for GLib, GObject, Gio

    cgwalters authored
    Patch modified from one by Norbert Freese <>.
  2. @cgwalters

    Bug 577534 - Use rename to write new typelibs, instead of in-place ov…

    cgwalters authored
    This avoids having processes with the typelibs currently open exploding
  3. @cgwalters

    Bug 584453 - Handle char ** correctly (and const variation)

    cgwalters authored
    This patch fixes our default handling of char **.  We add Return
    node types as a case where we test for array handling.
    Remove the hardcoded assumption of array = "no transfer", just
    use the separate Parameter/Return cases.  This change causes
    inout char ** to be transfer="full", but that seems more correct.
Commits on Jun 8, 2009
  1. @cgwalters

    Add a test_strv_out which is unannotated, rename current to test_strv…

    cgwalters authored
    We need a test case for a plain unannotated char ** return value, which
    should be an array.
    Keep the old annotated test as a test case for the container transfer.
  2. @svdlinden @cgwalters

    Bug 585081 - Correct everything linkage

    svdlinden authored cgwalters committed
    We need to link with gobject.
Commits on Jun 4, 2009
  1. @cgwalters

    Move Everything into gir/, since it's a public library

    cgwalters authored
    Everything isn't a test for quite a while now, it's a public library.
    So move it to gir/.
  2. @cgwalters

    Add an Everything-1.0-expected.gir, test Everything versus it

    cgwalters authored
    We should be testing the Everything library as well.
  3. @ebassi

    Add GLclampf to the GL GIR

    ebassi authored
    The GLclampf type is missing from the GL definitions.
Commits on May 29, 2009
  1. @cscott

    Annotations for g_option_context_parse.

    cscott authored
    These annotations match those for gtk_init(), which takes the same
    types of arguments.
  2. @rotty
Commits on May 28, 2009
  1. @chrismrivera

    Fix and its invocation.

    chrismrivera authored Johan Dahlin committed normally returns the number of errors found in a
    given file, but it returns an empty dict if the file is excluded.  Change
    it to return 0 instead. is auto-generated with a prefix that may be longer than
    80 characters.  Exclude in the check.  This fixes
Commits on May 20, 2009
  1. @cscott @cgwalters

    Better handle classes with non-standard to_underscore names.

    cscott authored cgwalters committed
    Previously we tried to guess what the "underscore version" of a class name
    would be, but for classes like NMSetting8021x we'd guess "nm_setting8021x"
    instead of "nm_setting_802_1x".  All such guesses are subject to error:
    instead let's try to use the prefix of the _get_type() method instead, and
    only guess if that doesn't work.
    We do this for both class names and when detecting methods.  An additional
    type with a "non-standard" underscored version (TestWi8021x) added to the
    everything.[ch] test suite to test proper conversion.
    GdkWindow and GObject have unusual get_type methods; add special quirks
    to handle these (at least until the methods are renamed upstream).
    (Slightly modified for PEP8 compliance by Colin Walters)
    Signed-off-by: Colin Walters <>
Commits on May 12, 2009
  1. @cscott @jobi

    Update doc comments.

    cscott authored jobi committed
    The enumeration values cited here were out of date.  Rewrite to eliminate
    the explicit mention of the enumeration value, to prevent it from
    drifting out of date again in the future.
  2. @cscott @jobi

    Add GHash tests to Everything test GI library.

    cscott authored jobi committed
  3. @cscott @jobi

    Fix the list comparison assertions.

    cscott authored jobi committed
    We weren't checking the length of the input list, and we were erroneously
    comparing every element in the test sequence against the *first* element
    of the passed-in list.
  4. @cscott @jobi

    Everything: more tests for integer array parameters.

    cscott authored jobi committed
  5. @cscott @jobi

    Fix annotations for GList and GSList tests.

    cscott authored jobi committed
  6. @cscott @jobi

    Enable the utf8 tests in the everything module.

    cscott authored jobi committed
    We needed to tweak a couple of the tests for correctness.
Something went wrong with that request. Please try again.