[Monodevelop-patches-list] r2153 - trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Jan 24 18:29:49 EST 2005
Author: lluis
Date: 2005-01-24 18:29:49 -0500 (Mon, 24 Jan 2005)
New Revision: 2153
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleBindingCompilerServices.cs
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs
Log:
2005-01-24 Lluis Sanchez Gual <lluis at novell.com>
* NemerleBindingCompilerServices.cs:
* NemerleLanguageBinding.cs: Use the new progress monitor API.
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog 2005-01-24 23:29:32 UTC (rev 2152)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/ChangeLog 2005-01-24 23:29:49 UTC (rev 2153)
@@ -1,3 +1,8 @@
+2005-01-24 Lluis Sanchez Gual <lluis at novell.com>
+
+ * NemerleBindingCompilerServices.cs:
+ * NemerleLanguageBinding.cs: Use the new progress monitor API.
+
2005-01-11 Lluis Sanchez Gual <lluis at novell.com>
* NemerleBinding.addin.xml:
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleBindingCompilerServices.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleBindingCompilerServices.cs 2005-01-24 23:29:32 UTC (rev 2152)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleBindingCompilerServices.cs 2005-01-24 23:29:49 UTC (rev 2153)
@@ -106,7 +106,7 @@
return Path.GetExtension(fileName) == ".n";
}
- public ICompilerResult Compile (ProjectFileCollection projectFiles, ProjectReferenceCollection projectReferences, DotNetProjectConfiguration configuration)
+ public ICompilerResult Compile (ProjectFileCollection projectFiles, ProjectReferenceCollection projectReferences, DotNetProjectConfiguration configuration, IProgressMonitor monitor)
{
NemerleParameters cp = (NemerleParameters) configuration.CompilationParameters;
if (cp == null) cp = new NemerleParameters ();
@@ -163,28 +163,18 @@
p.StartInfo = si;
p.Start();
- IStatusBarService sbs = (IStatusBarService)ServiceManager.GetService (typeof (IStatusBarService));
- sbs.SetMessage ("Compiling...");
-
p.OutWatch();
while ((!p.HasExited) && p.HasNoOut())
// while ((!p.HasExited) && (p.StandardOutput.Peek() == -1)) // this could eliminate VProcess outgrowth
{
- ((SdStatusBar)sbs.Control).Pulse();
- while (Gtk.Application.EventsPending ())
- Gtk.Application.RunIteration ();
System.Threading.Thread.Sleep (100);
}
CompilerResultsParser cr = new CompilerResultsParser();
while ((l = p.StandardOutput.ReadLine()) != null)
{
- ((SdStatusBar)sbs.Control).Pulse();
- while (Gtk.Application.EventsPending ())
- Gtk.Application.RunIteration ();
cr.Parse(l);
}
- ((SdStatusBar)sbs.Control).Done();
if ((l = p.StandardError.ReadLine()) != null)
{
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs 2005-01-24 23:29:32 UTC (rev 2152)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/NemerleBinding/NemerleLanguageBinding.cs 2005-01-24 23:29:49 UTC (rev 2153)
@@ -36,9 +36,9 @@
return compilerServices.CanCompile(fileName);
}
- public ICompilerResult Compile (ProjectFileCollection projectFiles, ProjectReferenceCollection references, DotNetProjectConfiguration configuration)
+ public ICompilerResult Compile (ProjectFileCollection projectFiles, ProjectReferenceCollection references, DotNetProjectConfiguration configuration, IProgressMonitor monitor)
{
- return compilerServices.Compile (projectFiles, references, configuration);
+ return compilerServices.Compile (projectFiles, references, configuration, monitor);
}
public void GenerateMakefile (Project project, Combine parentCombine)
More information about the Monodevelop-patches-list
mailing list