GtkSharp/generator
Dan Winship b6d7f14268 * generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag

	* generator/GenerationInfo.cs: Accept glue_includes value from
	Main and output it to the glue_filename.

	* generator/FieldBase.cs (Ignored): handle more ignorable cases.
	(CheckGlue): New method to figure out what kind of glue we'll need
	for a field.
	(GenerateImports): generate appropriate imports per CheckGlue.
	(GenerateGlue): Generate C glue for accessing a struct field;
	either a fully-C-based accessor, or a method to just return the
	field's offset in the struct.
	(Generate): Use the generated glue to read the field.

	* generator/PropertyBase.cs (CType): if the field is a single bit,
	set its type to gboolean.

	* generator/ObjectGen.cs (Generate):
	* generator/OpaqueGen.cs (Generate): Call GenFields.

	* generator/StructField.cs: Use FieldBase's glue-generation code
	to handle bitfields. [#54489]

	* generator/ObjectField.cs: Generates accessors for public fields
	of objects and opaque structs. [#69514]

	* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
	create ObjectField objects.
	(GenFields): Output field properties
	(IgnoreMethod): Ignore Get/Set methods that duplicate fields

	* generator/Makefile.am (sources): update

	* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
	public. Rename/retype some fields for consistency with earlier
	hand-coded bindings.

	* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
	now be autogenerated.

	* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
	be autogenerated
	
	* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
	* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
	* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update

svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +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 * generator/Parameters.cs (Parameters.Validate): If the parameters 2005-05-04 11:47:25 +00:00
ChildProperty.cs Redo child property handling; now we generate classes to hold 2004-11-18 20:31:22 +00:00
ClassBase.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
ClassGen.cs 2005-04-20 Mike Kestner <mkestner@novell.com> 2005-04-21 01:40:08 +00:00
CodeGenerator.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
ConstStringGen.cs 2005-03-08 Mike Kestner <mkestner@novell.com> 2005-03-08 21:28:08 +00:00
Ctor.cs 2005-04-04 Mike Kestner <mkestner@novell.com> 2005-04-04 16:27:08 +00:00
DESIGN some updates to generator/DESIGN 2004-12-27 18:02:52 +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 * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +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
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-04-20 Mike Kestner <mkestner@novell.com> 2005-04-21 01:40:08 +00:00
InterfaceGen.cs 2004-12-26 Mike Kestner <mkestner@novell.com> 2004-12-26 19:33:34 +00:00
LPGen.cs 2004-12-27 Mike Kestner <mkestner@novell.com> 2004-12-27 17:38:52 +00:00
LPUGen.cs 2004-12-26 Mike Kestner <mkestner@novell.com> 2004-12-26 21:22:50 +00:00
Makefile.am * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
makefile.win32 2003-10-10 Mike Kestner <mkestner@ximian.com> 2003-10-10 18:58:19 +00:00
ManagedCallString.cs * generator/CallbackGen.cs: 2004-12-21 18:46:42 +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 * generator/Parameters.cs (IsHidden): method to check if a 2005-05-02 20:10:03 +00:00
MethodBase.cs * generator/MethodBase.cs (Validate): use CName rather than always 2005-02-11 15:07:22 +00:00
MethodBody.cs 2005-05-13 Mike Kestner <mkestner@novell.com> 2005-05-13 17:34:37 +00:00
ObjectField.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
ObjectGen.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
OpaqueGen.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
Parameters.cs * generator/Parameters.cs (Parameters.Validate): If the parameters 2005-05-04 11:47:25 +00:00
Parser.cs 2005-03-29 Mike Kestner <mkestner@novell.com> 2005-03-29 18:02:04 +00:00
Property.cs Apply the parts of the generator reorganization from #69514 that 2005-05-02 18:40:30 +00:00
PropertyBase.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
ReturnValue.cs * generator/Parameters.cs (Parameters.Validate): If the parameters 2005-05-04 11:47:25 +00:00
Signal.cs 2005-03-28 Mike Kestner <mkestner@novell.com> 2005-03-28 18:26:00 +00:00
Signature.cs * generator/Parameters.cs (IsHidden): method to check if a 2005-05-02 20:10:03 +00:00
SimpleBase.cs 2004-12-27 Mike Kestner <mkestner@novell.com> 2004-12-27 20:00:55 +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 * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
StructGen.cs 2005-04-04 Mike Kestner <mkestner@novell.com> 2005-04-04 16:27:08 +00:00
SymbolTable.cs * generator/Parameters.cs (Parameters.Validate): If the parameters 2005-05-04 11:47:25 +00:00
VirtualMethod.cs 2005-01-26 Mike Kestner <mkestner@novell.com> 2005-01-26 19:17:07 +00:00
VMSignature.cs 2005-01-26 Mike Kestner <mkestner@novell.com> 2005-01-26 19:17:07 +00:00