Author: chergert
Date: 2005-09-23 19:10:15 -0400 (Fri, 23 Sep 2005)
New Revision: 50647
Modified:
trunk/monodevelop/ChangeLog
trunk/monodevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Services/SourceViewService.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/AutostartCommands.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/ToolsCommands.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/VBConverter/ConvertBuffer.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewFileDialog.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/Wizard/WizardDialog.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/FileScout/FileList.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/HelpViewer.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/DefaultWorkbench.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyAttribute.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyClass.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyEvent.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyField.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyReturnType.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/BaseProgressMonitor.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/ConsoleProgressMonitor.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/MessageDialogProgressMonitor.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Combine/Combine.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/DotNetProject.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/IncludeFilesDialog.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/Project.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/DispatchService/DispatchService.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/AssemblyInformation.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/CodeCompletionDatabase.cs
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/DefaultParserService.cs
trunk/monodevelop/Core/src/MonoDevelop.Startup/app.config
trunk/monodevelop/Extras/MonoQuery/ChangeLog
trunk/monodevelop/Extras/MonoQuery/Mono.Data.Sql/
trunk/monodevelop/Extras/MonoQuery/MonoQuery/
trunk/monodevelop/Extras/MonoQuery/tests/
Log:
Adjust logging levels. This should also help remove slowness in the boo shells
completion
caused by large amounts of logging.
Modified: trunk/monodevelop/ChangeLog
===================================================================
--- trunk/monodevelop/ChangeLog 2005-09-23 23:02:52 UTC (rev 50646)
+++ trunk/monodevelop/ChangeLog 2005-09-23 23:10:15 UTC (rev 50647)
@@ -1,3 +1,37 @@
+2005-09-23 Christian Hergert <[EMAIL PROTECTED]>
+
+ * Core/src/MonoDevelop.Base/Commands/VBConverter/ConvertBuffer.cs:
Update
+ logging calls to reflect a level more representative of the information.
+ * Core/src/MonoDevelop.Base/Commands/ToolsCommands.cs
+ * Core/src/MonoDevelop.Base/Commands/AutostartCommands.cs
+ * Core/src/MonoDevelop.Base/Services/DispatchService/DispatchService.cs
+ *
Core/src/MonoDevelop.Base/Services/ParserService/DefaultParserService.cs
+ *
Core/src/MonoDevelop.Base/Services/ParserService/AssemblyInformation.cs
+ *
Core/src/MonoDevelop.Base/Services/ParserService/CodeCompletionDatabase.cs
+ * Core/src/MonoDevelop.Base/Gui/Dialogs/Wizard/WizardDialog.cs
+ * Core/src/MonoDevelop.Base/Gui/Dialogs/NewFileDialog.cs
+ * Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
+ * Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/HelpViewer.cs
+ * Core/src/MonoDevelop.Base/Gui/Pads/FileScout/FileList.cs
+ * Core/src/MonoDevelop.Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs
+ * Core/src/MonoDevelop.Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
+ * Core/src/MonoDevelop.Base/Gui/Workbench/DefaultWorkbench.cs
+ * Core/src/MonoDevelop.Base/Internal/Project/Project/DotNetProject.cs
+ *
Core/src/MonoDevelop.Base/Internal/Project/Project/IncludeFilesDialog.cs
+ * Core/src/MonoDevelop.Base/Internal/Project/Project/Project.cs
+ * Core/src/MonoDevelop.Base/Internal/Project/Combine/Combine.cs
+ *
Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/ConsoleProgressMonitor.cs
+ *
Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/MessageDialogProgressMonitor.cs
+ *
Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/BaseProgressMonitor.cs
+ *
Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyEvent.cs
+ *
Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyReturnType.cs
+ *
Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyAttribute.cs
+ *
Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyField.cs
+ *
Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyClass.cs
+ *
Core/src/AddIns/DisplayBindings/SourceEditor/Services/SourceViewService.cs
+ * Core/src/MonoDevelop.Startup/app.config: Change default threshold to
+ ERROR.
+
2005-08-21 Peter Johanson <[EMAIL PROTECTED]>
* configure.in: Bump required boo version. Needed for new -embedres
Modified:
trunk/monodevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Services/SourceViewService.cs
===================================================================
---
trunk/monodevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Services/SourceViewService.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Services/SourceViewService.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -64,7 +64,7 @@
ParseColor
(reader.GetAttribute ("foreground"), ref sts.Foreground);
ParseColor
(reader.GetAttribute ("background"), ref sts.Background);
lang.SetTagStyle (name, sts);
-
Runtime.LoggingService.InfoFormat ("Overrode style {0} {1}", lang.Name, name);
+
Runtime.LoggingService.DebugFormat ("Overrode style {0} {1}", lang.Name, name);
break;
case "SourceLanguage":
lang =
FindLanguage (reader.GetAttribute ("name"));
@@ -77,7 +77,7 @@
}
}
catch (XmlException e) {
- Runtime.LoggingService.Warn (e.ToString ());
+ Runtime.LoggingService.Error (e.ToString ());
}
reader.Close ();
}
@@ -153,7 +153,7 @@
writer.WriteEndAttribute ();
writer.WriteEndElement ();
- Runtime.LoggingService.InfoFormat
("Preserved style {0} {1}", sl.Name, tag.Id);
+ Runtime.LoggingService.DebugFormat
("Preserved style {0} {1}", sl.Name, tag.Id);
}
writer.WriteEndElement ();
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/AutostartCommands.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/AutostartCommands.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++ trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/AutostartCommands.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -65,7 +65,7 @@
Runtime.FileService.OpenFile
(file);
} catch (Exception e) {
-
Runtime.LoggingService.InfoFormat("unable to open file {0} exception was
:\n{1}", file, e.ToString());
+
Runtime.LoggingService.ErrorFormat ("unable to open file {0} exception was
:\n{1}", file, e.ToString());
}
}
}
Modified: trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/ToolsCommands.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/ToolsCommands.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++ trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/ToolsCommands.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -61,8 +61,8 @@
}
// debug command and args
- Runtime.LoggingService.Info("command : " + command);
- Runtime.LoggingService.Info("args : " + args);
+ Runtime.LoggingService.Debug("command : " + command);
+ Runtime.LoggingService.Debug("args : " + args);
// create the process
IProgressMonitor monitor =
Runtime.TaskService.GetRunProgressMonitor ();
@@ -78,7 +78,7 @@
p = Runtime.ProcessService.StartProcess
(command, args, workingDirectory, null);
p.WaitForOutput ();
- Runtime.LoggingService.Info ("DONE");
+ Runtime.LoggingService.Debug ("DONE");
monitor.Log.WriteLine ();
if (p.ExitCode == 0) {
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/VBConverter/ConvertBuffer.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/VBConverter/ConvertBuffer.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Commands/VBConverter/ConvertBuffer.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -49,7 +49,7 @@
VBNetVisitor vbv = new VBNetVisitor();
vbv.Visit(p.compilationUnit, null);
-
Runtime.LoggingService.Info(vbv.SourceText.ToString());
+
Runtime.LoggingService.Debug(vbv.SourceText.ToString());
Runtime.FileService.NewFile ("Generated.VB",
"VBNET", vbv.SourceText.ToString());
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -57,7 +57,7 @@
GLib.Timeout.Add (50, new
GLib.TimeoutHandler (checkFocus));
} catch {
- Runtime.LoggingService.Info ("Gecko#
tossed an exception");
+ Runtime.LoggingService.Error ("Gecko#
tossed an exception");
}
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewFileDialog.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewFileDialog.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++ trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewFileDialog.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -69,7 +69,7 @@
imglist.Add(bitmap);
tmp[entry.Key] = ++i;
} else {
-
Runtime.LoggingService.InfoFormat(GettextCatalog.GetString ("Can't load bitmap
{0} using default"), entry.Key.ToString ());
+
Runtime.LoggingService.ErrorFormat(GettextCatalog.GetString ("Can't load bitmap
{0} using default"), entry.Key.ToString ());
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/Wizard/WizardDialog.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/Wizard/WizardDialog.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/Wizard/WizardDialog.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -185,7 +185,7 @@
dialogPanel.Remove (dialogPanel.Child);
}
if (CurrentWizardPane.ToString () ==
"MonoDevelop.Gui.Dialogs.OptionPanels.CompletionDatabaseWizard.CreationFinishedPanel")
{
- Runtime.LoggingService.Info ("This is an ugly
hack for an even uglier bug, Restart MD now");
+ Runtime.LoggingService.Fatal ("This is an ugly
hack for an even uglier bug, Restart MD now");
System.Environment.Exit (0);
}
dialogPanel.Add(CurrentWizardPane.Control);
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/FileScout/FileList.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/FileScout/FileList.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++ trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/FileScout/FileList.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -87,7 +87,7 @@
}
void ItemRemoved (FileListItem item) {
- Runtime.LoggingService.Info ("remove called");
+ Runtime.LoggingService.Debug ("remove called");
store.Remove (ref selectedIter);
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/HelpViewer.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/HelpViewer.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/HelpViewer.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -48,7 +48,7 @@
void UrlRequested (object sender, UrlRequestedArgs args)
{
- Runtime.LoggingService.Info ("Image requested: " +
args.Url);
+ Runtime.LoggingService.DebugFormat ("Image requested:
{0}", args.Url);
Stream s = Runtime.Documentation.HelpTree.GetImage
(args.Url);
if (s != null) {
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Pads/HelpBrowser/MonodocTreePad.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -106,7 +106,7 @@
ShowDocs (s, match, url);
return;
}
- Runtime.LoggingService.Info ("Couldnt find
match");
+ Runtime.LoggingService.Error ("Couldnt find
match");
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/DefaultWorkbench.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/DefaultWorkbench.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/DefaultWorkbench.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -171,7 +171,7 @@
else
Runtime.FileService.OpenFile (file);
} catch (Exception e) {
-
Runtime.LoggingService.InfoFormat("unable to open file {0} exception was
:\n{1}", file, e.ToString());
+
Runtime.LoggingService.ErrorFormat ("unable to open file {0} exception was
:\n{1}", file, e.ToString());
}
}
}
@@ -240,7 +240,7 @@
((IMementoCapable)content).SetMemento(memento);
}
} catch (Exception e) {
- Runtime.LoggingService.Info("Can't
get/set memento : " + e.ToString());
+ Runtime.LoggingService.Error ("Can't
get/set memento : " + e.ToString());
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -302,7 +302,7 @@
}
}
- //Runtime.LoggingService.Info(" Default Layout
created.");
+ Runtime.LoggingService.Debug ("Default Layout
created.");
dockLayout = new DockLayout (dock);
if (System.IO.File.Exists (configFile)) {
dockLayout.LoadFromFile (configFile);
@@ -317,7 +317,7 @@
{
workbench.ContextChanged -= contextChangedHandler;
- //Runtime.LoggingService.Info("Call to
SdiWorkSpaceLayout.Detach");
+ Runtime.LoggingService.Debug ("Call to
SdiWorkSpaceLayout.Detach");
dockLayout.SaveLayout (currentLayout);
dockLayout.SaveToFile (configFile);
rootWidget.Remove(((DefaultWorkbench)workbench).TopMenu);
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyAttribute.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyAttribute.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyAttribute.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -44,7 +44,7 @@
int table =
assembly.Reader.GetCodedIndexTable(CodedIndex.MemberRefParent, ref trIndex);
if (table != 1) {
-
Runtime.LoggingService.Info("SharpAssemblyAttribute: unsupported
MemberRefParent coded index");
+ Runtime.LoggingService.Debug
("SharpAssemblyAttribute: unsupported MemberRefParent coded index");
return; // unsupported
}
@@ -94,7 +94,7 @@
ushort prolog = binaryReader.ReadUInt16();
if (prolog != 1) {
-
Runtime.LoggingService.Info("SharpAssemblyAttribute: Wrong prolog in argument
list");
+ Runtime.LoggingService.Debug
("SharpAssemblyAttribute: Wrong prolog in argument list");
return;
}
@@ -114,11 +114,11 @@
}
}
-
Runtime.LoggingService.Info("Enum: return type = " + rettypename);
+ Runtime.LoggingService.Debug
("Enum: return type = " + rettypename);
object argValue =
GetFixedArg(argBlob, binaryReader, rettypename);
-
Runtime.LoggingService.Info("Enum: arg value = " + argValue.ToString());
+ Runtime.LoggingService.Debug
("Enum: arg value = " + argValue.ToString());
foreach (IField field
in underlyingClass.Fields) {
if (field is
SharpAssemblyField) {
@@ -133,7 +133,7 @@
// if the value cannot be found
positionalArguments.Add(argValue.ToString());
-
Runtime.LoggingService.Info("Enum: no name found");
+ Runtime.LoggingService.Debug
("Enum: no name found");
namefound: ;
@@ -163,7 +163,7 @@
binaryReader.Close();
} catch (Exception) {
-
Runtime.LoggingService.Info("SharpAssemblyAttribute: Error loading arguments.");
+ Runtime.LoggingService.Debug
("SharpAssemblyAttribute: Error loading arguments.");
//Runtime.LoggingService.Info(e.ToString());
}
}
@@ -232,7 +232,7 @@
try {
ret += (string)de.Key + " = " +
(string)de.Value + ", ";
} catch {
- Runtime.LoggingService.Info("error in
namedArguments");
+ Runtime.LoggingService.Error ("error in
namedArguments");
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyClass.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyClass.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyClass.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -47,7 +47,7 @@
case 3: // TypeRef -- nested type
return GetNestedName(asm, typeRefTable,
val) + "+" + asm.Reader.GetStringFromHeap(typeRefTable[index].Name);
default: // other token - not supported
-
Runtime.LoggingService.Info("GetNestedName: Unsupported resolution scope!");
+ Runtime.LoggingService.Debug
("GetNestedName: Unsupported resolution scope!");
goto case 3;
}
}
@@ -80,7 +80,7 @@
SharpAssembly_ declaringAssembly =
referencingAssembly.GetRefAssemblyFor(index);
if (declaringAssembly == null) {
Console.Write("FromTypeRef failed for: " + name
+ " declared in assembly " + referencingAssembly.Name);
- Runtime.LoggingService.Info(": Declaring
assembly not found.");
+ Runtime.LoggingService.Debug (": Declaring
assembly not found.");
return null;
}
@@ -105,7 +105,7 @@
}
Console.Write("FromTypeRef failed for: " + name + "
declared in assembly " + referencingAssembly.Name);
- Runtime.LoggingService.Info(": Matching type not found
for nested name: " + nestedName);
+ Runtime.LoggingService.Debug (": Matching type not
found for nested name: " + nestedName);
return null;
}
@@ -296,7 +296,7 @@
case 1: // TypeRef
return FromTypeRef(assembly, nIndex);
default:
-
Runtime.LoggingService.Info("GetTypeRefOrDefClass: Wrong TypeDefOrRef coded
index!");
+ Runtime.LoggingService.Debug
("GetTypeRefOrDefClass: Wrong TypeDefOrRef coded index!");
return null;
}
}
@@ -432,7 +432,7 @@
IClass newclass = new
SharpAssemblyClass(assembly, typeDefTable, i);
classes.Add(newclass);
} catch {
-
Runtime.LoggingService.Info("GetAssemblyTypes: Error loading class " + i);
+ Runtime.LoggingService.Debug
("GetAssemblyTypes: Error loading class " + i);
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyEvent.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyEvent.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyEvent.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -123,7 +123,7 @@
} else { // TypeSpec
returnType = new
SharpAssemblyReturnType("NOT_SUPPORTED");
-
Runtime.LoggingService.Info("SharpAssemblyEvent: TypeSpec -- not supported");
+ Runtime.LoggingService.Debug
("SharpAssemblyEvent: TypeSpec -- not supported");
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyField.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyField.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyField.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -133,7 +133,7 @@
}
binReader.Close();
} catch {
-
Runtime.LoggingService.Info("SharpAssemblyField: Error reading constant value");
+ Runtime.LoggingService.Error
("SharpAssemblyField: Error reading constant value");
}
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyReturnType.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyReturnType.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Parser/SharpAssemblyLayer/SharpAssemblyReturnType.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -138,7 +138,7 @@
break;
default:
- Runtime.LoggingService.Info("NOT
supported: " + dt.ToString());
+ Runtime.LoggingService.Debug ("NOT
supported: " + dt.ToString());
fullyQualifiedName += " NOT_SUPPORTED
[" + dt.ToString() + "]";
break;
}
@@ -174,7 +174,7 @@
} else {
FullyQualifiedName =
assembly.Reader.GetStringFromHeap(typeRefTable[index].Nspace) + "." +
assembly.Reader.GetStringFromHeap(typeRefTable[index].Name);
-
Runtime.LoggingService.Info("SharpAssemblyReturnType from TypeRef: TypeRef not
resolved!");
+ Runtime.LoggingService.Debug
("SharpAssemblyReturnType from TypeRef: TypeRef not resolved!");
}
declaredin = assembly.GetRefAssemblyFor(index);
}
@@ -185,7 +185,7 @@
try {
GetDataType(assembly, ref blobSignatureIndex);
} catch (Exception e) {
- Runtime.LoggingService.Info("Got exception in
ReturnType creation: " + e.ToString());
+ Runtime.LoggingService.Error ("Got exception in
ReturnType creation: " + e.ToString());
FullyQualifiedName = "GOT_EXCEPTION";
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/BaseProgressMonitor.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/BaseProgressMonitor.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/BaseProgressMonitor.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -127,7 +127,7 @@
errorsMessages.Add (message);
if (ex != null) {
- Runtime.LoggingService.Info (ex);
+ Runtime.LoggingService.Error (ex);
errorException = ex;
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/ConsoleProgressMonitor.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/ConsoleProgressMonitor.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/ConsoleProgressMonitor.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -35,7 +35,7 @@
{
public override void BeginTask (string name, int totalWork)
{
- Runtime.LoggingService.Info ("*** " + name);
+ Runtime.LoggingService.Debug ("*** " + name);
}
public override TextWriter Log {
@@ -44,18 +44,18 @@
public override void ReportSuccess (string message)
{
- Runtime.LoggingService.Info (message);
+ Runtime.LoggingService.Debug (message);
}
public override void ReportWarning (string message)
{
- Runtime.LoggingService.Info ("WARNING: " + message);
+ Runtime.LoggingService.Warn ("WARNING: " + message);
}
public override void ReportError (string message, Exception ex)
{
- Runtime.LoggingService.Info ("ERROR: " + message);
- Runtime.LoggingService.Info (ex);
+ Runtime.LoggingService.Error ("ERROR: " + message);
+ Runtime.LoggingService.Error (ex);
}
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/MessageDialogProgressMonitor.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/MessageDialogProgressMonitor.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/ProgressMonitoring/MessageDialogProgressMonitor.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -56,7 +56,7 @@
errorsMessages.Add (message);
if (ex != null) {
- Runtime.LoggingService.Info (ex);
+ Runtime.LoggingService.Error (ex);
errorException = ex;
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Combine/Combine.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Combine/Combine.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Combine/Combine.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -593,7 +593,7 @@
projects.Add ((Project)entry);
}
else
- Runtime.LoggingService.Info ("Dont know
how to generate makefiles for " + entry);
+ Runtime.LoggingService.ErrorFormat
("Dont know how to generate makefiles for {0}", entry);
}
string rel_outputdir =
Runtime.FileUtilityService.AbsoluteToRelativePath (BaseDirectory, outputdir);
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/DotNetProject.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/DotNetProject.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/DotNetProject.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -174,7 +174,8 @@
public override void GenerateMakefiles (Combine parentCombine)
{
- Runtime.LoggingService.Info ("Generating makefiles for
" + Name);
+ Runtime.LoggingService.DebugFormat ("Generating
makefiles for {0}",
+ Name);
languageBinding.GenerateMakefile (this, parentCombine);
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/IncludeFilesDialog.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/IncludeFilesDialog.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/IncludeFilesDialog.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -42,7 +42,7 @@
public IncludeFilesDialog(Project project, StringCollection
newFiles)
{
- Runtime.LoggingService.Info ("*** Include files dialog
***");
+ Runtime.LoggingService.Debug ("*** Include files dialog
***");
// we must do it from *here* otherwise, we get this
assembly, not the caller
Glade.XML glade = new Glade.XML (null, "Base.glade",
"IncludeFilesDialogWidget", null);
glade.Autoconnect (this);
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/Project.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/Project.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Internal/Project/Project/Project.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -283,7 +283,7 @@
File.Copy
(referenceFileName + ".mdb", destinationFileName + ".mdb", true);
}
} catch (Exception e) {
-
Runtime.LoggingService.InfoFormat("Can't copy reference file from {0} to {1}
reason {2}", referenceFileName, destinationFileName, e);
+
Runtime.LoggingService.ErrorFormat ("Can't copy reference file from {0} to {1}
reason {2}", referenceFileName, destinationFileName, e);
}
}
if (projectReference.ReferenceType ==
ReferenceType.Project && RootCombine != null) {
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/DispatchService/DispatchService.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/DispatchService/DispatchService.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/DispatchService/DispatchService.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -182,14 +182,14 @@
private void HandlerError (GenericMessageContainer msg)
{
- Runtime.LoggingService.Info (errormsg);
- Runtime.LoggingService.Info (msg.Exception);
+ Runtime.LoggingService.Error (errormsg);
+ Runtime.LoggingService.Error (msg.Exception);
if (msg.CallerStack != null) {
- Runtime.LoggingService.Info ("\nCaller stack:");
- Runtime.LoggingService.Info (msg.CallerStack);
+ Runtime.LoggingService.Error ("\nCaller
stack:");
+ Runtime.LoggingService.Error (msg.CallerStack);
}
else
- Runtime.LoggingService.Info ("\n\nCaller stack
not available. Define the environment variable MONODEVELOP_DISPATCH_DEBUG to
enable caller stack capture.");
+ Runtime.LoggingService.Error ("\n\nCaller stack
not available. Define the environment variable MONODEVELOP_DISPATCH_DEBUG to
enable caller stack capture.");
}
}
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/AssemblyInformation.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/AssemblyInformation.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/AssemblyInformation.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -115,7 +115,7 @@
} catch {
}
if(asm == null) {
- Runtime.LoggingService.InfoFormat ("Unable to
load {0}", fileName);
+ Runtime.LoggingService.ErrorFormat ("Unable to
load {0}", fileName);
return;
}
foreach (Type type in asm.GetTypes()) {
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/CodeCompletionDatabase.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/CodeCompletionDatabase.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/CodeCompletionDatabase.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -122,7 +122,7 @@
currentGetTime = 0;
CloseReader ();
- Runtime.LoggingService.Info ("Reading "
+ dataFile);
+ Runtime.LoggingService.Debug ("Reading
" + dataFile);
ifile = new FileStream (dataFile,
FileMode.Open, FileAccess.Read, FileShare.Read);
BinaryFormatter bf = new
BinaryFormatter ();
@@ -150,7 +150,7 @@
catch (Exception ex)
{
if (ifile != null) ifile.Close ();
- Runtime.LoggingService.Info ("PIDB file
'" + dataFile + "' couldn not be loaded: '" + ex.Message + "'. The file will be
recreated");
+ Runtime.LoggingService.Error ("PIDB
file '" + dataFile + "' couldn not be loaded: '" + ex.Message + "'. The file
will be recreated");
rootNamespace = new NamespaceEntry ();
files = new Hashtable ();
references = new ArrayList ();
@@ -177,7 +177,7 @@
modified = false;
headers["Version"] = FORMAT_VERSION;
- Runtime.LoggingService.Info ("Writing " +
dataFile);
+ Runtime.LoggingService.Debug ("Writing " +
dataFile);
string tmpDataFile = dataFile + ".tmp";
FileStream dfile = new FileStream (tmpDataFile,
FileMode.Create, FileAccess.Write, FileShare.Write);
@@ -326,7 +326,7 @@
{
lock (rwlock)
{
-// Runtime.LoggingService.Info ("GET CLASS " +
typeName + " in " + dataFile);
+// Runtime.LoggingService.Debug ("GET CLASS " +
typeName + " in " + dataFile);
string[] path = typeName.Split ('.');
int len = path.Length - 1;
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/DefaultParserService.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/DefaultParserService.cs
2005-09-23 23:02:52 UTC (rev 50646)
+++
trunk/monodevelop/Core/src/MonoDevelop.Base/Services/ParserService/DefaultParserService.cs
2005-09-23 23:10:15 UTC (rev 50647)
@@ -207,7 +207,7 @@
// being thrown and corrupting the textarea control
try {
IParser parser = parserService.GetParser
(fileName);
- //Runtime.LoggingService.Info("Parse info : " +
GetParseInformation(fileName).MostRecentCompilationUnit.Tag);
+ //Runtime.LoggingService.DebugFormat ("Parse
info : {0}", GetParseInformation(fileName).MostRecentCompilationUnit.Tag);
if (parser != null) {
return parser.Resolve (this,
expression, caretLineNumber, caretColumn, fileName, fileContent);
}
@@ -445,7 +445,7 @@
return;
}
catch (Exception ex) {
- Runtime.LoggingService.Info (ex);
+ Runtime.LoggingService.Error (ex);
}
}
@@ -912,9 +912,7 @@
lastUpdateSize[fileName] = contentHash;
}
} catch (Exception e) {
- try {
-
Runtime.LoggingService.Info(e.ToString());
- } catch {}
+ Runtime.LoggingService.Error (e.ToString ());
}
}
@@ -1102,7 +1100,7 @@
public string SearchNamespace (CodeCompletionDatabase db,
IUsing usin, string partitialNamespaceName, bool caseSensitive)
{
-// Runtime.LoggingService.Info("SearchNamespace : >{0}<",
partitialNamespaceName);
+// Runtime.LoggingService.DebugFormat ("SearchNamespace :
>{0}<", partitialNamespaceName);
if (NamespaceExists (db, partitialNamespaceName,
caseSensitive)) {
return partitialNamespaceName;
}
@@ -1191,7 +1189,7 @@
public IClass SearchType (CodeCompletionDatabase db, IUsing
iusing, string partitialTypeName, bool caseSensitive)
{
-// Runtime.LoggingService.Info("Search type : >{0}<",
partitialTypeName);
+ Runtime.LoggingService.Debug ("Search type : >{0}<",
partitialTypeName);
IClass c = GetClass (db, partitialTypeName,
caseSensitive);
if (c != null) {
return c;
@@ -1199,10 +1197,10 @@
foreach (string str in iusing.Usings) {
string possibleType = String.Concat(str, ".",
partitialTypeName);
-// Runtime.LoggingService.Info("looking for " +
possibleType);
+ Runtime.LoggingService.Debug ("looking for
{0}", possibleType);
c = GetClass (db, possibleType, caseSensitive);
if (c != null) {
-// Runtime.LoggingService.Info("Found!");
+ Runtime.LoggingService.Debug ("Found!");
return c;
}
}
@@ -1212,10 +1210,10 @@
if (declaringNamespace != null) {
while (declaringNamespace.Length > 0) {
string className =
String.Concat(declaringNamespace, ".", partitialTypeName);
-// Runtime.LoggingService.Info("looking
for " + className);
+ Runtime.LoggingService.DebugFormat
("looking for {0}", className);
c = GetClass (db, className,
caseSensitive);
if (c != null) {
-//
Runtime.LoggingService.Info("Found!");
+ Runtime.LoggingService.Debug
("Found!");
return c;
}
int index =
declaringNamespace.IndexOf('.');
@@ -1233,10 +1231,10 @@
string className = null;
if (aliasString.Length > 0) {
className =
String.Concat(entry.Value.ToString(), partitialTypeName.Remove(0,
aliasString.Length));
-//
Runtime.LoggingService.Info("looking for " + className);
+
Runtime.LoggingService.DebugFormat ("looking for {0}", className);
c = GetClass (db, className,
caseSensitive);
if (c != null) {
-//
Runtime.LoggingService.Info("Found!");
+
Runtime.LoggingService.Debug ("Found!");
return c;
}
}
Modified: trunk/monodevelop/Core/src/MonoDevelop.Startup/app.config
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Startup/app.config 2005-09-23
23:02:52 UTC (rev 50646)
+++ trunk/monodevelop/Core/src/MonoDevelop.Startup/app.config 2005-09-23
23:10:15 UTC (rev 50647)
@@ -5,6 +5,7 @@
</configSections>
<log4net>
<appender name="ConsoleAppender"
type="log4net.Appender.ConsoleAppender">
+ <threshold value="ERROR" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread]
%-5level %logger [%ndc] - %message%newline" />
</layout>
Modified: trunk/monodevelop/Extras/MonoQuery/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoQuery/ChangeLog 2005-09-23 23:02:52 UTC
(rev 50646)
+++ trunk/monodevelop/Extras/MonoQuery/ChangeLog 2005-09-23 23:10:15 UTC
(rev 50647)
@@ -1,3 +1,7 @@
+2005-09-23 Christian Hergert <[EMAIL PROTECTED]>
+
+ * Update svn:ignore
+
2005-09-22 Christian Hergert <[EMAIL PROTECTED]>
* Mono.Data.Sql/Providers/NpgsqlDbProvider.cs: Encapsulate GetDateTime
Property changes on: trunk/monodevelop/Extras/MonoQuery/Mono.Data.Sql
___________________________________________________________________
Name: svn:ignore
- Makefile
Makefile.in
+ Makefile
Makefile.in
*.pidb
Property changes on: trunk/monodevelop/Extras/MonoQuery/MonoQuery
___________________________________________________________________
Name: svn:ignore
- Makefile
Makefile.in
+ Makefile
Makefile.in
*.pidb
Property changes on: trunk/monodevelop/Extras/MonoQuery/tests
___________________________________________________________________
Name: svn:ignore
+ *.pidb
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches