2002-06-10 12:34:09 +00:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
2002-06-26 13:10:48 +00:00
|
|
|
$file = "gtkapi.xml";
|
2002-06-10 12:34:09 +00:00
|
|
|
|
|
|
|
unlink ($file);
|
|
|
|
|
2002-06-23 03:38:02 +00:00
|
|
|
%srcs = ( "atk-1.0.2/atk" => "Atk:atk-1.0",
|
2002-07-19 04:07:50 +00:00
|
|
|
"pango-1.0.3/pango" => "Pango:pango-1.0",
|
|
|
|
"gtk+-2.0.5/gdk" => "Gdk:gdk-x11-2.0",
|
|
|
|
"gtk+-2.0.5/gdk-pixbuf" => "Gdk:gdk_pixbuf-2.0",
|
|
|
|
"gtk+-2.0.5/gtk" => "Gtk:gtk-x11-2.0",
|
2002-07-13 Rachel Hestilow <hestilow@ximian.com>
* 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
2002-07-13 20:31:23 +00:00
|
|
|
"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");
|
2002-06-10 12:34:09 +00:00
|
|
|
|
2002-06-21 20:25:43 +00:00
|
|
|
foreach $dir (keys %srcs) {
|
|
|
|
($ns, $lib) = split (/:/, $srcs{$dir});
|
|
|
|
system ("./gapi_pp.pl $dir | ./gapi2xml.pl $ns $file $lib");
|
2002-06-10 12:34:09 +00:00
|
|
|
}
|
|
|
|
|