mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Rachel Hestilow](/assets/img/avatar_default.png)
* parser/Gnome.metadata, Gtk.metadata: More conflict fixes. * parser/build.pl: Fully qualify all lib names. (Gtk+ packages are now LFS-compliant in Debian...) * parser/gapi2xml.pl: Fix for whitespace in fields, defines, and docs. * generator/BoxedGen.cs: Remove extraneous CallByName definition, add "override" keyword to FromNative. (Generate): Generate methods after fields. * generator/ClassBase.cs: Change CallByName, FromNative to virtual. (.ctor): Ignore "hidden" nodes. Set container on signal. (GenSignals, GenMethods): Add "implementor" argument for interface use. (Get(Method|Signal|Property)Recursively): Rework to correctly recurse interfaces. (Implements): Added. * generator/Ctor.cs (Initialize): Move clash initialization completely out of Generate, so we can check for collisions. * generator/Method.cs (GenerateDeclCommon): Check for duplicates, for "new" keyword. (Generate): Add "implementor" argument. * generator/ObjectGen.cs (Generate): Initialize ctor clashes on this and all parents, before generating. (Ctors, InitializeCtors): Added. * generator/Signal.cs: Store the container_type, check for collisions. * generator/StructGen.cs: Add "override" keyword to overriden methods. * gtk/FileSelection.custom (ActionArea): Add "new" keyword. svn path=/trunk/gtk-sharp/; revision=5782
22 lines
633 B
Perl
Executable File
22 lines
633 B
Perl
Executable File
#!/usr/bin/perl -w
|
|
|
|
$file = "gtkapi.xml";
|
|
|
|
unlink ($file);
|
|
|
|
%srcs = ( "atk-1.0.2/atk" => "Atk:atk-1.0",
|
|
"pango-1.0.2/pango" => "Pango:pango-1.0",
|
|
"gtk+-2.0.3/gdk" => "Gdk:gdk-x11-2.0",
|
|
"gtk+-2.0.3/gdk-pixbuf" => "Gdk:gdk_pixbuf-2.0",
|
|
"gtk+-2.0.3/gtk" => "Gtk:gtk-x11-2.0",
|
|
"libgnome-2.0.1/libgnome" => "Gnome:gnome-2",
|
|
"libgnomecanvas-2.0.1/libgnomecanvas" => "Gnome:gnomecanvas-2",
|
|
"libgnomeui-2.0.1/libgnomeui" => "Gnome:gnomeui-2",
|
|
"gtkhtml/src" => "Gtk:gtkhtml-3.0");
|
|
|
|
foreach $dir (keys %srcs) {
|
|
($ns, $lib) = split (/:/, $srcs{$dir});
|
|
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $ns $file $lib");
|
|
}
|
|
|