2002-05-08 Joe Shaw <joe@assbarn.com>

* */Makefile.in: Don't allow the shell to do file globbing; makes
	--recurse work.

	* generator/ObjectGen.cs (GenProperty): We need to cast a GLib.Value
	to a GLib.Object and then to whatever it is, because explicit casts
	don't work to child classes.
	(GenSignal): Append "EventHandler" when generating signal handlers
	so we don't get symbol conflicts.

svn path=/trunk/gtk-sharp/; revision=4414
This commit is contained in:
Joe Shaw 2002-05-08 11:52:21 +00:00
parent 2fc076760a
commit 3fec7ca60a
7 changed files with 19 additions and 6 deletions

View file

@ -1,3 +1,14 @@
2002-05-08 Joe Shaw <joe@assbarn.com>
* */Makefile.in: Don't allow the shell to do file globbing; makes
--recurse work.
* generator/ObjectGen.cs (GenProperty): We need to cast a GLib.Value
to a GLib.Object and then to whatever it is, because explicit casts
don't work to child classes.
(GenSignal): Append "EventHandler" when generating signal handlers
so we don't get symbol conflicts.
2002-05-07 Mike Kestner <mkestner@speakeasy.net>
* generator/SymbolTable.cs : map char to string.

View file

@ -8,7 +8,7 @@ windows:
linux: atk-sharp.dll
atk-sharp.dll: generated/*.cs
$(MCS) --unsafe --target library -L ../glib -L ../pango -r glib-sharp -r pango-sharp -o atk-sharp.dll --recurse *.cs
$(MCS) --unsafe --target library -L ../glib -L ../pango -r glib-sharp -r pango-sharp -o atk-sharp.dll --recurse '*.cs'
clean:
rm -f *.dll

View file

@ -8,7 +8,7 @@ windows:
linux: gdk-sharp.dll
gdk-sharp.dll: generated/*.cs
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -r glib-sharp -r pango-sharp -r atk-sharp -o gdk-sharp.dll --recurse *.cs
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -r glib-sharp -r pango-sharp -r atk-sharp -o gdk-sharp.dll --recurse '*.cs'
clean:
rm -f *.dll

View file

@ -184,6 +184,8 @@ namespace GtkSharp.Generation {
Console.Write("Interface property detected ");
Statistics.ThrottledCount++;
return true;
} else if (table.IsObject(c_type)) {
v_type = "GLib.Object";
}
if (cs_type == "") {
@ -229,7 +231,7 @@ namespace GtkSharp.Generation {
public bool GenSignal (XmlElement sig, SymbolTable table, StreamWriter sw, out String name)
{
String cname = "\"" + sig.GetAttribute("cname") + "\"";
name = sig.GetAttribute("name");
name = sig.GetAttribute("name") + "EventHandler";
String marsh = SignalHandler.GetName(sig, table);
if (marsh == "") {

View file

@ -8,7 +8,7 @@ windows:
linux: glib-sharp.dll
glib-sharp.dll: *.cs generated/*.cs
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse *.cs
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse '*.cs'
clean:
rm -f *.dll

View file

@ -8,7 +8,7 @@ windows:
linux: gtk-sharp.dll
gtk-sharp.dll: *.cs generated/*.cs
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -L ../gdk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -o gtk-sharp.dll --recurse *.cs
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -L ../gdk -r glib-sharp -r pango-sharp -r atk-sharp -r gdk-sharp -o gtk-sharp.dll --recurse '*.cs'
clean:
rm -f *.dll

View file

@ -8,7 +8,7 @@ windows:
linux: pango-sharp.dll
pango-sharp.dll: generated/*.cs
$(MCS) --unsafe --target library -L ../glib -r glib-sharp -o pango-sharp.dll --recurse *.cs
$(MCS) --unsafe --target library -L ../glib -r glib-sharp -o pango-sharp.dll --recurse '*.cs'
clean:
rm -f *.dll