Author: lluis
Date: 2007-02-09 11:49:33 -0500 (Fri, 09 Feb 2007)
New Revision: 72547

Modified:
   trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs
   trunk/monodevelop/Extras/CSharpBinding/ChangeLog
   trunk/monodevelop/Extras/CSharpBinding/Makefile.am
Log:
* CSharpAmbience.cs: When converting a class, honor
  UseFullyQualifiedName flag.
* Makefile.am: distcheck fixes

Modified: trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs    2007-02-09 
16:48:06 UTC (rev 72546)
+++ trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs    2007-02-09 
16:49:33 UTC (rev 72547)
@@ -226,8 +226,6 @@
                                builder.Append(' ');
                        }
                        
-                       string tname = ConvertTypeName (c.Name, 
conversionFlags);
-                       
                        if (c.ClassType == ClassType.Delegate && 
c.Methods.Count > 0) {
                                foreach(IMethod m in c.Methods) {
                                        if (m.Name != "Invoke") continue;
@@ -236,9 +234,9 @@
                                        builder.Append(' ');
                                }
                        } else if 
(UseFullyQualifiedMemberNames(conversionFlags)) {
-                               AppendPangoHtmlTag (builder, tname, "b", 
conversionFlags);
+                               AppendPangoHtmlTag (builder, ConvertTypeName 
(c.FullyQualifiedName, conversionFlags), "b", conversionFlags);
                        } else {
-                               AppendPangoHtmlTag (builder, tname, "b", 
conversionFlags);
+                               AppendPangoHtmlTag (builder, ConvertTypeName 
(c.Name, conversionFlags), "b", conversionFlags);
                        }
                        
                        // Display generic parameters only if told so

Modified: trunk/monodevelop/Extras/CSharpBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/ChangeLog    2007-02-09 16:48:06 UTC 
(rev 72546)
+++ trunk/monodevelop/Extras/CSharpBinding/ChangeLog    2007-02-09 16:49:33 UTC 
(rev 72547)
@@ -1,3 +1,9 @@
+2007-02-09  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * CSharpAmbience.cs: When converting a class, honor
+         UseFullyQualifiedName flag.
+       * Makefile.am: distcheck fixes
+
 2007-02-07  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * CSharpBinding.mdp: Updated.

Modified: trunk/monodevelop/Extras/CSharpBinding/Makefile.am
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/Makefile.am  2007-02-09 16:48:06 UTC 
(rev 72546)
+++ trunk/monodevelop/Extras/CSharpBinding/Makefile.am  2007-02-09 16:49:33 UTC 
(rev 72547)
@@ -95,17 +95,17 @@
        mkdir -p $(ADDIN_BUILD)
        cp $(srcdir)/$(ADDIN) $(ADDIN_BUILD)/$(ADDIN)
 
-$(ASSEMBLY): $(build_sources) $(RES)
+$(ASSEMBLY): $(build_sources) $(build_resources)
        mkdir -p $(ADDIN_BUILD)
        $(CSC) $(CSC_FLAGS) -debug -out:$@ -target:library $(REFS) \
-               $(RES:%=/resource:%) $(build_sources)
+               $(build_resources:%=/resource:%) $(build_sources)
 
 check: all $(TESTASSEMBLY)     
        MONO_PATH=../../build/AddIns nunit-console $(TESTASSEMBLY)
 
-$(TESTASSEMBLY) : $(build_test_sources) $(RES)
+$(TESTASSEMBLY) : $(build_test_sources) $(build_resources)
        $(CSC) $(CSC_FLAGS) -debug -codepage:utf8 -out:$@ -target:library 
$(DLLS) $(TESTDLLS) /r:$(ASSEMBLY) \
-       $(monodoc_libflags) $(RES:%=/resource:%) $(build_test_sources)
+       $(monodoc_libflags) $(build_resources:%=/resource:%) 
$(build_test_sources)
 
 parse: $(PARSE)
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to