Author: lluis
Date: 2006-12-17 12:33:13 -0500 (Sun, 17 Dec 2006)
New Revision: 69611

Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
   
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/DeployFileOptions.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
Log:
* MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs,
  MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs,
  MonoDevelop.Projects.Gui.Dialogs.OptionPanels/DeployFileOptions.cs:
  Track changes in FileService API.

Modified: trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog       
2006-12-17 17:32:57 UTC (rev 69610)
+++ trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/ChangeLog       
2006-12-17 17:33:13 UTC (rev 69611)
@@ -1,3 +1,10 @@
+2006-12-17  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * 
MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs,
+         MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs,
+         MonoDevelop.Projects.Gui.Dialogs.OptionPanels/DeployFileOptions.cs:
+         Track changes in FileService API.
+
 2006-11-21  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Projects.Gui.Completion/CompletionListWindow.cs: Fix bug

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
      2006-12-17 17:32:57 UTC (rev 69610)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/CompileFileProjectOptions.cs
      2006-12-17 17:33:13 UTC (rev 69611)
@@ -48,7 +48,7 @@
                                
                                foreach (ProjectFile info in 
project.ProjectFiles) {
                                        if (info.BuildAction == 
BuildAction.Nothing || info.BuildAction == BuildAction.Compile) {
-                                               string name = 
Runtime.FileUtilityService.AbsoluteToRelativePath(
+                                               string name = 
Runtime.FileService.AbsoluteToRelativePath(
                                                        project.BaseDirectory, 
info.Name).Substring(2);
                                                store.AppendValues 
(info.BuildAction == BuildAction.Compile ? true : false, name);
                                        }
@@ -75,7 +75,7 @@
                                for (int i = 0; i < store.IterNChildren (); 
i++) {
                                        if (i != 0)
                                                store.IterNext(ref current);
-                                       string name = 
Runtime.FileUtilityService.RelativeToAbsolutePath(
+                                       string name = 
Runtime.FileService.RelativeToAbsolutePath(
                                                project.BaseDirectory, "." + 
System.IO.Path.DirectorySeparatorChar + store.GetValue(current, 1));
                                        int j = 0;
                                        while (j < project.ProjectFiles.Count 
&& project.ProjectFiles[j].Name != name) {

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/DeployFileOptions.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/DeployFileOptions.cs
      2006-12-17 17:32:57 UTC (rev 69610)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/DeployFileOptions.cs
      2006-12-17 17:33:13 UTC (rev 69611)
@@ -40,7 +40,6 @@
 
                        // Services
                        Project project;
-                       static FileUtilityService fileUtilityService = 
Runtime.FileUtilityService;
 
                        public DeployFileOptionsWidget (IProperties 
CustomizationObject) : 
                                base ("Base.glade", "DeployFileOptionsPanel")
@@ -62,7 +61,7 @@
                                
                                foreach (ProjectFile info in 
project.ProjectFiles) {
                                        if (info.BuildAction != 
BuildAction.Exclude) {
-                                               string name = 
fileUtilityService.AbsoluteToRelativePath(project.BaseDirectory, info.Name);
+                                               string name = 
Runtime.FileService.AbsoluteToRelativePath(project.BaseDirectory, info.Name);
                                                store.AppendValues 
(project.DeployInformation.IsFileExcluded(info.Name) ? true : false, name);
                                        }
                                }
@@ -97,14 +96,14 @@
                        public bool Store () 
                        {
                                if (selectTargetButton.Filename.Length > 0) {
-                                       if 
(!fileUtilityService.IsValidFileName(selectTargetButton.Filename)) {
+                                       if 
(!Runtime.FileService.IsValidFileName(selectTargetButton.Filename)) {
                                                
Services.MessageService.ShowError (GettextCatalog.GetString ("Invalid deploy 
target specified"));
                                                return false;
                                        }
                                }
                                
                                if (selectScriptButton.Filename.Length > 0) {
-                                       if 
(!fileUtilityService.IsValidFileName(selectScriptButton.Filename)) {
+                                       if 
(!Runtime.FileService.IsValidFileName(selectScriptButton.Filename)) {
                                                
Services.MessageService.ShowError (GettextCatalog.GetString ("Invalid deploy 
script specified"));
                                                return false;                   
        
                                        }
@@ -132,7 +131,7 @@
                        project.DeployInformation.ClearExcludedFiles();
                        for (int i = 0; i < store.IterNChildren() ; ++i) {
                                if ( (bool) store.GetValue(current, 0)){
-                                       
project.DeployInformation.AddExcludedFile(fileUtilityService.RelativeToAbsolutePath(
+                                       
project.DeployInformation.AddExcludedFile(Runtime.FileService.RelativeToAbsolutePath(
                                                                                
          project.BaseDirectory, 
                                                                                
          (string) store.GetValue(current, 1)));
                                                        }

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
     2006-12-17 17:32:57 UTC (rev 69610)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Projects.Gui/MonoDevelop.Projects.Gui.Dialogs.OptionPanels/OutputOptionsPanel.cs
     2006-12-17 17:33:13 UTC (rev 69611)
@@ -58,12 +58,12 @@
                                        return true;
                                }
                                
-                               if 
(!Runtime.FileUtilityService.IsValidFileName(assemblyNameEntry.Text)) {
+                               if 
(!Runtime.FileService.IsValidFileName(assemblyNameEntry.Text)) {
                                        Services.MessageService.ShowError 
(GettextCatalog.GetString ("Invalid assembly name specified"));
                                        return false;
                                }
 
-                               if (!Runtime.FileUtilityService.IsValidFileName 
(outputPathButton.Filename)) {
+                               if (!Runtime.FileService.IsValidFileName 
(outputPathButton.Filename)) {
                                        Services.MessageService.ShowError 
(GettextCatalog.GetString ("Invalid output directory specified"));
                                        return false;
                                }

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

Reply via email to