Skip to content

Commit

Permalink
final refactoring before 1.0 release; removed SL version, other refac…
Browse files Browse the repository at this point in the history
…torings and cleanup
  • Loading branch information
rivantsov committed Feb 23, 2019
1 parent 01f31e4 commit f149c03
Show file tree
Hide file tree
Showing 63 changed files with 2,483 additions and 2,781 deletions.
14 changes: 5 additions & 9 deletions Irony.GrammarExplorer/030.Irony.GrammarExplorer.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -15,7 +15,7 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<SccProjectName>
</SccProjectName>
<SccLocalPath>
Expand Down Expand Up @@ -63,9 +63,6 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="FastColoredTextBox, Version=2.16.21.0, Culture=neutral, PublicKeyToken=fb8aa12b994ef61b, processorArchitecture=MSIL">
<HintPath>..\packages\FCTB.2.16.21.0\lib\FastColoredTextBox.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
Expand Down Expand Up @@ -111,7 +108,6 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand All @@ -125,15 +121,15 @@
<ItemGroup>
<ProjectReference Include="..\Irony.Interpreter\015.Irony.Interpreter.csproj">
<Project>{321A7F5D-00C2-4095-9970-075CDEE8C139}</Project>
<Name>015.Irony.Interpreter.2012</Name>
<Name>015.Irony.Interpreter</Name>
</ProjectReference>
<ProjectReference Include="..\Irony.WinForms\035.Irony.WinForms.csproj">
<Project>{70D319F3-3C0C-4EB5-A271-58ED22FB3070}</Project>
<Name>035.Irony.WinForms.2010</Name>
<Name>035.Irony.WinForms</Name>
</ProjectReference>
<ProjectReference Include="..\Irony\010.Irony.csproj">
<Project>{D81F5C91-D7DB-46E5-BC99-49488FB6814C}</Project>
<Name>010.Irony.2012</Name>
<Name>010.Irony</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Irony.GrammarExplorer/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Irony.GrammarExplorer/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Irony.GrammarExplorer/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
</setting>
</Irony.GrammarExplorer.Properties.Settings>
</userSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
4 changes: 0 additions & 4 deletions Irony.GrammarExplorer/packages.config

This file was deleted.

8 changes: 1 addition & 7 deletions Irony.Interpreter/015.Irony.Interpreter.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>sl5;net40;net45;netstandard2.0</TargetFrameworks>
<TargetFrameworks>net40;netstandard2.0</TargetFrameworks>
<RootNamespace>Irony.Interpreter</RootNamespace>
<AssemblyName>Irony.Interpreter</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand All @@ -13,10 +13,4 @@
<ProjectReference Include="..\Irony\010.Irony.csproj" />
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'sl5' ">
<DefineConstants>$(DefineConstants);SILVERLIGHT</DefineConstants>
<TargetFrameworkIdentifier>.NETFramework</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion Irony.Samples.Console/025.Irony.Samples.Console.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.0</TargetFrameworks>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RootNamespace>Irony.Samples.Console</RootNamespace>
<AssemblyName>Irony.Samples.Console</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion Irony.Samples/020.Irony.Samples.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>Irony.Samples</RootNamespace>
<AssemblyName>Irony.Samples</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand Down
2 changes: 1 addition & 1 deletion Irony.Samples/Clarion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ClarionGrammar() : base(false) { //case insensitive
label.ValidateToken += label_ValidateToken;
label.Priority = TerminalPriority.High;
//Clarion uses suffixes for identifying number base (bin, octal, hex) - unlike Irony's NumberLiteral which supports suffixes.
// We treat all numbers as hexadecimal with optional prefixes that don't mean anything. We "fix" the value in ValidateToken handler
// We treat all numbers as hexadecimal with optional sufffixes that don't mean anything. We "fix" the value in ValidateToken handler
var number = new NumberLiteral("number");
number.Options = NumberOptions.Hex | NumberOptions.DisableQuickParse;
number.AddSuffix("b", TypeCode.Int64);
Expand Down
11 changes: 5 additions & 6 deletions Irony.Tests/040.Irony.Tests.VsTest.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Irony.Tests</RootNamespace>
<AssemblyName>Irony.Tests.VSTest</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SccProjectName>
Expand Down Expand Up @@ -80,7 +80,6 @@
<Compile Include="DataLiteralsTests.cs" />
<Compile Include="EvaluatorTests.cs" />
<Compile Include="TokenPreviewResolution\ConflictGrammars.cs" />
<None Include="_newArchTests.cs" />
<None Include="HeredocTerminalTests.cs" />
<Compile Include="LineContinuationTests.cs" />
<Compile Include="RegexLiteralTests.cs" />
Expand All @@ -94,15 +93,15 @@
<ItemGroup>
<ProjectReference Include="..\Irony.Interpreter\015.Irony.Interpreter.csproj">
<Project>{321A7F5D-00C2-4095-9970-075CDEE8C139}</Project>
<Name>015.Irony.Interpreter.2012</Name>
<Name>015.Irony.Interpreter</Name>
</ProjectReference>
<ProjectReference Include="..\Irony.Samples\020.Irony.Samples.csproj">
<Project>{AD263C0B-99D3-40A9-9DBF-9086CC524A0B}</Project>
<Name>020.Irony.Samples.2012</Name>
<Name>020.Irony.Samples</Name>
</ProjectReference>
<ProjectReference Include="..\Irony\010.Irony.csproj">
<Project>{D81F5C91-D7DB-46E5-BC99-49488FB6814C}</Project>
<Name>010.Irony.2012</Name>
<Name>010.Irony</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
Expand Down
24 changes: 9 additions & 15 deletions Irony.Tests/050.Irony.Tests.NUnit.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.10.1\build\NUnit.props')" />
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\NUnit.3.11.0\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.11.0\build\NUnit.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -11,7 +11,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Irony.Tests</RootNamespace>
<AssemblyName>Irony.Tests.NUnit</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
Expand Down Expand Up @@ -66,19 +66,13 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=3.10.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\packages\NUnit.3.10.1\lib\net45\nunit.framework.dll</HintPath>
<Reference Include="nunit.framework, Version=3.11.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
Expand Down Expand Up @@ -107,15 +101,15 @@
<ItemGroup>
<ProjectReference Include="..\Irony.Interpreter\015.Irony.Interpreter.csproj">
<Project>{321A7F5D-00C2-4095-9970-075CDEE8C139}</Project>
<Name>015.Irony.Interpreter.2012</Name>
<Name>015.Irony.Interpreter</Name>
</ProjectReference>
<ProjectReference Include="..\Irony.Samples\020.Irony.Samples.csproj">
<Project>{AD263C0B-99D3-40A9-9DBF-9086CC524A0B}</Project>
<Name>020.Irony.Samples.2012</Name>
<Name>020.Irony.Samples</Name>
</ProjectReference>
<ProjectReference Include="..\Irony\010.Irony.csproj">
<Project>{D81F5C91-D7DB-46E5-BC99-49488FB6814C}</Project>
<Name>010.Irony.2012</Name>
<Name>010.Irony</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -143,7 +137,7 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\NUnit.3.10.1\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.10.1\build\NUnit.props'))" />
<Error Condition="!Exists('..\packages\NUnit.3.11.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.11.0\build\NUnit.props'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
35 changes: 0 additions & 35 deletions Irony.Tests/_newArchTests.cs

This file was deleted.

2 changes: 1 addition & 1 deletion Irony.Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="3.10.1" targetFramework="net45" />
<package id="NUnit" version="3.11.0" targetFramework="net462" />
</packages>
12 changes: 5 additions & 7 deletions Irony.WinForms/035.Irony.WinForms.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Irony.WinForms</RootNamespace>
<AssemblyName>Irony.WinForms</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
Expand Down Expand Up @@ -89,15 +89,16 @@
<ItemGroup>
<None Include="FastColoredTextBox\AboutFastColoredTextBox.txt" />
<Content Include="Highlighter\AboutCodeHighlighter.txt" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Irony.Interpreter\015.Irony.Interpreter.csproj">
<Project>{321A7F5D-00C2-4095-9970-075CDEE8C139}</Project>
<Name>015.Irony.Interpreter.2010</Name>
<Name>015.Irony.Interpreter</Name>
</ProjectReference>
<ProjectReference Include="..\Irony\010.Irony.csproj">
<Project>{D81F5C91-D7DB-46E5-BC99-49488FB6814C}</Project>
<Name>010.Irony.2010</Name>
<Name>010.Irony</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
Expand All @@ -114,9 +115,6 @@
<DependentUpon>IronyTextBoxBase.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
2 changes: 1 addition & 1 deletion Irony.WinForms/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FCTB" version="2.16.21.0" targetFramework="net45" />
<package id="FCTB" version="2.16.21.0" targetFramework="net462" />
</packages>
Loading

0 comments on commit f149c03

Please sign in to comment.