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