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:
parent
2fc076760a
commit
3fec7ca60a
7 changed files with 19 additions and 6 deletions
11
ChangeLog
11
ChangeLog
|
@ -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>
|
2002-05-07 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* generator/SymbolTable.cs : map char to string.
|
* generator/SymbolTable.cs : map char to string.
|
||||||
|
|
|
@ -8,7 +8,7 @@ windows:
|
||||||
linux: atk-sharp.dll
|
linux: atk-sharp.dll
|
||||||
|
|
||||||
atk-sharp.dll: generated/*.cs
|
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:
|
clean:
|
||||||
rm -f *.dll
|
rm -f *.dll
|
||||||
|
|
|
@ -8,7 +8,7 @@ windows:
|
||||||
linux: gdk-sharp.dll
|
linux: gdk-sharp.dll
|
||||||
|
|
||||||
gdk-sharp.dll: generated/*.cs
|
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:
|
clean:
|
||||||
rm -f *.dll
|
rm -f *.dll
|
||||||
|
|
|
@ -184,6 +184,8 @@ namespace GtkSharp.Generation {
|
||||||
Console.Write("Interface property detected ");
|
Console.Write("Interface property detected ");
|
||||||
Statistics.ThrottledCount++;
|
Statistics.ThrottledCount++;
|
||||||
return true;
|
return true;
|
||||||
|
} else if (table.IsObject(c_type)) {
|
||||||
|
v_type = "GLib.Object";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cs_type == "") {
|
if (cs_type == "") {
|
||||||
|
@ -229,7 +231,7 @@ namespace GtkSharp.Generation {
|
||||||
public bool GenSignal (XmlElement sig, SymbolTable table, StreamWriter sw, out String name)
|
public bool GenSignal (XmlElement sig, SymbolTable table, StreamWriter sw, out String name)
|
||||||
{
|
{
|
||||||
String cname = "\"" + sig.GetAttribute("cname") + "\"";
|
String cname = "\"" + sig.GetAttribute("cname") + "\"";
|
||||||
name = sig.GetAttribute("name");
|
name = sig.GetAttribute("name") + "EventHandler";
|
||||||
|
|
||||||
String marsh = SignalHandler.GetName(sig, table);
|
String marsh = SignalHandler.GetName(sig, table);
|
||||||
if (marsh == "") {
|
if (marsh == "") {
|
||||||
|
|
|
@ -8,7 +8,7 @@ windows:
|
||||||
linux: glib-sharp.dll
|
linux: glib-sharp.dll
|
||||||
|
|
||||||
glib-sharp.dll: *.cs generated/*.cs
|
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:
|
clean:
|
||||||
rm -f *.dll
|
rm -f *.dll
|
||||||
|
|
|
@ -8,7 +8,7 @@ windows:
|
||||||
linux: gtk-sharp.dll
|
linux: gtk-sharp.dll
|
||||||
|
|
||||||
gtk-sharp.dll: *.cs generated/*.cs
|
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:
|
clean:
|
||||||
rm -f *.dll
|
rm -f *.dll
|
||||||
|
|
|
@ -8,7 +8,7 @@ windows:
|
||||||
linux: pango-sharp.dll
|
linux: pango-sharp.dll
|
||||||
|
|
||||||
pango-sharp.dll: generated/*.cs
|
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:
|
clean:
|
||||||
rm -f *.dll
|
rm -f *.dll
|
||||||
|
|
Loading…
Add table
Reference in a new issue