(ded4a3e0a) v0.9.0.7

This commit is contained in:
Joonas Rikkonen
2019-06-25 16:00:44 +03:00
parent e5ae622c77
commit 4a51db77b5
1777 changed files with 421528 additions and 917 deletions

View File

@@ -0,0 +1,156 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<AssemblySearchPaths>$(AssemblySearchPaths);{GAC}</AssemblySearchPaths>
</PropertyGroup>
<ItemGroup>
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MonoDevelop.Addins" Version="0.4.1" />
<PackageReference Include="Eto.Forms" Version="2.3.0" />
<PackageReference Include="Eto.Platform.Gtk" Version="2.3.0" />
<PackageReference Include="Eto.Platform.XamMac2" Version="2.3.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="Templates\" />
</ItemGroup>
<ItemGroup>
<None Remove="monogame-project-32.png" />
<None Remove="monogame-android.png" />
<None Remove="monogame-desktopgl.png" />
<None Remove="monogame-ios.png" />
<None Remove="monogame-preview.png" />
<None Remove="monogame-shared.png" />
<None Remove="monogame-windows.png" />
<None Remove="project-monogame-32.png" />
<None Remove="project-monogame-32%402x.png" />
<None Remove="project-monogame-32~dark.png" />
<None Remove="project-monogame-32~dark%402x.png" />
<None Remove="project-monogame-32~dark~sel.png" />
<None Remove="project-monogame-32~dark~sel%402x.png" />
<None Remove="project-monogame-32~sel.png" />
<None Remove="project-monogame-32~sel%402x.png" />
<None Remove="project-monogame-template.png" />
<None Remove="project-monogame-template%402x.png" />
<None Remove="project-monogame-template~dark.png" />
<None Remove="project-monogame-template~dark%402x.png" />
<None Remove="monogame-16.png" />
<None Remove="monogame-16%402x.png" />
<None Remove="monogame-16~dark.png" />
<None Remove="monogame-16~dark%402x.png" />
<None Remove="monogame-16~dark~sel.png" />
<None Remove="monogame-16~dark~sel%402x.png" />
<None Remove="monogame-16~sel.png" />
<None Remove="monogame-16~sel%402x.png" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="monogame-project-32.png">
<LogicalName>monogame-project-32.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-android.png">
<LogicalName>monogame-android.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-desktopgl.png">
<LogicalName>monogame-desktopgl.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-ios.png">
<LogicalName>monogame-ios.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-preview.png">
<LogicalName>monogame-preview.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-shared.png">
<LogicalName>monogame-shared.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-windows.png">
<LogicalName>monogame-windows.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32.png">
<LogicalName>project-monogame-32.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32%402x.png">
<LogicalName>project-monogame-32@2x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32~dark.png">
<LogicalName>project-monogame-32@~dark.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32~dark%402x.png">
<LogicalName>project-monogame-32~dark%402x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32~dark~sel.png">
<LogicalName>project-monogame-32~dark~sel.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32~dark~sel%402x.png">
<LogicalName>project-monogame-32~dark~sel%402x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32~sel.png">
<LogicalName>project-monogame-32~sel.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-32~sel%402x.png">
<LogicalName>project-monogame-32~sel%402x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-template.png">
<LogicalName>project-monogame-template.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-template%402x.png">
<LogicalName>project-monogame-template%402x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-template~dark.png">
<LogicalName>project-monogame-template~dark.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="project-monogame-template~dark%402x.png">
<LogicalName>project-monogame-template~dark%402x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16.png">
<LogicalName>monogame-16.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16%402x.png">
<LogicalName>monogame-16@2x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16~dark.png">
<LogicalName>monogame-16~dark.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16~dark%402x.png">
<LogicalName>monogame-16~dark@2x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16~dark~sel.png">
<LogicalName>monogame-16~dark~sel.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16~dark~sel%402x.png">
<LogicalName>monogame-16~dark~sel@2x.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16~sel.png">
<LogicalName>monogame-16~sel.png</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="monogame-16~sel%402x.png">
<LogicalName>monogame-16~sel@2x.png</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<AddinFile Include="..\..\ProjectTemplates\DotNetTemplate\MonoGame.Templates.CSharp\bin\MonoGame.Templates.CSharp.nupkg">
<Link>Templates\MonoGame.Templates.CSharp.nupkg</Link>
</AddinFile>
</ItemGroup>
<Target Name="_GenerateAddinInfo" BeforeTargets="CoreCompile">
<PropertyGroup>
<BuildVersion>$(BUILD_NUMBER)</BuildVersion>
<BuildVersion Condition="'$(BuildVersion)' == ''">3.7.0.0</BuildVersion>
</PropertyGroup>
<ItemGroup>
<AddinInfo Include="using System%3B" />
<AddinInfo Include="using Mono.Addins%3B" />
<AddinInfo Include="using Mono.Addins.Description%3B" />
<AddinInfo Include="[assembly: Addin(&quot;MonoGame_IDE_VisualStudioForMac&quot;,Namespace = &quot;MonoDevelop&quot;,Version = &quot;$(BuildVersion)&quot;)]" />
<AddinInfo Include="[assembly: AddinName(&quot;MonoGame Extension&quot;)]" />
<AddinInfo Include="[assembly: AddinCategory(&quot;Game Development&quot;)]" />
<AddinInfo Include="[assembly: AddinDescription(&quot;VisualStudio for Mac extension for MonoGame&quot;)]" />
<AddinInfo Include="[assembly: AddinAuthor(&quot;@MonoGameTeam&quot;)]" />
</ItemGroup>
<WriteLinesToFile File="Properties\AddinInfo.cs" Lines="@(AddinInfo)" Overwrite="true" />
</Target>
</Project>

View File

@@ -0,0 +1,64 @@
using System;
using System.IO;
using System.Diagnostics;
using MonoDevelop.Ide.Gui;
namespace MonoGame.IDE.VisualStudioForMac {
public class PipelineDisplayBinding : IExternalDisplayBinding {
#region IExternalDisplayBinding implementation
public MonoDevelop.Ide.Desktop.DesktopApplication GetApplication (MonoDevelop.Core.FilePath fileName, string mimeType, MonoDevelop.Projects.Project ownerProject)
{
return new PipelineDesktopApplication (fileName.FullPath, ownerProject);
}
#endregion
#region IDisplayBinding implementation
public bool CanHandle (MonoDevelop.Core.FilePath fileName, string mimeType, MonoDevelop.Projects.Project ownerProject)
{
return mimeType == "text/x-mgcb";
}
public bool CanUseAsDefault {
get {
return true;
}
}
#endregion
}
class PipelineDesktopApplication : MonoDevelop.Ide.Desktop.DesktopApplication {
MonoDevelop.Projects.Project project;
string filename;
public PipelineDesktopApplication (string filename, MonoDevelop.Projects.Project ownerProject)
: base ("MonoGamePipelineTool", "MonoGame Pipeline Tool", true)
{
this.project = ownerProject;
this.filename = filename;
}
public override void Launch (params string [] files)
{
var process = new Process ();
if (Environment.OSVersion.Platform == PlatformID.Win32NT) {
process.StartInfo.FileName = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.ProgramFilesX86), @"MSBuild\MonoGame\v3.0\Tools", "Pipeline.exe");
process.StartInfo.Arguments = string.Format ("\"{0}\"", filename);
} else {
if (Directory.Exists ("/Applications/Pipeline.app")) {
process.StartInfo.FileName = "open";
process.StartInfo.EnvironmentVariables.Add ("MONOGAME_PIPELINE_PROJECT", Path.GetFullPath (filename));
process.StartInfo.Arguments = string.Format ("-b com.monogame.pipeline --args \"{0}\"", Path.GetFullPath (filename));
} else {
// figure out linix
process.StartInfo.FileName = "monogame-pipeline-tool";
process.StartInfo.Arguments = string.Format ("\"{0}\"", filename);
}
}
process.StartInfo.CreateNoWindow = true;
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.StartInfo.UseShellExecute = false;
// Fire off the process.
process.Start ();
}
}
}

View File

@@ -0,0 +1,8 @@
using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin("MonoGame_IDE_VisualStudioForMac",Namespace = "MonoDevelop",Version = "0.0.0.0")]
[assembly: AddinName("MonoGame Extension")]
[assembly: AddinCategory("Game Development")]
[assembly: AddinDescription("VisualStudio for Mac extension for MonoGame")]
[assembly: AddinAuthor("@MonoGameTeam")]

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<ExtensionModel>
<Runtime>
</Runtime>
<Extension path="/MonoDevelop/Ide/ProjectTemplateCategories">
<Category id="monogame" _name="MonoGame" icon="md-monogame-icon-project-16" insertbefore="other">
<Category id="app" _name="App">
<Category id="general" _name="General" />
</Category>
<Category id="library" _name="Library">
<Category id="general" _name="General" />
</Category>
</Category>
</Extension>
<Extension path="/MonoDevelop/Ide/Templates">
<Template
id="MonoGame.BlankApp.DesktopGL.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame game project for Windows, Mac and Linux using OpenGL."
category="monogame/app/general"/>
<Template
id="MonoGame.BlankApp.iOS.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame game project for iOS using OpenGL."
category="monogame/app/general"/>
<Template
id="MonoGame.BlankApp.Android.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame game project for Android using OpenGL."
category="monogame/app/general"/>
<Template
id="MonoGame.BlankApp.Windows.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame game project for Windows using DirectX."
category="monogame/app/general"/>
<Template
id="MonoGame.BlankApp.MacOS.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame game project for MacOS using OpenGL. This project is suitable for releasing on the Mac AppStore."
category="monogame/app/general"/>
<Template
id="MonoGame.BlankApp.tvOS.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame game project for tvOS using OpenGL."
category="monogame/app/general"/>
<Template
id="MonoGame.BlankApp.Shared.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame Shared project. Use this project to share game code between platforms."
category="monogame/library/general"/>
<Template
id="MonoGame.BlankApp.Portable.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame Portable Class Library project. Use this project to share game code between platforms."
category="monogame/library/general"/>
<Template
id="MonoGame.BlankApp.NetStandard.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame NetStandard project. Use this project to share game code between platforms."
category="monogame/library/general"/>
<Template
id="MonoGame.Pipeline.Extension.CSharp"
path="Templates/MonoGame.Templates.CSharp.nupkg"
icon="md-monogame-project"
imageId="md-monogame-template"
_overrideDescription="A MonoGame Content Pipeline Extensions project. Use this to extend the MonoGame Content Pipleine with your own Importers or Processors."
category="monogame/library/general"/>
</Extension>
<Extension path="/MonoDevelop/Ide/TemplateImages">
<Image id="md-monogame-project" resource="monogame-project-32.png" />
<Image id="md-monogame-icon-project" resource="monogame-project-32.png" />
<Image id="md-monogame-template" resource="project-monogame-template.png" />
<Image id="md-monogame-android-project" resource="monogame-android.png" />
<Image id="md-monogame-ios-project" resource="monogame-ios.png" />
<Image id="md-monogame-desktopgl-project" resource="monogame-desktopgl.png" />
<Image id="md-monogame-windows-project" resource="monogame-windows.png" />
<Image id="md-monogame-shared-project" resource="monogame-shared.png" />
<Image id="md-monogame-preview-project" resource="monogame-preview.png" />
</Extension>
<Extension path="/MonoDevelop/Core/StockIcons">
<StockIcon stockid="monogame-project-icon-16" resource="monogame-project-16.png" size="Dnd" />
<StockIcon stockid="monogame-project-icon" resource="monogame-project-32.png" size="Dnd" />
<StockIcon stockid="md-monogame-project" resource="project-monogame-32.png" size="Dnd" />
<StockIcon stockid="md-monogame-template" resource="project-monogame-template.png" size="Dnd" />
<StockIcon stockid="md-monogame-icon-project" resource="project-monogame-32.png" size="Dnd" />
<StockIcon stockid="md-monogame-android-project" resource="monogame-android.png" size="Dnd" />
<StockIcon stockid="md-monogame-ios-project" resource="monogame-ios.png" size="Dnd" />
<StockIcon stockid="md-monogame-desktopgl-project" resource="monogame-desktopgl.png" size="Dnd" />
<StockIcon stockid="md-monogame-windows-project" resource="monogame-windows.png" size="Dnd" />
<StockIcon stockid="md-monogame-shared-project" resource="monogame-shared.png" size="Dnd" />
<StockIcon stockid="md-monogame-preview-project" resource="monogame-preview.png" size="Dnd" />
</Extension>
<Extension path="/MonoDevelop/Core/MimeTypes">
<MimeType id="text/x-mgcb" _description="MonoGame Content Build File" icon="monogame-project-icon" isText="false">
<File pattern="*.mgcb" />
</MimeType>
</Extension>
<Extension path="/MonoDevelop/Ide/DisplayBindings">
<DisplayBinding id="MonoGamePipeline" insertbefore="DefaultDisplayBinding" class="MonoGame.IDE.VisualStudioForMac.PipelineDisplayBinding" />
</Extension>
</ExtensionModel>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0"?>
<project name="Installer Build Script" default="build" basedir=".">
<description>Default Addins Automated Build script</description>
<property name="os" value="${operating-system::get-platform(environment::get-operating-system())}" />
<property name="buildNumber" value="0.0.0.0"/>
<if test="${environment::variable-exists('BUILD_NUMBER')}">
<property name="buildNumber" value="${environment::get-variable('BUILD_NUMBER')}"/>
</if>
<target name="checkos" description="check the operating system">
<property name="os" value="${operating-system::get-platform(environment::get-operating-system())}"/>
<if test="${os == 'Unix'}">
<if test="${directory::exists('/Applications') and directory::exists('/Library')}">
<property name="os" value="MacOS"/>
</if>
</if>
<echo message="Detected : ${os}"/>
</target>
<target name="build" description="Build All" depends="checkos">
<if test="${os == 'MacOS'}">
<call target="buildaddin"/>
</if>
</target>
<target name="buildaddin" description="Build Visual Studio for Mac Addin" depends="checkos">
<if test="${os == 'MacOS'}">
<delete failonerror="false">
<fileset>
<include name="MonoDevelop.MonoGame_IDE_VisualStudioForMac*.mpack" />
</fileset>
</delete>
<exec program="msbuild" workingdir="." commandline=" /t:Clean /p:Configuration=Debug MonoGame.IDE.VisualStudioForMac.csproj" />
<exec program="msbuild" workingdir="." commandline=" /t:Restore /p:Configuration=Debug MonoGame.IDE.VisualStudioForMac.csproj" />
<exec program="msbuild" workingdir="." commandline=" /t:PackageAddin /p:Configuration=Debug MonoGame.IDE.VisualStudioForMac.csproj" />
</if>
</target>
</project>

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB