Commit Graph

155 Commits

Author SHA1 Message Date
Mike Kestner
a51e811f17 2005-05-10 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : use non-obsolete PixbufLoader.Write overload.
	* gdk/PixbufLoader.custom : add obsolete PixbufLoader.Write overload
	for the uint case for backcompat. Update other uses to the new ulong
	overload.
	* sample/GtkDemo/DemoImage.cs : use PixbufLoader.Write (byte[])
	overload.

svn path=/trunk/gtk-sharp/; revision=44332
2005-05-10 16:11:18 +00:00
Mike Kestner
080c68ac6a 2005-05-04 Jose Faria <spigaz@gmail.com>
* gdk/Pixbuf.custom : new width/height ctor overloads.
	* gdk/PixbufLoader.custom : new width/height ctor overloads.

svn path=/trunk/gtk-sharp/; revision=44131
2005-05-06 14:24:44 +00:00
Miguel de Icaza
cc54bbe5ed My sunday morning documentation contribution
svn path=/trunk/gtk-sharp/; revision=43854
2005-05-01 17:32:57 +00:00
John Luke
8855f7a5a7 add some automatic docs for the new stuff
svn path=/trunk/gtk-sharp/; revision=43452
2005-04-22 17:20:16 +00:00
Mike Kestner
1f555ab568 2005-04-21 Mike Kestner <mkestner@novell.com>
* configure.in : require gtk+ 2.6.
	* generator/ReturnValue.cs : invalidate Callback returns for now.
	* gtk/Gtk.metadata : some renames for conflicting new API.
	* parser/gapi2xml.pl : whitespace tweak for class VM regexen.
	* sources/Makefile.am : add new patch, kill atk patch, revise dirs.
	* sources/atkhyperlink.patch : kill unnecessary patch.
	* sources/gtkclipboard.patch : add new clipboard patch.
	* sources/gtk-sharp-sources.xml : parse gtk+-2.6.
	* */*-api.raw : regen pango, atk, gdk, and gtk for new versions.

svn path=/trunk/gtk-sharp/; revision=43412
2005-04-21 17:10:54 +00:00
Mike Kestner
c167d0dd42 2005-04-19 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : add a None member to ModifierType and fix the
	definition for ModifierMask since the parser barfs on it. 
	[Fixes #74594]

svn path=/trunk/gtk-sharp/; revision=43265
2005-04-19 15:30:45 +00:00
Miguel de Icaza
a87318f9c5 Contributions from spigaz@gmail.com
svn path=/trunk/gtk-sharp/; revision=43113
2005-04-16 19:04:04 +00:00
Mike Kestner
33fbb8c45d 2005-04-11 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : fix out params on RenderPixmapAndMask* methods.

svn path=/trunk/gtk-sharp/; revision=42817
2005-04-12 03:39:23 +00:00
Mike Kestner
96f81cfbd4 2005-04-04 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : hide some manually implemented callback methods.
	* gdk/*.custom : implement several methods containing persistent
	callback parameters.
	* generator/BoxedGen.cs : set gen_info.CurrentType in Generate.
	* generator/ClassGen.cs : set gen_info.CurrentType in Generate.
	* generator/Ctor.cs : set gen_info.CurrentMember in Generate.
	* generator/GenerationInfo.cs : add CurrentMember and CurrentType.
	* generator/Method.cs : set gen_info.CurrentMember in Generate.
	* generator/MethodBody.cs : always generate null guarding for array
	parameters, and add a nag for callback parameters without a scope attr.
	* generator/ObjectGen.cs : set gen_info.CurrentType in Generate.
	* generator/OpaqueGen.cs : set gen_info.CurrentType in Generate.
	* generator/Parameters.cs : kill NullOk. add Scope property.
	* generator/StructGen.cs : set gen_info.CurrentType in Generate.
	* gtk/Gtk.metadata : kill a few null_ok attrs.
	* pango/Pango.metadata : mark the callback params as call scope. kill
	a couple null_ok attrs.

svn path=/trunk/gtk-sharp/; revision=42529
2005-04-04 16:27:08 +00:00
Dan Winship
475b44e7ba * gdk/PixbufLoader.custom: Implement System.IO.Stream and
resource-file constructors (using code formerly in Pixbuf.custom)

	* gdk/Pixbuf.custom: Redo the stream and resource ctors in terms
	of the PixbufLoader ones.

	* gdk/PixbufAnimation.custom: Add stream and resource ctors

	* gtk/Image.custom: Add stream and resource ctors

svn path=/trunk/gtk-sharp/; revision=42463
2005-04-01 14:54:12 +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
Mike Kestner
e13ae8a7d7 2005-03-28 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom  : add FromNative static method and obsolete
	CreateFromNative, which should've been static.  [Fixes #74155]

svn path=/trunk/gtk-sharp/; revision=42319
2005-03-28 21:57:19 +00:00
Mike Kestner
320977f58f 2005-03-10 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : fix gssize and gsize, they aren't 32 bit
	like the docs say they are.

svn path=/trunk/gtk-sharp/; revision=41666
2005-03-10 22:15:07 +00:00
Miguel de Icaza
909200cf13 Contributions from spigaz@gmail.com
svn path=/trunk/gtk-sharp/; revision=41109
2005-02-23 19:01:51 +00:00
Dan Winship
fec5eff891 * updater/updater.cs (Compare): handle BaseType changes
(Generate, AddTypeSignature): fix spelling of "delegate"
 
        * en/*: regenerate to update BaseType nodes

svn path=/trunk/gtk-sharp/; revision=40721
2005-02-15 21:53:03 +00:00
Mike Kestner
a768f58c4f 2005-02-14 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark the color in Rgb.FindColor ref.

svn path=/trunk/gtk-sharp/; revision=40643
2005-02-14 19:32:10 +00:00
Miguel de Icaza
9dba9353e3 Miguel contributions
svn path=/trunk/gtk-sharp/; revision=40503
2005-02-11 22:55:08 +00:00
Ben Maurer
ec4072d1b5 In doc:
2005-02-07  Ben Maurer  <bmaurer@ximian.com>

	* en/Gdk/Point.xml, en/Gdk/Rectangle.xml: Document new
	members.

In .:
2005-02-07  Ben Maurer  <bmaurer@ximian.com>

	* gdk/Point.custom, gdk/Rectangle.custom: misc. new apis to make
	this more like the S.D structs.


svn path=/trunk/gtk-sharp/; revision=40282
2005-02-08 00:19:32 +00:00
Mike Kestner
ae84ad32ae 2005-01-25 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : hide all the Pixbuf.SaveTo methods.
	* gdk/Pixbuf.custom : implement the SaveTo methods.

svn path=/trunk/gtk-sharp/; revision=39514
2005-01-25 17:20:55 +00:00
Mike Kestner
ea489c2353 2005-01-24 Mike Kestner <mkestner@novell.com>
* gda/Makefile.am : add new custom.
	* gda/XmlConnection.custom : add backcompat static ctor.
	* generator/ClassBase.cs : refactor lookup logic to here from Ctor
	and improve the collision resolution.
	* generator/Ctor.cs : refactor to use MethodBase.
	* generator/Makefile.am : add new file.
	* generator/MethodBase.cs : new base class for ctors and methods.
	* generator/Method.cs : refactor to use MethodBase.
	* generator/StructBase.cs : move some logic from here to Ctor.
	* gnome/CanvasPathDef.custom : add backcompat static ctor.
	* gnome/GPPath.custom : add backcompat static ctor.
	* gnome/Makefile.am : add new custom.
	* gtk/Gtk.metadata : mark a colliding Button ctor shared.

svn path=/trunk/gtk-sharp/; revision=39431
2005-01-24 18:25:02 +00:00
Miguel de Icaza
7da5169fca Contribution from alexmipego@hotmail.com
svn path=/trunk/gtk-sharp/; revision=38802
2005-01-12 19:23:51 +00:00
Mike Kestner
81c7552808 2005-01-11 Mike Kestner <mkestner@novell.com>
* gdk/Window.custom : add AddFilterForAll and RemoveFilterForAll
	methods to handle the window==null native case.
	[Fixes #71065]

svn path=/trunk/gtk-sharp/; revision=38730
2005-01-11 20:52:52 +00:00
Mike Kestner
903543cdb4 2005-01-11 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : kill Colors since its methods are deprecated
	and it doesn't exist in 1.0.

svn path=/trunk/gtk-sharp/; revision=38707
2005-01-11 16:31:38 +00:00
John Luke
70635096fa 2004-12-29 John Luke <john.luke@gmail.com>
* gen-intptr-ctor-docs.cs: docs for Type (IntPtr) ctor
        * gen-gtype-ctor-docs.cs: docs for Type (GType) ctor
        * gen-finalize-docs.cs: docs Finalize methods
        * gen-gtype-docs.cs: docs GType properties, based off
        of gen-vm-docs.cs
        * en/*.xml: run these 4 tools for all the assemblies


svn path=/trunk/gtk-sharp/; revision=38159
2004-12-29 18:36:31 +00:00
Mike Kestner
ba4b11a21b 2004-12-22 Mike Kestner <mkestner@novell.com>
* gdk/gdk-api.raw : update enum values.
	* gnome/gnome-api.raw : update enum values.
	* gtk/gtk-api.raw : update enum values.
	* pango/pango-api.raw : update enum values.
	* parser/gapi2xml.pl : pull whitespace out of enum prefixing logic.
	[Fixes #70593]

svn path=/trunk/gtk-sharp/; revision=38051
2004-12-22 19:12:15 +00:00
Mike Kestner
b6b89a0633 2004-12-20 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark a couple array params.
	* generator/Field.cs : remove the MarshalAs hack. We have to
	do something much more evil since MarshalAs can't hang.
	* generator/ImportSignature.cs : deal with out LP(U)Gen params.
	* generator/LPGen.cs : moved from SSizeTGen and generalized.
	* generator/LPUGen.cs : moved from SizeTGen and generalized.
	* generator/Makefile.am : update sources.
	* generator/MethodBody.cs : deal with out LP(U)Gen params.
	* generator/Parameters.cs : deal with out LP(U)Gen params.
	* generator/SymbolTable.cs : make all longs and size_t types LP(U)Gens.

svn path=/trunk/gtk-sharp/; revision=37999
2004-12-20 22:08:43 +00:00
Mike Kestner
d97845dbf0 2004-12-17 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark out param on Window.GetFrameExtents.
	* gdk/WindowAttr.custom : new typed Mask prop.
	* gtk/Widget.custom : new typed WidgetFlags prop. mark Flags obsolete.

svn path=/trunk/gtk-sharp/; revision=37909
2004-12-17 21:44:47 +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
8a6ba75f45 2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895]

svn path=/trunk/gtk-sharp/; revision=37037
2004-12-03 17:30:29 +00:00
Mike Kestner
f096700a2d 2004-11-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide the Get/Set Color methods that are marked
	deprecated but didn't exist in 1.0.

svn path=/trunk/gtk-sharp/; revision=36142
2004-11-15 17:02:37 +00:00
Mike Kestner
603b6f1c45 updater run for 2.4 api
svn path=/trunk/gtk-sharp/; revision=35719
2004-11-05 19:03:16 +00:00
Miguel de Icaza
31b0cf439c From: cmorgan@alum.wpi.edu
svn path=/trunk/gtk-sharp/; revision=35666
2004-11-04 20:03:15 +00:00
Dan Winship
764b8ac5d8 * en/Gdk/Pixbuf.xml
* en/Gdk/Pixmap.xml
	* en/Gdk/Window.xml
	* en/Gtk/Style.xml
	* en/Gtk/TargetList.xml: Update to match API fixes

svn path=/trunk/gtk-sharp/; revision=35410
2004-10-28 19:26:15 +00:00
Miguel de Icaza
4f8f06c449 Flush
svn path=/trunk/gtk-sharp/; revision=34925
2004-10-12 19:26:02 +00:00
Shane Landrum
b0952e4400 2004-10-11 Shane Landrum <epicene@pobox.com>
* en/Gdk/AreaUpdatedArgs.xml
	* en/Gdk/SizePreparedArgs.xml: Delegate class docs.

svn path=/trunk/gtk-sharp/; revision=34858
2004-10-11 03:49:34 +00:00
Shane Landrum
7908ad667b 2004-10-11 Shane Landrum <epicene@pobox.com>
* en/Gdk/Pixbuf.xml
	* en/Gdk/PixbufAlphaMode.xml
	* en/Gdk/PixbufAniAnim.xml
	* en/Gdk/PixbufAniAnimIter.xml
	* en/Gdk/PixbufDestroyNotify.xml
	* en/Gdk/PixbufError.xml
	* en/Gdk/PixbufFormat.xml
	* en/Gdk/PixbufFrame.xml: Miscellaneous docs for pixbuf classes.

svn path=/trunk/gtk-sharp/; revision=34857
2004-10-11 03:47:28 +00:00
Mike Kestner
881f9655f4 updater run for Pixmap changes.
svn path=/trunk/gtk-sharp/; revision=34784
2004-10-07 15:46:51 +00:00
Shane Landrum
a4e23390b0 2004-09-25 Shane Landrum <epicene@pobox.com>
* en/Gdk/Drawable.xml
	* en/Gdk/Pixbuf.xml
	* en/Gdk/PixbufAlphaMode.xml
	* en/Gdk/PixbufAniAnim.xml
	* en/Gdk/PixbufAniAnimIter.xml
	* en/Gdk/PixbufAnimation.xml
	* en/Gdk/PixbufAnimationIter.xml: Docs for pixbufs and animations.
	A first pass; see FIXME marks for some API that may need adjustment.

svn path=/trunk/gtk-sharp/; revision=34384
2004-09-25 13:52:01 +00:00
Shane Landrum
0dba717c3f 2004-09-20 Shane Landrum <epicene@pobox.com>
* en/Gdk/FilterFunc.xml
	* en/Gdk/Point.xml
	* en/Gdk/Region.xml
	* en/Gdk/Rgb.xml
	* en/Gdk/RgbCmap.xml : Added docs for Gdk classes.

svn path=/trunk/gtk-sharp/; revision=34079
2004-09-20 04:18:35 +00:00
Shane Landrum
8ef717b537 2004-09-20 Shane Landrum <epicene@pobox.com>
* en/Gdk/Window.xml : Added docs from GDK source.

svn path=/trunk/gtk-sharp/; revision=34077
2004-09-20 03:47:39 +00:00
Mike Kestner
f289183f02 run updater and cleanup deprecations
svn path=/trunk/gtk-sharp/; revision=33878
2004-09-14 13:42:09 +00:00
Mike Kestner
2274f73c36 2004-09-09 Mike Kestner <mkestner@ximian.com>
* en/Gdk/*.xml: api updates.

svn path=/trunk/gtk-sharp/; revision=33665
2004-09-09 18:25:45 +00:00
Mike Kestner
d2a37895d5 2004-09-03 Mike Kestner <mkestner@ximian.com>
* en/Gdk/Pixmap.cs : updates to sigs of FromXpm* methods.
	* en/Gtk/Init.cs : fix Check and remove AbiCheck.
	* en/Gtk/Invisible.cs : add ctor.
	* en/Gtk/NodeStore.cs : add GType prop.

svn path=/trunk/gtk-sharp/; revision=33287
2004-09-03 15:53:34 +00:00
Shane Landrum
524450a235 2004-08-28 Shane Landrum <epicene@pobox.com>
* en/Gtk/HSV.xml: Added docs for color selector.
	* en/Gtk/ProximityInEventArgs.xml
	* en/Gtk/ProximityOutEventArgs.xml
	* en/Gtk/Widget.xml: Docs for proximity events and other events.
	* en/Gtk/SizeAllocatedArgs.xml
	* en/Gtk/SizeRequestedArgs.xml
	* en/Gtk/Requisition.xml: Docs for widget size requests.
	* en/Gdk/Rectangle.xml: Added docs.
	* en/Gtk/CursorMoveArgs.xml
	* en/Gtk/RemovedArgs.xml
	* en/Gtk/SelectPageArgs.xml
	* en/Gtk/SetBaseArgs.xml
	* en/Gtk/ResponseArgs.xml
	* en/Gtk/StyleSetArgs.xml: Event data.
	* en/Gtk/Settings.xml: Added docs.
	* en/Gtk/Table.xml: Added docs.
	* en/Gtk/ThemeEngine.xml: Added docs.
	* en/Gtk/StockManager.xml: Added docs, flagged some API that needs
	review.

svn path=/trunk/gtk-sharp/; revision=32979
2004-08-29 04:47:18 +00:00
Mike Kestner
e5dde2ff7e 2004-08-26 Manuel V. Santos <mvsl@telefonica.net>
* gdk/Device.custom : glue to expose object fields.
	* gdk/DeviceAxis.custom : expand the ToString to incl use:
	* gdk/EventButton.custom : fix for Axes prop.
	* gdk/EventMotion.custom : fix for Axes prop.
	* gdk/Gdk.metadata : hide some accessors on Device.
	* gdk/Makefile.am : add new custom.
	* gdk/glue/Makefile.am : add new .c
	* gdk/glue/makefile.win32 : add new .o
	* gdk/glue/device.c : ditto.
	* gtk/InputDialog.custom : glue to expose button fields.
	* gtk/Makefile.am : add new custom.
	* gtk/glue/Makefile.am : add new .c
	* gtk/glue/makefile.win32 : add new .o
	* gtk/glue/inputdialog.c : ditto.
	* sample/ScribbleXInput.cs : new sample using extension events.

svn path=/trunk/gtk-sharp/; revision=32899
2004-08-26 19:10:48 +00:00
John Luke
e3bfff9018 add write overload
svn path=/trunk/gtk-sharp/; revision=32805
2004-08-24 23:29:26 +00:00
Mike Kestner
d6350e6b59 2004-08-24 Larry Ewing <lewing@ximian.com>
* gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults
	to the entire pixbuf width/height.
	[Fixes #60703]

svn path=/trunk/gtk-sharp/; revision=32786
2004-08-24 19:14:19 +00:00
Mike Kestner
b06ff13450 2004-08-24 Mike Kestner <mkestner@ximian.com>
* gdk/Drawable.custom : add a DrawPolygon overload with bool filled
	and mark the old int filled overload Obsolete.
	[Fixes #60702]

svn path=/trunk/gtk-sharp/; revision=32779
2004-08-24 18:52:47 +00:00
John Luke
a8b81fb34d validation/rendering fixes
svn path=/trunk/gtk-sharp/; revision=32766
2004-08-24 17:01:00 +00:00
John Luke
189b8b47c6 a PixbufLoader example
and some small random things I forgot about

svn path=/trunk/gtk-sharp/; revision=32104
2004-08-09 20:54:25 +00:00