[Vala] [PATCH] -- two patches, actually, for Gdk and x11 bindings



Please see the attached patches.  The first one fixes the Gdk.XEvent
binding, and the second one fixes the X.Event binding and provides some
additional bindings for the x11.vapi set of bindings.

I'm not sure if I should open bugs for these or not, because they're
all kind of related.  But if needed, I can do that.

Stats for all three:

commit 8fc9626a13da0ac80f39039a877a3e626d88c35c
Author: Michael B. Trausch <mike trausch us>
Date:   Fri May 29 22:47:57 2009 -0400

    Fix X11 bindings and provide enhancements to them
    
    This commit provides more complete Xlib bindings and fixes the
    X.Event binding so that it yields a pointer in generated C code.

 vapi/x11.vapi |  225 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 221 insertions(+), 4 deletions(-)

commit f84964ef0bd240dfe9ec822e31e1a5817fe34c85
Author: Michael B. Trausch <mike trausch us>
Date:   Fri May 29 22:45:36 2009 -0400

    Fix Gdk.XEvent GDK binding
    
    This commit partially reverts git commit bcdf1d1a3, restoring the
    generation of Gdk.XEvent as a pointer.  This is in preparation for a
    fix to the X11 bindings which is required for AllTray (which uses
    those bindings) to build properly with Vala > 0.7.3.

 vapi/gdk-2.0.vapi                      |    7 ++++---
 vapi/packages/gdk-2.0/gdk-2.0.metadata |    1 -
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 7e3a79e1f6f33ca1286576f0f4bb999ffe984ddc
Author: Michael B. Trausch <mike trausch us>
Date:   Fri May 29 17:00:58 2009 -0400

    x11.vapi fixes for C code generation of types
    
    Fix x11 vapi by prefixing events with "X" when emitting C names for
    them, fixes code generation issues and gcc compile errors when
    referencing variables of those types.

 vapi/x11.vapi |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

        --- Mike

-- 
Don't fix bugs later; fix them now.
                            --- Steve Maguire

Attachment: 0002-Fix-Gdk.XEvent-GDK-binding.patch
Description: Text Data

Attachment: 0003-Fix-X11-bindings-and-provide-enhancements-to-them.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]