Author: miguel
Date: 2008-01-10 19:07:25 -0500 (Thu, 10 Jan 2008)
New Revision: 92638

Modified:
   trunk/mono-tools/gui-compare/ChangeLog
   trunk/mono-tools/gui-compare/InfoManager.cs
Log:
Add more stuff

Modified: trunk/mono-tools/gui-compare/ChangeLog
===================================================================
--- trunk/mono-tools/gui-compare/ChangeLog      2008-01-10 23:57:15 UTC (rev 
92637)
+++ trunk/mono-tools/gui-compare/ChangeLog      2008-01-11 00:07:25 UTC (rev 
92638)
@@ -1,3 +1,8 @@
+2008-01-03  Miguel de Icaza  <[EMAIL PROTECTED]>
+
+       * InfoManager.cs: For people that are abusing XDG_DATA_HOME,
+       ignore their setting.
+
 2008-01-09  Chris Toshok <[EMAIL PROTECTED]> 
 
        * Metadata.cs: add abstract bool ThrowsNotImplementedException method to

Modified: trunk/mono-tools/gui-compare/InfoManager.cs
===================================================================
--- trunk/mono-tools/gui-compare/InfoManager.cs 2008-01-10 23:57:15 UTC (rev 
92637)
+++ trunk/mono-tools/gui-compare/InfoManager.cs 2008-01-11 00:07:25 UTC (rev 
92638)
@@ -140,10 +140,27 @@
                
                string [] api_sl11 = {
                        "mscorlib",
+                       "agclr.dll",
+                       "Microsoft.VisualBasic",
                        "System",
                        "System.Core",
+                       "System.Net",
+                       "System.SilverLight",
                        "System.Xml.Core",
                };
+
+               string [] api_sl2_alpha_alpha = {
+                       "mscorlib",
+                       "agclr",
+                       "Microsoft.VisualBasic",
+                       "System",
+                       "System.Core",
+                       "System.Net",
+                       "System.Runtime.Serialization",
+                       "System.ServiceModel",
+                       "System.SilverLight",
+                       "System.Xml.Core",
+               };
                
                string [] api_3_5 = {
                        "mscorlib",
@@ -224,7 +241,7 @@
                {
                        
                        string xdg_data_home = 
Environment.GetEnvironmentVariable ("XDG_DATA_HOME");
-                       if (xdg_data_home == null || xdg_data_home == 
String.Empty){
+                       if (xdg_data_home == null || xdg_data_home == 
String.Empty || xdg_data_home.IndexOf (':') != -1){
                                xdg_data_home = Environment.GetFolderPath 
(Environment.SpecialFolder.LocalApplicationData);
                        }
                        
@@ -271,6 +288,10 @@
                        case "2.1":
                                u = new Uri 
("http://mono.ximian.com/masterinfos/masterinfos-sl11a-refresh.tar.gz";);
                                break;
+
+                       case "SL2":
+                               u = new Uri 
("http://build.mono.lab.novell.com/~wberrier/tmp/masterinfos/masterinfos-sl2-alpha-dec2007.tar.gz";);
+                               break;
                                
                        case "3.5":
                                u = new Uri 
("http://mono.ximian.com/masterinfos/masterinfos-3.5.tar.gz";);
@@ -477,6 +498,7 @@
                        Populate (sub, "API 3.5 (WxF SP1)", "3.0", "3.5", 
api_3_5_wxf);
                        
                        Populate (sub, "Silverlight 1.1", "2.1", "2.1", 
api_sl11);
+                       Populate (sub, "Silverlight 2.0", "2.1", "SL2", 
api_sl2_alpha_alpha);
                }
        }
 }

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

Reply via email to