Skip to content

Commit

Permalink
modifications for mono support
Browse files Browse the repository at this point in the history
  • Loading branch information
kolosy committed May 25, 2010
1 parent 4c38102 commit 0c9ca62
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 19 deletions.
29 changes: 14 additions & 15 deletions src/LoveSeat.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -32,18 +32,6 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Divan, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\Divan.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SyntaxHighlightingTextBox, Version=1.0.3693.26343, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\SyntaxHighlightingTextBox.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
Expand All @@ -55,10 +43,21 @@
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Divan, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\Divan.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SyntaxHighlightingTextBox, Version=1.0.3693.26343, Culture=neutral, PublicKeyToken=null">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\SyntaxHighlightingTextBox.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="dlgName.cs">
Expand Down Expand Up @@ -119,7 +118,7 @@
<ItemGroup>
<Content Include="Magenta Seat.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildBinPath)\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.
<Target Name="BeforeBuild">
Expand Down
Binary file added src/LoveSeat.pidb
Binary file not shown.
Binary file added src/Properties/Resources.resources
Binary file not shown.
Binary file added src/dlgName.resources
Binary file not shown.
Binary file added src/frmAbout.resources
Binary file not shown.
2 changes: 1 addition & 1 deletion src/frmMain.Designer.cs

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

8 changes: 5 additions & 3 deletions src/frmMain.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* Copyright 2010 Alex Pedenko
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -44,8 +44,8 @@ class Settings
readonly Dictionary<string, string> templates = new Dictionary<string, string>
{
{ "map", "function (doc) {\r\n\t\r\n}" },
{ "reduce", @"function (keys, values, rereduce) {\r\n\t\r\n}" },
{ "fti", @"function (doc) {\r\n\tvar ret = new Document();\r\n\r\n\treturn ret;\r\n}" },
{ "reduce", "function (keys, values, rereduce) {\r\n\t\r\n}" },
{ "fti", "function (doc) {\r\n\tvar ret = new Document();\r\n\r\n\treturn ret;\r\n}" },
{ "show", "function (doc, req) {\r\n\t\r\n}" },
{ "list", "function (head, req) {\r\n\t\r\n}" }
};
Expand Down Expand Up @@ -73,6 +73,8 @@ public FrmMain()
// current highlighting editor implementation doesn't play nice with mono
if (!runningOnMono)
ConfigureHighlightingEditor();
else
this.Icon = null;
}

/// <summary>
Expand Down
Binary file added src/frmMain.resources
Binary file not shown.

0 comments on commit 0c9ca62

Please sign in to comment.