[Monodevelop-patches-list] r1551 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels Main/Base Main/Base/Services/ParserService

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Thu Apr 29 18:41:18 EDT 2004


Author: tberman
Date: 2004-04-29 18:41:18 -0400 (Thu, 29 Apr 2004)
New Revision: 1551

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
   trunk/MonoDevelop/src/Main/Base/ChangeLog
   trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
Log:
huge perf gain with a single comment (lluis kicks some majour ass)

and gtk-sharp from cvs matchup.


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-04-29 22:05:32 UTC (rev 1550)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-04-29 22:41:18 UTC (rev 1551)
@@ -1,3 +1,7 @@
+2004-04-29  Todd Berman  <tberman at sevenl.net>
+
+	* Gui/OptionPanels/CodeTemplatePanel.cs: match gtk-sharp from cvs.
+
 2004-04-28  Pawel Rozanski  <tokugawa at afn.no-ip.org>
 
 	* Gui/SourceEditorDisplayBinding.cs: added a case for setting mime for

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs	2004-04-29 22:05:32 UTC (rev 1550)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs	2004-04-29 22:41:18 UTC (rev 1551)
@@ -239,7 +239,7 @@
 				// now delete each item in that list
 				foreach(TreeIter toDelete in selectedIters) {
 					TreeIter itr = toDelete;					
-					((ListStore)lv).Remove(out itr);
+					((ListStore)lv).Remove(ref itr);
 				}
 				
 				StoreTemplateGroup();

Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-04-29 22:05:32 UTC (rev 1550)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-04-29 22:41:18 UTC (rev 1551)
@@ -1,5 +1,11 @@
 2004-04-29  Todd Berman  <tberman at sevenl.net>
 
+	* Services/ParserService/DefaultParserService.cs: commenting out
+	a GC.Collect () per lluis' instructions, this results in monodevelops
+	cpu usage at idle going from 20% to 2%. Good stuff :)
+
+2004-04-29  Todd Berman  <tberman at sevenl.net>
+
 	* Gui/Dialogs/OptionPanels/ExternalToolPanel.cs: fix up to match gtk#
 	from cvs.
 	* Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs:

Modified: trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs	2004-04-29 22:05:32 UTC (rev 1550)
+++ trunk/MonoDevelop/src/Main/Base/Services/ParserService/DefaultParserService.cs	2004-04-29 22:41:18 UTC (rev 1551)
@@ -401,7 +401,7 @@
 					} catch {}
 				}
 				Thread.Sleep(500); // not required
-				System.GC.Collect();
+				//System.GC.Collect();
 			}
 		}
 		




More information about the Monodevelop-patches-list mailing list