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