Age | Commit message (Collapse) | Author |
|
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
|
|
* TraceOptions.cs : new enum.
* TraceListener.cs : support TraceOutputOptions. Fixed missing
NET_2_0 condition in TARGET_JVM section.
* TraceSwitch.cs, BooleanSwitch.cs :
Added missing constructors and OnValueChanged().
* Trace.cs, TraceImpl.cs :
Added CorrelationManager and UseGlobalLock.
* TraceEventCache.cs : initialize property values at construction.
* Switch.cs : added XmlIgnore on Attributes.
* SwitchesTest.cs : added tests for BooleanSwitch Value.
* TraceListenerTest.cs : added test for TraceOutputOptions.
* System.dll.sources : added TraceOptions.cs.
svn path=/trunk/mcs/; revision=77581
|
|
svn path=/trunk/mcs/; revision=46562
|
|
svn path=/trunk/mcs/; revision=30054
|
|
Switch derived classes should match that of .NET.
Go forth and use Swiches! ;-)
ChangeLog:
* BooleanSwitch.cs: Complete re-write. It works now.
* DefaultTraceListener.cs:
- Use `const' strings, so I don't worry about copy/paste errors
- Give `AssertUiEnabled' an actual backing member
* DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
configuration handler set .config-specified properties on
DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
(AutoFlush, IndentSize).
* Switch.cs: Near complete re-write. Actually works, and is (should be)
comformant with .NET behavior. Changed member names because they were
confusing me. (Yes, that doesn't say much about my memory.)
* TextWriterTraceListener.cs: Append text to already existing files, don't
overwrite them.
* TraceImpl.cs:
- Added private destructor, to ensure no instances are created.
- Move members declarations to be closer to each other.
* TraceSwitch.cs: Complete re-write. It works now.
svn path=/trunk/mcs/; revision=9747
|
|
* BooleanSwitch.cs: Make this class use it's parent class's features.
Namely, use SwitchSetting so that we can get OnSwitchSettingChanged()
to fire for free.
svn path=/trunk/mcs/; revision=774
|
|
svn path=/trunk/mcs/; revision=712
|