Ryujinx-GtkSharp/generator
Dan Winship 622c360576 * parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has
a constructor or a ref, unref, or destroy method, then it must be
	a reference type, so mark it "opaque" but then also mark all of
	its fields public and writable.

	* */*-api*.raw: Regen

	* generator/Parser.cs (ParseNamespace): make the opaque attribute
	check actually look at the value of the attribute rather than just
	checking if it's there, so that you can change a struct's opaque
	attribute from "true" to "false" via metadata and have that work.

	* generator/BoxedGen.cs (Generate): do not generate the boxed's
	"Free" method (since it's guaranteed to crash when we pass it a
	stack pointer). If "Copy" is marked deprecated, create a
	deprecated no-op for it, otherwise just skip it (since otherwise
	it will just leak memory when we copy its result onto the stack).

	* pango/Pango.metadata: deprecate Pango.Color.Copy and
	Pango.Matrix.Copy. Hide some array fields in Pango.GlyphString
	that we've never generated correctly. Tweak Pango.LayoutLine
	fields to be the same as they used to be.

	* pango/GlyphItem.custom (glyphs, item):
	* pango/GlyphString.custom (Zero, New):
	* pango/Item.custom (Zero, New):
	* pango/LayoutRun.custom (glyphs, item): add deprecated API compat

	* gdk/Gdk.metadata: undo the parser's new opaquification of
	Gdk.Font; it's been deprecated since pre-gtk# times, and no one
	should be using it, so there's no point in fixing it now. Fix up a
	few other things to match how they used to be. Fix RgbCmap's
	constructor args.

	* gdk/RgbCmap.custom (Zero, New): deprecated API compat

	* gdk/PangoAttrEmbossed.custom:
	* gdk/PangoAttrStipple.custom (Zero, New, Attr): deprecated API
	compat
	(explicit operator ...): allow casting back and forth between
	Pango.Attribute. (We can't usefully make them real subclasses of
	Pango.Attribute, because there's no way for
	Pango.Attribute.GetAttribute() to be able to dtrt with them.)

	* gtk/Gtk.metadata: deprecate Gtk.Requisition.Copy,
	Gtk.TextIter.Copy, and Gtk.TreeIter.Copy. Mark the return value of
	TextView.DefaultAttributes as "owned". Mark TargetList's fields
	private so it stays how it used to be.

	* gtk/TextAttributes.custom (Zero, New): deprecated API compat

	* gnomevfs/Gnomevfs.metadata: remove a bunch of opaque
	declarations that the parser figures out on its own now.

	* art/Art.metadata:
	* glade/Glade.metadata:
	* rsvg/Rsvg.metadata: un-mark everything the parser marked opaque
	in these libraries, because all of the structs in question would
	still be unusably broken, so the API churn would be pointless.

svn path=/trunk/gtk-sharp/; revision=48387
2005-08-15 15:15:57 +00:00
..
AliasGen.cs 2004-12-27 Mike Kestner <mkestner@novell.com> 2004-12-27 17:38:52 +00:00
BoxedGen.cs * parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has 2005-08-15 15:15:57 +00:00
ByRefGen.cs 2004-12-26 Mike Kestner <mkestner@novell.com> 2004-12-26 21:22:50 +00:00
CallbackGen.cs * configure.in.in: kill off all gda/gnomedb references. 2005-08-09 20:10:45 +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/ClassBase.cs (Validate): Don't fully validate the 2005-08-09 15:59:30 +00:00
ClassGen.cs * parser/gapi2xml.pl (parseInitFunc): handle interface properties 2005-07-22 18:35:37 +00:00
CodeGenerator.cs Change the way generatable validation works. Some generatable 2005-08-05 20:34:45 +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 2005-08-04 Mike Kestner <mkestner@novell.com> 2005-08-04 14:41:11 +00:00
DESIGN 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
EnumGen.cs Change the way generatable validation works. Some generatable 2005-08-05 20:34:45 +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 Change the way generatable validation works. Some generatable 2005-08-05 20:34:45 +00:00
GenerationInfo.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
HandleBase.cs Automatic memory management for opaque types [#49565] 2005-08-02 18:45:21 +00:00
IAccessor.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 15:23:27 +00:00
IGeneratable.cs Change the way generatable validation works. Some generatable 2005-08-05 20:34:45 +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 * generator/ClassBase.cs (Validate): Don't fully validate the 2005-08-09 15:59:30 +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 Automatic memory management for opaque types [#49565] 2005-08-02 18:45:21 +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/Method.cs (GenerateDeclCommon): Strip "Get"/"Set" even 2005-08-09 18:38:35 +00:00
MethodBase.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-02 14:55:08 +00:00
MethodBody.cs Automatic memory management for opaque types [#49565] 2005-08-02 18:45:21 +00:00
ObjectBase.cs Automatic memory management for opaque types [#49565] 2005-08-02 18:45:21 +00:00
ObjectField.cs * generator/StructBase.cs: update field-generation logic a bit 2005-05-16 14:28:55 +00:00
ObjectGen.cs * generator/ClassBase.cs (Validate): Don't fully validate the 2005-08-09 17:33:46 +00:00
OpaqueGen.cs * generator/OpaqueGen.cs (Generate): 2005-08-11 14:13:25 +00:00
Parameters.cs Automatic memory management for opaque types [#49565] 2005-08-02 18:45:21 +00:00
Parser.cs * parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has 2005-08-15 15:15:57 +00:00
Property.cs * generator/Property.cs (Generate): cast GLib.Values to 2005-08-03 14:58:38 +00:00
PropertyBase.cs Change the way generatable validation works. Some generatable 2005-08-05 20:34:45 +00:00
ReturnValue.cs Automatic memory management for opaque types [#49565] 2005-08-02 18:45:21 +00:00
Signal.cs * generator/ClassBase.cs (Validate): Don't fully validate the 2005-08-09 17:33:46 +00:00
Signature.cs * generator/Parameters.cs (IsHidden): method to check if a 2005-05-02 20:10:03 +00:00
SimpleBase.cs Change the way generatable validation works. Some generatable 2005-08-05 20:34:45 +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/OpaqueGen.cs (Generate): 2005-08-11 14:13:25 +00:00
StructField.cs 2005-07-02 Mike Kestner <mkestner@novell.com> 2005-07-03 15:14:09 +00:00
StructGen.cs Change the way generatable validation works. Some generatable 2005-08-05 20:34:45 +00:00
SymbolTable.cs * generator/ClassBase.cs (Validate): Don't fully validate the 2005-08-09 17:33:46 +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