corrected some format errors my previous commit did make
[mono.git] / mcs / class / System / System.Diagnostics / ChangeLog
1 2003-11-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2
3         * ICollectData.cs: Added missing attribute
4
5 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6
7         * SRDescriptionAttribute.cs: Moved to System directory
8
9 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
10
11         * EventLog.cs: Implementation handling
12         * EventLogImpl.cs: Added, contains an platform independent empty implementation
13         for EventLog
14
15 2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
16
17         * AlphabeticalEnumConverter.cs: Added
18         * EventLogEntry.cs: Implemented
19         * EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
20         * EventLogTraceListener.cs: Fixed signature
21         * PerformanceCounter.cs: Added missing attribute
22         * PerformanceCounterType.cs: Added missing attribute
23         * SRDescriptionAttribute.cs: Added and implemented
24
25 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
26
27         * CounterCreationData.cs:
28         * EventLog.cs:
29         * EventLogEntry.cs:
30         * PerformanceCounter.cs:
31         * Process.cs:
32         * ProcessModule.cs:
33         * ProcessStartInfo.cs:
34         * ProcessThread.cs: Reworked attributes based on the new Consts scheme
35
36 2003-07-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
37
38         * PerformanceCounterCategory.cs: Fixed signatures
39
40 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
41
42         * PerformanceCounter.cs: Implemented or implementation added
43
44 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
45
46         * DiagnosticsConfigurationHandler.cs: Removed a never used variable
47         * EventLog.cs: Small update to prevent a warning
48         * EventLogPermission.cs: Implemented or implementation added
49         * EventLogPermissionAttribute.cs: Implemented or implementation added
50         * EventLogPermissionEntry.cs: Implemented or implementation added
51         * EventLogPermissionEntryCollection.cs: Implemented or implementation added
52         * EventLogTraceListener.cs: Implemented or implementation added
53         * PerformanceCounterManager.cs: Implemented or implementation added
54         * PerformanceCounterInstaller.cs: Made internal
55         * PerformanceCounterCategory.cs: Implemented few members
56         * PerformanceCounterPermission.cs: Implemented or implementation added
57         * PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
58         * PerformanceCounterPermissionEntry.cs: Implemented or implementation added
59         * PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
60         
61 2003-07-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
62
63         * EventLog.cs: Removed unneccesary attribute according to corecompare
64         * EventLogEntry.cs: Removed unneccesary attribute according to corecompare
65         * Process.cs: Removed unneccesary attributes according to corecompare, added attribute
66         * ProcessModule.cs: Removed unneccesary attribute according to corecompare
67         * ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
68         * ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
69
70 2003-07-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
71
72         * InstanceDataCollectionCollection.cs: Corrected wrong signature
73         * EventLog.cs: Missing attributes added, redirected some class members
74         * EventLogEntry.cs: Missing attributes added
75         * EventLogInstaller.cs: Made internal
76         
77 2003-07-02  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
78
79         * CounterCreationData.cs: Added missing attributes
80         * CounterSample.cs: Implemented missing rest, fixed signature
81         * CounterSampleCalculator.cs: Added private constructor, redirected function
82         * Process.cs: Added attributes, added event mechanism
83         * ProcessModule.cs: Added missing attributes
84         * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
85         * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
86         * ProcessThread.cs: Added missing attributes, added pseudo constructor
87         * ProcessThreadCollection.cs: Implemented
88         * PerformanceCounterPermission.cs: Fixed typo in class name
89         * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
90         
91 2003-03-19  Dick Porter  <dick@ximian.com>
92
93         * Process.cs: Implement HasExited, fixes bug 39267
94
95 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
96
97         * Process.cs: throw an exception when the executable cannot be found.
98
99 2002-12-20  Jonathan Pryor <jonpryor@vt.edu>
100         * DiagnosticsConfigurationHandler.cs: 
101           - Don't assume that optional attributes are always present
102           - <assert/> can't have any child nodes
103           - Change in semantics: if the attribute isn't present,
104             GetAttribute() returns null, not "".  This allows us to
105             differentiate between an attribute not being present and an
106             attribute with an empty value.
107           - Translate exceptions if a TraceListener type is invalid
108
109 2002-12-19  Jonathan Pryor <jonpryor@vt.edu>
110         * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be 
111           hardcoded; they should be set to whatever TraceImpl is using (which
112           in turn may have been set by the .config file, so we should get the
113           user-specified values in added listeners).
114         * TraceListener.cs: Make sure that indents are initially written.  This 
115           allows code that uses Trace.Indent() before a Trace.WriteLine() to be 
116           indented properly.
117         * TraceImpl.cs: provide a static constructor to explicitly specify the
118           ordering of initialization, in particular the ordering of
119           TraceImpl.Listeners and the reading of the .config file (by
120           accessing DiagnosticsConfiguration.Settings).  This (hopefully)
121           ensures that the Listeners collection is initialized before the
122           .config file is read in, as the DiagnosticsConfigurationHandler will
123           directly modify the listeners collection.
124           The DiagnosticsConfigurationHandler assumes this so that it can
125           <add/> and <remove/> trace listeners and set the logfile for the
126           DefaultTraceListener.
127
128
129 2002-12-18  Jonathan Pryor <jonpryor@vt.edu>
130         * BooleanSwitch.cs: Complete re-write.  It works now.
131         * DefaultTraceListener.cs:
132           - Use `const' strings, so I don't worry about copy/paste errors
133           - Give `AssertUiEnabled' an actual backing member
134         * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
135           configuration handler set .config-specified properties on
136           DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
137           (AutoFlush, IndentSize).
138         * Switch.cs: Near complete re-write.  Actually works, and is (should be)
139           comformant with .NET behavior.  Changed member names because they
140           were confusing me.  (Yes, that doesn't say much about my memory.)
141         * TextWriterTraceListener.cs: Append text to already existing files,
142           don't overwrite them.
143         * TraceImpl.cs:
144           - Added private destructor, to ensure no instances are created.
145           - Move members declarations to be closer to each other.
146         * TraceSwitch.cs: Complete re-write.  It works now.
147
148 2002-12-17  Jonathan Pryor <jonpryor@vt.edu>
149         * DiagnosticsConfigurationHandler.cs: Implement so that .config files
150         support <system.diagnostics> sections.
151
152 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
153
154         * DefaultTraceListener.cs: now OutputDebugStringW is called from an
155         internal call (update your runtime!). No more warnings in linux.
156
157 2002-10-31  Dick Porter  <dick@ximian.com>
158
159         * Process.cs: MonoIO methods now have an error parameter
160
161 2002-10-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
162
163         * DefaultTraceListener.cs: changed OutputDebugString to
164         OutputDebugStringW (no more warnings under windows). Also a few style
165         fixes.
166
167 2002-10-23  Dick Porter  <dick@ximian.com>
168
169         * Process.cs: Redirected standard input needs to have AutoFlush set
170
171 2002-09-27  Dick Porter  <dick@ximian.com>
172
173         * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
174         ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
175         Pass the working directory to Start.  Pass the program and args in
176         one string to be used with the second arg of CreateProcess, so it
177         will search the path.
178
179 2002-09-19  Nick Drochak <ndrochak@gol.com>
180
181         * TraceImpl.cs: Remove debug prints
182
183 2002-09-19  Nick Drochak <ndrochak@gol.com>
184
185         * TraceListenerCollection.cs: Set Indet level and size to default 
186         values.  The values from TraceImpl might have been changed.
187
188 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
189
190         * Process.cs:
191         * TextWriterTraceListener.cs: IDisposable fixes.
192
193 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
194
195         * Process.cs: class status based fixes.
196
197 2002-07-20  Dick Porter  <dick@ximian.com>
198
199         * Process.cs: Implement file handle redirection
200
201 2002-07-13  Jonathan Pryor <jonpryor@vt.edu>
202         * CounterCreationData.cs: Implemented
203         * CounterCreationDataCollection.cs: Implemented
204         * CounterSample.cs: Stubbed Out
205         * CounterSampleCalculator.cs: Stubbed Out
206         * InstanceData.cs: Implemented
207         * InstanceDataCollection.cs: Implemented
208         * InstanceDataCollectionCollection.cs: Implemented
209         * MonitoringDescriptionAttribute.cs: Implemented
210         * PerformanceCounter.cs: Stubbed Out
211         * PerformanceCounterCategory.cs: Stubbed Out
212         * PerformanceCounterInstaller.cs: Stubbed Out
213         * PerformanceCounterManager.cs: Stubbed Out
214         * PerformanceCounterPermission.cs: Stubbed Out
215         * PerformanceCounterPermissionAccess.cs: Implemented
216         * PerformanceCounterPermissionAttribute.cs: Stubbed Out
217         * PerformanceCounterPermissionEntry.cs: Stubbed Out
218         * PerformanceCounterPermissionEntryCollection.cs: Implemented
219         * PerformanceCounterType.cs: Implemented
220
221
222 2002-06-25  Dick Porter  <dick@ximian.com>
223
224         * Process.cs: Process forking and waiting, and some support functions
225
226         * ProcessStartInfo.cs: Implemented the bits needed for basic
227         Process forking
228
229         * ProcessModule.cs: Implemented
230
231         * ProcessModuleCollection.cs: Mostly implemented
232
233         * FileVersionInfo.cs: Implemented
234
235 2002-06-16  Jonathan Pryor <jonpryor@vt.edu>
236         * ICollectData.cs: Implemented
237         * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
238                 corresponding properties on all current TraceListeners.
239                 Also, to answer the FIXME message: Yes, the properties in TraceListener
240                 need to be [ThreadStatic] as well.
241         * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
242                 should have its properties set to the current TraceImpl property values.
243         * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].
244
245 2002-06-09  Jonathan Pryor <jonpryor@vt.edu>
246         * EntryWrittenEventArgs.cs: Implemented
247         * EntryWrittenEventHandler.cs: Implemented
248         * EventLog.cs: Stubbed out
249         * EventLogEntry.cs: Stubbed out
250         * EventLogEntryCOllection.cs: Implemented.
251         * EventLogEntryType.cs: Implemented
252         * EventLogInstaller.cs: Stubbed out
253         * EventLogPermission.cs: Stubbed out
254         * EventLogPermissionAccess.cs: Implemented
255         * EventLogPermissionAttribute.cs: Stubbed out
256         * EventLogPermissionEntry.cs: Stubbed out
257         * EventLogPermissionEntryCollection.cs: Stubbed out
258         * EventLogTraceListener.cs: Stubbed out
259
260 2002-05-29  Jonathan Pryor <jonpryor@vt.edu>
261   * DefaultTraceListener.cs: Implemented MONO_TRACE support
262
263 2002-05-27  Jonathan Pryor <jonpryor@vt.edu>
264   * Moved public API documentation for the following files to the
265     /mcs/docs/apidocs/xml/en/System.Diagnostics directory:
266     - Debug.cs
267     - DefaultTraceListener.cs
268     - DiagnosticsConfigurationHandler.cs
269     - Switch.cs
270     - TextWriterTraceListener.cs
271     - Trace.cs
272     - TraceLevel.cs
273     - TraceListener.cs
274     - TraceListenerCollection.cs
275     - TraceSwitch.cs
276
277 2002-04-10  Jonathan Pryor <jonpryor@vt.edu>
278
279         * TraceListenerCollection.cs: Corrected indexer property to provide the
280                 correct return value and implement the IList indexer property correctly.
281
282 2002-04-07  Jonathan Pryor <jonpryor@vt.edu>
283
284         * TraceListener.cs: Fix stack overflow bug
285         * DefaultTraceListener.cs: Implement log file support
286
287 2002-04-04  Dick Porter  <dick@ximian.com>
288
289         * ThreadWaitReason.cs:
290         * ThreadState.cs:
291         * ThreadPriorityLevel.cs:
292         * ProcessWindowStyle.cs:
293         * ProcessThreadCollection.cs
294         * ProcessThread.cs:
295         * ProcessStartInfo.cs:
296         * ProcessModuleCollection.cs: Stub out more classes needed for Process
297
298 2002-03-31  Dick Porter  <dick@ximian.com>
299
300         * Process.cs: 
301         * ProcessPriorityClass.cs: 
302         * ProcessModule.cs: 
303         * FileVersionInfo.cs: Stub out classes needed for Process
304
305 2002-03-08  Jonathan Pryor <jonpryor@vt.edu>
306
307         * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which 
308                 is why TraceImpl.cs is introduced), "DEBUG" conditional support
309         * TraceListener.cs: Proper implementation of Dispose pattern;
310                 implementatino of non-abstract methods in terms of abstract methods
311         * TraceListenerCollection.cs: check 'object' types before adding
312         * TextWriterTraceListener.cs: properly implement Dispose pattern;
313                 handle NeedIndent and WriteIndent
314         * Trace.cs: new file; provides Trace functionality, "TRACE" conditional
315                 support
316         * DefaultTraceListener.cs: new file; the default trace listener
317
318 2002-01-17  Miguel de Icaza  <miguel@ximian.com>
319         * TraceListenerCollection.cs: Remove Warnings.
320
321 2002-01-06  Ravi Pratap  <ravi@ximian.com>
322         * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
323         with the MonoTODO attribute.
324
325 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
326         * Added Debug.cs to the build.
327
328 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
329         * Added preliminary TraceListenerCollection.cs to the build.
330
331 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
332         * Added TraceListener.cs, TextWriterTraceListener.cs, and
333         DefaultTraceListener.cs to the build and moved them into the
334         proper assembly.
335
336 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
337         * Added DiagnosticsConfigurationHandler.cs to the build.
338
339 2001-09-09  Nick Drochak <ndrochak@gol.com>
340         * BooleanSwitch.cs: Make this class use it's parent class's features.  Namely, use SwitchSetting
341         so that we can get OnSwitchSettingChanged() to fire for free.
342
343 2001-09-09  Nick Drochak <ndrochak@gol.com>
344         * ChangeLog: added this file
345         * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.