Author: lluis
Date: 2007-05-04 09:55:43 -0400 (Fri, 04 May 2007)
New Revision: 76708
Modified:
trunk/monodevelop/Core/src/Tools/mdrun/ChangeLog
trunk/monodevelop/Core/src/Tools/mdrun/Makefile.am
trunk/monodevelop/Core/src/Tools/mdrun/mdrun.mdp
trunk/monodevelop/Core/src/Tools/mdrun/src/mdrun.cs
Log:
* mdrun.mdp, src/mdrun.cs, Makefile.am: Migration to Mono.Addins.
Modified: trunk/monodevelop/Core/src/Tools/mdrun/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/Tools/mdrun/ChangeLog 2007-05-04 13:55:23 UTC
(rev 76707)
+++ trunk/monodevelop/Core/src/Tools/mdrun/ChangeLog 2007-05-04 13:55:43 UTC
(rev 76708)
@@ -1,3 +1,16 @@
+2007-05-04 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * Mono.Addins.mdp: Updated.
+ * Mono.Addins/ExtensionContext.cs: Fixed GetExtensionObjects overload
+ which was not using the correct reuseCachedInstance value.
+ * Mono.Addins/ExtensionTree.cs: Improved error message. When looking
+ for a type in an assembly, avoid throwing an exception too early,
+ since it may be found in other assemblies.
+ * Mono.Addins.Database/AddinDatabase.cs: In the addin info cache, also
+ store information about unsuccessful lookups, to avoid looking for
+ an add-in again if we found that it doesn't exist. In Update(),
+ don't use verbose output by default.
+
2007-04-26 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* mdrun.mdp: Don't copy referenced assemblies.
Modified: trunk/monodevelop/Core/src/Tools/mdrun/Makefile.am
===================================================================
--- trunk/monodevelop/Core/src/Tools/mdrun/Makefile.am 2007-05-04 13:55:23 UTC
(rev 76707)
+++ trunk/monodevelop/Core/src/Tools/mdrun/Makefile.am 2007-05-04 13:55:43 UTC
(rev 76708)
@@ -6,7 +6,8 @@
all: $(ASSEMBLY) $(ASSEMBLY).config
-REFS = -r:$(top_builddir)/build/bin/MonoDevelop.Core.dll
+REFS = -r:$(top_builddir)/build/bin/MonoDevelop.Core.dll \
+ -r:$(top_builddir)/build/bin/Mono.Addins.dll
$(ASSEMBLY): $(build_sources)
$(CSC) $(CSC_FLAGS) $(build_sources) $(REFS) /out:$(ASSEMBLY)
Modified: trunk/monodevelop/Core/src/Tools/mdrun/mdrun.mdp
===================================================================
--- trunk/monodevelop/Core/src/Tools/mdrun/mdrun.mdp 2007-05-04 13:55:23 UTC
(rev 76707)
+++ trunk/monodevelop/Core/src/Tools/mdrun/mdrun.mdp 2007-05-04 13:55:43 UTC
(rev 76708)
@@ -19,5 +19,6 @@
</Contents>
<References>
<ProjectReference type="Project" localcopy="False"
refto="MonoDevelop.Core" />
+ <ProjectReference type="Assembly" localcopy="True"
refto="../../../../contrib/Mono.Addins.dll" />
</References>
</Project>
\ No newline at end of file
Modified: trunk/monodevelop/Core/src/Tools/mdrun/src/mdrun.cs
===================================================================
--- trunk/monodevelop/Core/src/Tools/mdrun/src/mdrun.cs 2007-05-04 13:55:23 UTC
(rev 76707)
+++ trunk/monodevelop/Core/src/Tools/mdrun/src/mdrun.cs 2007-05-04 13:55:43 UTC
(rev 76708)
@@ -30,7 +30,7 @@
using System;
using MonoDevelop.Core;
using MonoDevelop.Core.Execution;
-using MonoDevelop.Core.AddIns;
+using Mono.Addins;
using System.IO;
using System.Collections;
@@ -46,11 +46,11 @@
}
try {
- Runtime.Initialize ();
+ Runtime.Initialize (false);
if (args [0] == "-q") {
Console.WriteLine ("Available applications:");
- foreach (IApplicationInfo ainfo in
Runtime.AddInService.GetApplications ()) {
+ foreach (IApplicationInfo ainfo in
Runtime.ApplicationService.GetApplications ()) {
Console.Write ("- " + ainfo.Id);
if (ainfo.Description != null &&
ainfo.Description.Length > 0)
Console.WriteLine (": " +
ainfo.Description);
@@ -62,7 +62,7 @@
string[] newArgs = new string [args.Length - 1];
Array.Copy (args, 1, newArgs, 0, args.Length - 1);
- return Runtime.AddInService.StartApplication (args[0],
newArgs);
+ return Runtime.ApplicationService.StartApplication
(args[0], newArgs);
} catch (UserException ex) {
Console.WriteLine (ex.Message);
return -1;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches