Commit graph

16 commits

Author SHA1 Message Date
Mike Kestner 9c82ac0620 2005-12-10 Mike Kestner <mkestner@novell.com>
* gdk/gdk-symbols.xml : add GrabBroken mapping.
	* gdk/Event.cs : add GrabBroken to GetEvent.
	* gdk/EventGrabBroken.cs : manual Event subclass.
	* gdk/Gdk.metadata : hide new GrabBroken event.
	* gdk/Makefile.am : add new source file.

svn path=/trunk/gtk-sharp/; revision=54186
2005-12-10 06:00:03 +00:00
Mike Kestner 639c24e0de 2005-03-29 Mike Kestner <mkestner@novell.com>
* generator/Parser.cs : add symbol type='marshal' support.
	* gdk/Event.cs : add GetEvent method to wrap arbitrary events.
	* gdk/gdk-symbols.xml : make Event, EventAny, and EventNoExpose
	marshal symbols using Event.GetEvent (). [Fixes #74184]

svn path=/trunk/gtk-sharp/; revision=42344
2005-03-29 18:02:04 +00:00
Dan Winship eb4269562f * generator/Field.cs (Validate): new, to check that a field has a
valid type (or is hidden).

	* generator/StructBase.cs (Validate): new, to check that all of
	the struct fields have valid types

	* generator/BoxedGen.cs (Generate):
	* generator/StructGen.cs: (Generate): Call Validate() and bail out
	if it fails; it's no good to generate a struct with the wrong
	layout.

	* gdk/gdk-symbols.xml: add a line for GdkKey -> Gdk.Key. (There's
	no actual C type GdkKey, but we can use metadata to change uints
	to GdkKeys, which will then become Gdk.Keys.)

	* gtk/AccelKey.custom: remove the "Key" field (which was being
	added in the wrong place in the struct), since it's properly
	generated now.

	* gtk/Gtk.metadata: Fix the line that renames AccelKey.AccelKey
	to AccelKey.Key

	* gnomevfs/Gnomevfs.metadata: hide the (mis-parsed) "action" field
	in MimeAction, leaving the struct in the same broken state it was
	in with the old generator code

svn path=/trunk/gtk-sharp/; revision=41104
2005-02-23 17:37:33 +00:00
Dan Winship e0a0bd13fa * gdk/gdk-symbols.xml: alias GdkBitmap to GdkPixmap [Fixes
* #68824]

        * gdk/Gdk.metadata: Remove the earlier GdkBitmap hack now that
        it's aliased. Also move Gdk.Bitmap.CreateFromData to
        Gdk.Pixmap.CreateBitmapFromData

        * gdk/Pixbuf.custom (RenderPixmapAndMask,
        RenderPixmapAndMaskForColormap, RenderThresholdAlpha):
        s/Bitmap/Pixmap/

        * sample/GtkDemo/DemoTextView.cs: uncomment the fg/bg stipple
        code, since that works now

        * parser/gapi-fixup.cs: Add an "add-node" rule. This turned out
        * to
        not actually be needed for this fix, but we know we'll need it
        later, so here it is.

svn path=/trunk/gtk-sharp/; revision=37055
2004-12-03 20:42:12 +00:00
Mike Kestner db137117c4 2004-02-20 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide NoExpose, Client, Setting, WindowState,
	and Proximity events.
	* gdk/EventClient.cs : glue-based manual implementation.
	* gdk/EventClient.custom : kill
	* gdk/EventNoExpose.custom : kill
	* gdk/EventProximity.cs : glue-based manual implementation.
	* gdk/EventProximity.custom : kill
	* gdk/EventSetting.cs : glue-based manual implementation.
	* gdk/EventSetting.custom : kill
	* gdk/EventWindowState.cs : glue-based manual implementation.
	* gdk/EventWindowState.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mappings.
	* glue/event.cs : expose event struct fields.
	* gtk/Application.cs : simplify CurrentEvent prop.

svn path=/trunk/gtk-sharp/; revision=23300
2004-02-20 22:33:32 +00:00
Mike Kestner bb22b822a0 2004-02-20 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide Property, Selection, and DND events
	* gdk/EventDND.cs : glue-based manual implementation.
	* gdk/EventDND.custom : kill
	* gdk/EventProperty.cs : glue-based manual implementation.
	* gdk/EventProperty.custom : kill
	* gdk/EventSelection.cs : glue-based manual implementation.
	* gdk/EventSelection.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mappings.
	* glue/event.cs : expose DND, Property and Selection struct fields.

svn path=/trunk/gtk-sharp/; revision=23289
2004-02-20 17:55:03 +00:00
Mike Kestner 5ab5d3beaf 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventFocus and EventConfigure.
	* gdk/EventConfigure.cs : glue-based manual implementation.
	* gdk/EventConfigure.custom : kill
	* gdk/EventFocus.cs : glue-based manual implementation.
	* gdk/EventFocus.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mappings.
	* glue/event.cs : expose Focus and Configure struct fields.
	* sample/Scribble.cs : fix EventConfigure api breakage

svn path=/trunk/gtk-sharp/; revision=23239
2004-02-18 20:29:21 +00:00
Mike Kestner b2bbe4483b 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventCrossing.
	* gdk/EventCrossing.cs : glue-based manual implementation.
	* gdk/EventCrossing.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventCrossing.
	* glue/event.cs : expose Crossing struct fields.

svn path=/trunk/gtk-sharp/; revision=23235
2004-02-18 20:05:03 +00:00
Mike Kestner 99793aa24f 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventVisibility.
	* gdk/EventVisibility.cs : glue-based manual implementation.
	* gdk/EventVisibility.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventVisibility.
	* glue/event.cs : expose Visibility struct fields.

svn path=/trunk/gtk-sharp/; revision=23227
2004-02-18 18:16:24 +00:00
Mike Kestner ff95b08c65 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventExpose. make Region opaque.
	* gdk/EventExpose.cs : glue-based manual implementation.
	* gdk/EventExpose.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventExpose.
	* glue/event.cs : expose Expose struct fields.
	* sample/Scribble.cs : fix some EventExpose api breakage

svn path=/trunk/gtk-sharp/; revision=23226
2004-02-18 17:59:54 +00:00
Mike Kestner c0db7bdbcb 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventMotion
	* gdk/EventMotion.cs : glue-based manual implementation.
	* gdk/EventMotion.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventMotion.
	* glue/event.cs : expose Motion struct fields.
	* sample/Scribble.cs : fix some EventMotion api breakage

svn path=/trunk/gtk-sharp/; revision=23224
2004-02-18 17:22:03 +00:00
Mike Kestner 1ca02083f6 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventScroll
	* gdk/EventScroll.cs : glue-based manual implementation.
	* gdk/EventScroll.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventScroll.
	* glue/event.cs : expose Scroll struct fields.

svn path=/trunk/gtk-sharp/; revision=23222
2004-02-18 16:55:54 +00:00
Mike Kestner 2665037c0e 2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventButton
	* gdk/EventButton.cs : glue-based manual implementation.
	* gdk/EventButton.custom : kill
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventButton.
	* glue/event.cs : expose Button struct fields.
	* sample/CanvasExample.cs : fix EventButton ctor
	* sample/GnomeHelloWorld.cs : fix EventButton ctor

svn path=/trunk/gtk-sharp/; revision=23220
2004-02-18 16:34:45 +00:00
Mike Kestner 62c466e8b4 2004-02-16 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventKey
	* gdk/EventKey.cs : glue-based manual implementation.
	* gdk/EventKey.custom : killed
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : manual mapping for EventKey.
	* glue/event.cs : expose key struct fields.

svn path=/trunk/gtk-sharp/; revision=23140
2004-02-16 18:41:52 +00:00
Mike Kestner ad8ca4e74d 2004-02-16 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventAny
	* gdk/Event.cs : make this a full EventAny implementation.
	* gdk/gdk-api.xml : regen
	* gdk/gdk-symbols.xml : map EventAny to Gdk.Event.
	* glue/event.cs : expose window and send_event fields.

svn path=/trunk/gtk-sharp/; revision=23134
2004-02-16 17:48:14 +00:00
Martin Willemoes Hansen 6b629e8cef * Makefile.in: Updated to reflect moval of api xml files from api/
to each assembly dir.
        * configure.in: Ditto
        * art/.cvsignore Ditto
        * art/Makefile.in: Ditto
        * atk/.cvsignore Ditto
        * atk/Makefile.in: Ditto
        * gda/.cvsignore Ditto
        * gda/Makefile.in: Ditto
        * gdk/.cvsignore Ditto
        * gdk/Makefile.in: Ditto
        * gdk/gdk-symbols.xml Ditto
        * glade/.cvsignore Ditto
        * glade/Makefile.in: Ditto
        * gnome/.cvsignore Ditto
        * gnome/Makefile.in: Ditto
        * gnomedb/.cvsignore Ditto
        * gnomedb/Makefile.in: Ditto
        * gst/.cvsignore Ditto
        * gst/Makefile.in: Ditto
        * gtk/.cvsignore Ditto
        * gtk/Makefile.in: Ditto
        * gtk/gtk-symbols.xml Ditto
        * gtkhtml/.cvsignore Ditto
        * gtkhtml/Makefile.in: Ditto
        * pango/.cvsignore Ditto
        * pango/Makefile.in: Ditto
        * rsvg/.cvsignore Ditto
        * rsvg/Makefile.in: Ditto
        * sources/gtk-sharp-sources.xml: Ditto
        * api/: Removed

svn path=/trunk/gtk-sharp/; revision=18827
2003-10-09 22:29:59 +00:00
Renamed from api/gdk-symbols.xml (Browse further)