Author: lluis
Date: 2005-11-15 12:59:50 -0500 (Tue, 15 Nov 2005)
New Revision: 53078

Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Core/ChangeLog
   trunk/monodevelop/Core/src/MonoDevelop.Core/Makefile.am
   
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessHostController.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/GettextCatalog.cs.in
Log:
2005-11-15  Lluis Sanchez Gual  <[EMAIL PROTECTED]> 

        * MonoDevelop.Core.Execution/ProcessHostController.cs: 
        Always stop the process asyncrhonously, so the remote object has time
        to end the dispose call.
        * Makefile.am: Fixed the location of GettextCatalog.
        * MonoDevelop.Core/GettextCatalog.cs.in: Added GetString overload.



Modified: trunk/monodevelop/Core/src/MonoDevelop.Core/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Core/ChangeLog       2005-11-15 
17:34:20 UTC (rev 53077)
+++ trunk/monodevelop/Core/src/MonoDevelop.Core/ChangeLog       2005-11-15 
17:59:50 UTC (rev 53078)
@@ -1,3 +1,11 @@
+2005-11-15  Lluis Sanchez Gual  <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Core.Execution/ProcessHostController.cs: 
+       Always stop the process asyncrhonously, so the remote object has time
+       to end the dispose call.
+       * Makefile.am: Fixed the location of GettextCatalog.
+       * MonoDevelop.Core/GettextCatalog.cs.in: Added GetString overload.
+
 2005-11-14  Lluis Sanchez Gual  <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Core.Properties/DefaultProperties.cs: Properly store

Modified: trunk/monodevelop/Core/src/MonoDevelop.Core/Makefile.am
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Core/Makefile.am     2005-11-15 
17:34:20 UTC (rev 53077)
+++ trunk/monodevelop/Core/src/MonoDevelop.Core/Makefile.am     2005-11-15 
17:59:50 UTC (rev 53078)
@@ -155,6 +155,6 @@
 assembly_DATA = $(DLL)
 
 CLEANFILES = $(DLL) $(DLL).mdb
-DISTCLEANFILES = Services/GettextCatalog.cs
+DISTCLEANFILES = MonoDevelop.Core/GettextCatalog.cs
 
-EXTRA_DIST = $(FILES) $(ADDIN) Services/GettextCatalog.cs.in
+EXTRA_DIST = $(FILES) $(ADDIN) MonoDevelop.Core/GettextCatalog.cs.in

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/GettextCatalog.cs.in
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/GettextCatalog.cs.in
   2005-11-15 17:34:20 UTC (rev 53077)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/GettextCatalog.cs.in
   2005-11-15 17:59:50 UTC (rev 53078)
@@ -47,6 +47,11 @@
                        return Catalog.GetString (str);
                }
        
+               public static string GetString (string str, params object[] 
arguments)
+               {
+                       return string.Format (Catalog.GetString (str), 
arguments);
+               }
+       
                public static string GetPluralString (string singular,
                                                      string plural,
                                                      int n)

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessHostController.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessHostController.cs
     2005-11-15 17:34:20 UTC (rev 53077)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core.Execution/ProcessHostController.cs
     2005-11-15 17:59:50 UTC (rev 53078)
@@ -166,9 +166,12 @@
                                        lastReleaseTime = DateTime.Now;
                                        if (!stopping) {
                                                stopping = true;
-                                               if (stopDelay == 0)
-                                                       WaitTimeout (null, 
null);
-                                               else {
+                                               if (stopDelay == 0) {
+                                                       // Always stop 
asyncrhonously, so the remote object
+                                                       // has time to end the 
dispose call.
+                                                       timer.Interval = 1000;
+                                                       timer.Enabled = true;
+                                               } else {
                                                        timer.Interval = 
stopDelay;
                                                        timer.Enabled = true;
                                                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to