2005-01-12 Joe Shaw <joeshaw@novell.com>
authorJoe Shaw <joeshaw@novell.com>
Wed, 12 Jan 2005 17:31:08 +0000 (17:31 +0000)
committerJoe Shaw <joeshaw@novell.com>
Wed, 12 Jan 2005 17:31:08 +0000 (17:31 +0000)
* mono/Makefile.am: Always build the dbus DLL with --debug.

* mono/Arguments.cs (GetDBusTypeConstructor): If the type
is an enum, get the enum's underlying type.  Another mono
1.1.3 fix.

ChangeLog
mono/Arguments.cs
mono/Makefile.am

index 7cea796..b16bfb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-01-12  Joe Shaw  <joeshaw@novell.com>
+
+       * mono/Makefile.am: Always build the dbus DLL with --debug.
+
+       * mono/Arguments.cs (GetDBusTypeConstructor): If the type
+       is an enum, get the enum's underlying type.  Another mono
+       1.1.3 fix.
+
 2005-01-11  Joe Shaw  <joeshaw@novell.com>
 
        Patch from Sjoerd Simons <sjoerd@luon.net>
index d78fbff..b68ed5a 100644 (file)
@@ -165,6 +165,8 @@ namespace DBus
 
       if (type.IsArray)
         constructorType = typeof (System.Array);
+      else if (type.IsEnum)
+        constructorType = Enum.GetUnderlyingType (type);
       else
         constructorType = type.UnderlyingSystemType;
 
index 12c9faa..0b52050 100644 (file)
@@ -51,10 +51,10 @@ DISTCLEANFILES=AssemblyInfo.cs $(ASSEMBLY).config $(ASSEMBLY)
 all-am: $(TARGET)
 
 dbus-sharp.dll: $(DBUS_SHARP_FILES)
-       $(CSC) --unsafe --target library -o dbus-sharp.dll $(DBUS_SHARP_FILES) AssemblyInfo.cs
+       $(CSC) --debug --unsafe --target library -o dbus-sharp.dll $(DBUS_SHARP_FILES) AssemblyInfo.cs
 
 test-dbus-sharp.exe: $(TEST_DBUS_SHARP_FILES)
-       $(CSC) --unsafe --target exe -L . -r dbus-sharp.dll -pkg:gtk-sharp -o test-dbus-sharp.exe $(TEST_DBUS_SHARP_FILES)
+       $(CSC) --debug --unsafe --target exe -L . -r dbus-sharp.dll -pkg:gtk-sharp -o test-dbus-sharp.exe $(TEST_DBUS_SHARP_FILES)
 
 clean:
        rm -f $(TARGET) $(NOINST_EXES)