[Monodevelop-patches-list] r2587 - in trunk/MonoDevelop/Extras/BooBinding: . Gui/OptionPanels Project

Peter Johanson <latexer@gentoo.org> pjohanson at mono-cvs.ximian.com
Sat Jun 4 17:12:12 EDT 2005


Author: pjohanson
Date: 2005-06-04 17:12:12 -0400 (Sat, 04 Jun 2005)
New Revision: 2587

Modified:
   trunk/MonoDevelop/Extras/BooBinding/ChangeLog
   trunk/MonoDevelop/Extras/BooBinding/Gui/OptionPanels/CodeCompilationPanel.boo
   trunk/MonoDevelop/Extras/BooBinding/Project/BooCompilerParameters.boo
Log:
Remove items related to compiler selection. This is unnecessary now that we use the Boo API to compile things, instead of calling out to boo/booc.


Modified: trunk/MonoDevelop/Extras/BooBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/ChangeLog	2005-06-04 20:31:33 UTC (rev 2586)
+++ trunk/MonoDevelop/Extras/BooBinding/ChangeLog	2005-06-04 21:12:12 UTC (rev 2587)
@@ -1,3 +1,9 @@
+2005-06-04  Peter Johanson <latexer at gentoo.org>
+
+	* Gui/OptionPanels/CodeCompilationPanel.boo:
+	* Project/BooCompilerParameters.boo: Remove compiler selection items,
+	as they are unneeded now that we use Boo's API for compilation
+
 2005-06-02  Peter Johanson <latexer at gentoo.org>
 
 	* Parser/BooParser.boo: Re-apply change to include

Modified: trunk/MonoDevelop/Extras/BooBinding/Gui/OptionPanels/CodeCompilationPanel.boo
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/Gui/OptionPanels/CodeCompilationPanel.boo	2005-06-04 20:31:33 UTC (rev 2586)
+++ trunk/MonoDevelop/Extras/BooBinding/Gui/OptionPanels/CodeCompilationPanel.boo	2005-06-04 21:12:12 UTC (rev 2587)
@@ -47,10 +47,6 @@
 	private checkDebug = CheckButton (GettextCatalog.GetString ("Enable debug"))
 	private checkDucky = CheckButton (GettextCatalog.GetString ("Enable ducky mode"))
 
-	// compiler chooser
-	private booc = RadioButton ("booc")
-	private boo as RadioButton
-
 	private outputAssembly = Entry ()
 	private outputDirectory = Entry()
 	// Waiting on easy method for setting entry text before using
@@ -93,17 +89,7 @@
 		vbox.PackStart (hboxTmp, false, false, 0)
 		Add (vbox)
 
-	def OnCompilerToggled (o as object, args as EventArgs) as void:
-		if booc.Active:
-			compilerPath.Text = "booc"
-		else:
-			compilerPath.Text = "boo"
-	
 	private def InitializeComponent() as void:
-		boo = RadioButton (booc, "boo")
-		boo.Toggled += OnCompilerToggled
-		booc.Toggled += OnCompilerToggled
-
 		codeGenerationLabel.Markup = String.Format ("<b>{0}</b>", GettextCatalog.GetString ("Code Generation"))
 		labelOutputDir.Markup = String.Format ("{0} :", GettextCatalog.GetString ("Output Path"))
 		labelOutputDir.Layout.Alignment = Pango.Alignment.Right
@@ -147,18 +133,12 @@
 		configuration = cast(DotNetProjectConfiguration,(cast(IProperties,CustomizationObject)).GetProperty("Config"))
 		compilerParameters = cast (BooCompilerParameters, configuration.CompilationParameters)
 
-		if (compilerParameters.Compiler == BooCompiler.Booc):
-			booc.Active = true
-		else:
-			boo.Active = true
-
 		checkDebug.Active = configuration.DebugMode
 		checkDucky.Active = compilerParameters.Ducky
 		outputAssembly.Text = configuration.OutputAssembly
 		//outputDirectory.DefaultPath = configuration.OutputDirectory
 		outputDirectory.Text = configuration.OutputDirectory
 		
-		compilerPath.Text = compilerParameters.CompilerPath
 		culture.Text = compilerParameters.Culture
 		compileTargetCombo.Active = cast (int, configuration.CompileTarget)
 
@@ -174,7 +154,6 @@
 		//configuration.OutputDirectory = outputDirectory.Path
 
 		compilerParameters.Ducky = checkDucky.Active
-		compilerParameters.CompilerPath = compilerPath.Text
 		compilerParameters.Culture = culture.Text
 
 		return true

Modified: trunk/MonoDevelop/Extras/BooBinding/Project/BooCompilerParameters.boo
===================================================================
--- trunk/MonoDevelop/Extras/BooBinding/Project/BooCompilerParameters.boo	2005-06-04 20:31:33 UTC (rev 2586)
+++ trunk/MonoDevelop/Extras/BooBinding/Project/BooCompilerParameters.boo	2005-06-04 21:12:12 UTC (rev 2587)
@@ -27,12 +27,6 @@
 import MonoDevelop.Internal.Serialization
 
 public class BooCompilerParameters:
-	[ItemProperty ("compiler")]
-	compiler = BooCompiler.Booc
-
-	[ItemProperty("compilerpath")]
-	compilerpath = "booc"
-	
 	[ItemProperty("genwarnings")]
 	genwarnings = false
 	
@@ -48,18 +42,6 @@
 		set:
 			genwarnings = value
 
-	public Compiler as BooCompiler:
-		get:
-			return compiler
-		set:
-			compiler = value
-	
-	public CompilerPath as string:
-		get:
-			return compilerpath
-		set:
-			compilerpath = value
-	
 	public Ducky as bool:
 		get:
 			return ducky




More information about the Monodevelop-patches-list mailing list