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