Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-22* DiagnosticsConfigurationHandlerTest.cs: No longer derive fromGert Driesen
deprecated Assertion class. Code formatting. On 2.0 profile, allow non-integral values for switches. * BooleanSwitch.cs: Use base ctor for default value. * Switch.cs: On 2.0 profile, store default value and use it if no value is set in config file. * SourceSwitch.cs: Use null to signal that there's no default value. svn path=/trunk/mcs/; revision=86220
2007-09-21* DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValueGert Driesen
to GetSwitchValue. On 2.0 profile, leave the type conversion to Switch implementations. Minor corrections to exception messages to match MS. * Switch.cs: Avoid unnecessary inits. On 2.0 profile, catch and rethrow exceptions in setter for Value. Do not hide exceptions thrown in GetConfigFileSetting. Only set value from config file if switch is actually defined. * SourceSwitch.cs: Use SwitchSetting for getting/storing value instead of new field. In OnValueChanged, parse enum value. * TraceSwitch.cs: If SwitchSetting is changed to value > 4, then set it to Verbose. In OnValueChanged, parse value case-insensitively, and assign it to SwitchSetting (to allow other integral values). svn path=/trunk/mcs/; revision=86141
2007-01-182007-01-18 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* System.dll.sources: added new sources: TraceSource.cs, SourceLevels.cs, CorrelationManager.cs, TraceEventCache.cs, TraceEventType.cs and SourceSwitch.cs. * System_test.dll.sources: added new tests: TraceSourceTest.cs and SourceSwitchTest.cs. * Switch.cs : added missing .ctor(), Attributes, Value, GetSupportedAttributes() and OnValueChanged(). * DiagnosticsConfigurationHandler.cs : added some hacky handler for new "sources" element. Don't wrap another ConfigurationException. * TraceListener.cs : added missing trace methods. * TraceSource.cs, SourceLevels.cs, CorrelationManager.cs, TraceEventCache.cs, TraceEventType.cs, SourceSwitch.cs: added missing 2.0 stuff, mostly just stubs. * TraceSourceTest.cs, SourceSwitchTest.cs : new tests. * SwitchesTest.cs : added test for GetSupportedAttributes(). svn path=/trunk/mcs/; revision=71238