GtkSharp/generator
Dan Winship 6bf7376094 * parser/gapi2xml.pl (addParamsElem): change the handling of
anonymous function pointer types in method signatures. Before, we
	added a <callback> child to the <parameters> node, but the
	generator just ignored it. Now we add the callback (with a made-up
	name) to the toplevel node, and add an ordinary <param> node
	referencing it to the <parameters> node. Also, if the last param
	of the callback is a gpointer, rename it from "arg#" to "data" so
	it will be treated correctly (as the user data passed from the
	calling method). [Fixes #66241]

	* art/art-api.raw: 
	* gdk/gdk-api-2.4.raw: 
	* gdk/gdk-api-2.6.raw: Regen

	* generator/Parameters.cs (IsHidden): loosen the definition of
	hideable user_data; it doesn't have to occur at the end of the
	parameter list, as long as there's a callback arg before it.

	* generator/MethodBody.cs (GetCallString): Use Parameters.IsHidden
	to decide whether or not to squash user_data params, rather than
	trying to duplicate its logic. As a side effect, this also causes
	a handful of methods that take non-hidden IntPtr arguments to
	start actually passing those arguments to C rather than always
	passing IntPtr.Zero.

	* generator/Method.cs (Equals, GetHashCode): Remove unnecessary
	and possibly erroneous hashing overrides.

	* gtk/Gtk.metadata: Hide Gtk.Container.ForeachFull, since it's
	useless and wasn't in gtk# 1.0

	* gtk/Menu.custom (Popup):
	* gtk/TextIter.custom (ForwardFindChar, BackwardFindChar):
	* gnome/App.custom (CreateMenusInterp, InsertMenusInterp,
	CreateToolbarInterp):
	* gnome/Client.custom (RequestInteractionInterp):
	* gnome/Popup.custom (MenuDoPopupModal, MenuDoPopup): Add
	[Obsolete] compat overloads for methods that have now lost a
	useless IntPtr.

svn path=/trunk/gtk-sharp/; revision=47566
2005-07-22 19:10:04 +00:00
..
AliasGen.cs 2004-12-27 Mike Kestner <mkestner@novell.com> 2004-12-27 17:38:52 +00:00
BoxedGen.cs 2005-04-04 Mike Kestner <mkestner@novell.com> 2005-04-04 16:27:08 +00:00
ByRefGen.cs 2004-12-26 Mike Kestner <mkestner@novell.com> 2004-12-26 21:22:50 +00:00
CallbackGen.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
ChildProperty.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
ClassBase.cs * parser/gapi2xml.pl (parseInitFunc): handle interface properties 2005-07-22 18:35:37 +00:00
ClassGen.cs * parser/gapi2xml.pl (parseInitFunc): handle interface properties 2005-07-22 18:35:37 +00:00
CodeGenerator.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
ConstFilenameGen.cs 2005-06-02 Mike Kestner <mkestner@novell.com> 2005-06-02 14:16:52 +00:00
ConstStringGen.cs 2005-06-21 Mike Kestner <mkestner@novell.com> 2005-06-21 16:11:22 +00:00
Ctor.cs * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
DESIGN 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
EnumGen.cs * parser/gapi2xml.pl: make note of _get_type methods for enums 2005-05-04 16:54:24 +00:00
FieldBase.cs * parser/gapi2xml.pl (parseInitFunc): handle interface properties 2005-07-22 18:35:37 +00:00
gapi2-codegen.in merge to HEAD of jeroen and friends' work on the 2-4 branch. HEAD 2004-10-29 20:33:07 +00:00
GenBase.cs 2004-12-27 Mike Kestner <mkestner@novell.com> 2004-12-27 21:32:08 +00:00
GenerationInfo.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
HandleBase.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
IAccessor.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
IGeneratable.cs * generator/ManagedCallString.cs (Setup, Finish, ToString): Add 2004-12-16 23:38:35 +00:00
IManualMarshaler.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
ImportSignature.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 14:55:08 +00:00
InterfaceGen.cs * parser/gapi2xml.pl (parseInitFunc): handle interface properties 2005-07-22 18:35:37 +00:00
LPGen.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
LPUGen.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
Makefile.am 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
makefile.win32 2003-10-10 Mike Kestner <mkestner@ximian.com> 2003-10-10 18:58:19 +00:00
ManagedCallString.cs 2005-06-22 Mike Kestner <mkestner@novell.com> 2005-06-22 16:56:52 +00:00
ManualGen.cs 2004-12-27 Mike Kestner <mkestner@novell.com> 2004-12-27 17:38:52 +00:00
MarshalGen.cs 2004-12-27 Mike Kestner <mkestner@novell.com> 2004-12-27 17:38:52 +00:00
Method.cs * parser/gapi2xml.pl (addParamsElem): change the handling of 2005-07-22 19:10:04 +00:00
MethodBase.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 14:55:08 +00:00
MethodBody.cs * parser/gapi2xml.pl (addParamsElem): change the handling of 2005-07-22 19:10:04 +00:00
ObjectBase.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
ObjectField.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
ObjectGen.cs * parser/gapi2xml.pl (parseInitFunc): handle interface properties 2005-07-22 18:35:37 +00:00
OpaqueGen.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
Parameters.cs * parser/gapi2xml.pl (addParamsElem): change the handling of 2005-07-22 19:10:04 +00:00
Parser.cs 2005-03-29 Mike Kestner <mkestner@novell.com> 2005-03-29 18:02:04 +00:00
Property.cs * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
PropertyBase.cs * parser/gapi2xml.pl (parseInitFunc): handle interface properties 2005-07-22 18:35:37 +00:00
ReturnValue.cs 2005-06-23 Mike Kestner <mkestner@novell.com> 2005-06-23 22:28:06 +00:00
Signal.cs * generator/Parameters.cs: Remove the AllowComplexRefs flag. 2005-07-19 15:27:08 +00:00
Signature.cs * generator/Parameters.cs (IsHidden): method to check if a 2005-05-02 20:10:03 +00:00
SimpleBase.cs 2005-06-08 Mike Kestner <mkestner@novell.com> 2005-06-09 14:27:48 +00:00
SimpleGen.cs 2004-12-26 Mike Kestner <mkestner@novell.com> 2004-12-26 21:22:50 +00:00
Statistics.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 16:35:15 +00:00
StructBase.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
StructField.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-03 15:14:09 +00:00
StructGen.cs 2005-04-04 Mike Kestner <mkestner@novell.com> 2005-04-04 16:27:08 +00:00
SymbolTable.cs 2005-06-02 Mike Kestner <mkestner@novell.com> 2005-06-02 14:16:52 +00:00
VirtualMethod.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 14:55:08 +00:00
VMSignature.cs 2005-06-22 Mike Kestner <mkestner@novell.com> 2005-06-22 16:56:52 +00:00