New tests.
[mono.git] / mcs / class / System / System.Diagnostics / ChangeLog
index b18b8eb811d95d5b65f717ad162c8683972594dd..acad4d7b93c5c16b048366b4ae180ee270377ccb 100644 (file)
@@ -1,3 +1,228 @@
+2010-04-06  Jb Evain  <jbevain@novell.com>
+
+       * Debug.cs: make class static.
+
+2010-04-06  Jb Evain  <jbevain@novell.com>
+
+       * Debug.cs (Assert, WriteLine): add net_4_0 overloads.
+
+2010-03-11  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Debug_2_1.cs: Change type to static to match SL4
+
+2010-01-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * Stopwatch.cs: add new Restart().
+
+2009-11-30  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Debug_2_1.cs: Change type to sealed to match SL2/3
+
+2009-10-12  Zoltan Varga  <vargaz@gmail.com>
+
+       * Process.cs (Dispose): Close the async output/error readers. Fixes #545429.
+
+2009-07-22  Jb Evain  <jbevain@novell.com>
+
+       * ProcessStartInfo.cs: force no-verb on MONOTOUCH.
+
+2009-07-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ProcessStartInfo.cs: HaveEnvVars is enabled by just using the
+       EnvironmentVariables property. Bug #520650 fixed.
+
+2009-05-12  Jonathan Pryor  <jpryor@novell.com>
+
+       * DiagnosticsConfigurationHandler.cs: Use the new
+         TraceSourceInfo(string, SourceLevels, TraceImplSettings) constructor.
+       * TraceSourceInfo.cs: Add a new constructor, 
+         TraceSourceInfo(string, SourceLevels, TraceImplSettings), which adds
+         the DefaultTraceListener w/o depending upon (the possibly still
+         initializing) TraceImpl members.  Fixes #502944.
+
+2009-05-01 Jonathan Pryor  <jpryor@novell.com>
+
+       * DiagnosticsConfigurationHandler.cs: Don't refer to TraceImpl member
+         while reading the .config file, instead cache the values and refer
+         to the cached values during initialization.  This prevents recursive
+         initialization calls (Trace.OnInit() ... Trace.Listeners.Add() ...
+         Trace.OnInit() ...), and associated duplicate parsing of .config file
+         sections.  Fixes bnc#499442.
+       * TraceImpl.cs: Cope with DiagnosticsConfigurationHandler changes.
+       * TraceListenerCollection.cs: Add internal 
+         Add(TraceListener,TraceImplSettings) method for adding
+         TraceListeners during DiagnosticsConfigurationHandler initialization
+         (which can't access TraceImpl, as we may still be reading the
+         .config file to determine the TraceImpl values).
+
+2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ConsoleTraceListener.cs: add an internal constructor that takes a
+       string argument. Used when 'initializeData' is set.
+       * DiagnosticsConfigurationHandler.cs: try internal constructors when
+       the assembly is System.
+       Fixes bug #498853.
+
+2009-04-19  Miguel de Icaza  <miguel@novell.com>
+
+       * Process.cs: Do not crash if GetProcesses_internal returns null
+       This happens on operating systems where we have not implemented
+       EnumProcesses in the io-layer, see bug 496294.
+
+2009-02-24  AndrĂ©s G. Aragoneses  <aaragoneses@novell.com>
+
+       * Process.cs: Throw IOEs instead of normal exceptions.
+       Fixes bug 477943.
+
+2009-01-22  Zoltan Varga  <vargaz@gmail.com>
+
+       * Stopwatch.cs: Reorder the calculations in Elapsed and ElapsedMilliseconds
+       to avoid overflow. Fixes #468570. Patch by Yoni Shalom <silver83@gmail.com>.
+
+2009-01-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * Process.cs: Avoid closing the duplicated process handle in
+       ProcessWaitHandle, it is done automatically by the WaitHandle.Dispose ().
+       Fixes #464628.
+
+2008-12-09 Christian Hergert <christian.hergert@gmail.com>
+
+       * CounterCreationData.cs: CounterHelp defaults to String.Empty.
+
+2008-11-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * PerformanceCounter.cs: add 2 workarounds for known problems. I will
+       add the corresponding test cases later.
+
+2008-11-13  Bill Holmes  <billholmes54@gmail.com>
+
+       * Process.cs : Adding an implementation for WaitForInputIdle
+         to call the an internal call.  The internal call is only 
+         implemented properly on Windows.
+         
+       Code is contributed under MIT/X11 license.
+
+2008-11-06  Jonathan Chambers  <joncham@gmail.com>
+
+       * Process.cs : Use DuplicateHandle when redirecting
+       StdInput and StdOutput. Fixes bug #436291.
+
+Mon Oct 13 14:39:52 CEST 2008 Paolo Molaro <lupus@ximian.com>
+
+       * Process.cs: added icall and implementation of many memory-related
+       query methods (bug #434473).
+
+2008-09-20  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * PerformanceCounter.cs:
+       * Stopwatch.cs:
+       * TraceImpl.cs: Fixed line endings.
+
+2008-09-20  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DiagnosticsConfigurationHandler.cs (AddTraceAttributes): Avoid
+       wrapping configuration errors thrown during initialization of
+       TraceImpl. Fixed line endings.
+
+2008-09-18  Paolo Molaro <lupus@ximian.com>
+
+       * CounterSampleCalculator.cs: added more calculated types.
+       * PerformanceCounter.cs: NextValue() works as well as RawValue.
+
+2008-09-10  Bill Holmes  <billholmes54@gmail.com>
+
+       * Process.cs : Update the fields of ProcessAsyncReader to 
+         match MonoSocketAsyncResult metadata/socket-io.h
+
+       Contributed under MIT/X11 license.
+
+2008-09-09  Jonathan Pryor  <jpryor@novell.com>
+
+       * TraceImpl.cs:
+         - Remove the "lock-free" code, which (come to think of it) would be 
+           faulty in a multithreaded environment anyway because the "other"
+           threads won't wait (block) until initialization is complete...
+         - Add InitOnce() calls to all public properties, so that
+           `Debug.AutoFlush=true' will cause InitOnce() to be loaded, lest
+           a `Debug.AutoFlush=true; Debug.Listeners.Add(...)` sequence cause
+           .AutoFlush=true to be ignored as the InitOnce implied by .Add() 
+           will "overwrite" the .AutoFlush.
+         - Split up TraceListenerCollection creation from DefaultTraceListener 
+           addition, as TraceListenerCollection.Add() calls back into 
+           TraceImpl, so if these aren't separate we get an infinite loop
+           and never actually initialize anything.
+         - Fixes #424370.
+       * TraceListenerCollection.cs: Add a TraceListenerCollection(bool)
+         constructor, which provides a way to NOT add the
+         DefaultTraceListener (needed by TraceImpl; see above).
+
+2008-08-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Debug_2_1.cs: Add missing [Conditional] attributes.
+
+2008-08-02  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DelimitedTraceListener.cs: Changed accessibility of
+       GetSupportedAttributes to protected internal.
+       * DiagnosticsConfigurationHandler.cs: Use GetSupportedAttributes to
+       allow custom attributes on tracelisteners. Fixes bug #413203.
+       * TraceListener.cs: Changed accessibility of GetSupportedAttributes
+       to protected internal. Removed MonoTODO on GetSupportedAttributes and
+       Attributes. Fixed line endings.
+
+2008-08-01  Paolo Molaro <lupus@ximian.com>
+
+       * CounterCreationData.cs, PerformanceCounterCategory.cs: more
+       checks and default type fix.
+
+2008-07-28  Dick Porter  <dick@ximian.com>
+
+       * Process.cs: When passing handle references around, it needs to
+       be duplicated and freed so the OS doesn't close it.  Makes the
+       testcase in 410743 work again now the underlying bug has been
+       fixed.
+
+2008-07-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * Process.cs (SetExitCallbackIfNeeded): Avoid a race condition by not
+       checking for HashExited.
+
+2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * DiagnosticsConfigurationHandler.cs: quick build fix (hopefully).
+
+2008-06-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * DiagnosticsConfigurationHandler.cs: On 2.0 profile, throw
+       ConfigurationErrorsException when any attribute other than 'Name'
+       is found when referencing a shared listener. Fixes bug #404054.
+       Added support for the traceOutputOptions attribute on 2.0 profile.
+       Fixes bug #403583. 
+
+2008-06-21  Robert Jordan  <robertj@gmx.net>
+
+       * Process.cs (Start_common): UserName may be null or empty.
+       Fixes bug  #350543.
+
+2008-06-19  Dick Porter  <dick@ximian.com>
+
+       * Process.cs: Match the buffer sizes of StreamReader and
+       MonoSyncFileStream for redirected stdout and stderr.  Fixes bug
+       401225.
+
+2008-05-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * TraceImpl.cs: Update the IndentLevel property of this class when Indent ()
+       or Unindent () are called. Fixes #385666.
+
+2008-03-26  Dick Porter  <dick@ximian.com>
+
+       * FileVersionInfo.cs: Patch from Gert Driesen
+       (gert.driesen@pandora.be) for bug 355717.
+
+2008-03-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * Stopwatch.cs: Fix visibility of GetTimestamp () method.
 
 Thu Feb 28 19:52:30 CET 2008 Paolo Molaro <lupus@ximian.com>