2003-07-05 Andreas Nahr * InstanceDataCollectionCollection.cs: Corrected wrong signature * EventLog.cs: Missing attributes added, redirected some class members * EventLogEntry.cs: Missing attributes added * EventLogInstaller.cs: Made internal 2003-07-02 Andreas Nahr * CounterCreationData.cs: Added missing attributes * CounterSample.cs: Implemented missing rest, fixed signature * CounterSampleCalculator.cs: Added private constructor, redirected function * Process.cs: Added attributes, added event mechanism * ProcessModule.cs: Added missing attributes * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling * ProcessThread.cs: Added missing attributes, added pseudo constructor * ProcessThreadCollection.cs: Implemented * PerformanceCounterPermission.cs: Fixed typo in class name * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member 2003-03-19 Dick Porter * Process.cs: Implement HasExited, fixes bug 39267 2003-03-13 Gonzalo Paniagua Javier * Process.cs: throw an exception when the executable cannot be found. 2002-12-20 Jonathan Pryor * DiagnosticsConfigurationHandler.cs: - Don't assume that optional attributes are always present - can't have any child nodes - Change in semantics: if the attribute isn't present, GetAttribute() returns null, not "". This allows us to differentiate between an attribute not being present and an attribute with an empty value. - Translate exceptions if a TraceListener type is invalid 2002-12-19 Jonathan Pryor * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be hardcoded; they should be set to whatever TraceImpl is using (which in turn may have been set by the .config file, so we should get the user-specified values in added listeners). * TraceListener.cs: Make sure that indents are initially written. This allows code that uses Trace.Indent() before a Trace.WriteLine() to be indented properly. * TraceImpl.cs: provide a static constructor to explicitly specify the ordering of initialization, in particular the ordering of TraceImpl.Listeners and the reading of the .config file (by accessing DiagnosticsConfiguration.Settings). This (hopefully) ensures that the Listeners collection is initialized before the .config file is read in, as the DiagnosticsConfigurationHandler will directly modify the listeners collection. The DiagnosticsConfigurationHandler assumes this so that it can and trace listeners and set the logfile for the DefaultTraceListener. 2002-12-18 Jonathan Pryor * 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. 2002-12-17 Jonathan Pryor * DiagnosticsConfigurationHandler.cs: Implement so that .config files support sections. 2002-12-15 Gonzalo Paniagua Javier * DefaultTraceListener.cs: now OutputDebugStringW is called from an internal call (update your runtime!). No more warnings in linux. 2002-10-31 Dick Porter * Process.cs: MonoIO methods now have an error parameter 2002-10-26 Gonzalo Paniagua Javier * DefaultTraceListener.cs: changed OutputDebugString to OutputDebugStringW (no more warnings under windows). Also a few style fixes. 2002-10-23 Dick Porter * Process.cs: Redirected standard input needs to have AutoFlush set 2002-09-27 Dick Porter * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet, ProcessName, GetProcessById, GetProcesses, GetProcessesByName. Pass the working directory to Start. Pass the program and args in one string to be used with the second arg of CreateProcess, so it will search the path. 2002-09-19 Nick Drochak * TraceImpl.cs: Remove debug prints 2002-09-19 Nick Drochak * TraceListenerCollection.cs: Set Indet level and size to default values. The values from TraceImpl might have been changed. 2002-08-28 Gonzalo Paniagua Javier * Process.cs: * TextWriterTraceListener.cs: IDisposable fixes. 2002-08-23 Gonzalo Paniagua Javier * Process.cs: class status based fixes. 2002-07-20 Dick Porter * Process.cs: Implement file handle redirection 2002-07-13 Jonathan Pryor * CounterCreationData.cs: Implemented * CounterCreationDataCollection.cs: Implemented * CounterSample.cs: Stubbed Out * CounterSampleCalculator.cs: Stubbed Out * InstanceData.cs: Implemented * InstanceDataCollection.cs: Implemented * InstanceDataCollectionCollection.cs: Implemented * MonitoringDescriptionAttribute.cs: Implemented * PerformanceCounter.cs: Stubbed Out * PerformanceCounterCategory.cs: Stubbed Out * PerformanceCounterInstaller.cs: Stubbed Out * PerformanceCounterManager.cs: Stubbed Out * PerformanceCounterPermission.cs: Stubbed Out * PerformanceCounterPermissionAccess.cs: Implemented * PerformanceCounterPermissionAttribute.cs: Stubbed Out * PerformanceCounterPermissionEntry.cs: Stubbed Out * PerformanceCounterPermissionEntryCollection.cs: Implemented * PerformanceCounterType.cs: Implemented 2002-06-25 Dick Porter * Process.cs: Process forking and waiting, and some support functions * ProcessStartInfo.cs: Implemented the bits needed for basic Process forking * ProcessModule.cs: Implemented * ProcessModuleCollection.cs: Mostly implemented * FileVersionInfo.cs: Implemented 2002-06-16 Jonathan Pryor * ICollectData.cs: Implemented * TraceImpl.cs: Setting IndentLevel, IndentSize should change the corresponding properties on all current TraceListeners. Also, to answer the FIXME message: Yes, the properties in TraceListener need to be [ThreadStatic] as well. * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener should have its properties set to the current TraceImpl property values. * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic]. 2002-06-09 Jonathan Pryor * EntryWrittenEventArgs.cs: Implemented * EntryWrittenEventHandler.cs: Implemented * EventLog.cs: Stubbed out * EventLogEntry.cs: Stubbed out * EventLogEntryCOllection.cs: Implemented. * EventLogEntryType.cs: Implemented * EventLogInstaller.cs: Stubbed out * EventLogPermission.cs: Stubbed out * EventLogPermissionAccess.cs: Implemented * EventLogPermissionAttribute.cs: Stubbed out * EventLogPermissionEntry.cs: Stubbed out * EventLogPermissionEntryCollection.cs: Stubbed out * EventLogTraceListener.cs: Stubbed out 2002-05-29 Jonathan Pryor * DefaultTraceListener.cs: Implemented MONO_TRACE support 2002-05-27 Jonathan Pryor * Moved public API documentation for the following files to the /mcs/docs/apidocs/xml/en/System.Diagnostics directory: - Debug.cs - DefaultTraceListener.cs - DiagnosticsConfigurationHandler.cs - Switch.cs - TextWriterTraceListener.cs - Trace.cs - TraceLevel.cs - TraceListener.cs - TraceListenerCollection.cs - TraceSwitch.cs 2002-04-10 Jonathan Pryor * TraceListenerCollection.cs: Corrected indexer property to provide the correct return value and implement the IList indexer property correctly. 2002-04-07 Jonathan Pryor * TraceListener.cs: Fix stack overflow bug * DefaultTraceListener.cs: Implement log file support 2002-04-04 Dick Porter * ThreadWaitReason.cs: * ThreadState.cs: * ThreadPriorityLevel.cs: * ProcessWindowStyle.cs: * ProcessThreadCollection.cs * ProcessThread.cs: * ProcessStartInfo.cs: * ProcessModuleCollection.cs: Stub out more classes needed for Process 2002-03-31 Dick Porter * Process.cs: * ProcessPriorityClass.cs: * ProcessModule.cs: * FileVersionInfo.cs: Stub out classes needed for Process 2002-03-08 Jonathan Pryor * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which is why TraceImpl.cs is introduced), "DEBUG" conditional support * TraceListener.cs: Proper implementation of Dispose pattern; implementatino of non-abstract methods in terms of abstract methods * TraceListenerCollection.cs: check 'object' types before adding * TextWriterTraceListener.cs: properly implement Dispose pattern; handle NeedIndent and WriteIndent * Trace.cs: new file; provides Trace functionality, "TRACE" conditional support * DefaultTraceListener.cs: new file; the default trace listener 2002-01-17 Miguel de Icaza * TraceListenerCollection.cs: Remove Warnings. 2002-01-06 Ravi Pratap * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits with the MonoTODO attribute. 2002-01-04 John R. Hicks * Added Debug.cs to the build. 2002-01-04 John R. Hicks * Added preliminary TraceListenerCollection.cs to the build. 2002-01-04 John R. Hicks * Added TraceListener.cs, TextWriterTraceListener.cs, and DefaultTraceListener.cs to the build and moved them into the proper assembly. 2002-01-04 John R. Hicks * Added DiagnosticsConfigurationHandler.cs to the build. 2001-09-09 Nick Drochak * 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. 2001-09-09 Nick Drochak * ChangeLog: added this file * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.