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 @@
<Components version="1.0"> <Components version="1.0">
<System.Windows.Forms.UserControl> <System.Windows.Forms.UserControl>
<Name value="booBuildOptionsPanel" /> <Name value="booBuildOptionsPanel" />
<ClientSize value="{Width=510, Height=396}" /> <ClientSize value="{Width=510, Height=607}" />
<AutoScroll value="True" /> <AutoScroll value="True" />
<Controls> <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> <System.Windows.Forms.GroupBox>
<Name value="generalGroupBox" /> <Name value="generalGroupBox" />
<Location value="{X=3,Y=3}" /> <Location value="3, 3" />
<Text value="${res:Dialog.ProjectOptions.BuildOptions.General}" /> <Text value="${res:Dialog.ProjectOptions.BuildOptions.General}" />
<Size value="504, 184" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="{Width=504, Height=146}" />
<TabIndex value="0" /> <TabIndex value="0" />
<Controls> <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> <System.Windows.Forms.CheckBox>
<Name value="duckyCheckBox" /> <Name value="duckyCheckBox" />
<Location value="{X=6,Y=86}" /> <Location value="5, 98" />
<Text value="Use duck typing by default" /> <Text value="Use duck typing by default" />
<TabIndex value="8" /> <TabIndex value="8" />
<Size value="{Width=492, Height=24}" /> <Size value="487, 21" />
<UseVisualStyleBackColor value="True" /> <UseVisualStyleBackColor value="True" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.TextBox> <System.Windows.Forms.TextBox>
<Name value="pipelineTextBox" /> <Name value="pipelineTextBox" />
<TabIndex value="7" /> <TabIndex value="7" />
<Size value="{Width=386, Height=21}" /> <Location value="111, 149" />
<Location value="{X=112,Y=116}" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="386, 20" />
</System.Windows.Forms.TextBox> </System.Windows.Forms.TextBox>
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="pipelineLabel" /> <Name value="pipelineLabel" />
<Location value="{X=6,Y=116}" /> <Location value="5, 149" />
<Text value="Pipeline:" /> <Text value="Pipeline:" />
<Size value="100, 23" />
<TextAlign value="MiddleRight" /> <TextAlign value="MiddleRight" />
<Size value="{Width=100, Height=23}" />
<TabIndex value="6" /> <TabIndex value="6" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="conditionalSymbolsLabel" /> <Name value="conditionalSymbolsLabel" />
<Location value="{X=6,Y=16}" /> <Location value="6, 16" />
<Text value="${res:Dialog.ProjectOptions.BuildOptions.ConditionalSymbols}" /> <Text value="${res:Dialog.ProjectOptions.BuildOptions.ConditionalSymbols}" />
<Anchor value="Top, Left, Right" /> <Size value="492, 16" />
<TextAlign value="BottomLeft" /> <TextAlign value="BottomLeft" />
<Size value="{Width=492, Height=16}" /> <Anchor value="Top, Left, Right" />
<TabIndex value="0" /> <TabIndex value="0" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
<System.Windows.Forms.TextBox> <System.Windows.Forms.TextBox>
<Name value="conditionalSymbolsTextBox" /> <Name value="conditionalSymbolsTextBox" />
<TabIndex value="1" /> <TabIndex value="1" />
<Size value="{Width=492, Height=21}" /> <Location value="6, 36" />
<Location value="{X=6,Y=36}" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="492, 20" />
</System.Windows.Forms.TextBox> </System.Windows.Forms.TextBox>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="noCorlibCheckBox" /> <Name value="noCorlibCheckBox" />
<Location value="{X=6,Y=63}" /> <Location value="5, 80" />
<Text value="${res:Dialog.ProjectOptions.BuildOptions.NoCorlib}" /> <Text value="${res:Dialog.ProjectOptions.BuildOptions.NoCorlib}" />
<TabIndex value="5" /> <TabIndex value="5" />
<Size value="{Width=480, Height=21}" /> <Size value="487, 21" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
</Controls> </Controls>
</System.Windows.Forms.GroupBox> </System.Windows.Forms.GroupBox>
<System.Windows.Forms.GroupBox> <System.Windows.Forms.GroupBox>
<Name value="outputGroupBox" /> <Name value="outputGroupBox" />
<Location value="{X=3,Y=152}" /> <Location value="3, 193" />
<Text value="${res:Dialog.ProjectOptions.Build.Output}" /> <Text value="${res:Dialog.ProjectOptions.Build.Output}" />
<Size value="504, 239" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="{Width=504, Height=226}" />
<TabIndex value="1" /> <TabIndex value="1" />
<Controls> <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> <System.Windows.Forms.Label>
<Name value="outputPathLabel" /> <Name value="outputPathLabel" />
<Location value="{X=12,Y=17}" /> <Location value="12, 17" />
<Text value="${res:Dialog.ProjectOptions.Build.OutputPath}" /> <Text value="${res:Dialog.ProjectOptions.Build.OutputPath}" />
<Anchor value="Top, Left, Right" /> <Size value="486, 16" />
<TextAlign value="BottomLeft" /> <TextAlign value="BottomLeft" />
<Size value="{Width=486, Height=16}" /> <Anchor value="Top, Left, Right" />
<TabIndex value="3" /> <TabIndex value="3" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
<System.Windows.Forms.TextBox> <System.Windows.Forms.TextBox>
<Name value="outputPathTextBox" /> <Name value="outputPathTextBox" />
<TabIndex value="4" /> <TabIndex value="4" />
<Size value="{Width=448, Height=21}" /> <Location value="12, 37" />
<Location value="{X=12,Y=37}" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="448, 20" />
</System.Windows.Forms.TextBox> </System.Windows.Forms.TextBox>
<System.Windows.Forms.Button> <System.Windows.Forms.Button>
<Name value="outputPathBrowseButton" /> <Name value="outputPathBrowseButton" />
<Location value="{X=463,Y=37}" /> <Location value="463, 37" />
<UseCompatibleTextRendering value="True" /> <UseCompatibleTextRendering value="True" />
<Text value="..." /> <Text value="..." />
<Size value="40, 21" />
<Anchor value="Top, Right" /> <Anchor value="Top, Right" />
<Size value="{Width=40, Height=21}" />
<TabIndex value="5" /> <TabIndex value="5" />
</System.Windows.Forms.Button> </System.Windows.Forms.Button>
<System.Windows.Forms.CheckBox> <System.Windows.Forms.CheckBox>
<Name value="xmlDocumentationCheckBox" /> <Name value="xmlDocumentationCheckBox" />
<Visible value="False" /> <Visible value="False" />
<Location value="{X=12,Y=61}" /> <Location value="12, 61" />
<Text value="${res:Dialog.ProjectOptions.Build.XmlDocumentationFile}" /> <Text value="${res:Dialog.ProjectOptions.Build.XmlDocumentationFile}" />
<TabIndex value="6" /> <TabIndex value="6" />
<Size value="{Width=154, Height=21}" /> <Size value="154, 21" />
</System.Windows.Forms.CheckBox> </System.Windows.Forms.CheckBox>
<System.Windows.Forms.TextBox> <System.Windows.Forms.TextBox>
<Name value="xmlDocumentationTextBox" /> <Name value="xmlDocumentationTextBox" />
<TabIndex value="7" />
<Size value="{Width=333, Height=21}" />
<Visible value="False" /> <Visible value="False" />
<Location value="{X=170,Y=61}" /> <TabIndex value="7" />
<Location value="170, 61" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="333, 20" />
</System.Windows.Forms.TextBox> </System.Windows.Forms.TextBox>
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="debugInfoLabel" /> <Name value="debugInfoLabel" />
<Location value="{X=12,Y=85}" /> <Location value="12, 70" />
<Text value="${res:Dialog.ProjectOptions.Build.DebugInfo}" /> <Text value="${res:Dialog.ProjectOptions.Build.DebugInfo}" />
<Size value="154, 16" />
<TextAlign value="MiddleRight" /> <TextAlign value="MiddleRight" />
<Size value="{Width=154, Height=16}" />
<TabIndex value="8" /> <TabIndex value="8" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
<System.Windows.Forms.ComboBox> <System.Windows.Forms.ComboBox>
<Name value="debugInfoComboBox" /> <Name value="debugInfoComboBox" />
<Size value="{Width=140, Height=21}" />
<TabIndex value="9" /> <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" /> <DropDownStyle value="DropDownList" />
<Location value="{X=170,Y=85}" />
</System.Windows.Forms.ComboBox> </System.Windows.Forms.ComboBox>
<System.Windows.Forms.GroupBox> <System.Windows.Forms.GroupBox>
<Name value="advancedOutputGroupBox" /> <Name value="advancedOutputGroupBox" />
<Location value="{X=6,Y=112}" /> <Location value="6, 128" />
<Text value="${res:Dialog.ProjectOptions.Build.Advanced}" /> <Text value="${res:Dialog.ProjectOptions.Build.Advanced}" />
<Size value="492, 105" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="{Width=492, Height=105}" />
<TabIndex value="9" /> <TabIndex value="9" />
<Controls> <Controls>
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="baseIntermediateOutputPathLabel" /> <Name value="baseIntermediateOutputPathLabel" />
<Location value="{X=6,Y=17}" /> <Location value="6, 17" />
<Text value="${res:Dialog.ProjectOptions.Build.BaseIntermediateOutputPath}" /> <Text value="${res:Dialog.ProjectOptions.Build.BaseIntermediateOutputPath}" />
<Anchor value="Top, Left, Right" /> <Size value="480, 16" />
<TextAlign value="BottomLeft" /> <TextAlign value="BottomLeft" />
<Size value="{Width=480, Height=16}" /> <Anchor value="Top, Left, Right" />
<TabIndex value="0" /> <TabIndex value="0" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
<System.Windows.Forms.TextBox> <System.Windows.Forms.TextBox>
<Name value="baseIntermediateOutputPathTextBox" /> <Name value="baseIntermediateOutputPathTextBox" />
<TabIndex value="1" /> <TabIndex value="1" />
<Size value="{Width=429, Height=21}" /> <Location value="6, 36" />
<Location value="{X=6,Y=36}" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="429, 20" />
</System.Windows.Forms.TextBox> </System.Windows.Forms.TextBox>
<System.Windows.Forms.Button> <System.Windows.Forms.Button>
<Name value="baseIntermediateOutputPathBrowseButton" /> <Name value="baseIntermediateOutputPathBrowseButton" />
<Location value="{X=446,Y=36}" /> <Location value="446, 36" />
<Text value="..." /> <Text value="..." />
<Size value="40, 21" />
<Anchor value="Top, Right" /> <Anchor value="Top, Right" />
<Size value="{Width=40, Height=21}" />
<TabIndex value="2" /> <TabIndex value="2" />
</System.Windows.Forms.Button> </System.Windows.Forms.Button>
<System.Windows.Forms.Label> <System.Windows.Forms.Label>
<Name value="intermediateOutputPathLabel" /> <Name value="intermediateOutputPathLabel" />
<Location value="{X=6,Y=60}" /> <Location value="6, 60" />
<Text value="${res:Dialog.ProjectOptions.Build.IntermediateOutputPath}" /> <Text value="${res:Dialog.ProjectOptions.Build.IntermediateOutputPath}" />
<Anchor value="Top, Left, Right" /> <Size value="480, 16" />
<TextAlign value="BottomLeft" /> <TextAlign value="BottomLeft" />
<Size value="{Width=480, Height=16}" /> <Anchor value="Top, Left, Right" />
<TabIndex value="0" /> <TabIndex value="0" />
</System.Windows.Forms.Label> </System.Windows.Forms.Label>
<System.Windows.Forms.TextBox> <System.Windows.Forms.TextBox>
<Name value="intermediateOutputPathTextBox" /> <Name value="intermediateOutputPathTextBox" />
<TabIndex value="1" /> <TabIndex value="1" />
<Size value="{Width=429, Height=21}" /> <Location value="6, 76" />
<Location value="{X=6,Y=76}" />
<Anchor value="Top, Left, Right" /> <Anchor value="Top, Left, Right" />
<Size value="429, 20" />
</System.Windows.Forms.TextBox> </System.Windows.Forms.TextBox>
<System.Windows.Forms.Button> <System.Windows.Forms.Button>
<Name value="intermediateOutputPathBrowseButton" /> <Name value="intermediateOutputPathBrowseButton" />
<Location value="{X=446,Y=75}" /> <Location value="446, 75" />
<Text value="..." /> <Text value="..." />
<Size value="40, 21" />
<Anchor value="Top, Right" /> <Anchor value="Top, Right" />
<Size value="{Width=40, Height=21}" />
<TabIndex value="2" /> <TabIndex value="2" />
</System.Windows.Forms.Button> </System.Windows.Forms.Button>
</Controls> </Controls>

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

@ -23,6 +23,7 @@ namespace Grunwald.BooBinding
void Init() void Init()
{ {
reparseCodeSensitiveProperties.Add("Ducky"); reparseCodeSensitiveProperties.Add("Ducky");
reparseReferencesSensitiveProperties.Add("TargetFrameworkVersion");
} }
public override string Language { public override string Language {
@ -61,6 +62,17 @@ namespace Grunwald.BooBinding
this.AddImport("$(BooBinPath)\\Boo.Microsoft.Build.targets", null); 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) void AddReference(string assembly)
{ {
foreach (ProjectItem item in this.Items) { foreach (ProjectItem item in this.Items) {

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

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

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

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

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

@ -1,5 +1,4 @@
import System.Reflection import System.Reflection
import System.Runtime.CompilerServices
import System.Runtime.InteropServices import System.Runtime.InteropServices
// General Information about an assembly is controlled through the following // 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
class ${ClassName}: class ${ClassName}:
"""Description of ${ClassName}""" """Description of ${ClassName}"""
def constructor(): public def constructor():
pass pass
]]></File> ]]></File>

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

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

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

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

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

@ -5,6 +5,7 @@
<Category>Boo</Category> <Category>Boo</Category>
<Icon>Boo.Project.EmptyProject</Icon> <Icon>Boo.Project.EmptyProject</Icon>
<Description>${res:Templates.Project.ClassLibrary.Description}</Description> <Description>${res:Templates.Project.ClassLibrary.Description}</Description>
<SupportedTargetFrameworks>v2.0</SupportedTargetFrameworks>
</TemplateConfiguration> </TemplateConfiguration>
<Actions> <Actions>
@ -12,12 +13,15 @@
</Actions> </Actions>
<Project language = "Boo"> <Project language = "Boo">
<CreateActions>
<RunCommand path = "/SharpDevelop/BackendBindings/TemplateCommands/AddDotNet35ReferencesIfTargetFrameworkIs35"/>
</CreateActions>
<PropertyGroup> <PropertyGroup>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
</PropertyGroup> </PropertyGroup>
<ProjectItems> <ProjectItems>
<Reference Include="System.Xml" />
<Reference Include="Boo.Lang.Useful" /> <Reference Include="Boo.Lang.Useful" />
</ProjectItems> </ProjectItems>
@ -25,12 +29,11 @@
<File name="MyClass.boo"><![CDATA[namespace ${StandardNamespace} <File name="MyClass.boo"><![CDATA[namespace ${StandardNamespace}
import System import System
import System.Collections
class MyClass: class MyClass:
"""Description of MyClass.""" """Description of MyClass."""
def constructor(): public def constructor():
pass pass
]]></File> ]]></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 @@
> >
<Booc <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)" OutputAssembly="@(IntermediateAssembly)"
Pipeline="$(Pipeline)"
References="@(ReferencePath)" References="@(ReferencePath)"
Resources= "@(ManifestResourceWithNoCulture); Resources="@(ManifestResourceWithNoCulture);
@(ManifestNonResxWithNoCultureOnDisk); @(ManifestNonResxWithNoCultureOnDisk);
@(CompiledLicenseFile)" @(CompiledLicenseFile)"
ResponseFiles="$(CompilerResponseFile)" ResponseFiles="$(CompilerResponseFile)"
SourceDirectory="$(SourceDirectory)"
Sources="@(Compile)" Sources="@(Compile)"
Strict="$(Strict)"
TargetType="$(OutputType)" TargetType="$(OutputType)"
ToolPath="$(BoocToolPath)" ToolPath="$(BoocToolPath)"
Pipeline="$(Pipeline)" TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
WhiteSpaceAgnostic="$(WhiteSpaceAgnostic)" Utf8Output="$(Utf8Output)"
Ducky="$(Ducky)"
Verbosity="$(BoocVerbosity)" Verbosity="$(BoocVerbosity)"
Culture="$(AssemblyCulture)" WarningsAsErrors="$(WarningsAsErrors)"
SourceDirectory="$(SourceDirectory)" WhiteSpaceAgnostic="$(WhiteSpaceAgnostic)"
KeyFile="$(AssemblyOriginatorKeyFile)"
KeyContainer="$(AssemblyKeyContainerName)"
EmitDebugInformation="$(DebugSymbols)"
DelaySign="$(DelaySign)"
NoStandardLib="$(NoStdLib)"
DefineSymbols="$(DefineConstants)"
GenerateFullPaths="$(GenerateFullPaths)"
/> />
<Copy <Copy

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

Binary file not shown.
Loading…
Cancel
Save