From 26b997da5fc18100638f98549c50e495ae4f39ab Mon Sep 17 00:00:00 2001 From: mterwoord_cp <7cd3fd84a0151ea055c2f79e4d2eef9576fe9afesxUZAwxD> Date: Sun, 22 Aug 2010 06:39:58 +0000 Subject: [PATCH] --- Build/VSIP/install.bat | 13 ++- Setup2/BuildUserKit.bat | 12 ++- Setup2/Code.inc | 18 ----- Setup2/Cosmos.iss | 4 +- source/Cosmos.sln | 8 +- .../Kudzu/Breakpoints/Breakpoints.Cosmos | 16 ++-- .../Breakpoints/BreakpointsKernel.csproj | 7 +- .../Cosmos.VS.Package.csproj | 36 --------- .../Templates/CosmosProject.Cosmos | 42 ---------- .../Templates/GenerateCosmosProjectWizard.cs | 79 ------------------- .../Templates/GenerateGuidsWizard.cs | 44 ----------- .../Projects/Cosmos/CosmosProject.Cosmos | 4 +- .../CosmosKernel (C#)/CSharpProject.csproj | 8 +- .../Projects/CosmosKernel (C#)/Kernel.cs | 20 ++--- .../CosmosProject (C#)/CSharpProject.csproj | 8 +- .../Projects/CosmosProject (C#)/Kernel.cs | 20 ++--- .../Templates/UseGuidsWizard.cs | 41 ---------- .../Cosmos.VS.Wizards/CosmosProject.Cosmos | 4 + 18 files changed, 66 insertions(+), 318 deletions(-) delete mode 100644 source2/VSIP/Cosmos.VS.Package/Templates/CosmosProject.Cosmos delete mode 100644 source2/VSIP/Cosmos.VS.Package/Templates/GenerateCosmosProjectWizard.cs delete mode 100644 source2/VSIP/Cosmos.VS.Package/Templates/GenerateGuidsWizard.cs delete mode 100644 source2/VSIP/Cosmos.VS.Package/Templates/UseGuidsWizard.cs diff --git a/Build/VSIP/install.bat b/Build/VSIP/install.bat index 48c1eba42..0baa6b08e 100644 --- a/Build/VSIP/install.bat +++ b/Build/VSIP/install.bat @@ -41,9 +41,16 @@ REM xcopy /Y ..\..\source2\Compiler\Cosmos.Compiler.DebugStub\bin\debug\Cosmos.C REM xcopy /Y ..\..\source2\Compiler\Cosmos.Compiler.XSharp\bin\debug\Cosmos.Compiler.XSharp.* . REM Copy templates -xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosProject (C#).zip" . -xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosKernel (C#).zip" . -xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\Cosmos.zip" . +IF EXIST "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosProject (C#).zip" ( + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosProject (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosKernel (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\Cosmos.zip" . +) ELSE ( + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\CosmosProject (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\CosmosKernel (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\Cosmos.zip" . +) + echo . echo . diff --git a/Setup2/BuildUserKit.bat b/Setup2/BuildUserKit.bat index 3ffba4e01..e09b6ffa9 100644 --- a/Setup2/BuildUserKit.bat +++ b/Setup2/BuildUserKit.bat @@ -48,9 +48,15 @@ REM xcopy /Y ..\..\source2\Compiler\Cosmos.Compiler.DebugStub\bin\debug\Cosmos.C REM xcopy /Y ..\..\source2\Compiler\Cosmos.Compiler.XSharp\bin\debug\Cosmos.Compiler.XSharp.* . REM Copy templates -xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosProject (C#).zip" . -xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosKernel (C#).zip" . -xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\Cosmos.zip" . +IF EXIST "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosProject (C#).zip" ( + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosProject (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\CosmosKernel (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\x86\Debug\Cosmos.zip" . +) ELSE ( + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\CosmosProject (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\CosmosKernel (C#).zip" . + xcopy /Y "..\..\source2\VSIP\Cosmos.VS.Package\obj\Debug\Cosmos.zip" . +) echo . echo . diff --git a/Setup2/Code.inc b/Setup2/Code.inc index 0e2a16ae0..4e77c14e2 100644 --- a/Setup2/Code.inc +++ b/Setup2/Code.inc @@ -256,24 +256,6 @@ begin Result := __VBExpress2008ProjectTEmplatePath; end; -function PrepareToInstall(var NeedsRestart: Boolean): String; -var - FullPath: string; - ReturnCode: Integer; -begin - ExtractTemporaryFile('InstallCleaner.exe'); - FullPath := ExpandConstant('{tmp}\InstallCleaner.exe'); - if not Exec(FullPath, '', '', SW_SHOW, ewWaitUntilTerminated, ReturnCode) then - Result := Format('Error running cleanup utility (Exec returned false, ReturnCode contains %d)', [ReturnCode]) - else - begin - if ReturnCode <> 0 then - Result := Format('Error running cleanup utility (ReturnCode %d)', [ReturnCode]) - else - Result := ''; - end; -end; - function InitializeSetup: Boolean; begin if not VSNET2008 then begin diff --git a/Setup2/Cosmos.iss b/Setup2/Cosmos.iss index 669443bd6..135216624 100644 --- a/Setup2/Cosmos.iss +++ b/Setup2/Cosmos.iss @@ -135,13 +135,13 @@ Name: {code:VSNET2008_PATH|}\ProjectTemplates\Cosmos; Flags: uninsalwaysuninstal Name: {app}; Flags: uninsalwaysuninstall [InstallDelete] +Type: files; Name: "{code:VSNET2008_PATH|}\PrivateAssemblies\Cosmos.*"; Type: filesandordirs; Name: "{code:VSNET2008_PATH|}\ProjectTemplates\Cosmos"; Type: filesandordirs; Name: "{code:GetCSHarpExpress2008ProjectTemplatePath|}\*Cosmos*.*"; Check: IsCSharpExpress2008Installed('dummy') and (not csharp2008_Installed('dummy')) [Files] -Source: .\Build\VSIP\InstallCleaner.exe; DestDir: {app}; Flags: dontcopy ; Tools Source: .\Build\Tools\*.exe; DestDir: {app}\Build\Tools; Flags: ignoreversion uninsremovereadonly Source: .\Build\Tools\NAsm\*.exe; DestDir: {app}\Build\Tools\NAsm; Flags: ignoreversion uninsremovereadonly @@ -165,7 +165,7 @@ Source: .\Build\VSIP\corapi.*; DestDir: {app}\Build\VSIP\; Flags: ignoreversion Source: .\Build\VSIP\raw.*; DestDir: {app}\Build\VSIP\; Flags: ignoreversion uninsremovereadonly ; wizards -Source: .\source2\VSIP\Cosmos.VS.Wizards\bin\Debug\Cosmos.VS.Wizards.*; DestDir: {code:VSNET2008_PATH|}\PrivateAssemblies; Flags: ignoreversion uninsremovereadonly +Source: .\Build\VSIP\Cosmos.VS.Wizards.*; DestDir: {code:VSNET2008_PATH|}\PrivateAssemblies; Flags: ignoreversion uninsremovereadonly Source: .\Build\ISO\isolinux.*; DestDir: {app}\Build\ISO Source: .\Build\ISO\mboot.c32; DestDir: {app}\Build\ISO diff --git a/source/Cosmos.sln b/source/Cosmos.sln index 1bf8652e7..d675d1619 100644 --- a/source/Cosmos.sln +++ b/source/Cosmos.sln @@ -114,6 +114,7 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Docs", "..\Docs", "{67E7DEF Release.AspNetCompiler.ForceOverwrite = "true" Release.AspNetCompiler.FixedNames = "false" Release.AspNetCompiler.Debug = "False" + VWDPort = "24703" EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.Compiler.Debug", "..\source2\IL2PCU\Cosmos.IL2CPU.Debug\Cosmos.Compiler.Debug.csproj", "{9998B4EA-385E-4DA2-8905-2BBEB5B2C6E2}" @@ -366,37 +367,31 @@ Global EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {CE50FE98-9AC4-4B4D-ADC7-31F6DCD28755}.Bootstrap|x86.ActiveCfg = Debug|x86 - {CE50FE98-9AC4-4B4D-ADC7-31F6DCD28755}.Bootstrap|x86.Build.0 = Debug|x86 {CE50FE98-9AC4-4B4D-ADC7-31F6DCD28755}.Debug|x86.ActiveCfg = Debug|x86 {CE50FE98-9AC4-4B4D-ADC7-31F6DCD28755}.Debug|x86.Build.0 = Debug|x86 {CE50FE98-9AC4-4B4D-ADC7-31F6DCD28755}.Release|x86.ActiveCfg = Release|x86 {CE50FE98-9AC4-4B4D-ADC7-31F6DCD28755}.Release|x86.Build.0 = Release|x86 {B168BEDD-C6A6-4E7C-B9A5-0144286E9E42}.Bootstrap|x86.ActiveCfg = Debug|x86 - {B168BEDD-C6A6-4E7C-B9A5-0144286E9E42}.Bootstrap|x86.Build.0 = Debug|x86 {B168BEDD-C6A6-4E7C-B9A5-0144286E9E42}.Debug|x86.ActiveCfg = Debug|x86 {B168BEDD-C6A6-4E7C-B9A5-0144286E9E42}.Debug|x86.Build.0 = Debug|x86 {B168BEDD-C6A6-4E7C-B9A5-0144286E9E42}.Release|x86.ActiveCfg = Release|x86 {B168BEDD-C6A6-4E7C-B9A5-0144286E9E42}.Release|x86.Build.0 = Release|x86 {A1F83D9F-2D44-4264-A08B-416797123018}.Bootstrap|x86.ActiveCfg = Debug|x86 - {A1F83D9F-2D44-4264-A08B-416797123018}.Bootstrap|x86.Build.0 = Debug|x86 {A1F83D9F-2D44-4264-A08B-416797123018}.Debug|x86.ActiveCfg = Debug|x86 {A1F83D9F-2D44-4264-A08B-416797123018}.Debug|x86.Build.0 = Debug|x86 {A1F83D9F-2D44-4264-A08B-416797123018}.Release|x86.ActiveCfg = Release|x86 {A1F83D9F-2D44-4264-A08B-416797123018}.Release|x86.Build.0 = Release|x86 {5C293BB9-FB42-495E-AAD9-D15888631CA4}.Bootstrap|x86.ActiveCfg = Debug|x86 - {5C293BB9-FB42-495E-AAD9-D15888631CA4}.Bootstrap|x86.Build.0 = Debug|x86 {5C293BB9-FB42-495E-AAD9-D15888631CA4}.Debug|x86.ActiveCfg = Debug|x86 {5C293BB9-FB42-495E-AAD9-D15888631CA4}.Debug|x86.Build.0 = Debug|x86 {5C293BB9-FB42-495E-AAD9-D15888631CA4}.Release|x86.ActiveCfg = Release|x86 {5C293BB9-FB42-495E-AAD9-D15888631CA4}.Release|x86.Build.0 = Release|x86 {819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Bootstrap|x86.ActiveCfg = Debug|x86 - {819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Bootstrap|x86.Build.0 = Debug|x86 {819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Debug|x86.ActiveCfg = Debug|x86 {819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Debug|x86.Build.0 = Debug|x86 {819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Release|x86.ActiveCfg = Release|x86 {819DB8FC-5DA1-461F-83C9-2F5C88088C94}.Release|x86.Build.0 = Release|x86 {6110AD07-EB07-4A99-BB73-7A69AF5732F1}.Bootstrap|x86.ActiveCfg = Debug|x86 - {6110AD07-EB07-4A99-BB73-7A69AF5732F1}.Bootstrap|x86.Build.0 = Debug|x86 {6110AD07-EB07-4A99-BB73-7A69AF5732F1}.Debug|x86.ActiveCfg = Debug|x86 {6110AD07-EB07-4A99-BB73-7A69AF5732F1}.Debug|x86.Build.0 = Debug|x86 {6110AD07-EB07-4A99-BB73-7A69AF5732F1}.Release|x86.ActiveCfg = Release|x86 @@ -444,7 +439,6 @@ Global {63F7BFB9-419E-4965-B580-304B9C9FA7D8}.Release|x86.ActiveCfg = Release|x86 {63F7BFB9-419E-4965-B580-304B9C9FA7D8}.Release|x86.Build.0 = Release|x86 {B2F76E27-EAE1-4ECF-8A33-77B2CFBB9367}.Bootstrap|x86.ActiveCfg = Debug|x86 - {B2F76E27-EAE1-4ECF-8A33-77B2CFBB9367}.Bootstrap|x86.Build.0 = Debug|x86 {B2F76E27-EAE1-4ECF-8A33-77B2CFBB9367}.Debug|x86.ActiveCfg = Debug|x86 {B2F76E27-EAE1-4ECF-8A33-77B2CFBB9367}.Debug|x86.Build.0 = Debug|x86 {B2F76E27-EAE1-4ECF-8A33-77B2CFBB9367}.Release|x86.ActiveCfg = Release|x86 diff --git a/source2/Users/Kudzu/Breakpoints/Breakpoints.Cosmos b/source2/Users/Kudzu/Breakpoints/Breakpoints.Cosmos index 205ffa12b..3de6e7b28 100644 --- a/source2/Users/Kudzu/Breakpoints/Breakpoints.Cosmos +++ b/source2/Users/Kudzu/Breakpoints/Breakpoints.Cosmos @@ -49,16 +49,6 @@ - - Cosmos.Debug.Kernel.Plugs - {b97a2956-c363-47f2-a6aa-b4fccff4d315} - True - - - Cosmos.Core.Plugs - {d9a87aad-fcc9-4517-b31d-e904dad00784} - True - BreakpointsKernel {91cbd640-c07d-4556-b4cb-6f8cd88c67c9} @@ -66,6 +56,12 @@ + + Cosmos.Core.Plugs + Cosmos.Core.Plugs.dll + ..\..\..\..\..\..\..\..\Users\matthijs\AppData\Roaming\Cosmos User Kit\Kernel\Cosmos.Core.Plugs.dll + True + Cosmos.System.Plugs.System Cosmos.System.Plugs.System.dll diff --git a/source2/Users/Kudzu/Breakpoints/BreakpointsKernel.csproj b/source2/Users/Kudzu/Breakpoints/BreakpointsKernel.csproj index 93f485aab..a9145826b 100644 --- a/source2/Users/Kudzu/Breakpoints/BreakpointsKernel.csproj +++ b/source2/Users/Kudzu/Breakpoints/BreakpointsKernel.csproj @@ -39,6 +39,7 @@ + @@ -46,12 +47,6 @@ - - - {DA50B9B2-0E95-4F0D-A3C8-79FC549301B5} - Cosmos.System - -