GtkSharp/glib
Dan Winship 196be89bc9 * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject
constructors and casts. Add a new Enum cast.
	(Val): Handle Pointer values. Change the handling of Enum/Flags
	values to return the value directly rather than returning an
	EnumWrapper. Remove the Char (ie, "byte") handling since there
	aren't any char properties in all of gtk-sharp and the generator
	mistakenly converts them to strings anyway.

	* glib/EnumWrapper.cs: 
	* glib/UnwrappedObject.cs: Mark these Obsolete.

	* glib/glue/type.c (gtksharp_get_parent_type,
	gtksharp_get_type_name_for_id): 
	* glib/glue/value.c (gtksharp_value_get_value_type): Remove some
	unneeded glue methods.

	* generator/Ctor.cs (Generate):
	* generator/Property.cs (Generate): Simplify the enum and object
	property glue to not use EnumWrapper or UnwrappedObject.

	* sample/valtest/*: a regression test for GLib.Value

	* configure.in.in: add sample/valtest

svn path=/trunk/gtk-sharp/; revision=47564
2005-07-22 18:36:50 +00:00
..
glue * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
Argv.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
Boxed.cs mark Boxed [Obsolete] 2004-10-21 01:08:10 +00:00
CDeclCallbackAttribute.cs 2005-03-23 Mike Kestner <mkestner@novell.com> 2005-03-23 20:35:15 +00:00
ClassInitializerAttribute.cs 2004-12-23 Mike Kestner <mkestner@novell.com> 2004-12-23 22:59:59 +00:00
ConnectBeforeAttribute.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
DefaultSignalHandlerAttribute.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
DelegateWrapper.cs 2005-03-25 Mike Kestner <mkestner@novell.com> 2005-03-25 17:57:15 +00:00
DestroyNotify.cs * generator/Parameters.cs (Parameters.Validate): If the parameters 2005-05-04 11:47:25 +00:00
EnumWrapper.cs * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
FileUtils.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
GException.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
glib-sharp.dll.config.in 2004-04-29 Mike Kestner <mkestner@ximian.com> 2004-04-29 15:00:24 +00:00
GString.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
GType.cs * glib/GType.cs (cctor): call g_type_init(). (Avoids debug spew 2005-06-06 15:09:07 +00:00
GTypeAttribute.cs * parser/gapi2xml.pl: make note of _get_type methods for enums 2005-05-04 16:54:24 +00:00
Idle.cs 2005-02-28 Mike Kestner <mkestner@novell.com> 2005-02-28 18:11:24 +00:00
IWrapper.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
List.cs 2005-06-23 Mike Kestner <mkestner@novell.com> 2005-06-23 22:28:06 +00:00
ListBase.cs 2005-06-23 Mike Kestner <mkestner@novell.com> 2005-06-23 22:28:06 +00:00
Log.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
MainContext.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
MainLoop.cs 2004-08-25 John Luke <john.luke@gmail.com> 2004-08-25 18:11:41 +00:00
Makefile.am * parser/gapi2xml.pl: make note of _get_type methods for enums 2005-05-04 16:54:24 +00:00
makefile.win32 2005-03-23 Mike Kestner <mkestner@novell.com> 2005-03-23 20:35:15 +00:00
ManagedValue.cs 2005-03-31 Mike Kestner <mkestner@novell.com> 2005-03-31 16:31:31 +00:00
Markup.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
Marshaller.cs * generator/Parameters.cs (AllowComplexRefs): new property for 2005-06-30 17:09:39 +00:00
MissingIntPtrCtorException.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
NotifyHandler.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
Object.cs 2005-05-31 Mike Kestner <mkestner@novell.com> 2005-05-31 19:22:58 +00:00
ObjectManager.cs * parser/gapi2xml.pl: make note of _get_type methods for enums 2005-05-04 16:54:24 +00:00
Opaque.cs 2004-12-16 Tambet Ingo <tambet@ximian.com> 2004-12-16 17:09:58 +00:00
PropertyAttribute.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
Signal.cs 2005-05-04 Mike Kestner <mkestner@novell.com> 2005-05-04 20:36:55 +00:00
SignalArgs.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
SignalAttribute.cs remove a bunch of doc comments 2004-07-09 15:25:39 +00:00
SignalCallback.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
SList.cs 2005-06-23 Mike Kestner <mkestner@novell.com> 2005-06-23 22:28:06 +00:00
Source.cs 2005-02-28 Mike Kestner <mkestner@novell.com> 2005-02-28 18:11:24 +00:00
Thread.cs 2004-06-25 Mike Kestner <mkestner@ximian.com> 2004-06-25 18:42:19 +00:00
Timeout.cs 2005-02-28 Mike Kestner <mkestner@novell.com> 2005-02-28 18:11:24 +00:00
TypeConverter.cs * parser/gapi2xml.pl: make note of _get_type methods for enums 2005-05-04 16:54:24 +00:00
TypeFundamentals.cs remove a bunch of doc comments 2004-07-09 15:25:39 +00:00
UnwrappedObject.cs * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
Value.cs * glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject 2005-07-22 18:36:50 +00:00
ValueArray.cs 2004-12-07 Mike Kestner <mkestner@novell.com> 2004-12-07 19:03:55 +00:00
WeakObject.cs 2005-03-25 Mike Kestner <mkestner@novell.com> 2005-03-25 17:57:15 +00:00