Browse Source

Update to Boo 0.9.1.3287.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3876 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 17 years ago
parent
commit
521bff07e8
  1. 227
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Resources/BuildOptions.xfrm
  2. 12
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Src/BooProject.cs
  3. 5
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Src/BuildOptions.cs
  4. 7
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/ConsoleProject.xpt
  5. 1
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/DefaultAssemblyInfo.boo
  6. 2
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/EmptyClass.xft
  7. 6
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/Form.xft
  8. 14
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/FormsProject.xpt
  9. 9
      src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/Library.xpt
  10. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.CodeDom.dll
  11. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Compiler.dll
  12. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Extensions.dll
  13. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Interpreter.dll
  14. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Parser.dll
  15. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.PatternMatching.dll
  16. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Useful.dll
  17. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.dll
  18. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Microsoft.Build.Tasks.dll
  19. 37
      src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Microsoft.Build.targets
  20. BIN
      src/AddIns/BackendBindings/Boo/RequiredLibraries/booc.exe

227
src/AddIns/BackendBindings/Boo/BooBinding/Project/Resources/BuildOptions.xfrm

@ -1,184 +1,311 @@ @@ -1,184 +1,311 @@
<Components version="1.0">
<System.Windows.Forms.UserControl>
<Name value="booBuildOptionsPanel" />
<ClientSize value="{Width=510, Height=396}" />
<ClientSize value="{Width=510, Height=607}" />
<AutoScroll value="True" />
<Controls>
<System.Windows.Forms.GroupBox>
<Name value="warningsGroupBox" />
<Location value="3, 438" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.ErrorsAndWarnings}" />
<Size value="504, 66" />
<Anchor value="Top, Left, Right" />
<TabIndex value="4" />
<Controls>
<System.Windows.Forms.Label>
<Name value="warningLevelLabel" />
<Location value="6, 16" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.WarningLevel}" />
<Size value="154, 16" />
<TextAlign value="MiddleRight" />
<TabIndex value="0" />
</System.Windows.Forms.Label>
<System.Windows.Forms.ComboBox>
<Name value="warningLevelComboBox" />
<TabIndex value="1" />
<Location value="164, 16" />
<Size value="60, 21" />
<FormattingEnabled value="True" />
<DropDownStyle value="DropDownList" />
</System.Windows.Forms.ComboBox>
<System.Windows.Forms.Label>
<Name value="suppressWarningsLabel" />
<Location value="6, 40" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.SuppressWarnings}" />
<Size value="154, 16" />
<TextAlign value="MiddleRight" />
<TabIndex value="2" />
</System.Windows.Forms.Label>
<System.Windows.Forms.TextBox>
<Name value="suppressWarningsTextBox" />
<TabIndex value="3" />
<Location value="164, 40" />
<Anchor value="Top, Left, Right" />
<Size value="333, 20" />
</System.Windows.Forms.TextBox>
</Controls>
</System.Windows.Forms.GroupBox>
<System.Windows.Forms.GroupBox>
<Name value="treatWarningsAsErrorsGroupBox" />
<Location value="3, 508" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.TreatWarningsAsErrors}" />
<Size value="504, 92" />
<Anchor value="Top, Left, Right" />
<TabIndex value="5" />
<Controls>
<System.Windows.Forms.RadioButton>
<Name value="noneRadioButton" />
<Location value="6, 20" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.TreatWarningsAsErrors.None}" />
<Size value="154, 21" />
<TabIndex value="0" />
</System.Windows.Forms.RadioButton>
<System.Windows.Forms.RadioButton>
<Name value="specificWarningsRadioButton" />
<Location value="6, 42" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.TreatWarningsAsErrors.Specific}" />
<Size value="154, 21" />
<TabIndex value="1" />
</System.Windows.Forms.RadioButton>
<System.Windows.Forms.RadioButton>
<Name value="allRadioButton" />
<Location value="6, 65" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.TreatWarningsAsErrors.All}" />
<Size value="154, 21" />
<TabIndex value="3" />
</System.Windows.Forms.RadioButton>
<System.Windows.Forms.TextBox>
<Name value="specificWarningsTextBox" />
<TabIndex value="2" />
<Location value="164, 42" />
<Anchor value="Top, Left, Right" />
<Size value="334, 20" />
</System.Windows.Forms.TextBox>
</Controls>
</System.Windows.Forms.GroupBox>
<System.Windows.Forms.GroupBox>
<Name value="generalGroupBox" />
<Location value="{X=3,Y=3}" />
<Location value="3, 3" />
<Text value="${res:Dialog.ProjectOptions.BuildOptions.General}" />
<Size value="504, 184" />
<Anchor value="Top, Left, Right" />
<Size value="{Width=504, Height=146}" />
<TabIndex value="0" />
<Controls>
<System.Windows.Forms.CheckBox>
<Name value="useStrictMode" />
<Location value="5, 116" />
<Text value="Strict Mode" />
<TabIndex value="10" />
<Size value="487, 21" />
<UseVisualStyleBackColor value="True" />
</System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox>
<Name value="checkForOverflowCheckBox" />
<Location value="5, 62" />
<Text value="${res:Dialog.ProjectOptions.BuildOptions.CheckForOverflow}" />
<TabIndex value="9" />
<Size value="487, 21" />
<UseCompatibleTextRendering value="True" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox>
<System.Windows.Forms.CheckBox>
<Name value="duckyCheckBox" />
<Location value="{X=6,Y=86}" />
<Location value="5, 98" />
<Text value="Use duck typing by default" />
<TabIndex value="8" />
<Size value="{Width=492, Height=24}" />
<Size value="487, 21" />
<UseVisualStyleBackColor value="True" />
</System.Windows.Forms.CheckBox>
<System.Windows.Forms.TextBox>
<Name value="pipelineTextBox" />
<TabIndex value="7" />
<Size value="{Width=386, Height=21}" />
<Location value="{X=112,Y=116}" />
<Location value="111, 149" />
<Anchor value="Top, Left, Right" />
<Size value="386, 20" />
</System.Windows.Forms.TextBox>
<System.Windows.Forms.Label>
<Name value="pipelineLabel" />
<Location value="{X=6,Y=116}" />
<Location value="5, 149" />
<Text value="Pipeline:" />
<Size value="100, 23" />
<TextAlign value="MiddleRight" />
<Size value="{Width=100, Height=23}" />
<TabIndex value="6" />
</System.Windows.Forms.Label>
<System.Windows.Forms.Label>
<Name value="conditionalSymbolsLabel" />
<Location value="{X=6,Y=16}" />
<Location value="6, 16" />
<Text value="${res:Dialog.ProjectOptions.BuildOptions.ConditionalSymbols}" />
<Anchor value="Top, Left, Right" />
<Size value="492, 16" />
<TextAlign value="BottomLeft" />
<Size value="{Width=492, Height=16}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="0" />
</System.Windows.Forms.Label>
<System.Windows.Forms.TextBox>
<Name value="conditionalSymbolsTextBox" />
<TabIndex value="1" />
<Size value="{Width=492, Height=21}" />
<Location value="{X=6,Y=36}" />
<Location value="6, 36" />
<Anchor value="Top, Left, Right" />
<Size value="492, 20" />
</System.Windows.Forms.TextBox>
<System.Windows.Forms.CheckBox>
<Name value="noCorlibCheckBox" />
<Location value="{X=6,Y=63}" />
<Location value="5, 80" />
<Text value="${res:Dialog.ProjectOptions.BuildOptions.NoCorlib}" />
<TabIndex value="5" />
<Size value="{Width=480, Height=21}" />
<Size value="487, 21" />
<Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox>
</Controls>
</System.Windows.Forms.GroupBox>
<System.Windows.Forms.GroupBox>
<Name value="outputGroupBox" />
<Location value="{X=3,Y=152}" />
<Location value="3, 193" />
<Text value="${res:Dialog.ProjectOptions.Build.Output}" />
<Size value="504, 239" />
<Anchor value="Top, Left, Right" />
<Size value="{Width=504, Height=226}" />
<TabIndex value="1" />
<Controls>
<System.Windows.Forms.Button>
<Name value="convertProjectToMSBuild35Button" />
<Location value="337, 93" />
<Text value="Convert project to MSBuild 3.5.." />
<UseVisualStyleBackColor value="True" />
<Size value="166, 23" />
<TabIndex value="12" />
</System.Windows.Forms.Button>
<System.Windows.Forms.Label>
<Name value="outputPathLabel" />
<Location value="{X=12,Y=17}" />
<Location value="12, 17" />
<Text value="${res:Dialog.ProjectOptions.Build.OutputPath}" />
<Anchor value="Top, Left, Right" />
<Size value="486, 16" />
<TextAlign value="BottomLeft" />
<Size value="{Width=486, Height=16}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="3" />
</System.Windows.Forms.Label>
<System.Windows.Forms.TextBox>
<Name value="outputPathTextBox" />
<TabIndex value="4" />
<Size value="{Width=448, Height=21}" />
<Location value="{X=12,Y=37}" />
<Location value="12, 37" />
<Anchor value="Top, Left, Right" />
<Size value="448, 20" />
</System.Windows.Forms.TextBox>
<System.Windows.Forms.Button>
<Name value="outputPathBrowseButton" />
<Location value="{X=463,Y=37}" />
<Location value="463, 37" />
<UseCompatibleTextRendering value="True" />
<Text value="..." />
<Size value="40, 21" />
<Anchor value="Top, Right" />
<Size value="{Width=40, Height=21}" />
<TabIndex value="5" />
</System.Windows.Forms.Button>
<System.Windows.Forms.CheckBox>
<Name value="xmlDocumentationCheckBox" />
<Visible value="False" />
<Location value="{X=12,Y=61}" />
<Location value="12, 61" />
<Text value="${res:Dialog.ProjectOptions.Build.XmlDocumentationFile}" />
<TabIndex value="6" />
<Size value="{Width=154, Height=21}" />
<Size value="154, 21" />
</System.Windows.Forms.CheckBox>
<System.Windows.Forms.TextBox>
<Name value="xmlDocumentationTextBox" />
<TabIndex value="7" />
<Size value="{Width=333, Height=21}" />
<Visible value="False" />
<Location value="{X=170,Y=61}" />
<TabIndex value="7" />
<Location value="170, 61" />
<Anchor value="Top, Left, Right" />
<Size value="333, 20" />
</System.Windows.Forms.TextBox>
<System.Windows.Forms.Label>
<Name value="debugInfoLabel" />
<Location value="{X=12,Y=85}" />
<Location value="12, 70" />
<Text value="${res:Dialog.ProjectOptions.Build.DebugInfo}" />
<Size value="154, 16" />
<TextAlign value="MiddleRight" />
<Size value="{Width=154, Height=16}" />
<TabIndex value="8" />
</System.Windows.Forms.Label>
<System.Windows.Forms.ComboBox>
<Name value="debugInfoComboBox" />
<Size value="{Width=140, Height=21}" />
<TabIndex value="9" />
<Location value="170, 70" />
<Size value="161, 21" />
<DropDownStyle value="DropDownList" />
</System.Windows.Forms.ComboBox>
<System.Windows.Forms.Label>
<Name value="targetFrameworkLabel" />
<Location value="12, 96" />
<UseCompatibleTextRendering value="True" />
<Text value="${res:Dialog.ProjectOptions.Build.TargetFramework}" />
<Size value="154, 16" />
<TextAlign value="MiddleRight" />
<TabIndex value="10" />
</System.Windows.Forms.Label>
<System.Windows.Forms.ComboBox>
<Name value="targetFrameworkComboBox" />
<TabIndex value="11" />
<Location value="170, 96" />
<Size value="161, 21" />
<DropDownStyle value="DropDownList" />
<Location value="{X=170,Y=85}" />
</System.Windows.Forms.ComboBox>
<System.Windows.Forms.GroupBox>
<Name value="advancedOutputGroupBox" />
<Location value="{X=6,Y=112}" />
<Location value="6, 128" />
<Text value="${res:Dialog.ProjectOptions.Build.Advanced}" />
<Size value="492, 105" />
<Anchor value="Top, Left, Right" />
<Size value="{Width=492, Height=105}" />
<TabIndex value="9" />
<Controls>
<System.Windows.Forms.Label>
<Name value="baseIntermediateOutputPathLabel" />
<Location value="{X=6,Y=17}" />
<Location value="6, 17" />
<Text value="${res:Dialog.ProjectOptions.Build.BaseIntermediateOutputPath}" />
<Anchor value="Top, Left, Right" />
<Size value="480, 16" />
<TextAlign value="BottomLeft" />
<Size value="{Width=480, Height=16}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="0" />
</System.Windows.Forms.Label>
<System.Windows.Forms.TextBox>
<Name value="baseIntermediateOutputPathTextBox" />
<TabIndex value="1" />
<Size value="{Width=429, Height=21}" />
<Location value="{X=6,Y=36}" />
<Location value="6, 36" />
<Anchor value="Top, Left, Right" />
<Size value="429, 20" />
</System.Windows.Forms.TextBox>
<System.Windows.Forms.Button>
<Name value="baseIntermediateOutputPathBrowseButton" />
<Location value="{X=446,Y=36}" />
<Location value="446, 36" />
<Text value="..." />
<Size value="40, 21" />
<Anchor value="Top, Right" />
<Size value="{Width=40, Height=21}" />
<TabIndex value="2" />
</System.Windows.Forms.Button>
<System.Windows.Forms.Label>
<Name value="intermediateOutputPathLabel" />
<Location value="{X=6,Y=60}" />
<Location value="6, 60" />
<Text value="${res:Dialog.ProjectOptions.Build.IntermediateOutputPath}" />
<Anchor value="Top, Left, Right" />
<Size value="480, 16" />
<TextAlign value="BottomLeft" />
<Size value="{Width=480, Height=16}" />
<Anchor value="Top, Left, Right" />
<TabIndex value="0" />
</System.Windows.Forms.Label>
<System.Windows.Forms.TextBox>
<Name value="intermediateOutputPathTextBox" />
<TabIndex value="1" />
<Size value="{Width=429, Height=21}" />
<Location value="{X=6,Y=76}" />
<Location value="6, 76" />
<Anchor value="Top, Left, Right" />
<Size value="429, 20" />
</System.Windows.Forms.TextBox>
<System.Windows.Forms.Button>
<Name value="intermediateOutputPathBrowseButton" />
<Location value="{X=446,Y=75}" />
<Location value="446, 75" />
<Text value="..." />
<Size value="40, 21" />
<Anchor value="Top, Right" />
<Size value="{Width=40, Height=21}" />
<TabIndex value="2" />
</System.Windows.Forms.Button>
</Controls>

12
src/AddIns/BackendBindings/Boo/BooBinding/Project/Src/BooProject.cs

@ -23,6 +23,7 @@ namespace Grunwald.BooBinding @@ -23,6 +23,7 @@ namespace Grunwald.BooBinding
void Init()
{
reparseCodeSensitiveProperties.Add("Ducky");
reparseReferencesSensitiveProperties.Add("TargetFrameworkVersion");
}
public override string Language {
@ -61,6 +62,17 @@ namespace Grunwald.BooBinding @@ -61,6 +62,17 @@ namespace Grunwald.BooBinding
this.AddImport("$(BooBinPath)\\Boo.Microsoft.Build.targets", null);
}
protected override void Create(ProjectCreateInformation information)
{
base.Create(information);
SetProperty("Debug", null, "DefineConstants", "DEBUG;TRACE",
PropertyStorageLocations.ConfigurationSpecific, false);
SetProperty("Release", null, "DefineConstants", "TRACE",
PropertyStorageLocations.ConfigurationSpecific, false);
SetProperty("Strict", "True");
}
void AddReference(string assembly)
{
foreach (ProjectItem item in this.Items) {

5
src/AddIns/BackendBindings/Boo/BooBinding/Project/Src/BuildOptions.cs

@ -21,6 +21,7 @@ namespace Grunwald.BooBinding @@ -21,6 +21,7 @@ namespace Grunwald.BooBinding
InitOutputPath();
//InitXmlDoc();
InitDebugInfo();
InitTargetFramework();
ConfigurationGuiBinding b;
b = helper.BindString("conditionalSymbolsTextBox", "DefineConstants", TextBoxEditMode.EditRawProperty);
@ -29,10 +30,12 @@ namespace Grunwald.BooBinding @@ -29,10 +30,12 @@ namespace Grunwald.BooBinding
helper.BindBoolean("noCorlibCheckBox", "NoStdLib", false).CreateLocationButton("noCorlibCheckBox");
helper.BindBoolean("duckyCheckBox", "Ducky", false).CreateLocationButton("duckyCheckBox");
helper.BindBoolean("checkForOverflowCheckBox", "CheckForOverflowUnderflow", true).CreateLocationButton("checkForOverflowCheckBox");
helper.BindBoolean("useStrictMode", "Strict", false).CreateLocationButton("useStrictMode");
helper.BindString("pipelineTextBox", "Pipeline", TextBoxEditMode.EditEvaluatedProperty).CreateLocationButton("pipelineLabel");
//InitWarnings();
InitWarnings();
//
InitBaseIntermediateOutputPath();

7
src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/ConsoleProject.xpt

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
<Category>Boo</Category>
<Icon>Boo.Project.EmptyProject</Icon>
<Description>${res:Templates.Project.ConsoleProject.Description}</Description>
<SupportedTargetFrameworks>v2.0</SupportedTargetFrameworks>
</TemplateConfiguration>
<!-- Actions -->
@ -14,13 +15,16 @@ @@ -14,13 +15,16 @@
<!-- Template Content -->
<Project language="Boo">
<CreateActions>
<RunCommand path = "/SharpDevelop/BackendBindings/TemplateCommands/AddDotNet35ReferencesIfTargetFrameworkIs35"/>
</CreateActions>
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ProjectItems>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Boo.Lang.Useful" />
</ProjectItems>
@ -28,7 +32,6 @@ @@ -28,7 +32,6 @@
<File name="Program.boo"><![CDATA[namespace ${StandardNamespace}
import System
import System.Collections
print "Hello, World!"

1
src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/DefaultAssemblyInfo.boo

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
import System.Reflection
import System.Runtime.CompilerServices
import System.Runtime.InteropServices
// General Information about an assembly is controlled through the following

2
src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/EmptyClass.xft

@ -27,7 +27,7 @@ import System @@ -27,7 +27,7 @@ import System
class ${ClassName}:
"""Description of ${ClassName}"""
def constructor():
public def constructor():
pass
]]></File>

6
src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/Form.xft

@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
partial class ${ClassName}(System.Windows.Forms.Form):
private components as System.ComponentModel.IContainer = null
protected override def Dispose(disposing as bool):
protected override def Dispose(disposing as bool) as void:
if disposing:
if components is not null:
components.Dispose()
@ -36,7 +36,7 @@ partial class ${ClassName}(System.Windows.Forms.Form): @@ -36,7 +36,7 @@ partial class ${ClassName}(System.Windows.Forms.Form):
// This method is required for Windows Forms designer support.
// Do not change the method contents inside the source code editor. The Forms designer might
// not be able to load this method if it was changed manually.
def InitializeComponent():
private def InitializeComponent():
// ${ClassName}
self.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
self.Text = '${ClassName}'
@ -52,7 +52,7 @@ import System.Windows.Forms @@ -52,7 +52,7 @@ import System.Windows.Forms
partial class ${ClassName}:
"""Description of ${ClassName}."""
def constructor():
public def constructor():
// The InitializeComponent() call is required for Windows Forms designer support.
InitializeComponent()
// TODO: Add constructor code after the InitializeComponent() call.

14
src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/FormsProject.xpt

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
<Category>Boo</Category>
<Icon>Boo.Project.Form</Icon>
<Description>${res:Templates.Project.WindowsApplication.Description}</Description>
<SupportedTargetFrameworks>v2.0</SupportedTargetFrameworks>
</TemplateConfiguration>
<Actions>
@ -12,6 +13,10 @@ @@ -12,6 +13,10 @@
</Actions>
<Project language = "Boo">
<CreateActions>
<RunCommand path = "/SharpDevelop/BackendBindings/TemplateCommands/AddDotNet35ReferencesIfTargetFrameworkIs35"/>
</CreateActions>
<PropertyGroup>
<OutputType>WinExe</OutputType>
</PropertyGroup>
@ -20,7 +25,6 @@ @@ -20,7 +25,6 @@
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Boo.Lang.Useful" />
</ProjectItems>
@ -33,13 +37,13 @@ import System.Drawing @@ -33,13 +37,13 @@ import System.Drawing
import System.Windows.Forms
partial class MainForm:
def constructor():
public def constructor():
// The InitializeComponent() call is required for Windows Forms designer support.
InitializeComponent()
// TODO: Add constructor code after the InitializeComponent() call.
[STAThread]
def Main(argv as (string)):
public def Main(argv as (string)) as void:
Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(false)
Application.Run(MainForm())
@ -50,7 +54,7 @@ def Main(argv as (string)): @@ -50,7 +54,7 @@ def Main(argv as (string)):
partial class MainForm(System.Windows.Forms.Form):
private components as System.ComponentModel.IContainer = null
protected override def Dispose(disposing as bool):
protected override def Dispose(disposing as bool) as void:
if disposing:
if components is not null:
components.Dispose()
@ -59,7 +63,7 @@ partial class MainForm(System.Windows.Forms.Form): @@ -59,7 +63,7 @@ partial class MainForm(System.Windows.Forms.Form):
// This method is required for Windows Forms designer support.
// Do not change the method contents inside the source code editor. The Forms designer might
// not be able to load this method if it was changed manually.
def InitializeComponent():
private def InitializeComponent():
// MainForm
self.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
self.Text = 'MainForm'

9
src/AddIns/BackendBindings/Boo/BooBinding/Project/Templates/Library.xpt

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
<Category>Boo</Category>
<Icon>Boo.Project.EmptyProject</Icon>
<Description>${res:Templates.Project.ClassLibrary.Description}</Description>
<SupportedTargetFrameworks>v2.0</SupportedTargetFrameworks>
</TemplateConfiguration>
<Actions>
@ -12,12 +13,15 @@ @@ -12,12 +13,15 @@
</Actions>
<Project language = "Boo">
<CreateActions>
<RunCommand path = "/SharpDevelop/BackendBindings/TemplateCommands/AddDotNet35ReferencesIfTargetFrameworkIs35"/>
</CreateActions>
<PropertyGroup>
<OutputType>Library</OutputType>
</PropertyGroup>
<ProjectItems>
<Reference Include="System.Xml" />
<Reference Include="Boo.Lang.Useful" />
</ProjectItems>
@ -25,12 +29,11 @@ @@ -25,12 +29,11 @@
<File name="MyClass.boo"><![CDATA[namespace ${StandardNamespace}
import System
import System.Collections
class MyClass:
"""Description of MyClass."""
def constructor():
public def constructor():
pass
]]></File>

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.CodeDom.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Compiler.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Extensions.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Interpreter.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Parser.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.PatternMatching.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.Useful.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Lang.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Microsoft.Build.Tasks.dll

Binary file not shown.

37
src/AddIns/BackendBindings/Boo/RequiredLibraries/Boo.Microsoft.Build.targets

@ -218,28 +218,35 @@ @@ -218,28 +218,35 @@
>
<Booc
CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
Culture="$(AssemblyCulture)"
DefineSymbols="$(DefineConstants)"
DelaySign="$(DelaySign)"
DisabledWarnings="$(NoWarn)"
Ducky="$(Ducky)"
EmitDebugInformation="$(DebugSymbols)"
GenerateFullPaths="$(GenerateFullPaths)"
KeyContainer="$(AssemblyKeyContainerName)"
KeyFile="$(AssemblyOriginatorKeyFile)"
NoConfig="$(NoConfig)"
NoStandardLib="$(NoStdLib)"
OutputAssembly="@(IntermediateAssembly)"
Pipeline="$(Pipeline)"
References="@(ReferencePath)"
Resources= "@(ManifestResourceWithNoCulture);
@(ManifestNonResxWithNoCultureOnDisk);
@(CompiledLicenseFile)"
Resources="@(ManifestResourceWithNoCulture);
@(ManifestNonResxWithNoCultureOnDisk);
@(CompiledLicenseFile)"
ResponseFiles="$(CompilerResponseFile)"
SourceDirectory="$(SourceDirectory)"
Sources="@(Compile)"
Strict="$(Strict)"
TargetType="$(OutputType)"
ToolPath="$(BoocToolPath)"
Pipeline="$(Pipeline)"
WhiteSpaceAgnostic="$(WhiteSpaceAgnostic)"
Ducky="$(Ducky)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
Utf8Output="$(Utf8Output)"
Verbosity="$(BoocVerbosity)"
Culture="$(AssemblyCulture)"
SourceDirectory="$(SourceDirectory)"
KeyFile="$(AssemblyOriginatorKeyFile)"
KeyContainer="$(AssemblyKeyContainerName)"
EmitDebugInformation="$(DebugSymbols)"
DelaySign="$(DelaySign)"
NoStandardLib="$(NoStdLib)"
DefineSymbols="$(DefineConstants)"
GenerateFullPaths="$(GenerateFullPaths)"
WarningsAsErrors="$(WarningsAsErrors)"
WhiteSpaceAgnostic="$(WhiteSpaceAgnostic)"
/>
<Copy

BIN
src/AddIns/BackendBindings/Boo/RequiredLibraries/booc.exe

Binary file not shown.
Loading…
Cancel
Save