* TypeDescriptorTests.cs: Use Assert instead of deriving from
[mono.git] / mcs / class / System / System.Diagnostics / ChangeLog
index 6503ff0a1c51345470e710879f697972f97d3bc3..d15b7610daa18ee7c30126a2741e3749a8522576 100644 (file)
@@ -1,3 +1,222 @@
+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
+
+2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Process.cs: fix operation number to be 8. The other one was working
+       because the default is to wait for input on the file descriptor.
+
+2006-09-05  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Win32EventLog.cs: Removed workarounds for bug #79152 and bug #79117
+       now that these have been fixed. Release unmanaged memory that was
+       allocated for replacement strings.
+
+2006-08-27  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * NullEventLog.cs: Added dummy GetLogNames implementation.
+       * EventLogImpl.cs: Moved GetEventLogs implementation to base class.
+       Added abstract GetLogNames method. Added ValidateCustomerLogName
+       method which should be called by eventlog providers when creating a
+       new log to ensure the significant part of the log name is unique, does
+       not match any of the special log names and does not match an exist event
+       source.
+       * Win32EventLog.cs: Validate customer log name when creating new log.
+       Moved GetEventLogs implementation to base class. Added GetLogNames
+       method.
+       * LocalFileEventLog.cs: Merged CreateLogStore into CreateEventSource.
+       Validate customer log name when creating new log. Moved GetEventLogs
+       implementation to base class. Added GetLogNames method.
+
+2006-08-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Win32EventLog.cs: Fixed error messages. Use RegisterEventSource
+       pinvoke when opening eventlog for writing entries.
+
+2006-08-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Win32EventLog.cs: Added and documented workarounds for bug #79117
+       and bug #79152.
+
+2006-08-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * LocalFileEventLog.cs: When event log store does not exist, then we
+       do not need to perform a case-insensitive lookup of the log name.
+
+2006-08-20  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventLog.cs: Removed namespace import.
+       * EventInstance.cs: Added range checks and check whether specified
+       entry type is defined.
+
+2006-08-20  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
+       Obsolete attribute to correct property.
+       * EventSourceCreationData.cs: Updated copyright. For internal ctor,
+       set log name to "Application" if value is null or zero-length string.
+       * EventLogImpl.cs: EventImpl now acts as base class for event log 
+       implemenations.
+       * NullEventLog.cs: Modified to implement new abstract methods of base
+       class. Removed factory class.
+       * EventLog.cs: EventLog implementation that delegates just about 
+       everything to individual eventlog providers. To specify the event log
+       implementation to use, the MONO_EVENTLOG_TYPE environment variable can
+       be used. Possible values are:
+       - win32 : read/write entries using the native win32 eventlog
+       - local[:path] : read/write entries as files to a local directory
+       - null : silently ignore all entries
+       The default is "null" on unix (and versions of Windows before NT,
+       meaning Windows 98, ...), and "win32" on Windows NT (and higher).
+       When "the local" implementation is used, the directory in which to 
+       store the event logs, event sources and entries can be specified as 
+       part of MONO_EVENTLOG_TYPE environment variable using the syntax 
+       "local:<path>" (eg. local:/home/myuser/mono/eventlog).
+       * LocalFileEventLog.cs: Event log implementation which uses a local
+       file store. The directory to use for persistence can be specified
+       as part of the MONO_EVENTLOG_TYPE environment variable (see above).
+       If that directory is not explicitly set, then the following directory
+       will be used for storing eventlog entries:
+       - windows       : %APPDATA%\mono\eventlog
+       - unix          : /var/lib/mono/eventlog
+       On unix, the directory permission for individual eventlog log 
+       directories will be set to 777 (with +t bit) allowing everyone to
+       read and write eventlog entries while only allowing entries to be
+       deleted by the user(s) that created them.
+       Format of log files was modified to allow it contain all necessary
+       information for an event log entry.
+       * Win32EventLog.cs: Event log implementation for Windows NT and 
+       higher which uses the Win32 native event log for reading/writing
+       eventlog entries, and which uses the registry to store event log and
+       event source registration information.
+       * EventLogEntryCollection.cs: Delegate implementation to event log
+       implementation. Use lazy init for enumerating entries. Cache current
+       item in 2.0 profile.
+
+2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * LocalFileEventLog.cs : change lengthy environment variable name.
+         MONO_LOCAL_EVENTLOG_PATH -> MONO_EVENTLOG_PATH.
+
+2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * EventLogImpl.cs, EventLogEntryCollection.cs, EventLog.cs :
+         some rework to support actual event log implementations.
+       * NullEventLog.cs, LocalFileEventLog.cs :
+         new files. The former (default) implementation does nothing for
+         any event log features. The latter implements local file based
+         event logs.
+
+2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UnixEventLog.cs, EventLogEntry.cs, EventSourceCreationData.cs,
+         EventLogImpl.cs, Win32EventLog.cs, EventLogEntryCollection.cs,
+         EventLog.cs:
+         Reverted previous two changes that does not work at all.
+
+2006-08-11  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventLog.cs: For now, Use null implementation.
+
+2006-08-11  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
+       Obsolete attribute to correct property.
+       * EventSourceCreationData.cs: Updated copyright. For internal ctor,
+       set log name to "Application" if value is null or zero-length string.
+       * EventLogImpl.cs: EventImpl now acts as base class for event log 
+       implemenations. Added NullEventLog implementation, which is not used
+       at the moment.
+       * EventLog.cs: EventLog implementation that uses registry for
+       keeping track of logs and sources to match .NET (and Windows). When
+       running on Windows NT (and higher), event entries are written to
+       the native win32 event log.  Reading event entries is not yet working
+       for Windows. On linux, we use a local file store (based on patch by 
+       Atsushi).
+       * UnixEventLog.cs: Event log implementation for linux which uses a
+       local file store.
+       * Win32EventLog.cs: Event log implementation for Windows NT and 
+       higher which uses the Win32 native event log.
+       * EventLogEntryCollection.cs: Delegate implementation to event log
+       implemenation. Use lazy init for enumerating entries.
+
+2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Process.cs: reset the 'start' time if we wait for stdout reading to
+       be completed.
+
+2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Process.cs: add support for 2.0 asynchronous reads on stdout and
+       stderr.
+
+2006-08-09  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventSourceCreationData.cs: Marked ctor internal, and removed ctor.
+       Throw ArgumentOutOfRangeException if negative value for CategoryCount
+       is set.
+
+2006-08-09  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * EventInstance.cs: Added 2.0 class.
+       * EventSourceCreationData.cs: Added 2.0 class.
+       * OverflowAction.cs: Added 2.0 enum.
+
 2006-07-31  Sebastien Pouliot  <sebastien@ximian.com>
 
        * EventLogEntry.cs: Add a linkdemand for unrestricted on class.