Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2008-05-22 19:35:19 +0400
committerLluis Sanchez <lluis@novell.com>2008-05-22 19:35:19 +0400
commit0d1ae9817e13e098dedf611e1ccb8a85a7e136de (patch)
treecb5d5ad766f22f56066430c85f81b4437d4286c9 /extras/PythonBinding
parent05355f881c4c860413b626a62c59d8f7b73a4fab (diff)
* extras/PythonBinding/Project/PythonCompilerParameters.cs,
extras/PythonBinding/Project/PythonProject.cs, extras/PythonBinding/PythonBinding.addin.xml, extras/PythonBinding/PythonCompilerManager.cs, extras/PythonBinding/PythonLanguageBinding.cs: Track api changes. svn path=/trunk/monodevelop/; revision=103792
Diffstat (limited to 'extras/PythonBinding')
-rw-r--r--extras/PythonBinding/Project/PythonCompilerParameters.cs2
-rw-r--r--extras/PythonBinding/Project/PythonProject.cs2
-rw-r--r--extras/PythonBinding/PythonBinding.addin.xml2
-rw-r--r--extras/PythonBinding/PythonCompilerManager.cs16
-rw-r--r--extras/PythonBinding/PythonLanguageBinding.cs6
5 files changed, 14 insertions, 14 deletions
diff --git a/extras/PythonBinding/Project/PythonCompilerParameters.cs b/extras/PythonBinding/Project/PythonCompilerParameters.cs
index 5ed9a99f74..d7033c9d3f 100644
--- a/extras/PythonBinding/Project/PythonCompilerParameters.cs
+++ b/extras/PythonBinding/Project/PythonCompilerParameters.cs
@@ -12,7 +12,7 @@ namespace PythonBinding
/// <summary>
/// This class handles project specific compiler parameters
/// </summary>
- public class PythonCompilerParameters : AbstractProjectConfiguration
+ public class PythonCompilerParameters : ProjectConfiguration
{
CompilerOptions compilerOptions = new CompilerOptions ();
diff --git a/extras/PythonBinding/Project/PythonProject.cs b/extras/PythonBinding/Project/PythonProject.cs
index f5d6b50bd6..e8674c143a 100644
--- a/extras/PythonBinding/Project/PythonProject.cs
+++ b/extras/PythonBinding/Project/PythonProject.cs
@@ -15,7 +15,7 @@ namespace PythonBinding
}
}
- public override IConfiguration CreateConfiguration ()
+ public override SolutionItemConfiguration CreateConfiguration ()
{
return new PythonCompilerParameters ();
}
diff --git a/extras/PythonBinding/PythonBinding.addin.xml b/extras/PythonBinding/PythonBinding.addin.xml
index 4656a610e3..2eba5e13a9 100644
--- a/extras/PythonBinding/PythonBinding.addin.xml
+++ b/extras/PythonBinding/PythonBinding.addin.xml
@@ -28,7 +28,7 @@
resource = "templates/PythonGtkProject.xpt.xml"/>
</Extension>
- <Extension path = "/MonoDevelop/ProjectModel/Gui/ProjectOptions/ConfigurationOptions">
+ <Extension path = "/MonoDevelop/ProjectModel/Gui/ProjectOptions">
<Conditional activeproject = "Python">
<DialogPanel id = "PythonCompilerParametersPanel"
_label = "Compiler"
diff --git a/extras/PythonBinding/PythonCompilerManager.cs b/extras/PythonBinding/PythonCompilerManager.cs
index 74c161cd7c..a8ae5e076b 100644
--- a/extras/PythonBinding/PythonCompilerManager.cs
+++ b/extras/PythonBinding/PythonCompilerManager.cs
@@ -31,25 +31,25 @@ namespace PythonBinding
return Path.GetExtension (fileName).ToLower () == ".py";
}
- ICompilerResult Compile (PythonCompilerParameters compilerparameters, string[] fileNames)
+ BuildResult Compile (PythonCompilerParameters compilerparameters, string[] fileNames)
{
// just pretend we compiled
// and leave it to the runtime for now
- return new DefaultCompilerResult (new CompilerResults (new TempFileCollection ()), "");
+ return new BuildResult (new CompilerResults (new TempFileCollection ()), "");
}
- public ICompilerResult CompileFile (string fileName, PythonCompilerParameters compilerparameters)
+ public BuildResult CompileFile (string fileName, PythonCompilerParameters compilerparameters)
{
// just pretend we compiled
// and leave it to the runtime for now
- return new DefaultCompilerResult (new CompilerResults (new TempFileCollection ()), "");
+ return new BuildResult (new CompilerResults (new TempFileCollection ()), "");
}
- public ICompilerResult CompileProject (IProject project)
+ public BuildResult CompileProject (IProject project)
{
// just pretend we compiled
// and leave it to the runtime for now
- return new DefaultCompilerResult (new CompilerResults (new TempFileCollection ()), "");
+ return new BuildResult (new CompilerResults (new TempFileCollection ()), "");
}
string GetCompilerName ()
@@ -57,11 +57,11 @@ namespace PythonBinding
return "IronPythonConsole";
}
- ICompilerResult ParseOutput (TempFileCollection tf, StreamReader sr)
+ BuildResult ParseOutput (TempFileCollection tf, StreamReader sr)
{
// just pretend we compiled
// and leave it to the runtime for now
- return new DefaultCompilerResult (new CompilerResults (new TempFileCollection ()), "");
+ return new BuildResult (new CompilerResults (new TempFileCollection ()), "");
}
}
}
diff --git a/extras/PythonBinding/PythonLanguageBinding.cs b/extras/PythonBinding/PythonLanguageBinding.cs
index 829014137a..739d7e925c 100644
--- a/extras/PythonBinding/PythonLanguageBinding.cs
+++ b/extras/PythonBinding/PythonLanguageBinding.cs
@@ -92,7 +92,7 @@ namespace PythonBinding
return compilerManager.CanCompile(fileName);
}
- public ICompilerResult CompileFile(string fileName)
+ public BuildResult CompileFile(string fileName)
{
Debug.Assert(compilerManager != null);
PythonCompilerParameters param = new PythonCompilerParameters();
@@ -100,13 +100,13 @@ namespace PythonBinding
return compilerManager.CompileFile(fileName, param);
}
- public ICompilerResult CompileProject(IProject project)
+ public BuildResult CompileProject(IProject project)
{
Debug.Assert(compilerManager != null);
return compilerManager.CompileProject(project);
}
- public ICompilerResult RecompileProject(IProject project)
+ public BuildResult RecompileProject(IProject project)
{
return CompileProject(project);
}