Changeset 2286
- Timestamp:
- 1/4/2011 4:58:54 AM (2 years ago)
- Location:
- branches/eraser6/pluginsRewrite
- Files:
-
- 4 added
- 10 edited
- 3 moved
-
Eraser.Manager/Eraser.Manager.csproj (modified) (2 diffs)
-
Eraser.Manager/ManagerLibrary.cs (modified) (1 diff)
-
Eraser.Manager/Strings.en.resx (modified) (1 diff)
-
Eraser.Manager/Strings.it.resx (modified) (1 diff)
-
Eraser.Manager/Strings.nl.resx (modified) (1 diff)
-
Eraser.Manager/Strings.pl.resx (modified) (1 diff)
-
Eraser.Manager/Strings.resx (modified) (1 diff)
-
Eraser.Plugins (added)
-
Eraser.Plugins/Eraser.Plugins.csproj (added)
-
Eraser.Plugins/IConfigurer.cs (moved) (moved from branches/eraser6/pluginsRewrite/Eraser.Manager/IConfigurer.cs)
-
Eraser.Plugins/IRegistrar.cs (moved) (moved from branches/eraser6/pluginsRewrite/Eraser.Manager/IRegistrar.cs)
-
Eraser.Plugins/Plugins.cs (moved) (moved from branches/eraser6/pluginsRewrite/Eraser.Manager/Plugins.cs) (5 diffs)
-
Eraser.Plugins/Properties (added)
-
Eraser.Plugins/Properties/AssemblyInfo.cs (added)
-
Eraser.sln (modified) (2 diffs)
-
Eraser/Eraser.csproj (modified) (1 diff)
-
Eraser/Program.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/pluginsRewrite/Eraser.Manager/Eraser.Manager.csproj
r2055 r2286 70 70 <Compile Include="Executor.cs" /> 71 71 <Compile Include="FileSystem.cs" /> 72 <Compile Include="IConfigurer.cs" />73 <Compile Include="IRegistrar.cs" />74 72 <Compile Include="ManagerLibrary.cs" /> 75 73 <Compile Include="ErasureMethod.cs" /> 76 <Compile Include="Plugins.cs" />77 74 <Compile Include="PRNG.cs" /> 78 75 <Compile Include="Properties\AssemblyInfo.cs" /> … … 83 80 </ItemGroup> 84 81 <ItemGroup> 82 <ProjectReference Include="..\Eraser.Plugins\Eraser.Plugins.csproj"> 83 <Project>{59F7ED0F-3589-4112-B612-4A9A6588F4A0}</Project> 84 <Name>Eraser.Plugins</Name> 85 </ProjectReference> 85 86 <ProjectReference Include="..\Eraser.Util.Native\Eraser.Util.Native.vcproj"> 86 87 <Project>{BCFE7D20-FC82-4BBE-BFE4-7B635D70D238}</Project> -
branches/eraser6/pluginsRewrite/Eraser.Manager/ManagerLibrary.cs
r2049 r2286 47 47 ErasureTargetRegistrar = new ErasureTargetRegistrar(); 48 48 FileSystemRegistrar = new FileSystemRegistrar(); 49 Host = new Plugin.DefaultHost();50 Host.Load();51 49 } 52 50 -
branches/eraser6/pluginsRewrite/Eraser.Manager/Strings.en.resx
r2104 r2286 148 148 <value>The file system on the drive {0} is not supported.</value> 149 149 </data> 150 <data name="The Core plugin assembly is not one whichEraser expects.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">151 <value>The Core plugin assembly is not one whichEraser expects.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program.</value>152 </data>153 <data name="The provided Core plugin assembly is not a plugin.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">154 <value>The provided Core plugin assembly is not a plugin.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program.</value>155 </data>156 <data name="The provided Core plugin does not have an identical public key as the Eraser assembly.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">157 <value>The provided Core plugin does not have an identical public key as the Eraser assembly.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program.</value>158 </data>159 <data name="Could not load the plugin {0}.\n\nThe error returned was: {1}" xml:space="preserve">160 <value>Could not load the plugin {0}.\n\nThe error returned was: {1}</value>161 </data>162 <data name="Eraser" xml:space="preserve">163 <value>Eraser</value>164 </data>165 150 <data name="Running on restart" xml:space="preserve"> 166 151 <value>Running on restart</value> -
branches/eraser6/pluginsRewrite/Eraser.Manager/Strings.it.resx
r2104 r2286 148 148 <value>Il tipo di file system sul disco {0} non è supportato.</value> 149 149 </data> 150 <data name="The Core plugin assembly is not one whichEraser expects.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">151 <value>(Untranslated)</value>152 </data>153 <data name="The provided Core plugin assembly is not a plugin.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">154 <value>(Untranslated)</value>155 </data>156 <data name="The provided Core plugin does not have an identical public key as the Eraser assembly.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">157 <value>(Untranslated)</value>158 </data>159 <data name="Could not load the plugin {0}.\n\nThe error returned was: {1}" xml:space="preserve">160 <value>Impossibile caricare il plugin {0}.\n\nL'errore ricevuto è stato: {1}</value>161 </data>162 <data name="Eraser" xml:space="preserve">163 <value>(Untranslated)</value>164 </data>165 150 <data name="Running on restart" xml:space="preserve"> 166 151 <value>Esecuzione al riavvio</value> -
branches/eraser6/pluginsRewrite/Eraser.Manager/Strings.nl.resx
r2104 r2286 148 148 <value>(Untranslated)</value> 149 149 </data> 150 <data name="The Core plugin assembly is not one whichEraser expects.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">151 <value>(Untranslated)</value>152 </data>153 <data name="The provided Core plugin assembly is not a plugin.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">154 <value>(Untranslated)</value>155 </data>156 <data name="The provided Core plugin does not have an identical public key as the Eraser assembly.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">157 <value>(Untranslated)</value>158 </data>159 <data name="Could not load the plugin {0}.\n\nThe error returned was: {1}" xml:space="preserve">160 <value>(Untranslated)</value>161 </data>162 <data name="Eraser" xml:space="preserve">163 <value>(Untranslated)</value>164 </data>165 150 <data name="Running on restart" xml:space="preserve"> 166 151 <value>(Untranslated)</value> -
branches/eraser6/pluginsRewrite/Eraser.Manager/Strings.pl.resx
r2104 r2286 148 148 <value>System plików napędu {0} nie jest wspierany.</value> 149 149 </data> 150 <data name="The Core plugin assembly is not one whichEraser expects.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">151 <value>(Untranslated)</value>152 </data>153 <data name="The provided Core plugin assembly is not a plugin.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">154 <value>(Untranslated)</value>155 </data>156 <data name="The provided Core plugin does not have an identical public key as the Eraser assembly.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">157 <value>(Untranslated)</value>158 </data>159 <data name="Could not load the plugin {0}.\n\nThe error returned was: {1}" xml:space="preserve">160 <value>Nie można było załadować wtyczki {0}.\n\nWystąpił błąd: {1}</value>161 </data>162 <data name="Eraser" xml:space="preserve">163 <value>Eraser</value>164 </data>165 150 <data name="Running on restart" xml:space="preserve"> 166 151 <value>Uruchomienie po restarcie</value> -
branches/eraser6/pluginsRewrite/Eraser.Manager/Strings.resx
r2104 r2286 148 148 <value>The file system on the drive {0} is not supported.</value> 149 149 </data> 150 <data name="The Core plugin assembly is not one whichEraser expects.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">151 <value>The Core plugin assembly is not one whichEraser expects.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program.</value>152 </data>153 <data name="The provided Core plugin assembly is not a plugin.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">154 <value>The provided Core plugin assembly is not a plugin.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program.</value>155 </data>156 <data name="The provided Core plugin does not have an identical public key as the Eraser assembly.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program." xml:space="preserve">157 <value>The provided Core plugin does not have an identical public key as the Eraser assembly.\n\nCheck that the Eraser installation is not corrupt, or reinstall the program.</value>158 </data>159 <data name="Could not load the plugin {0}.\n\nThe error returned was: {1}" xml:space="preserve">160 <value>Could not load the plugin {0}.\n\nThe error returned was: {1}</value>161 </data>162 <data name="Eraser" xml:space="preserve">163 <value>Eraser</value>164 </data>165 150 <data name="Running on restart" xml:space="preserve"> 166 151 <value>Running on restart</value> -
branches/eraser6/pluginsRewrite/Eraser.Plugins/Plugins.cs
r2285 r2286 27 27 using System.IO; 28 28 using System.Reflection; 29 using System.Windows.Forms;30 29 using System.Runtime.InteropServices; 31 30 using System.Security.Cryptography; … … 33 32 34 33 using Eraser.Util; 35 using Eraser.Util.ExtensionMethods;36 using Path = System.IO.Path;37 34 38 35 namespace Eraser.Manager.Plugin … … 62 59 63 60 /// <summary> 61 /// Constructor. Sets the global Plugin Host instance. 62 /// </summary> 63 /// <see cref="Host.Instance"/> 64 protected Host() 65 { 66 if (Instance != null) 67 throw new InvalidOperationException("Only one global Plugin Host instance can " + 68 "exist at any one point of time."); 69 Instance = this; 70 } 71 72 /// <summary> 64 73 /// Getter that retrieves the global plugin host instance. 65 74 /// </summary> 66 75 public static Host Instance 67 76 { 68 get { return ManagerLibrary.Instance.Host; } 77 get; 78 private set; 69 79 } 70 80 … … 136 146 /// Constructor. Loads all plugins in the Plugins folder. 137 147 /// </summary> 138 public DefaultHost() 139 { 148 public DefaultHost() : base() 149 { 150 Load(); 140 151 } 141 152 … … 585 596 /// <param name="parent">The parent control which the settings dialog should 586 597 /// be parented with.</param> 587 void DisplaySettings( Control parent);598 void DisplaySettings(System.Windows.Forms.Control parent); 588 599 } 589 600 -
branches/eraser6/pluginsRewrite/Eraser.sln
r2006 r2286 49 49 EndProject 50 50 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eraser.BlackBox", "Eraser.BlackBox\Eraser.BlackBox.csproj", "{F8C3524E-B846-454B-BA41-5E2AA64BD56B}" 51 EndProject 52 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eraser.Plugins", "Eraser.Plugins\Eraser.Plugins.csproj", "{59F7ED0F-3589-4112-B612-4A9A6588F4A0}" 51 53 EndProject 52 54 Global … … 185 187 {F8C3524E-B846-454B-BA41-5E2AA64BD56B}.Release|x64.ActiveCfg = Release|Any CPU 186 188 {F8C3524E-B846-454B-BA41-5E2AA64BD56B}.Release|x64.Build.0 = Release|Any CPU 189 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 190 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Debug|Any CPU.Build.0 = Debug|Any CPU 191 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU 192 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU 193 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Debug|Win32.ActiveCfg = Debug|Any CPU 194 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Debug|x64.ActiveCfg = Debug|Any CPU 195 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Release|Any CPU.ActiveCfg = Release|Any CPU 196 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Release|Any CPU.Build.0 = Release|Any CPU 197 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU 198 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Release|Mixed Platforms.Build.0 = Release|Any CPU 199 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Release|Win32.ActiveCfg = Release|Any CPU 200 {59F7ED0F-3589-4112-B612-4A9A6588F4A0}.Release|x64.ActiveCfg = Release|Any CPU 187 201 EndGlobalSection 188 202 GlobalSection(SolutionProperties) = preSolution -
branches/eraser6/pluginsRewrite/Eraser/Eraser.csproj
r2276 r2286 53 53 <PlatformTarget>x86</PlatformTarget> 54 54 <OutputPath>..\bin\Debug\</OutputPath> 55 <DefineConstants>TRACE;DEBUG</DefineConstants> 55 56 </PropertyGroup> 56 57 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> -
branches/eraser6/pluginsRewrite/Eraser/Program.cs
r2267 r2286 670 670 using (Form dialog = new ShellConfirmationDialog(task)) 671 671 { 672 dialog.BringToFront(); 672 673 if (dialog.ShowDialog(parent) != DialogResult.Yes) 673 674 return;
Note: See TracChangeset
for help on using the changeset viewer.
