FileVersionInfo, and indirectly also for AssemblyBuilder.
* FileVersionInfo.cs (GetVersionInfo): Resolve filename to absolute
path, and throw FileNotFoundException if it does not exist.
* System_test.dll.sources: Added FileVersionInfoTest.cs.
svn path=/trunk/mcs/; revision=93643
valid and remove LAMESPEC since the documentation has been corrected
for .NET 3.5. Code formatting.
* ProcessTest.cs: Added tests for PriorityClass.
svn path=/trunk/mcs/; revision=91804
* Process.cs: Check that the process has been started before
getting or setting the priority class. Fixes bug 348415.
2007-12-19 Dick Porter <[email protected]>
* Win32Exception.cs: Add text for error 5, Access denied.
svn path=/trunk/mcs/; revision=91629
* DefaultTraceListener.cs: By default set the AssertUiEnabled to
false, as this is what we had previously and some broken
applications (Tomboy) are too trigger happy with Debug.Assert.
Also, we now load the Windows.Forms code on demand, instead of
preloading it on the static ctor to reduce memory usage.
svn path=/trunk/mcs/; revision=91070
value is set to null, instead of ArgumentException. Remove check if
file name is rooted and exists when UseShellExecute is false, and let
runtime handle this. Fixes bug #345565. When a process cannot be started, do
not access ProcessStartInfo.EnvironmentVariables since that would not allow us
to re-use the instance when changing UseShellExecute. Added argument check in
Start (ProcessStartInfo). Code formatting.
* ProcessTest.cs: Added tests for Start overloads.
svn path=/trunk/mcs/; revision=90693
2007-10-30 Robert Jordan <[email protected]>
* ProcessTest.cs: Add tests for bug #319829.
In System.Diagnostics:
2007-10-30 Robert Jordan <[email protected]>
* Process.cs: Wrap the redirected streams with a stream
that provides real async Begin/Read|Write operations.
Fixes bug #319829.
In System.IO:
2007-10-30 Robert Jordan <[email protected]>
* MonoSyncFileStream.cs: Add.
svn path=/trunk/mcs/; revision=88491
* Process.cs: eliminate the console encoding logic which was
duplicated from System.Console and just use Console.Out.Encoding
(bug #328162).
svn path=/trunk/mcs/; revision=86341
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
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
* EventLog.cs, EventLogImpl.cs, LocalFileEventLog.cs, NullEventLog.cs,
Win32EventLog.cs : added missing members, will be left unsupported
in non-Win32 impl and left unimplemented in Win32.
* CounterCreationDataCollection.cs : in 2.0 OnValidate() is overriden
instad of OnInsert().
* Process.cs : removed StandardErrorEncoding and
StandardOutputEncoding. They do not exist anymore.
svn path=/trunk/mcs/; revision=85336
* Process.cs, ProcessStartInfo.cs : user info support (on windows).
Removed encoding_stderr, encoding_stdout which are not needed and
do not match icall.
svn path=/trunk/mcs/; revision=85209
when setting the same value for EnableRaisingEvents, and only modify
value of field when enable/disable succeeded. Treats log name case
insensitively on all platforms, and perform reset when the log name
is changed. Validate new machine name in property, and treat it
case-insensitively. Perform reset when source is modified, and log
name was not explicitly set. When EventLog is closed, also disable
event watcher.
* LocalEventLog.cs: In Close, clean-up the FileSystemWatcher. Add
locking to Created eventhandler to avoid duplicate notifications.
* Win32EventLog.cs: Cache handle for reading from eventlog. In Close,
close the read handle. Implement support for watching win32 eventlog.
Fixes bug #82436.
* EventLogTest.cs: Added tests for validity of machine name. Added
tests for case-insensitivity of Source, Log and MachineName.
svn path=/trunk/mcs/; revision=84049
* PerformanceCounterCategory.cs PerformanceCounter.cs :
added missing 2.0 stuff (unimplemented, where things are anyways
unimplemented in 1.x layer).
svn path=/trunk/mcs/; revision=83523
* FileVersionInfo.cs: force the use of the params
AppendFormat method of StringBuilder as it is the only
one accessible in 2.1 and in the previous versions.
svn path=/trunk/mcs/; revision=83490
2007-08-03 Jb Evain <[email protected]>
* ProcessThreadCollection.cs
ProcessModuleCollection.cs: use our own collection base
for the 2.1 profile, as ReadOnlyCollectionBase does not exist
in 2.1, and they are internalized by the linker.
in System.ComponentModel:
2007-08-03 Jb Evain <[email protected]>
* ComponentCollection.cs: use our own collection base
for the 2.1 profile, as ReadOnlyCollectionBase does not exist
in 2.1, and they are internalized by the linker.
svn path=/trunk/mcs/; revision=83421
* Process.cs: use the default encoding or the windows input/output
encodings for the process input/output/error streams. Bug #80838 fixed.
svn path=/trunk/mcs/; revision=82618
* TraceSourceInfo.cs : new class for storing configuration data.
* TraceSource.cs : TraceEventCache arguments should be null (they are
nullable). Use TraceSourceInfo above.
* DiagnosticsConfigurationHandler.cs : removed hack to store listeners
in named sources, not traceimpl. Create TraceSource objects from
configuration data.
* System.dll.sources : added TraceSourceInfo.cs.
svn path=/trunk/mcs/; revision=77640
* XmlWriterTraceListener.cs : open file in shared r/w mode.
* DiagnosticsConfigurationHandler.cs : process <sharedListeners>
elements first, so that named listeners work fine.
* EventLogTraceListener.cs : added 2.0 stubs.
* CorrelationManager.cs : removed todo.
svn path=/trunk/mcs/; revision=77625