Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: windows
Commits on Aug 5, 2012
  1. fix libtool weirdness

  2. Clarify LibtoolImporter's load_module method

    It was reported by HeBD on #introspection that Python modules
    use the .pyd extension on windows, not .dll.
    The simple fix would have been to just rename to .pyd, but we
    started investigating the possibility of acquiring the suffix tuple(s)
    via imp.get_suffixes() instead. Which led to the discovery that
    imp.load_module() ignores the first item of said tuple. Thus,
    there is no use in pretending it to be of any importance in this
    case so we set it to an empty string.
    imp_load_module() source for:
    Python 2.5:
    Python 2.6:
    Python 2.7:
  3. Windows port: ensure export-all-symbols is correctly passed on to the…

    … linker
    Fixes "/mingw/mingw32/ld.exe: warning: cannot find entry symbol xport-all-symbols; defaulting to 00401000".
  4. Windows port: fix OpenBSB porting fallout

    win32 Python does not have os.uname(), so check if it
    exists before checking for OpenBSD thus fixing an
  5. Windows port: fix tempfile .exe extension

    Temporary executables where wrongly named xexe
    instead of x.exe.
    Thanks to Earnie Boyd <>
    for reporting this.
  6. Windows port: replace a stray backslash with a slash.

    Like the FIXME sais: this is hackish, but I don't know a
    better way to do this...
  7. [WIP] Windows port: use the correct crt for Python 2.5, 2.6, 2.7 and 3.2

    A more appropriate solution would be to decuce this in python.m4,
    but let's work around this limitation for now.
  8. [WIP] Windows port: pass arguments through a file

    This needs to be used on MinGW/MSYS only, but how?
  9. Windows port: pass arguments through a file

    Convert POSIX style path names to Windows path names. Normally, this
    conversion is done for us by MSYS when spawning a non-MSYS binary from
    an MSYS binary, but we're completely sidestepping the usual argv handling
    due to the 8192 character command line length limit imposed by CMD.EXE (or
    more likely the API used by MSYS bash)...
  10. Windows port: Monkeypatch os.path.join

    But only when executing in a MinGW/MSYS context.
    This ensures backslashes are automatically replaced
    by forward slashed so we don't trip up MSYS quoting
  11. Windows port: Monkeypatch subprocess.Popen

    But only when executed in an MinGW/MSYS context. This makes sure
    all subprocesses (via subprocess.Popen/call/check_call) are
    automatically wrapped by "sh.exe -c", simulating an unbroken
    chain of msys programs -> there's no msys-python port atm, so we're
    forced to use the native windows Python port for g-ir-scanner during
    build time. This is not ideal, but it works.
  12. @cgwalters

    tests: Fix coding style and compiler warning in regress

    cgwalters authored
    Previous commit used old-style declarations which was broken.
Commits on Aug 3, 2012
  1. @prahal @tomeuv

    Test typedef in #define

    prahal authored tomeuv committed
    requires "handle unsigned properly for type of defined size" patch.
  2. @prahal @tomeuv

    scanner: handle unsigned properly for type of defined size

    prahal authored tomeuv committed
  3. @prahal @tomeuv

    giscanner: special case G_GINT64_CONSTANT and G_GUINT64_CONSTANT + misc

    prahal authored tomeuv committed
    This let the macro expands to its value as gint64/guint64.
    - fix lexer identifier/typdef detection for macro and misc
    - do not discard cast
Commits on Aug 2, 2012
  1. gimarshallingtests: More useful assertions

    Martin Pitt authored
    Convert the simple g_assert() statements into g_assert_cmp*, to show what the
    actual value is in case of a failure. This makes it easier to port
    g-i/pygobject/etc. to new architectures which exhibit bugs, like powerpc64.
Commits on Jul 31, 2012
  1. @cgwalters
  2. @cgwalters
Commits on Jul 29, 2012
  1. @jonnor
Commits on Jul 27, 2012
  1. @jonnor

    Implement "rename to" annotation for records

    jonnor authored
    Moving the early annotation pass is needed to avoid
    the first type resolve pass to resolve to the not-renamed type.
  2. @jonnor
Commits on Jul 17, 2012
  1. @magcius
  2. @magcius
Commits on Jul 16, 2012
  1. @cgwalters

    Release 1.33.4

    cgwalters authored
  2. @cgwalters
Commits on Jul 12, 2012
  1. @ricotz
  2. GIMarshallingTests: Add method taking array of variants

    Mikkel Kamstrup Erlandsen authored Martin Pitt committed
    Add a new interface GIMarshallingTestsInterface3 with a method that takes an
    array of variants as argument. This can be used for testing the passing of
    array of variants from C to introspection clients, which is not otherwise
    covered in the tests for arrays of variants.
    Signed-off-by: Martin Pitt <>

    Martin Pitt authored
    This used the non-existing G_TYPE_INSTANCE_GET_INTERFACE2 macro, likely a
    copy&paste error.
Commits on Jul 11, 2012
  1. @ricotz
Something went wrong with that request. Please try again.