[Monodevelop-patches-list] r1659 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor AddIns/DisplayBindings/SourceEditor/CodeCompletion AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels Main/Base Main/Base/Gui/Dialogs/CombineConfiguration Main/Base/Gui/Dialogs/OptionPanels Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions Main/Base/Gui/Dialogs/ReferenceDialog Main/Base/Gui/Pads/HelpBrowser Main/Base/Internal/Project/Project

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Fri May 28 14:12:25 EDT 2004


Author: tberman
Date: 2004-05-28 14:12:25 -0400 (Fri, 28 May 2004)
New Revision: 1659

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
   trunk/MonoDevelop/src/Main/Base/ChangeLog
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CombineConfiguration/CombineStartupPanel.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/DeployFileOptions.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/GacReferencePanel.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
   trunk/MonoDevelop/src/Main/Base/Internal/Project/Project/IncludeFilesDialog.cs
Log:
update to reflect current gtk-sharp api


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/ChangeLog	2004-05-28 18:12:25 UTC (rev 1659)
@@ -1,3 +1,9 @@
+2004-05-28  Todd Berman  <tberman at sevenl.net>
+
+	* Gui/OptionPanels/CodeTemplatePanel.cs:
+	* CodeCompletion/CompletionWindow.cs: update to reflect gtk-sharp api
+	out -> ref change
+
 2004-05-25  Todd Berman  <tberman at sevenl.net>
 
 	* Gui/SourceEditorView.cs: Update MonodocResolver for new changes.

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -186,7 +186,7 @@
 					}
 				}
 				i++;
-			} while (store.IterNext (out iter) == true);
+			} while (store.IterNext (ref iter) == true);
 
 			if (lastSelected != -1) {
 				listView.Selection.UnselectAll ();

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -364,7 +364,7 @@
 						// loop through items in the tree, adding each item to the template group
 						do {
 							CurrentTemplateGroup.Templates.Add(templateListView.Model.GetValue(current, 0)); 
-						} while(templateListView.Model.IterNext(out current));
+						} while(templateListView.Model.IterNext(ref current));
 					}
 				}
 			}

Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-05-28 18:12:25 UTC (rev 1659)
@@ -1,3 +1,15 @@
+2004-05-28  Todd Berman  <tberman at sevenl.net>
+
+	* Gui/Dialogs/CombineConfiguration/CombineStartupPanel.cs:
+	* Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs:
+	* Gui/Dialogs/OptionPanels/ProjectOptions/DeployFileOptions.cs:
+	* Gui/Dialogs/OptionPanels/ExternalToolPanel.cs:
+	* Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs:
+	* Gui/Dialogs/ReferenceDialog/GacReferencePanel.cs:
+	* Gui/Pads/HelpBrowser/MonodocTreePad.cs:
+	* Internal/Project/Project/IncludeFilesDialog.cs: update to reflect
+	gtk-sharp api out -> ref change
+
 2004-05-27  Todd Berman  <tberman at sevenl.net>
 
 	* Services/Project/DefaultProjectService.cs: fix removing files

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CombineConfiguration/CombineStartupPanel.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CombineConfiguration/CombineStartupPanel.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CombineConfiguration/CombineStartupPanel.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -170,7 +170,7 @@
 						out selectedItem, (TreePath) entryTreeView.Selection.GetSelectedRows(out ls)[0]);
 					// swap it with the next one
 					TreeIter toSwap = selectedItem;
-					if(ls.IterNext(out toSwap))
+					if(ls.IterNext(ref toSwap))
 					{
 						((ListStore)ls).Swap(selectedItem, toSwap);
 					}
@@ -268,7 +268,7 @@
 					CombineExecuteDefinition edef = (CombineExecuteDefinition) store.GetValue(current, 2);					
 					combine.CombineExecuteDefinitions.Add(edef);
 					
-					store.IterNext(out current);	
+					store.IterNext(ref current);	
 				}
 				return true;
 			}		

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -202,7 +202,7 @@
 						out selectedItem, (TreePath) toolListBox.Selection.GetSelectedRows(out ls)[0]);
 					// swap it with the next one
 					TreeIter toSwap = selectedItem;
-					if (ls.IterNext (out toSwap))
+					if (ls.IterNext (ref toSwap))
 					{
 						((ListStore) ls).Swap (selectedItem, toSwap);
 					}
@@ -383,7 +383,7 @@
 					newlist.Add (tool);				 
 					
 					}
-					while (toolListBox.Model.IterNext (out current));
+					while (toolListBox.Model.IterNext (ref current));
 				}
 				
 				ToolLoader.Tool = newlist;

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -89,7 +89,7 @@
 				store.GetIterFirst(out first);
 				TreeIter current = first;
 				for (int i = 0; i < store.IterNChildren() - 1 ; ++i) {
-					store.IterNext(out current);
+					store.IterNext(ref current);
 					string name = fileUtilityService.RelativeToAbsolutePath(
 						project.BaseDirectory, "." + System.IO.Path.DirectorySeparatorChar + store.GetValue(current, 1));
 					int j = 0;

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/DeployFileOptions.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/DeployFileOptions.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ProjectOptions/DeployFileOptions.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -196,7 +196,7 @@
 											  project.BaseDirectory, 
 											  (string) store.GetValue(current, 1)));
 							}
-				store.IterNext(out current);
+				store.IterNext(ref current);
 			}
 			return true;
 			}

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/GacReferencePanel.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/GacReferencePanel.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/GacReferencePanel.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -89,7 +89,7 @@
 					store.SetValue (looping_iter, 3, newstate);
 					return;
 				}
-			} while (store.IterNext (out looping_iter));
+			} while (store.IterNext (ref looping_iter));
 		}
 		
 		void PrintCache()

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -48,7 +48,7 @@
 				do {
 					//Debug.Assert(item.Tag != null);
 					referenceInformations.Add(refTreeStore.GetValue(looping_iter, 3));
-				} while (refTreeStore.IterNext (out looping_iter));
+				} while (refTreeStore.IterNext (ref looping_iter));
 				return referenceInformations;
 			}
 		}
@@ -128,7 +128,7 @@
 					refTreeStore.Remove (ref looping_iter);
 					return;
 				}
-			} while (refTreeStore.IterNext (out looping_iter));
+			} while (refTreeStore.IterNext (ref looping_iter));
 		}
 		
 		public void AddReference(ReferenceType referenceType, string referenceName, string referenceLocation)
@@ -142,7 +142,7 @@
 					}
 				} catch {
 				}
-			} while (refTreeStore.IterNext (out looping_iter));
+			} while (refTreeStore.IterNext (ref looping_iter));
 			
 			ProjectReference tag;
 			switch (referenceType) {
@@ -177,7 +177,7 @@
 						break;
 				}
 				Gtk.TreeIter newIter = iter;
-				if (refTreeStore.IterNext (out newIter)) {
+				if (refTreeStore.IterNext (ref newIter)) {
 					ReferencesTreeView.Selection.SelectIter (newIter);
 					refTreeStore.Remove (ref iter);
 				} else {

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -58,7 +58,7 @@
 					store.Remove (ref child_iter);
 					goto start;
 				}
-			} while (store.IterNext (out child_iter));
+			} while (store.IterNext (ref child_iter));
 		}
 
 		Hashtable populated = new Hashtable ();
@@ -75,7 +75,7 @@
 			if (store.IterChildren (out iter, args.Iter)) {
 				do {
 					PopulateNode (iter);
-				} while (store.IterNext (out iter));
+				} while (store.IterNext (ref iter));
 			}
 			populated[node] = true;
 		}

Modified: trunk/MonoDevelop/src/Main/Base/Internal/Project/Project/IncludeFilesDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Internal/Project/Project/IncludeFilesDialog.cs	2004-05-28 15:21:27 UTC (rev 1658)
+++ trunk/MonoDevelop/src/Main/Base/Internal/Project/Project/IncludeFilesDialog.cs	2004-05-28 18:12:25 UTC (rev 1659)
@@ -129,7 +129,7 @@
 				}
 				project.ProjectFiles.Add(finfo);
 				
-				store.IterNext(out current);
+				store.IterNext(ref current);
 			}
 			
 			IncludeFilesDialogWidget.Destroy();
@@ -158,7 +158,7 @@
  			for (int i = 0; i < store.IterNChildren() ; ++i) {
 				store.SetValue(current, 0, value);
 				
-				store.IterNext(out current);
+				store.IterNext(ref current);
 			}
 		}
 		




More information about the Monodevelop-patches-list mailing list