2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System / System.Diagnostics / ChangeLog
index 3f422418fdc7a33264b4acf04f4f9c1a370a0740..34c710eca6617f4c094ce6a5c26fdc0827396771 100644 (file)
@@ -1,3 +1,328 @@
+2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Process.cs : ... and it exposed some missing attributes.
+
+2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Process.cs : oops, SessionId was int.
+
+2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Process.cs : added missing SessionId (NIE).
+
+2007-10-30  Robert Jordan  <robertj@gmx.net>
+
+       * Process.cs: Wrap the redirected streams with a stream
+       that provides real async Begin/Read|Write operations.
+       Fixes bug #319829.
+
+2007-09-25  Miguel de Icaza  <miguel@novell.com>
+
+       * Process.cs: Return an empty collection to prevent crashes;
+       Fixes #319946
+
+Tue Sep 25 18:03:37 CEST 2007 Paolo Molaro <lupus@ximian.com>
+
+       * Process.cs: eliminate the console encoding logic which was
+       duplicated from System.Console and just use Console.Out.Encoding
+       (bug #328162).
+
+2007-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue
+       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).
+
+2007-09-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EventLog.cs : added cosmetic 2.0 attributes on newly added members.
+
+2007-09-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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.
+
+2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ProcessStartInfo.cs : Implemented Verbs. It is done.
+
+2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Process.cs, ProcessStartInfo.cs : user info support (on windows).
+
+2007-08-23  Robert Jordan  <robertj@gmx.net>
+
+       * Process.cs: implement PriorityClass. Fixes #81756.
+
+Mon Aug 20 12:41:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
+
+       * Process.cs: implemented icall for system/user times.
+
+2007-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventLog.cs: Do not allow all whitespace machine name. Do nothing
+       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.
+
+2007-08-08  Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
+
+       * Process.cs: added StandardOutputEncoding and StandardErrorEncoding
+       properties. Bug #82262 fixed.
+
+2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Process.cs, ProcessStartInfo.cs : added StandardOutputEncoding
+         and StandardErrorEncoding.
+
+2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * PerformanceCounterCategory.cs PerformanceCounter.cs :
+         added missing 2.0 stuff (unimplemented, where things are anyways
+         unimplemented in 1.x layer).
+
+2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * PerformanceCounterInstanceLifetime.cs
+         PerformanceCounterCategoryType.cs : new.
+       * ICollectData.cs ProcessStartInfo.cs
+         InstanceDataCollectionCollection.cs PerformanceCounter.cs
+         InstanceDataCollection.cs Process.cs :
+         cosmetic attributes cleanup.
+
+2007-08-03  Jb Evain  <jbevain@novell.com>
+
+       * 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.
+
+2007-08-03  Jb Evain  <jbevain@novell.com>
+
+       * FileVersionInfo.cs: remove CAS checks for 2.1.
+
+2007-08-03  Jb Evain  <jbevain@novell.com>
+
+       * Process.cs: disable StartExistCallbackIfNeeded in 2.1.
+
+2007-08-03  Jb Evain  <jbevain@novell.com>
+
+       * 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.
+
+2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EventLogTraceListener.cs : fixed wrong 2.0 dependency in 1.x.
+
+2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EventLogTraceListener.cs : implemented.
+
+2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EventLogImpl.cs
+         EventLog.cs
+         LocalFileEventLog.cs : Implemented EntryWritten event support.
+       * Win32EventLog.cs, NullEventLog.cs : they need stub overrides.
+       * EventLogEntry.cs : [MonitoringDescription].
+       * DiagnosticsConfigurationHandler.cs : [Obsolete]
+
+2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DefaultTraceListener.cs : implemented AssertUiEnabled using MWF.
+
+2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CounterSample.cs : implemented missing 2.0 equality stuff.
+       * CounterSampleCalculator.cs : static in 2.0.
+
+2007-07-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
+
+       * Process.cs: use the default encoding or the windows input/output
+       encodings for the process input/output/error streams. Bug #80838 fixed.
+
+2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
+
+       * Process.cs: don't send empty lines that are not in the input. Fixes
+       bug #79529.
+
+2007-07-11  Ankit Jain  <jankit@novell.com>
+
+       * ProcessStartInfo.cs (WorkingDirectory.set): Don't set
+       working_directory to null.
+
+2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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.
+
+2007-05-18  Marek Safar  <marek.safar@gmail.com>
+
+       * DiagnosticsConfigurationHandler.cs: Fixed 1.1 build.
+
+2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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.
+
+2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * TraceListener.cs : in TraceTransfer(), use TraceEvent() (some
+         derived classes depend on this change).
+       * DelimitedListTraceListener.cs : implemented.
+
+2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EventLogPermissionAccess.cs ProcessPriorityClass.cs
+         ProcessWindowStyle.cs ThreadWaitReason.cs TraceImpl.cs
+         Trace.cs ThreadPriorityLevel.cs EventLogEntryType.cs
+         PerformanceCounterPermissionAccess.cs PerformanceCounterType.cs
+         TraceListener.cs ThreadState.cs : cosmetic API fixes.
+       * SwitchAttribute.cs : implemented GetAll().
+
+2007-05-17  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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.
+
+2007-05-15 Adar Wesley <adarw@mainsoft.com>
+
+       * Trace.cs: added missing method Refresh.
+
+2007-05-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EventTypeFilter.cs
+         TraceFilter.cs
+         SourceFilter.cs
+         SwitchLevelAttribute.cs
+         DelimitedListTraceListener.cs
+         SwitchAttribute.cs : new files in 2.0.
+       * DiagnosticsConfigurationHandler.cs : partial support for named
+         shared listeners.
+       * XmlWriterTraceListener.cs : cosmetic corcompare fixes. Added
+         missing todos.
+       * TraceListener.cs : added missing 2.0 stuff. Implemented Filter.
+       * DefaultTraceListener.cs : trivial ComVisible fix.
+
+2007-05-10  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * TextWriterTraceListener.cs : open log file in readwrite share mode.
+         This fixes bug #81296.
+
+2007-05-08 Igor Zelmanovich <igorz@mainsoft.com>
+
+       * TraceImpl.cs:
+       * TraceListener.cs:
+       for TARGET_JVM used Thread Local Storage istead 
+       Thread-Relative Static Fields 
+
+2007-05-02  Jonathan Chambers  <joncham@gmail.com>
+
+       * Stopwatch.cs : Implement high performance stopwatch on windows.
+
+2007-04-19  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XmlWriterTraceListener.cs : new file, implementated.
+       * TraceListener.cs : implemented 2.0 members.
+
+2007-03-04  Vladimir Krasnov  <vlaimdirk@mainsoft.com>
+
+       * DiagnosticsConfigurationHandler.cs: removed configuration init in
+       TARGET_JVM since not supported
+
+2007-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventLogImpl.cs: When no log name is specified, return zero-length
+       string for LogDisplayName.
+
+2007-01-28 Ilya Kharmatsky <ilyak -at- mainsoft.com>
+
+       * TraceEventCache.jvm.cs: added as a stub class.
+
+Tue Jan 23 17:19:13 CET 2007 Paolo Molaro <lupus@ximian.com>
+
+       * ProcessStartInfo.cs: put the fields in the order expected
+       by the runtime code.
+
+2007-01-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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.
+
+2007-01-12  Miguel de Icaza  <miguel@novell.com>
+
+       * Trace.cs: Add a number of 2.0 overloads.
+
+2007-01-02  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Process.cs: Allow GetProcesses and GetProcessById overloads with 
+       machine name to work for local machine.
+
+2006-12-29  Robert Jordan  <robertj@gmx.net>
+
+       * TraceImpl.cs (Assert): Include line numbers in the stack trace
+       emitted by Assert (). Fixes bug #80400.
+
+Thu Dec 14 20:24:09 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * Process.cs: if a process object is restarted, close the
+       previous process handle (bug #80143).
+
+2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Process.cs: the Process returned by the static Start method never had
+       the right ProcessStartInfo. Fixes bug #80019.
+
+2006-10-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DiagnosticsConfigurationHandler.cs : be more skeptic on
+         broken configuration file.
+
 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
 
        * DefaultTraceListener.cs: TARGET_JVM