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