[mapguide-commits] r4909 - in sandbox/maestro-2.5: Maestro.Base/UI
Thirdparty/TreeViewAdv/Aga.Controls
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue May 18 07:09:02 EDT 2010
Author: jng
Date: 2010-05-18 07:09:02 -0400 (Tue, 18 May 2010)
New Revision: 4909
Modified:
sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs
sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/Aga.Controls.csproj
sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/PerformanceAnalyzer.cs
Log:
- Load items asynchronously in the Site Explorer
- Turn off PERF_TEST pre-processor switch in Debug mode for TreeViewAdv. The PERF_TEST conditional code used P/Invokes which meant running debug builds on Mono would blow up.
Modified: sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs
===================================================================
--- sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs 2010-05-18 09:27:49 UTC (rev 4908)
+++ sandbox/maestro-2.5/Maestro.Base/UI/SiteExplorer.Designer.cs 2010-05-18 11:09:02 UTC (rev 4909)
@@ -44,6 +44,7 @@
//
// trvResources
//
+ this.trvResources.AsyncExpanding = true;
this.trvResources.BackColor = System.Drawing.SystemColors.Window;
this.trvResources.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.trvResources.DefaultToolTipProvider = null;
Modified: sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/Aga.Controls.csproj
===================================================================
--- sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/Aga.Controls.csproj 2010-05-18 09:27:49 UTC (rev 4908)
+++ sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/Aga.Controls.csproj 2010-05-18 11:09:02 UTC (rev 4909)
@@ -30,7 +30,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG;PERF_TEST</DefineConstants>
+ <DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRules>-Microsoft.Design#CA1020;-Microsoft.Design#CA1060;-Microsoft.Design#CA1062;-Microsoft.Globalization#CA1301;-Microsoft.Globalization#CA1302;-Microsoft.Globalization#CA1303;-Microsoft.Globalization#CA1306;-Microsoft.Globalization#CA1304;-Microsoft.Globalization#CA1305;-Microsoft.Globalization#CA1300;-Microsoft.Maintainability#CA1501;-Microsoft.Mobility#CA1601;-Microsoft.Performance#CA1805;-Microsoft.Performance#CA1815;-Microsoft.Performance#CA1819;-Microsoft.Usage#CA2208</CodeAnalysisRules>
Modified: sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/PerformanceAnalyzer.cs
===================================================================
--- sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/PerformanceAnalyzer.cs 2010-05-18 09:27:49 UTC (rev 4908)
+++ sandbox/maestro-2.5/Thirdparty/TreeViewAdv/Aga.Controls/PerformanceAnalyzer.cs 2010-05-18 11:09:02 UTC (rev 4909)
@@ -55,7 +55,7 @@
}
}
- [Conditional("DEBUG")]
+ [Conditional("PERF_TEST")]
public static void Start(string pieceOfCode)
{
PerformanceInfo info = null;
@@ -74,7 +74,7 @@
}
}
- [Conditional("DEBUG")]
+ [Conditional("PERF_TEST")]
public static void Finish(string pieceOfCode)
{
lock (_performances)
More information about the mapguide-commits
mailing list