* System.dll.sources: Added Win32EventLog.cs.
[mono.git] / mcs / class / System / System.Diagnostics / ChangeLog
1 2006-08-20  Gert Driesen  <drieseng@users.sourceforge.net>
2
3         * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
4         Obsolete attribute to correct property.
5         * EventSourceCreationData.cs: Updated copyright. For internal ctor,
6         set log name to "Application" if value is null or zero-length string.
7         * EventLogImpl.cs: EventImpl now acts as base class for event log 
8         implemenations.
9         * NullEventLog.cs: Modified to implement new abstract methods of base
10         class. Removed factory class.
11         * EventLog.cs: EventLog implementation that delegates just about 
12         everything to individual eventlog providers. To specify the event log
13         implementation to use, the MONO_EVENTLOG_TYPE environment variable can
14         be used. Possible values are:
15         - win32 : read/write entries using the native win32 eventlog
16         - local[:path] : read/write entries as files to a local directory
17         - null : silently ignore all entries
18         The default is "null" on unix (and versions of Windows before NT,
19         meaning Windows 98, ...), and "win32" on Windows NT (and higher).
20         When "the local" implementation is used, the directory in which to 
21         store the event logs, event sources and entries can be specified as 
22         part of MONO_EVENTLOG_TYPE environment variable using the syntax 
23         "local:<path>" (eg. local:/home/myuser/mono/eventlog).
24         * LocalFileEventLog.cs: Event log implementation which uses a local
25         file store. The directory to use for persistence can be specified
26         as part of the MONO_EVENTLOG_TYPE environment variable (see above).
27         If that directory is not explicitly set, then the following directory
28         will be used for storing eventlog entries:
29         - windows       : %APPDATA%\mono\eventlog
30         - unix          : /var/lib/mono/eventlog
31         On unix, the directory permission for individual eventlog log 
32         directories will be set to 777 (with +t bit) allowing everyone to
33         read and write eventlog entries while only allowing entries to be
34         deleted by the user(s) that created them.
35         Format of log files was modified to allow it contain all necessary
36         information for an event log entry.
37         * Win32EventLog.cs: Event log implementation for Windows NT and 
38         higher which uses the Win32 native event log for reading/writing
39         eventlog entries, and which uses the registry to store event log and
40         event source registration information.
41         * EventLogEntryCollection.cs: Delegate implementation to event log
42         implementation. Use lazy init for enumerating entries. Cache current
43         item in 2.0 profile.
44
45 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
46
47         * LocalFileEventLog.cs : change lengthy environment variable name.
48           MONO_LOCAL_EVENTLOG_PATH -> MONO_EVENTLOG_PATH.
49
50 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
51
52         * EventLogImpl.cs, EventLogEntryCollection.cs, EventLog.cs :
53           some rework to support actual event log implementations.
54         * NullEventLog.cs, LocalFileEventLog.cs :
55           new files. The former (default) implementation does nothing for
56           any event log features. The latter implements local file based
57           event logs.
58
59 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
60
61         * UnixEventLog.cs, EventLogEntry.cs, EventSourceCreationData.cs,
62           EventLogImpl.cs, Win32EventLog.cs, EventLogEntryCollection.cs,
63           EventLog.cs:
64           Reverted previous two changes that does not work at all.
65
66 2006-08-11  Gert Driesen  <drieseng@users.sourceforge.net>
67
68         * EventLog.cs: For now, Use null implementation.
69
70 2006-08-11  Gert Driesen  <drieseng@users.sourceforge.net>
71
72         * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
73         Obsolete attribute to correct property.
74         * EventSourceCreationData.cs: Updated copyright. For internal ctor,
75         set log name to "Application" if value is null or zero-length string.
76         * EventLogImpl.cs: EventImpl now acts as base class for event log 
77         implemenations. Added NullEventLog implementation, which is not used
78         at the moment.
79         * EventLog.cs: EventLog implementation that uses registry for
80         keeping track of logs and sources to match .NET (and Windows). When
81         running on Windows NT (and higher), event entries are written to
82         the native win32 event log.  Reading event entries is not yet working
83         for Windows. On linux, we use a local file store (based on patch by 
84         Atsushi).
85         * UnixEventLog.cs: Event log implementation for linux which uses a
86         local file store.
87         * Win32EventLog.cs: Event log implementation for Windows NT and 
88         higher which uses the Win32 native event log.
89         * EventLogEntryCollection.cs: Delegate implementation to event log
90         implemenation. Use lazy init for enumerating entries.
91
92 2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
93
94         * Process.cs: reset the 'start' time if we wait for stdout reading to
95         be completed.
96
97 2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * Process.cs: add support for 2.0 asynchronous reads on stdout and
100         stderr.
101
102 2006-08-09  Gert Driesen  <drieseng@users.sourceforge.net>
103
104         * EventSourceCreationData.cs: Marked ctor internal, and removed ctor.
105         Throw ArgumentOutOfRangeException if negative value for CategoryCount
106         is set.
107
108 2006-08-09  Gert Driesen  <drieseng@users.sourceforge.net>
109
110         * EventInstance.cs: Added 2.0 class.
111         * EventSourceCreationData.cs: Added 2.0 class.
112         * OverflowAction.cs: Added 2.0 enum.
113
114 2006-07-31  Sebastien Pouliot  <sebastien@ximian.com>
115
116         * EventLogEntry.cs: Add a linkdemand for unrestricted on class.
117         * EventLogTraceListener.cs: Add a linkdemand for unrestricted on class
118         * FileVersionInfo.cs: Add a linkdemand for unrestricted on class. Add
119         an imperative demand for FileIOPermission.Read on GetVersionInfo 
120         method. Change ToString method to use a StringBuilder.
121         * PerformanceCounterCategory.cs: Add a linkdemand for unrestricted on
122         class.
123         * PerformanceCounterManager.cs: Add a linkdemand for unrestricted on 
124         class. Add [Obsolete] for NET_2_0 profile.
125         * Process.cs: Add a linkdemand and an inheritancedemand for 
126         unrestricted on class.
127         * ProcessStartInfo.cs: Add a linkdemand for unrestricted on class.
128
129 2006-07-16  Andrew Skiba <andrews@mainsoft.com>
130
131         * Process.cs: throw FileNotFoundException earlier; give more
132         diagnostics.
133
134 2006-05-16  Dick Porter  <dick@ximian.com>
135
136         * Process.cs: Dispose the handle from a destructor too
137
138 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
139
140         * Stopwatch.cs:
141           Zoltan was quicker to add it, here I put my implementation ;-)
142         * Process.cs :
143           Added some missing long members (not implemented anyways).
144         * DataReceivedEventHandler.cs DataReceivedEventArgs.cs :
145           added new 2.0 types.
146
147 2006-04-01  Zoltan Varga  <vargaz@gmail.com>
148
149         * Stopwatch.cs: New file.
150
151 2006-03-31  Zoltan Varga  <vargaz@gmail.com>
152
153         * Debug.cs: Add net 2.0 Print methods.
154
155 2006-03-03  Dick Porter  <dick@ximian.com>
156
157         * Process.cs: Close redirected pipes on errors.  Fixes bug 77514.
158
159 2006-01-12  Ben Maurer  <bmaurer@andrew.cmu.edu>
160
161         * ConsoleTraceListener.cs: New 2.0 class
162
163 2005-11-17  Dick Porter  <dick@ximian.com>
164
165         * Process.cs: Split Start_common into Start_shell and
166         Start_noshell, which call ShellExecuteEx and CreateProcess
167         respectively.  Fixes bug 76670.
168
169 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170
171         * Process.cs: deal with the fact that someone can enable raising events
172         and/or registed a Exited delegate before and *after* Start is called for
173         the process. Only queue the exit callback in the threadpool when it's
174         possible and requested. Fixes bug #76129.
175
176 2005-08-09  Gert Driesen <drieseng@users.sourceforge.net>
177
178         * EventLog.cs: Fixed Designer attribute to match MS.NET.
179         * ICollectData.cs: Added marshalling attribute to match MS.NET.
180         * PerformanceCounter.cs: Fixed Designer attribute to match MS.NET.
181         * Process.cs: Fixed Designer attribute to match MS.NET, modified
182         * ProcessModule.cs: Fixed Designer attribute to match MS.NET.
183         * ProcessThread.cs: Fixed Designer attribute to match MS.NET.
184         DesignerSerializationVisibility on StartInfo to match MS.NET, changed
185         Category attribute on Exited event to match MS.NET.
186
187 2005-06-09  Gert Driesen <drieseng@users.sourceforge.net>
188
189         * TraceImpl.cs: Adjust internal indentlevel and indentsize before 
190         passing on to listeners. Fixes some test failures.
191
192 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
193
194         * DefaultTraceListener.cs: s/MONO_TRACE/MONO_TRACE_LISTENER/. The
195         runtime uses MONO_TRACE too...
196
197 2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>
198
199         * PerformanceCounterPermissionEntry.cs: Added more 2.0 validations for
200         machine names and PerformanceCounterPermissionAccess.
201
202 2005-02-22 Jonathan Pryor  <jonpryor@vt.edu>
203
204         * TraceImpl.cs: More Thread-safety fixes.  I have to lock on
205           Listeners.SyncRoot as we're traversing the collection and can't let the
206           collection change from underneath us while we're iterating over it
207           (alternately, we could clone the collection and iterate over the clone
208           without having locking issues -- assuming we had a lock-free clone -- 
209           but this would kill the GC).  Fixes 69964.  Only define lock_ if we're 
210           using the lock-free initialization routine; it's not used otherwise.
211
212 2005-01-18 Jonathan Pryor  <jonpryor@vt.edu>
213
214         * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration): 
215           Use a lock-free algorithm for creating the settings information.
216         * TraceImpl.cs (InitOnce): Use a lock-free algorithm for creating the
217           listeners collection and initializing the world.
218
219 2005-01-18 Jonathan Pryor  <jonpryor@vt.edu>
220
221         * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration): Don't 
222           read the .config file from the static ctor (again), as if it fails we'll 
223           get a TypeLoadException -- bad!  Instead, lazy-read the .config file.
224         * DiagnosticsConfigurationHandler.cs (DiagnosticsConfigurationHandler): 
225           Require that the /switch/add/@value attribute contains only numeric values.
226         * TraceImpl.cs: Don't initialize everything in the static ctor, as if it
227           fails (due to an invalid .confg file) we get a TypeLoadException, while
228           .NET generates a ConfigurationException.  Instead, initialize everything
229           the first time the Listeners property is accessed, which allows the static
230           ctor to run without chance of failure, avoiding the TypeLoadException.
231         * TraceListenerCollection.cs: This should be thread-safe, as it's accessible
232           from a static member of TraceImpl (available through the public Debug and 
233           Trace classes).
234         * Switch.cs: Leave the original switch value alone.  If it isn't valid 
235           (i.e. numeric), the DiagnosticsConfigurationHandler will catch it.
236
237 2005-01-17 Jonathan Pryor  <jonpryor@vt.edu>
238
239         * DiagnosticsConfigurationHandler.cs: The /switch/add/@value attribute 
240           isn't optional under .NET 1.1, so make sure it exists.
241
242 2005-01-13 Jonathan Pryor  <jonpryor@vt.edu>
243
244         * DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
245           thread-safe (double-checked locking isn't thread safe on .NET without
246           using a volatile variable, and setting the variable in the static
247           constructor is easier anyway).
248         * Switch.cs (GetConfigFileSetting): If the setting is non-numeric, set the
249           attribute value to the string "0".  This is apparently what .NET 1.1 does,
250           and allows the SwitchTest NUnit test to work w/o failures.
251
252 2004-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
253
254         * Process.cs: always pass the same arguments to the runtime.
255
256 2004-09-11  Sebastien Pouliot  <sebastien@ximian.com>
257
258         * EventLogPermission.cs: Completed implementation.
259         * EventLogPermissionAccess.cs: Fixed enum values.
260         * EventLogPermissionEntry.cs: Added validation for machine names.
261         * EventLogPermissionEntryCollection.cs: Added synchronization
262         of entries with the base permission class.
263         * PerformanceCounterPermission.cs: Completed implementation.
264         * PerformanceCounterPermissionAccess.cs: Fixed enum values.
265         * PerformanceCounterPermissionEntry.cs: Added validations for machine
266         and category names.
267         * PerformanceCounterPermissionEntryCollection.cs: Added synchronization
268         of entries with the base permission class.
269
270 2004-09-10  Sebastien Pouliot  <sebastien@ximian.com>
271
272         * EventLogPermission.cs: Fixed initialization (TagNames and
273         PermissionAccessType).
274         * EventLogPermissionAccess.cs: Added new enums for NET_2_0 and added 
275         [Obsolete] to some existing elements.
276         * EventLogPermissionAttribute.cs: Added missing validation to property
277         MachineName. Fixed changes for NET_2_0.
278         * PerformanceCounterPermission.cs: Fixed initialization (TagNames and
279         PermissionAccessType).
280         * PerformanceCounterPermissionAccess.cs: Added new enums for NET_2_0
281         and added [Obsolete] to some existing elements.
282         * PerformanceCounterPermissionAttribute.cs: Added missing validations
283         to properties (Path, MachineName). Fixed changes for NET_2_0.
284
285 2004-09-07  Dick Porter  <dick@ximian.com>
286
287         * Process.cs: Throw documented exceptions when getting stdin,
288         stdout or stderr and they haven't been redirected.  Check that
289         CreatePipe didn't fail, throw exceptions if it did.  Close
290         redirected streams when the process is disposed, rather than rely
291         on the GC disposing them later.  Makes timeline much happier,
292         because it could run out of file descriptors between GC
293         collections.
294
295 2004-09-06  Dick Porter  <dick@ximian.com>
296
297         * Process.cs: Make Dispose() actually dispose things.
298
299 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
300
301         * Process.cs : quick fix for UseShellExecute=false on windows. See
302           the code comment.
303
304 2004-06-17  Lluis Sanchez Gual  <lluis@ximian.com>
305
306         * Process.cs: Added missing check in HasExited property.
307
308 2004-05-20  Gert Driesen (drieseng@users.sourceforge.net)
309
310         * EventLogPermissionAttribute.cs:
311         * PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
312         and Inherited to match .NET
313
314 2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
315
316         * Process.cs: separate the command and the arguments when calling
317         Start_internal.
318
319 2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
320
321         * Process.cs: redirecting I/O is not permitted if UseShellExecute is
322         true. Also throw if FileName is null.
323
324 2004-04-06  Lluis Sanchez Gual  <lluis@ximian.com>
325
326         * DiagnosticsConfigurationHandler.cs: If initializeData is provided,
327         use the constructor that only takes one string as parameter to
328         construct the listener. The name is set using the Name property, not the
329         constructor.
330         
331         * TextWriterTraceListener.cs: In Write*, do nothing if no writer was 
332         provided.
333
334 2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
335
336         * Process.cs: use the ISynchronizeInvoke object to invoke the event.
337         Implemented Close, CloseMainWindow and Kill.
338
339 2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>
340
341         * Switch.cs: Don't throw when there is no switches section.
342
343 2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
344
345         * Process.cs: support EnableRaisingEvents + Exited event.
346
347 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
348
349         * Process.cs: patch by Gert Driesen that fixes WaitForExit when the
350         timeout is int.MaxValue.
351
352 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
353
354         * Process.cs: added environment variables setting support and also
355         send useShellExecute to the runtime.
356
357         * ProcessStartInfo.cs: support EnvironmentVariables.  MS uses
358         StringDictionary, which turns keys into lowercase. We don't do that.
359
360 2004-02-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
361
362         * Process.cs: ExitCode and ExitTime check that the process is finished.
363
364 2003-12-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
365
366         * Process.cs: if there's an error when starting the process, the 'pid'
367         field contains the GetLastError code. Use that for the Win32Exception.
368
369 2003-12-06  Martin Baulig  <martin@ximian.com>
370
371         * DefaultTraceListener: Don't use `where' in variable names.
372
373 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
374
375         * ICollectData.cs: Fixed signature
376
377 2003-11-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
378
379         * ICollectData.cs: Added missing attribute
380
381 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
382
383         * SRDescriptionAttribute.cs: Moved to System directory
384
385 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
386
387         * EventLog.cs: Implementation handling
388         * EventLogImpl.cs: Added, contains an platform independent empty implementation
389         for EventLog
390
391 2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
392
393         * AlphabeticalEnumConverter.cs: Added
394         * EventLogEntry.cs: Implemented
395         * EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
396         * EventLogTraceListener.cs: Fixed signature
397         * PerformanceCounter.cs: Added missing attribute
398         * PerformanceCounterType.cs: Added missing attribute
399         * SRDescriptionAttribute.cs: Added and implemented
400
401 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
402
403         * CounterCreationData.cs:
404         * EventLog.cs:
405         * EventLogEntry.cs:
406         * PerformanceCounter.cs:
407         * Process.cs:
408         * ProcessModule.cs:
409         * ProcessStartInfo.cs:
410         * ProcessThread.cs: Reworked attributes based on the new Consts scheme
411
412 2003-07-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
413
414         * PerformanceCounterCategory.cs: Fixed signatures
415
416 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
417
418         * PerformanceCounter.cs: Implemented or implementation added
419
420 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
421
422         * DiagnosticsConfigurationHandler.cs: Removed a never used variable
423         * EventLog.cs: Small update to prevent a warning
424         * EventLogPermission.cs: Implemented or implementation added
425         * EventLogPermissionAttribute.cs: Implemented or implementation added
426         * EventLogPermissionEntry.cs: Implemented or implementation added
427         * EventLogPermissionEntryCollection.cs: Implemented or implementation added
428         * EventLogTraceListener.cs: Implemented or implementation added
429         * PerformanceCounterManager.cs: Implemented or implementation added
430         * PerformanceCounterInstaller.cs: Made internal
431         * PerformanceCounterCategory.cs: Implemented few members
432         * PerformanceCounterPermission.cs: Implemented or implementation added
433         * PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
434         * PerformanceCounterPermissionEntry.cs: Implemented or implementation added
435         * PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
436         
437 2003-07-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
438
439         * EventLog.cs: Removed unneccesary attribute according to corecompare
440         * EventLogEntry.cs: Removed unneccesary attribute according to corecompare
441         * Process.cs: Removed unneccesary attributes according to corecompare, added attribute
442         * ProcessModule.cs: Removed unneccesary attribute according to corecompare
443         * ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
444         * ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
445
446 2003-07-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
447
448         * InstanceDataCollectionCollection.cs: Corrected wrong signature
449         * EventLog.cs: Missing attributes added, redirected some class members
450         * EventLogEntry.cs: Missing attributes added
451         * EventLogInstaller.cs: Made internal
452         
453 2003-07-02  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
454
455         * CounterCreationData.cs: Added missing attributes
456         * CounterSample.cs: Implemented missing rest, fixed signature
457         * CounterSampleCalculator.cs: Added private constructor, redirected function
458         * Process.cs: Added attributes, added event mechanism
459         * ProcessModule.cs: Added missing attributes
460         * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
461         * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
462         * ProcessThread.cs: Added missing attributes, added pseudo constructor
463         * ProcessThreadCollection.cs: Implemented
464         * PerformanceCounterPermission.cs: Fixed typo in class name
465         * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
466         
467 2003-03-19  Dick Porter  <dick@ximian.com>
468
469         * Process.cs: Implement HasExited, fixes bug 39267
470
471 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
472
473         * Process.cs: throw an exception when the executable cannot be found.
474
475 2002-12-20  Jonathan Pryor <jonpryor@vt.edu>
476         * DiagnosticsConfigurationHandler.cs: 
477           - Don't assume that optional attributes are always present
478           - <assert/> can't have any child nodes
479           - Change in semantics: if the attribute isn't present,
480             GetAttribute() returns null, not "".  This allows us to
481             differentiate between an attribute not being present and an
482             attribute with an empty value.
483           - Translate exceptions if a TraceListener type is invalid
484
485 2002-12-19  Jonathan Pryor <jonpryor@vt.edu>
486         * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be 
487           hardcoded; they should be set to whatever TraceImpl is using (which
488           in turn may have been set by the .config file, so we should get the
489           user-specified values in added listeners).
490         * TraceListener.cs: Make sure that indents are initially written.  This 
491           allows code that uses Trace.Indent() before a Trace.WriteLine() to be 
492           indented properly.
493         * TraceImpl.cs: provide a static constructor to explicitly specify the
494           ordering of initialization, in particular the ordering of
495           TraceImpl.Listeners and the reading of the .config file (by
496           accessing DiagnosticsConfiguration.Settings).  This (hopefully)
497           ensures that the Listeners collection is initialized before the
498           .config file is read in, as the DiagnosticsConfigurationHandler will
499           directly modify the listeners collection.
500           The DiagnosticsConfigurationHandler assumes this so that it can
501           <add/> and <remove/> trace listeners and set the logfile for the
502           DefaultTraceListener.
503
504
505 2002-12-18  Jonathan Pryor <jonpryor@vt.edu>
506         * BooleanSwitch.cs: Complete re-write.  It works now.
507         * DefaultTraceListener.cs:
508           - Use `const' strings, so I don't worry about copy/paste errors
509           - Give `AssertUiEnabled' an actual backing member
510         * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
511           configuration handler set .config-specified properties on
512           DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
513           (AutoFlush, IndentSize).
514         * Switch.cs: Near complete re-write.  Actually works, and is (should be)
515           comformant with .NET behavior.  Changed member names because they
516           were confusing me.  (Yes, that doesn't say much about my memory.)
517         * TextWriterTraceListener.cs: Append text to already existing files,
518           don't overwrite them.
519         * TraceImpl.cs:
520           - Added private destructor, to ensure no instances are created.
521           - Move members declarations to be closer to each other.
522         * TraceSwitch.cs: Complete re-write.  It works now.
523
524 2002-12-17  Jonathan Pryor <jonpryor@vt.edu>
525         * DiagnosticsConfigurationHandler.cs: Implement so that .config files
526         support <system.diagnostics> sections.
527
528 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
529
530         * DefaultTraceListener.cs: now OutputDebugStringW is called from an
531         internal call (update your runtime!). No more warnings in linux.
532
533 2002-10-31  Dick Porter  <dick@ximian.com>
534
535         * Process.cs: MonoIO methods now have an error parameter
536
537 2002-10-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
538
539         * DefaultTraceListener.cs: changed OutputDebugString to
540         OutputDebugStringW (no more warnings under windows). Also a few style
541         fixes.
542
543 2002-10-23  Dick Porter  <dick@ximian.com>
544
545         * Process.cs: Redirected standard input needs to have AutoFlush set
546
547 2002-09-27  Dick Porter  <dick@ximian.com>
548
549         * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
550         ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
551         Pass the working directory to Start.  Pass the program and args in
552         one string to be used with the second arg of CreateProcess, so it
553         will search the path.
554
555 2002-09-19  Nick Drochak <ndrochak@gol.com>
556
557         * TraceImpl.cs: Remove debug prints
558
559 2002-09-19  Nick Drochak <ndrochak@gol.com>
560
561         * TraceListenerCollection.cs: Set Indet level and size to default 
562         values.  The values from TraceImpl might have been changed.
563
564 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
565
566         * Process.cs:
567         * TextWriterTraceListener.cs: IDisposable fixes.
568
569 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
570
571         * Process.cs: class status based fixes.
572
573 2002-07-20  Dick Porter  <dick@ximian.com>
574
575         * Process.cs: Implement file handle redirection
576
577 2002-07-13  Jonathan Pryor <jonpryor@vt.edu>
578         * CounterCreationData.cs: Implemented
579         * CounterCreationDataCollection.cs: Implemented
580         * CounterSample.cs: Stubbed Out
581         * CounterSampleCalculator.cs: Stubbed Out
582         * InstanceData.cs: Implemented
583         * InstanceDataCollection.cs: Implemented
584         * InstanceDataCollectionCollection.cs: Implemented
585         * MonitoringDescriptionAttribute.cs: Implemented
586         * PerformanceCounter.cs: Stubbed Out
587         * PerformanceCounterCategory.cs: Stubbed Out
588         * PerformanceCounterInstaller.cs: Stubbed Out
589         * PerformanceCounterManager.cs: Stubbed Out
590         * PerformanceCounterPermission.cs: Stubbed Out
591         * PerformanceCounterPermissionAccess.cs: Implemented
592         * PerformanceCounterPermissionAttribute.cs: Stubbed Out
593         * PerformanceCounterPermissionEntry.cs: Stubbed Out
594         * PerformanceCounterPermissionEntryCollection.cs: Implemented
595         * PerformanceCounterType.cs: Implemented
596
597
598 2002-06-25  Dick Porter  <dick@ximian.com>
599
600         * Process.cs: Process forking and waiting, and some support functions
601
602         * ProcessStartInfo.cs: Implemented the bits needed for basic
603         Process forking
604
605         * ProcessModule.cs: Implemented
606
607         * ProcessModuleCollection.cs: Mostly implemented
608
609         * FileVersionInfo.cs: Implemented
610
611 2002-06-16  Jonathan Pryor <jonpryor@vt.edu>
612         * ICollectData.cs: Implemented
613         * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
614                 corresponding properties on all current TraceListeners.
615                 Also, to answer the FIXME message: Yes, the properties in TraceListener
616                 need to be [ThreadStatic] as well.
617         * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
618                 should have its properties set to the current TraceImpl property values.
619         * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].
620
621 2002-06-09  Jonathan Pryor <jonpryor@vt.edu>
622         * EntryWrittenEventArgs.cs: Implemented
623         * EntryWrittenEventHandler.cs: Implemented
624         * EventLog.cs: Stubbed out
625         * EventLogEntry.cs: Stubbed out
626         * EventLogEntryCOllection.cs: Implemented.
627         * EventLogEntryType.cs: Implemented
628         * EventLogInstaller.cs: Stubbed out
629         * EventLogPermission.cs: Stubbed out
630         * EventLogPermissionAccess.cs: Implemented
631         * EventLogPermissionAttribute.cs: Stubbed out
632         * EventLogPermissionEntry.cs: Stubbed out
633         * EventLogPermissionEntryCollection.cs: Stubbed out
634         * EventLogTraceListener.cs: Stubbed out
635
636 2002-05-29  Jonathan Pryor <jonpryor@vt.edu>
637   * DefaultTraceListener.cs: Implemented MONO_TRACE support
638
639 2002-05-27  Jonathan Pryor <jonpryor@vt.edu>
640   * Moved public API documentation for the following files to the
641     /mcs/docs/apidocs/xml/en/System.Diagnostics directory:
642     - Debug.cs
643     - DefaultTraceListener.cs
644     - DiagnosticsConfigurationHandler.cs
645     - Switch.cs
646     - TextWriterTraceListener.cs
647     - Trace.cs
648     - TraceLevel.cs
649     - TraceListener.cs
650     - TraceListenerCollection.cs
651     - TraceSwitch.cs
652
653 2002-04-10  Jonathan Pryor <jonpryor@vt.edu>
654
655         * TraceListenerCollection.cs: Corrected indexer property to provide the
656                 correct return value and implement the IList indexer property correctly.
657
658 2002-04-07  Jonathan Pryor <jonpryor@vt.edu>
659
660         * TraceListener.cs: Fix stack overflow bug
661         * DefaultTraceListener.cs: Implement log file support
662
663 2002-04-04  Dick Porter  <dick@ximian.com>
664
665         * ThreadWaitReason.cs:
666         * ThreadState.cs:
667         * ThreadPriorityLevel.cs:
668         * ProcessWindowStyle.cs:
669         * ProcessThreadCollection.cs
670         * ProcessThread.cs:
671         * ProcessStartInfo.cs:
672         * ProcessModuleCollection.cs: Stub out more classes needed for Process
673
674 2002-03-31  Dick Porter  <dick@ximian.com>
675
676         * Process.cs: 
677         * ProcessPriorityClass.cs: 
678         * ProcessModule.cs: 
679         * FileVersionInfo.cs: Stub out classes needed for Process
680
681 2002-03-08  Jonathan Pryor <jonpryor@vt.edu>
682
683         * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which 
684                 is why TraceImpl.cs is introduced), "DEBUG" conditional support
685         * TraceListener.cs: Proper implementation of Dispose pattern;
686                 implementatino of non-abstract methods in terms of abstract methods
687         * TraceListenerCollection.cs: check 'object' types before adding
688         * TextWriterTraceListener.cs: properly implement Dispose pattern;
689                 handle NeedIndent and WriteIndent
690         * Trace.cs: new file; provides Trace functionality, "TRACE" conditional
691                 support
692         * DefaultTraceListener.cs: new file; the default trace listener
693
694 2002-01-17  Miguel de Icaza  <miguel@ximian.com>
695         * TraceListenerCollection.cs: Remove Warnings.
696
697 2002-01-06  Ravi Pratap  <ravi@ximian.com>
698         * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
699         with the MonoTODO attribute.
700
701 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
702         * Added Debug.cs to the build.
703
704 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
705         * Added preliminary TraceListenerCollection.cs to the build.
706
707 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
708         * Added TraceListener.cs, TextWriterTraceListener.cs, and
709         DefaultTraceListener.cs to the build and moved them into the
710         proper assembly.
711
712 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
713         * Added DiagnosticsConfigurationHandler.cs to the build.
714
715 2001-09-09  Nick Drochak <ndrochak@gol.com>
716         * BooleanSwitch.cs: Make this class use it's parent class's features.  Namely, use SwitchSetting
717         so that we can get OnSwitchSettingChanged() to fire for free.
718
719 2001-09-09  Nick Drochak <ndrochak@gol.com>
720         * ChangeLog: added this file
721         * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.