Author: lluis
Date: 2008-01-17 11:05:04 -0500 (Thu, 17 Jan 2008)
New Revision: 93168
Modified:
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IdeStartup.cs
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/OutputProgressMonitor.cs
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs
Log:
2008-01-17 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Gui/OutputProgressMonitor.cs: Avoid going through the
gui
thread to get some simple property values. Fixes bug #354061.
* MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs: Add
missing
length check.
2008-01-16 Michael Hutchinson <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Gui/IdeStartup.cs: Remove dead code.
Modified: branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
2008-01-17 16:01:25 UTC (rev 93167)
+++ branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
2008-01-17 16:05:04 UTC (rev 93168)
@@ -1,3 +1,14 @@
+2008-01-17 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Ide.Gui/OutputProgressMonitor.cs: Avoid going through the
gui
+ thread to get some simple property values. Fixes bug #354061.
+ * MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs: Add
missing
+ length check.
+
+2008-01-16 Michael Hutchinson <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Ide.Gui/IdeStartup.cs: Remove dead code.
+
2008-01-15 Michael Hutchinson <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Templates/FileTemplate.cs,
Modified:
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IdeStartup.cs
===================================================================
---
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IdeStartup.cs
2008-01-17 16:01:25 UTC (rev 93167)
+++
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IdeStartup.cs
2008-01-17 16:05:04 UTC (rev 93168)
@@ -99,17 +99,6 @@
version += "." + Assembly.GetEntryAssembly
().GetName ().Version.Build;
if (Assembly.GetEntryAssembly ().GetName
().Version.Revision != 0)
version += "." + Assembly.GetEntryAssembly
().GetName ().Version.Revision;
-
- try {
- // When we loose Gnome.Program what should we
do here?
- } catch (Exception ex) {
- string msg = GettextCatalog.GetString
("MonoDevelop failed to start.\nIf you installed MonoDevelop using a binary
installer, take a look at \nhttp://www.mono-project.com/InstallerInstructions
for more info about possible\ncauses of this error.");
- Console.WriteLine (new string ('#',70));
- Console.WriteLine (msg);
- Console.WriteLine (new string ('#',70));
- Console.WriteLine (ex);
- return 1;
- }
// System checks
if (!CheckBug77135 ())
Modified:
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/OutputProgressMonitor.cs
===================================================================
---
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/OutputProgressMonitor.cs
2008-01-17 16:01:25 UTC (rev 93167)
+++
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/OutputProgressMonitor.cs
2008-01-17 16:05:04 UTC (rev 93168)
@@ -116,23 +116,29 @@
}
TextReader IConsole.In {
+ [FreeDispatch]
get { return new StringReader (""); }
}
TextWriter IConsole.Out {
+ [FreeDispatch]
get { return logger; }
}
TextWriter IConsole.Error {
+ [FreeDispatch]
get { return logger; }
}
bool IConsole.CloseOnDispose {
+ [FreeDispatch]
get { return false; }
}
event EventHandler IConsole.CancelRequested {
+ [FreeDispatch]
add { stopRequested += value; }
+ [FreeDispatch]
remove { stopRequested -= value; }
}
}
Modified:
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs
===================================================================
---
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs
2008-01-17 16:01:25 UTC (rev 93167)
+++
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs
2008-01-17 16:05:04 UTC (rev 93168)
@@ -272,7 +272,7 @@
if (fileName != null) {
string fileDirectory = Path.GetDirectoryName
(fileName);
- if (project != null && project.BaseDirectory !=
null && fileDirectory.Substring (0, project.BaseDirectory.Length) ==
fileDirectory )
+ if (project != null && project.BaseDirectory !=
null && fileDirectory.Length >= project.BaseDirectory.Length &&
fileDirectory.Substring (0, project.BaseDirectory.Length) == fileDirectory )
tags ["ProjectRelativeDirectory"] =
fileDirectory.Substring (project.BaseDirectory.Length);
else
tags ["ProjectRelativeDirectory"] =
fileDirectory;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches