svn path=/trunk/mcs/; revision=104772
[mono.git] / mcs / class / System / System.Diagnostics / ChangeLog
1 2008-05-02  Zoltan Varga  <vargaz@gmail.com>
2
3         * TraceImpl.cs: Update the IndentLevel property of this class when Indent ()
4         or Unindent () are called. Fixes #385666.
5
6 2008-03-26  Dick Porter  <dick@ximian.com>
7
8         * FileVersionInfo.cs: Patch from Gert Driesen
9         (gert.driesen@pandora.be) for bug 355717.
10
11 2008-03-19  Zoltan Varga  <vargaz@gmail.com>
12
13         * Stopwatch.cs: Fix visibility of GetTimestamp () method.
14
15 Thu Feb 28 19:52:30 CET 2008 Paolo Molaro <lupus@ximian.com>
16
17         * CounterCreationData.cs, PerformanceCounterCategory.cs,
18         PerformanceCounter.cs: bugfixes, icalls for categories,
19         more methods implemented.
20
21 Wed Feb 27 20:00:04 CET 2008 Paolo Molaro <lupus@ximian.com>
22
23         * CounterSample.cs, CounterSampleCalculator.cs, PerformanceCounter.cs,
24         PerformanceCounterCategory.cs, PerformanceCounterCategoryType.cs:
25         beginning of the performance counter implementation.
26
27 Tue Feb 26 18:37:13 CET 2008 Paolo Molaro <lupus@ximian.com>
28
29         * Stopwatch.cs: use an hires monotonic clock.
30
31 2008-01-23  Gert Driesen  <drieseng@users.sourceforge.net>
32
33         * FileVersionInfo.cs (GetVersionInfo): Resolve filename to absolute
34         path, and throw FileNotFoundException if it does not exist.
35
36 2007-12-22  Gert Driesen  <drieseng@users.sourceforge.net>
37
38         * Process.cs: In PriorityClass setter, first check whether value is
39         valid and remove LAMESPEC since the documentation has been corrected
40         for .NET 3.5. Code formatting.
41
42 2007-12-19  Dick Porter  <dick@ximian.com>
43
44         * Process.cs: Check that the process has been started before
45         getting or setting the priority class.  Fixes bug 348415.
46
47 2007-12-10  Miguel de Icaza  <miguel@novell.com>
48
49         * DefaultTraceListener.cs: By default set the AssertUiEnabled to
50         false, as this is what we had previously and some broken
51         applications (Tomboy) are too trigger happy with Debug.Assert. 
52
53         Also, we now load the Windows.Forms code on demand, instead of
54         preloading it on the static ctor to reduce memory usage.
55
56 2007-12-08  Gert Driesen  <drieseng@users.sourceforge.net>
57
58         * LocalFileEventLog.cs: To allow entry to be fully written before
59         attempting to read it, added small sleep period in the Created event
60         of the FSW.
61
62 2007-12-04  Gert Driesen  <drieseng@users.sourceforge.net>
63
64         * Process.cs: Modified StartInfo to throw ArgumentNullException when
65         value is set to null, instead of ArgumentException. Remove check if
66         file name is rooted and exists when UseShellExecute is false, and let
67         runtime handle this. Fixes bug #3455655. When a process cannot be
68         started, do not access ProcessStartInfo.EnvironmentVariables since that
69         would not allow us to re-use the instance when changing
70         UseShellExecute. Added argument check in Start (ProcessStartInfo).
71         Code formatting.
72
73 2007-11-16  Jb Evain  <jbevain@novell.com>
74
75         * Debug_2_1.cs: simply write debug messages to the
76         console.
77
78 2007-11-15  Dick Porter  <dick@ximian.com>
79
80         * Process.cs: Pass the process handle to GetModules_internal();
81
82 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
83
84         * Process.cs : ... and it exposed some missing attributes.
85
86 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
87
88         * Process.cs : oops, SessionId was int.
89
90 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
91
92         * Process.cs : added missing SessionId (NIE).
93
94 2007-10-30  Robert Jordan  <robertj@gmx.net>
95
96         * Process.cs: Wrap the redirected streams with a stream
97         that provides real async Begin/Read|Write operations.
98         Fixes bug #319829.
99
100 2007-09-25  Miguel de Icaza  <miguel@novell.com>
101
102         * Process.cs: Return an empty collection to prevent crashes;
103         Fixes #319946
104
105 Tue Sep 25 18:03:37 CEST 2007 Paolo Molaro <lupus@ximian.com>
106
107         * Process.cs: eliminate the console encoding logic which was
108         duplicated from System.Console and just use Console.Out.Encoding
109         (bug #328162).
110
111 2007-09-21  Gert Driesen  <drieseng@users.sourceforge.net>
112
113         * DiagnosticsConfigurationHandler.cs: Rename ValidateIntegralValue
114         to GetSwitchValue. On 2.0 profile, leave the type conversion to
115         Switch implementations. Minor corrections to exception messages to
116         match MS.
117         * Switch.cs: Avoid unnecessary inits. On 2.0 profile, catch and
118         rethrow exceptions in setter for Value. Do not hide exceptions thrown
119         in GetConfigFileSetting. Only set value from config file if switch is
120         actually defined.
121         * SourceSwitch.cs: Use SwitchSetting for getting/storing value instead
122         of new field. In OnValueChanged, parse enum value.
123         * TraceSwitch.cs: If SwitchSetting is changed to value > 4, then set
124         it to Verbose. In OnValueChanged, parse value case-insensitively, and
125         assign it to SwitchSetting (to allow other integral values).
126
127 2007-09-05  Atsushi Enomoto  <atsushi@ximian.com>
128
129         * EventLog.cs : added cosmetic 2.0 attributes on newly added members.
130
131 2007-09-05  Atsushi Enomoto  <atsushi@ximian.com>
132
133         * EventLog.cs, EventLogImpl.cs, LocalFileEventLog.cs, NullEventLog.cs,
134           Win32EventLog.cs : added missing members, will be left unsupported
135           in non-Win32 impl and left unimplemented in Win32.
136         * CounterCreationDataCollection.cs : in 2.0 OnValidate() is overriden
137           instad of OnInsert().
138         * Process.cs : removed StandardErrorEncoding and
139           StandardOutputEncoding. They do not exist anymore.
140
141 2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>
142
143         * ProcessStartInfo.cs : Implemented Verbs. It is done.
144
145 2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>
146
147         * Process.cs, ProcessStartInfo.cs : user info support (on windows).
148
149 2007-08-23  Robert Jordan  <robertj@gmx.net>
150
151         * Process.cs: implement PriorityClass. Fixes #81756.
152
153 Mon Aug 20 12:41:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
154
155         * Process.cs: implemented icall for system/user times.
156
157 2007-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
158
159         * EventLog.cs: Do not allow all whitespace machine name. Do nothing
160         when setting the same value for EnableRaisingEvents, and only modify
161         value of field when enable/disable succeeded. Treats log name case
162         insensitively on all platforms, and perform reset when the log name
163         is changed. Validate new machine name in property, and treat it
164         case-insensitively. Perform reset when source is modified, and log
165         name was not explicitly set. When EventLog is closed, also disable
166         event watcher.
167         * LocalEventLog.cs: In Close, clean-up the FileSystemWatcher. Add
168         locking to Created eventhandler to avoid duplicate notifications.
169         * Win32EventLog.cs: Cache handle for reading from eventlog. In Close,
170         close the read handle. Implement support for watching win32 eventlog.
171         Fixes bug #82436.
172
173 2007-08-08  Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
174
175         * Process.cs: added StandardOutputEncoding and StandardErrorEncoding
176         properties. Bug #82262 fixed.
177
178 2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>
179
180         * Process.cs, ProcessStartInfo.cs : added StandardOutputEncoding
181           and StandardErrorEncoding.
182
183 2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>
184
185         * PerformanceCounterCategory.cs PerformanceCounter.cs :
186           added missing 2.0 stuff (unimplemented, where things are anyways
187           unimplemented in 1.x layer).
188
189 2007-08-06  Atsushi Enomoto  <atsushi@ximian.com>
190
191         * PerformanceCounterInstanceLifetime.cs
192           PerformanceCounterCategoryType.cs : new.
193         * ICollectData.cs ProcessStartInfo.cs
194           InstanceDataCollectionCollection.cs PerformanceCounter.cs
195           InstanceDataCollection.cs Process.cs :
196           cosmetic attributes cleanup.
197
198 2007-08-03  Jb Evain  <jbevain@novell.com>
199
200         * FileVersionInfo.cs: force the use of the params
201         AppendFormat method of StringBuilder as it is the only
202         one accessible in 2.1 and in the previous versions.
203
204 2007-08-03  Jb Evain  <jbevain@novell.com>
205
206         * FileVersionInfo.cs: remove CAS checks for 2.1.
207
208 2007-08-03  Jb Evain  <jbevain@novell.com>
209
210         * Process.cs: disable StartExistCallbackIfNeeded in 2.1.
211
212 2007-08-03  Jb Evain  <jbevain@novell.com>
213
214         * ProcessThreadCollection.cs
215           ProcessModuleCollection.cs: use our own collection base
216           for the 2.1 profile, as ReadOnlyCollectionBase does not exist
217           in 2.1, and they are internalized by the linker.
218
219 2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>
220
221         * EventLogTraceListener.cs : fixed wrong 2.0 dependency in 1.x.
222
223 2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>
224
225         * EventLogTraceListener.cs : implemented.
226
227 2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>
228
229         * EventLogImpl.cs
230           EventLog.cs
231           LocalFileEventLog.cs : Implemented EntryWritten event support.
232         * Win32EventLog.cs, NullEventLog.cs : they need stub overrides.
233         * EventLogEntry.cs : [MonitoringDescription].
234         * DiagnosticsConfigurationHandler.cs : [Obsolete]
235
236 2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>
237
238         * DefaultTraceListener.cs : implemented AssertUiEnabled using MWF.
239
240 2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>
241
242         * CounterSample.cs : implemented missing 2.0 equality stuff.
243         * CounterSampleCalculator.cs : static in 2.0.
244
245 2007-07-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
246
247         * Process.cs: use the default encoding or the windows input/output
248         encodings for the process input/output/error streams. Bug #80838 fixed.
249
250 2007-07-14 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
251
252         * Process.cs: don't send empty lines that are not in the input. Fixes
253         bug #79529.
254
255 2007-07-11  Ankit Jain  <jankit@novell.com>
256
257         * ProcessStartInfo.cs (WorkingDirectory.set): Don't set
258         working_directory to null.
259
260 2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
261
262         * TraceSourceInfo.cs : new class for storing configuration data.
263         * TraceSource.cs : TraceEventCache arguments should be null (they are
264           nullable). Use TraceSourceInfo above.
265         * DiagnosticsConfigurationHandler.cs : removed hack to store listeners
266           in named sources, not traceimpl. Create TraceSource objects from
267           configuration data.
268
269 2007-05-18  Marek Safar  <marek.safar@gmail.com>
270
271         * DiagnosticsConfigurationHandler.cs: Fixed 1.1 build.
272
273 2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
274
275         * XmlWriterTraceListener.cs : open file in shared r/w mode.
276         * DiagnosticsConfigurationHandler.cs : process <sharedListeners>
277           elements first, so that named listeners work fine.
278         * EventLogTraceListener.cs : added 2.0 stubs.
279         * CorrelationManager.cs : removed todo.
280
281 2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
282
283         * TraceListener.cs : in TraceTransfer(), use TraceEvent() (some
284           derived classes depend on this change).
285         * DelimitedListTraceListener.cs : implemented.
286
287 2007-05-18  Atsushi Enomoto  <atsushi@ximian.com>
288
289         * EventLogPermissionAccess.cs ProcessPriorityClass.cs
290           ProcessWindowStyle.cs ThreadWaitReason.cs TraceImpl.cs
291           Trace.cs ThreadPriorityLevel.cs EventLogEntryType.cs
292           PerformanceCounterPermissionAccess.cs PerformanceCounterType.cs
293           TraceListener.cs ThreadState.cs : cosmetic API fixes.
294         * SwitchAttribute.cs : implemented GetAll().
295
296 2007-05-17  Atsushi Enomoto  <atsushi@ximian.com>
297
298         * TraceOptions.cs : new enum.
299         * TraceListener.cs : support TraceOutputOptions. Fixed missing
300           NET_2_0 condition in TARGET_JVM section.
301         * TraceSwitch.cs, BooleanSwitch.cs :
302           Added missing constructors and OnValueChanged().
303         * Trace.cs, TraceImpl.cs :
304           Added CorrelationManager and UseGlobalLock.
305         * TraceEventCache.cs : initialize property values at construction.
306         * Switch.cs : added XmlIgnore on Attributes.
307
308 2007-05-15 Adar Wesley <adarw@mainsoft.com>
309
310         * Trace.cs: added missing method Refresh.
311
312 2007-05-14  Atsushi Enomoto  <atsushi@ximian.com>
313
314         * EventTypeFilter.cs
315           TraceFilter.cs
316           SourceFilter.cs
317           SwitchLevelAttribute.cs
318           DelimitedListTraceListener.cs
319           SwitchAttribute.cs : new files in 2.0.
320         * DiagnosticsConfigurationHandler.cs : partial support for named
321           shared listeners.
322         * XmlWriterTraceListener.cs : cosmetic corcompare fixes. Added
323           missing todos.
324         * TraceListener.cs : added missing 2.0 stuff. Implemented Filter.
325         * DefaultTraceListener.cs : trivial ComVisible fix.
326
327 2007-05-10  Atsushi Enomoto  <atsushi@ximian.com>
328
329         * TextWriterTraceListener.cs : open log file in readwrite share mode.
330           This fixes bug #81296.
331
332 2007-05-08 Igor Zelmanovich <igorz@mainsoft.com>
333
334         * TraceImpl.cs:
335         * TraceListener.cs:
336         for TARGET_JVM used Thread Local Storage istead 
337         Thread-Relative Static Fields 
338
339 2007-05-02  Jonathan Chambers  <joncham@gmail.com>
340
341         * Stopwatch.cs : Implement high performance stopwatch on windows.
342
343 2007-04-19  Atsushi Enomoto  <atsushi@ximian.com>
344
345         * XmlWriterTraceListener.cs : new file, implementated.
346         * TraceListener.cs : implemented 2.0 members.
347
348 2007-03-04  Vladimir Krasnov  <vlaimdirk@mainsoft.com>
349
350         * DiagnosticsConfigurationHandler.cs: removed configuration init in
351         TARGET_JVM since not supported
352
353 2007-02-02  Gert Driesen  <drieseng@users.sourceforge.net>
354
355         * EventLogImpl.cs: When no log name is specified, return zero-length
356         string for LogDisplayName.
357
358 2007-01-28 Ilya Kharmatsky <ilyak -at- mainsoft.com>
359
360         * TraceEventCache.jvm.cs: added as a stub class.
361
362 Tue Jan 23 17:19:13 CET 2007 Paolo Molaro <lupus@ximian.com>
363
364         * ProcessStartInfo.cs: put the fields in the order expected
365         by the runtime code.
366
367 2007-01-18  Atsushi Enomoto  <atsushi@ximian.com>
368
369         * Switch.cs : added missing .ctor(), Attributes, Value, 
370           GetSupportedAttributes() and OnValueChanged().
371         * DiagnosticsConfigurationHandler.cs : added some hacky handler for
372           new "sources" element. Don't wrap another ConfigurationException.
373         * TraceListener.cs : added missing trace methods.
374         * TraceSource.cs, SourceLevels.cs, CorrelationManager.cs,
375           TraceEventCache.cs, TraceEventType.cs, SourceSwitch.cs:
376           added missing 2.0 stuff, mostly just stubs.
377
378 2007-01-12  Miguel de Icaza  <miguel@novell.com>
379
380         * Trace.cs: Add a number of 2.0 overloads.
381
382 2007-01-02  Gert Driesen  <drieseng@users.sourceforge.net>
383
384         * Process.cs: Allow GetProcesses and GetProcessById overloads with 
385         machine name to work for local machine.
386
387 2006-12-29  Robert Jordan  <robertj@gmx.net>
388
389         * TraceImpl.cs (Assert): Include line numbers in the stack trace
390         emitted by Assert (). Fixes bug #80400.
391
392 Thu Dec 14 20:24:09 CET 2006 Paolo Molaro <lupus@ximian.com>
393
394         * Process.cs: if a process object is restarted, close the
395         previous process handle (bug #80143).
396
397 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
398
399         * Process.cs: the Process returned by the static Start method never had
400         the right ProcessStartInfo. Fixes bug #80019.
401
402 2006-10-13  Atsushi Enomoto  <atsushi@ximian.com>
403
404         * DiagnosticsConfigurationHandler.cs : be more skeptic on
405           broken configuration file.
406
407 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
408
409         * DefaultTraceListener.cs: TARGET_JVM
410
411 2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412
413         * Process.cs: fix operation number to be 8. The other one was working
414         because the default is to wait for input on the file descriptor.
415
416 2006-09-05  Gert Driesen  <drieseng@users.sourceforge.net>
417
418         * Win32EventLog.cs: Removed workarounds for bug #79152 and bug #79117
419         now that these have been fixed. Release unmanaged memory that was
420         allocated for replacement strings.
421
422 2006-08-27  Gert Driesen  <drieseng@users.sourceforge.net>
423
424         * NullEventLog.cs: Added dummy GetLogNames implementation.
425         * EventLogImpl.cs: Moved GetEventLogs implementation to base class.
426         Added abstract GetLogNames method. Added ValidateCustomerLogName
427         method which should be called by eventlog providers when creating a
428         new log to ensure the significant part of the log name is unique, does
429         not match any of the special log names and does not match an exist event
430         source.
431         * Win32EventLog.cs: Validate customer log name when creating new log.
432         Moved GetEventLogs implementation to base class. Added GetLogNames
433         method.
434         * LocalFileEventLog.cs: Merged CreateLogStore into CreateEventSource.
435         Validate customer log name when creating new log. Moved GetEventLogs
436         implementation to base class. Added GetLogNames method.
437
438 2006-08-26  Gert Driesen  <drieseng@users.sourceforge.net>
439
440         * Win32EventLog.cs: Fixed error messages. Use RegisterEventSource
441         pinvoke when opening eventlog for writing entries.
442
443 2006-08-26  Gert Driesen  <drieseng@users.sourceforge.net>
444
445         * Win32EventLog.cs: Added and documented workarounds for bug #79117
446         and bug #79152.
447
448 2006-08-25  Gert Driesen  <drieseng@users.sourceforge.net>
449
450         * LocalFileEventLog.cs: When event log store does not exist, then we
451         do not need to perform a case-insensitive lookup of the log name.
452
453 2006-08-20  Gert Driesen  <drieseng@users.sourceforge.net>
454
455         * EventLog.cs: Removed namespace import.
456         * EventInstance.cs: Added range checks and check whether specified
457         entry type is defined.
458
459 2006-08-20  Gert Driesen  <drieseng@users.sourceforge.net>
460
461         * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
462         Obsolete attribute to correct property.
463         * EventSourceCreationData.cs: Updated copyright. For internal ctor,
464         set log name to "Application" if value is null or zero-length string.
465         * EventLogImpl.cs: EventImpl now acts as base class for event log 
466         implemenations.
467         * NullEventLog.cs: Modified to implement new abstract methods of base
468         class. Removed factory class.
469         * EventLog.cs: EventLog implementation that delegates just about 
470         everything to individual eventlog providers. To specify the event log
471         implementation to use, the MONO_EVENTLOG_TYPE environment variable can
472         be used. Possible values are:
473         - win32 : read/write entries using the native win32 eventlog
474         - local[:path] : read/write entries as files to a local directory
475         - null : silently ignore all entries
476         The default is "null" on unix (and versions of Windows before NT,
477         meaning Windows 98, ...), and "win32" on Windows NT (and higher).
478         When "the local" implementation is used, the directory in which to 
479         store the event logs, event sources and entries can be specified as 
480         part of MONO_EVENTLOG_TYPE environment variable using the syntax 
481         "local:<path>" (eg. local:/home/myuser/mono/eventlog).
482         * LocalFileEventLog.cs: Event log implementation which uses a local
483         file store. The directory to use for persistence can be specified
484         as part of the MONO_EVENTLOG_TYPE environment variable (see above).
485         If that directory is not explicitly set, then the following directory
486         will be used for storing eventlog entries:
487         - windows       : %APPDATA%\mono\eventlog
488         - unix          : /var/lib/mono/eventlog
489         On unix, the directory permission for individual eventlog log 
490         directories will be set to 777 (with +t bit) allowing everyone to
491         read and write eventlog entries while only allowing entries to be
492         deleted by the user(s) that created them.
493         Format of log files was modified to allow it contain all necessary
494         information for an event log entry.
495         * Win32EventLog.cs: Event log implementation for Windows NT and 
496         higher which uses the Win32 native event log for reading/writing
497         eventlog entries, and which uses the registry to store event log and
498         event source registration information.
499         * EventLogEntryCollection.cs: Delegate implementation to event log
500         implementation. Use lazy init for enumerating entries. Cache current
501         item in 2.0 profile.
502
503 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
504
505         * LocalFileEventLog.cs : change lengthy environment variable name.
506           MONO_LOCAL_EVENTLOG_PATH -> MONO_EVENTLOG_PATH.
507
508 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
509
510         * EventLogImpl.cs, EventLogEntryCollection.cs, EventLog.cs :
511           some rework to support actual event log implementations.
512         * NullEventLog.cs, LocalFileEventLog.cs :
513           new files. The former (default) implementation does nothing for
514           any event log features. The latter implements local file based
515           event logs.
516
517 2006-08-14  Atsushi Enomoto  <atsushi@ximian.com>
518
519         * UnixEventLog.cs, EventLogEntry.cs, EventSourceCreationData.cs,
520           EventLogImpl.cs, Win32EventLog.cs, EventLogEntryCollection.cs,
521           EventLog.cs:
522           Reverted previous two changes that does not work at all.
523
524 2006-08-11  Gert Driesen  <drieseng@users.sourceforge.net>
525
526         * EventLog.cs: For now, Use null implementation.
527
528 2006-08-11  Gert Driesen  <drieseng@users.sourceforge.net>
529
530         * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
531         Obsolete attribute to correct property.
532         * EventSourceCreationData.cs: Updated copyright. For internal ctor,
533         set log name to "Application" if value is null or zero-length string.
534         * EventLogImpl.cs: EventImpl now acts as base class for event log 
535         implemenations. Added NullEventLog implementation, which is not used
536         at the moment.
537         * EventLog.cs: EventLog implementation that uses registry for
538         keeping track of logs and sources to match .NET (and Windows). When
539         running on Windows NT (and higher), event entries are written to
540         the native win32 event log.  Reading event entries is not yet working
541         for Windows. On linux, we use a local file store (based on patch by 
542         Atsushi).
543         * UnixEventLog.cs: Event log implementation for linux which uses a
544         local file store.
545         * Win32EventLog.cs: Event log implementation for Windows NT and 
546         higher which uses the Win32 native event log.
547         * EventLogEntryCollection.cs: Delegate implementation to event log
548         implemenation. Use lazy init for enumerating entries.
549
550 2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
551
552         * Process.cs: reset the 'start' time if we wait for stdout reading to
553         be completed.
554
555 2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556
557         * Process.cs: add support for 2.0 asynchronous reads on stdout and
558         stderr.
559
560 2006-08-09  Gert Driesen  <drieseng@users.sourceforge.net>
561
562         * EventSourceCreationData.cs: Marked ctor internal, and removed ctor.
563         Throw ArgumentOutOfRangeException if negative value for CategoryCount
564         is set.
565
566 2006-08-09  Gert Driesen  <drieseng@users.sourceforge.net>
567
568         * EventInstance.cs: Added 2.0 class.
569         * EventSourceCreationData.cs: Added 2.0 class.
570         * OverflowAction.cs: Added 2.0 enum.
571
572 2006-07-31  Sebastien Pouliot  <sebastien@ximian.com>
573
574         * EventLogEntry.cs: Add a linkdemand for unrestricted on class.
575         * EventLogTraceListener.cs: Add a linkdemand for unrestricted on class
576         * FileVersionInfo.cs: Add a linkdemand for unrestricted on class. Add
577         an imperative demand for FileIOPermission.Read on GetVersionInfo 
578         method. Change ToString method to use a StringBuilder.
579         * PerformanceCounterCategory.cs: Add a linkdemand for unrestricted on
580         class.
581         * PerformanceCounterManager.cs: Add a linkdemand for unrestricted on 
582         class. Add [Obsolete] for NET_2_0 profile.
583         * Process.cs: Add a linkdemand and an inheritancedemand for 
584         unrestricted on class.
585         * ProcessStartInfo.cs: Add a linkdemand for unrestricted on class.
586
587 2006-07-16  Andrew Skiba <andrews@mainsoft.com>
588
589         * Process.cs: throw FileNotFoundException earlier; give more
590         diagnostics.
591
592 2006-05-16  Dick Porter  <dick@ximian.com>
593
594         * Process.cs: Dispose the handle from a destructor too
595
596 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
597
598         * Stopwatch.cs:
599           Zoltan was quicker to add it, here I put my implementation ;-)
600         * Process.cs :
601           Added some missing long members (not implemented anyways).
602         * DataReceivedEventHandler.cs DataReceivedEventArgs.cs :
603           added new 2.0 types.
604
605 2006-04-01  Zoltan Varga  <vargaz@gmail.com>
606
607         * Stopwatch.cs: New file.
608
609 2006-03-31  Zoltan Varga  <vargaz@gmail.com>
610
611         * Debug.cs: Add net 2.0 Print methods.
612
613 2006-03-03  Dick Porter  <dick@ximian.com>
614
615         * Process.cs: Close redirected pipes on errors.  Fixes bug 77514.
616
617 2006-01-12  Ben Maurer  <bmaurer@andrew.cmu.edu>
618
619         * ConsoleTraceListener.cs: New 2.0 class
620
621 2005-11-17  Dick Porter  <dick@ximian.com>
622
623         * Process.cs: Split Start_common into Start_shell and
624         Start_noshell, which call ShellExecuteEx and CreateProcess
625         respectively.  Fixes bug 76670.
626
627 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
628
629         * Process.cs: deal with the fact that someone can enable raising events
630         and/or registed a Exited delegate before and *after* Start is called for
631         the process. Only queue the exit callback in the threadpool when it's
632         possible and requested. Fixes bug #76129.
633
634 2005-08-09  Gert Driesen <drieseng@users.sourceforge.net>
635
636         * EventLog.cs: Fixed Designer attribute to match MS.NET.
637         * ICollectData.cs: Added marshalling attribute to match MS.NET.
638         * PerformanceCounter.cs: Fixed Designer attribute to match MS.NET.
639         * Process.cs: Fixed Designer attribute to match MS.NET, modified
640         * ProcessModule.cs: Fixed Designer attribute to match MS.NET.
641         * ProcessThread.cs: Fixed Designer attribute to match MS.NET.
642         DesignerSerializationVisibility on StartInfo to match MS.NET, changed
643         Category attribute on Exited event to match MS.NET.
644
645 2005-06-09  Gert Driesen <drieseng@users.sourceforge.net>
646
647         * TraceImpl.cs: Adjust internal indentlevel and indentsize before 
648         passing on to listeners. Fixes some test failures.
649
650 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
651
652         * DefaultTraceListener.cs: s/MONO_TRACE/MONO_TRACE_LISTENER/. The
653         runtime uses MONO_TRACE too...
654
655 2005-05-31  Sebastien Pouliot  <sebastien@ximian.com>
656
657         * PerformanceCounterPermissionEntry.cs: Added more 2.0 validations for
658         machine names and PerformanceCounterPermissionAccess.
659
660 2005-02-22 Jonathan Pryor  <jonpryor@vt.edu>
661
662         * TraceImpl.cs: More Thread-safety fixes.  I have to lock on
663           Listeners.SyncRoot as we're traversing the collection and can't let the
664           collection change from underneath us while we're iterating over it
665           (alternately, we could clone the collection and iterate over the clone
666           without having locking issues -- assuming we had a lock-free clone -- 
667           but this would kill the GC).  Fixes 69964.  Only define lock_ if we're 
668           using the lock-free initialization routine; it's not used otherwise.
669
670 2005-01-18 Jonathan Pryor  <jonpryor@vt.edu>
671
672         * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration): 
673           Use a lock-free algorithm for creating the settings information.
674         * TraceImpl.cs (InitOnce): Use a lock-free algorithm for creating the
675           listeners collection and initializing the world.
676
677 2005-01-18 Jonathan Pryor  <jonpryor@vt.edu>
678
679         * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration): Don't 
680           read the .config file from the static ctor (again), as if it fails we'll 
681           get a TypeLoadException -- bad!  Instead, lazy-read the .config file.
682         * DiagnosticsConfigurationHandler.cs (DiagnosticsConfigurationHandler): 
683           Require that the /switch/add/@value attribute contains only numeric values.
684         * TraceImpl.cs: Don't initialize everything in the static ctor, as if it
685           fails (due to an invalid .confg file) we get a TypeLoadException, while
686           .NET generates a ConfigurationException.  Instead, initialize everything
687           the first time the Listeners property is accessed, which allows the static
688           ctor to run without chance of failure, avoiding the TypeLoadException.
689         * TraceListenerCollection.cs: This should be thread-safe, as it's accessible
690           from a static member of TraceImpl (available through the public Debug and 
691           Trace classes).
692         * Switch.cs: Leave the original switch value alone.  If it isn't valid 
693           (i.e. numeric), the DiagnosticsConfigurationHandler will catch it.
694
695 2005-01-17 Jonathan Pryor  <jonpryor@vt.edu>
696
697         * DiagnosticsConfigurationHandler.cs: The /switch/add/@value attribute 
698           isn't optional under .NET 1.1, so make sure it exists.
699
700 2005-01-13 Jonathan Pryor  <jonpryor@vt.edu>
701
702         * DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
703           thread-safe (double-checked locking isn't thread safe on .NET without
704           using a volatile variable, and setting the variable in the static
705           constructor is easier anyway).
706         * Switch.cs (GetConfigFileSetting): If the setting is non-numeric, set the
707           attribute value to the string "0".  This is apparently what .NET 1.1 does,
708           and allows the SwitchTest NUnit test to work w/o failures.
709
710 2004-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
711
712         * Process.cs: always pass the same arguments to the runtime.
713
714 2004-09-11  Sebastien Pouliot  <sebastien@ximian.com>
715
716         * EventLogPermission.cs: Completed implementation.
717         * EventLogPermissionAccess.cs: Fixed enum values.
718         * EventLogPermissionEntry.cs: Added validation for machine names.
719         * EventLogPermissionEntryCollection.cs: Added synchronization
720         of entries with the base permission class.
721         * PerformanceCounterPermission.cs: Completed implementation.
722         * PerformanceCounterPermissionAccess.cs: Fixed enum values.
723         * PerformanceCounterPermissionEntry.cs: Added validations for machine
724         and category names.
725         * PerformanceCounterPermissionEntryCollection.cs: Added synchronization
726         of entries with the base permission class.
727
728 2004-09-10  Sebastien Pouliot  <sebastien@ximian.com>
729
730         * EventLogPermission.cs: Fixed initialization (TagNames and
731         PermissionAccessType).
732         * EventLogPermissionAccess.cs: Added new enums for NET_2_0 and added 
733         [Obsolete] to some existing elements.
734         * EventLogPermissionAttribute.cs: Added missing validation to property
735         MachineName. Fixed changes for NET_2_0.
736         * PerformanceCounterPermission.cs: Fixed initialization (TagNames and
737         PermissionAccessType).
738         * PerformanceCounterPermissionAccess.cs: Added new enums for NET_2_0
739         and added [Obsolete] to some existing elements.
740         * PerformanceCounterPermissionAttribute.cs: Added missing validations
741         to properties (Path, MachineName). Fixed changes for NET_2_0.
742
743 2004-09-07  Dick Porter  <dick@ximian.com>
744
745         * Process.cs: Throw documented exceptions when getting stdin,
746         stdout or stderr and they haven't been redirected.  Check that
747         CreatePipe didn't fail, throw exceptions if it did.  Close
748         redirected streams when the process is disposed, rather than rely
749         on the GC disposing them later.  Makes timeline much happier,
750         because it could run out of file descriptors between GC
751         collections.
752
753 2004-09-06  Dick Porter  <dick@ximian.com>
754
755         * Process.cs: Make Dispose() actually dispose things.
756
757 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
758
759         * Process.cs : quick fix for UseShellExecute=false on windows. See
760           the code comment.
761
762 2004-06-17  Lluis Sanchez Gual  <lluis@ximian.com>
763
764         * Process.cs: Added missing check in HasExited property.
765
766 2004-05-20  Gert Driesen (drieseng@users.sourceforge.net)
767
768         * EventLogPermissionAttribute.cs:
769         * PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
770         and Inherited to match .NET
771
772 2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
773
774         * Process.cs: separate the command and the arguments when calling
775         Start_internal.
776
777 2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
778
779         * Process.cs: redirecting I/O is not permitted if UseShellExecute is
780         true. Also throw if FileName is null.
781
782 2004-04-06  Lluis Sanchez Gual  <lluis@ximian.com>
783
784         * DiagnosticsConfigurationHandler.cs: If initializeData is provided,
785         use the constructor that only takes one string as parameter to
786         construct the listener. The name is set using the Name property, not the
787         constructor.
788         
789         * TextWriterTraceListener.cs: In Write*, do nothing if no writer was 
790         provided.
791
792 2004-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
793
794         * Process.cs: use the ISynchronizeInvoke object to invoke the event.
795         Implemented Close, CloseMainWindow and Kill.
796
797 2004-03-23 Ben Maurer  <bmaurer@users.sourceforge.net>
798
799         * Switch.cs: Don't throw when there is no switches section.
800
801 2004-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
802
803         * Process.cs: support EnableRaisingEvents + Exited event.
804
805 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
806
807         * Process.cs: patch by Gert Driesen that fixes WaitForExit when the
808         timeout is int.MaxValue.
809
810 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
811
812         * Process.cs: added environment variables setting support and also
813         send useShellExecute to the runtime.
814
815         * ProcessStartInfo.cs: support EnvironmentVariables.  MS uses
816         StringDictionary, which turns keys into lowercase. We don't do that.
817
818 2004-02-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
819
820         * Process.cs: ExitCode and ExitTime check that the process is finished.
821
822 2003-12-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
823
824         * Process.cs: if there's an error when starting the process, the 'pid'
825         field contains the GetLastError code. Use that for the Win32Exception.
826
827 2003-12-06  Martin Baulig  <martin@ximian.com>
828
829         * DefaultTraceListener: Don't use `where' in variable names.
830
831 2003-11-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
832
833         * ICollectData.cs: Fixed signature
834
835 2003-11-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
836
837         * ICollectData.cs: Added missing attribute
838
839 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
840
841         * SRDescriptionAttribute.cs: Moved to System directory
842
843 2003-07-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
844
845         * EventLog.cs: Implementation handling
846         * EventLogImpl.cs: Added, contains an platform independent empty implementation
847         for EventLog
848
849 2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
850
851         * AlphabeticalEnumConverter.cs: Added
852         * EventLogEntry.cs: Implemented
853         * EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
854         * EventLogTraceListener.cs: Fixed signature
855         * PerformanceCounter.cs: Added missing attribute
856         * PerformanceCounterType.cs: Added missing attribute
857         * SRDescriptionAttribute.cs: Added and implemented
858
859 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
860
861         * CounterCreationData.cs:
862         * EventLog.cs:
863         * EventLogEntry.cs:
864         * PerformanceCounter.cs:
865         * Process.cs:
866         * ProcessModule.cs:
867         * ProcessStartInfo.cs:
868         * ProcessThread.cs: Reworked attributes based on the new Consts scheme
869
870 2003-07-14  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
871
872         * PerformanceCounterCategory.cs: Fixed signatures
873
874 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
875
876         * PerformanceCounter.cs: Implemented or implementation added
877
878 2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
879
880         * DiagnosticsConfigurationHandler.cs: Removed a never used variable
881         * EventLog.cs: Small update to prevent a warning
882         * EventLogPermission.cs: Implemented or implementation added
883         * EventLogPermissionAttribute.cs: Implemented or implementation added
884         * EventLogPermissionEntry.cs: Implemented or implementation added
885         * EventLogPermissionEntryCollection.cs: Implemented or implementation added
886         * EventLogTraceListener.cs: Implemented or implementation added
887         * PerformanceCounterManager.cs: Implemented or implementation added
888         * PerformanceCounterInstaller.cs: Made internal
889         * PerformanceCounterCategory.cs: Implemented few members
890         * PerformanceCounterPermission.cs: Implemented or implementation added
891         * PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
892         * PerformanceCounterPermissionEntry.cs: Implemented or implementation added
893         * PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
894         
895 2003-07-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
896
897         * EventLog.cs: Removed unneccesary attribute according to corecompare
898         * EventLogEntry.cs: Removed unneccesary attribute according to corecompare
899         * Process.cs: Removed unneccesary attributes according to corecompare, added attribute
900         * ProcessModule.cs: Removed unneccesary attribute according to corecompare
901         * ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
902         * ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
903
904 2003-07-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
905
906         * InstanceDataCollectionCollection.cs: Corrected wrong signature
907         * EventLog.cs: Missing attributes added, redirected some class members
908         * EventLogEntry.cs: Missing attributes added
909         * EventLogInstaller.cs: Made internal
910         
911 2003-07-02  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
912
913         * CounterCreationData.cs: Added missing attributes
914         * CounterSample.cs: Implemented missing rest, fixed signature
915         * CounterSampleCalculator.cs: Added private constructor, redirected function
916         * Process.cs: Added attributes, added event mechanism
917         * ProcessModule.cs: Added missing attributes
918         * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
919         * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
920         * ProcessThread.cs: Added missing attributes, added pseudo constructor
921         * ProcessThreadCollection.cs: Implemented
922         * PerformanceCounterPermission.cs: Fixed typo in class name
923         * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
924         
925 2003-03-19  Dick Porter  <dick@ximian.com>
926
927         * Process.cs: Implement HasExited, fixes bug 39267
928
929 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
930
931         * Process.cs: throw an exception when the executable cannot be found.
932
933 2002-12-20  Jonathan Pryor <jonpryor@vt.edu>
934         * DiagnosticsConfigurationHandler.cs: 
935           - Don't assume that optional attributes are always present
936           - <assert/> can't have any child nodes
937           - Change in semantics: if the attribute isn't present,
938             GetAttribute() returns null, not "".  This allows us to
939             differentiate between an attribute not being present and an
940             attribute with an empty value.
941           - Translate exceptions if a TraceListener type is invalid
942
943 2002-12-19  Jonathan Pryor <jonpryor@vt.edu>
944         * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be 
945           hardcoded; they should be set to whatever TraceImpl is using (which
946           in turn may have been set by the .config file, so we should get the
947           user-specified values in added listeners).
948         * TraceListener.cs: Make sure that indents are initially written.  This 
949           allows code that uses Trace.Indent() before a Trace.WriteLine() to be 
950           indented properly.
951         * TraceImpl.cs: provide a static constructor to explicitly specify the
952           ordering of initialization, in particular the ordering of
953           TraceImpl.Listeners and the reading of the .config file (by
954           accessing DiagnosticsConfiguration.Settings).  This (hopefully)
955           ensures that the Listeners collection is initialized before the
956           .config file is read in, as the DiagnosticsConfigurationHandler will
957           directly modify the listeners collection.
958           The DiagnosticsConfigurationHandler assumes this so that it can
959           <add/> and <remove/> trace listeners and set the logfile for the
960           DefaultTraceListener.
961
962
963 2002-12-18  Jonathan Pryor <jonpryor@vt.edu>
964         * BooleanSwitch.cs: Complete re-write.  It works now.
965         * DefaultTraceListener.cs:
966           - Use `const' strings, so I don't worry about copy/paste errors
967           - Give `AssertUiEnabled' an actual backing member
968         * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
969           configuration handler set .config-specified properties on
970           DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
971           (AutoFlush, IndentSize).
972         * Switch.cs: Near complete re-write.  Actually works, and is (should be)
973           comformant with .NET behavior.  Changed member names because they
974           were confusing me.  (Yes, that doesn't say much about my memory.)
975         * TextWriterTraceListener.cs: Append text to already existing files,
976           don't overwrite them.
977         * TraceImpl.cs:
978           - Added private destructor, to ensure no instances are created.
979           - Move members declarations to be closer to each other.
980         * TraceSwitch.cs: Complete re-write.  It works now.
981
982 2002-12-17  Jonathan Pryor <jonpryor@vt.edu>
983         * DiagnosticsConfigurationHandler.cs: Implement so that .config files
984         support <system.diagnostics> sections.
985
986 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
987
988         * DefaultTraceListener.cs: now OutputDebugStringW is called from an
989         internal call (update your runtime!). No more warnings in linux.
990
991 2002-10-31  Dick Porter  <dick@ximian.com>
992
993         * Process.cs: MonoIO methods now have an error parameter
994
995 2002-10-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
996
997         * DefaultTraceListener.cs: changed OutputDebugString to
998         OutputDebugStringW (no more warnings under windows). Also a few style
999         fixes.
1000
1001 2002-10-23  Dick Porter  <dick@ximian.com>
1002
1003         * Process.cs: Redirected standard input needs to have AutoFlush set
1004
1005 2002-09-27  Dick Porter  <dick@ximian.com>
1006
1007         * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
1008         ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
1009         Pass the working directory to Start.  Pass the program and args in
1010         one string to be used with the second arg of CreateProcess, so it
1011         will search the path.
1012
1013 2002-09-19  Nick Drochak <ndrochak@gol.com>
1014
1015         * TraceImpl.cs: Remove debug prints
1016
1017 2002-09-19  Nick Drochak <ndrochak@gol.com>
1018
1019         * TraceListenerCollection.cs: Set Indet level and size to default 
1020         values.  The values from TraceImpl might have been changed.
1021
1022 2002-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1023
1024         * Process.cs:
1025         * TextWriterTraceListener.cs: IDisposable fixes.
1026
1027 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1028
1029         * Process.cs: class status based fixes.
1030
1031 2002-07-20  Dick Porter  <dick@ximian.com>
1032
1033         * Process.cs: Implement file handle redirection
1034
1035 2002-07-13  Jonathan Pryor <jonpryor@vt.edu>
1036         * CounterCreationData.cs: Implemented
1037         * CounterCreationDataCollection.cs: Implemented
1038         * CounterSample.cs: Stubbed Out
1039         * CounterSampleCalculator.cs: Stubbed Out
1040         * InstanceData.cs: Implemented
1041         * InstanceDataCollection.cs: Implemented
1042         * InstanceDataCollectionCollection.cs: Implemented
1043         * MonitoringDescriptionAttribute.cs: Implemented
1044         * PerformanceCounter.cs: Stubbed Out
1045         * PerformanceCounterCategory.cs: Stubbed Out
1046         * PerformanceCounterInstaller.cs: Stubbed Out
1047         * PerformanceCounterManager.cs: Stubbed Out
1048         * PerformanceCounterPermission.cs: Stubbed Out
1049         * PerformanceCounterPermissionAccess.cs: Implemented
1050         * PerformanceCounterPermissionAttribute.cs: Stubbed Out
1051         * PerformanceCounterPermissionEntry.cs: Stubbed Out
1052         * PerformanceCounterPermissionEntryCollection.cs: Implemented
1053         * PerformanceCounterType.cs: Implemented
1054
1055
1056 2002-06-25  Dick Porter  <dick@ximian.com>
1057
1058         * Process.cs: Process forking and waiting, and some support functions
1059
1060         * ProcessStartInfo.cs: Implemented the bits needed for basic
1061         Process forking
1062
1063         * ProcessModule.cs: Implemented
1064
1065         * ProcessModuleCollection.cs: Mostly implemented
1066
1067         * FileVersionInfo.cs: Implemented
1068
1069 2002-06-16  Jonathan Pryor <jonpryor@vt.edu>
1070         * ICollectData.cs: Implemented
1071         * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
1072                 corresponding properties on all current TraceListeners.
1073                 Also, to answer the FIXME message: Yes, the properties in TraceListener
1074                 need to be [ThreadStatic] as well.
1075         * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
1076                 should have its properties set to the current TraceImpl property values.
1077         * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].
1078
1079 2002-06-09  Jonathan Pryor <jonpryor@vt.edu>
1080         * EntryWrittenEventArgs.cs: Implemented
1081         * EntryWrittenEventHandler.cs: Implemented
1082         * EventLog.cs: Stubbed out
1083         * EventLogEntry.cs: Stubbed out
1084         * EventLogEntryCOllection.cs: Implemented.
1085         * EventLogEntryType.cs: Implemented
1086         * EventLogInstaller.cs: Stubbed out
1087         * EventLogPermission.cs: Stubbed out
1088         * EventLogPermissionAccess.cs: Implemented
1089         * EventLogPermissionAttribute.cs: Stubbed out
1090         * EventLogPermissionEntry.cs: Stubbed out
1091         * EventLogPermissionEntryCollection.cs: Stubbed out
1092         * EventLogTraceListener.cs: Stubbed out
1093
1094 2002-05-29  Jonathan Pryor <jonpryor@vt.edu>
1095   * DefaultTraceListener.cs: Implemented MONO_TRACE support
1096
1097 2002-05-27  Jonathan Pryor <jonpryor@vt.edu>
1098   * Moved public API documentation for the following files to the
1099     /mcs/docs/apidocs/xml/en/System.Diagnostics directory:
1100     - Debug.cs
1101     - DefaultTraceListener.cs
1102     - DiagnosticsConfigurationHandler.cs
1103     - Switch.cs
1104     - TextWriterTraceListener.cs
1105     - Trace.cs
1106     - TraceLevel.cs
1107     - TraceListener.cs
1108     - TraceListenerCollection.cs
1109     - TraceSwitch.cs
1110
1111 2002-04-10  Jonathan Pryor <jonpryor@vt.edu>
1112
1113         * TraceListenerCollection.cs: Corrected indexer property to provide the
1114                 correct return value and implement the IList indexer property correctly.
1115
1116 2002-04-07  Jonathan Pryor <jonpryor@vt.edu>
1117
1118         * TraceListener.cs: Fix stack overflow bug
1119         * DefaultTraceListener.cs: Implement log file support
1120
1121 2002-04-04  Dick Porter  <dick@ximian.com>
1122
1123         * ThreadWaitReason.cs:
1124         * ThreadState.cs:
1125         * ThreadPriorityLevel.cs:
1126         * ProcessWindowStyle.cs:
1127         * ProcessThreadCollection.cs
1128         * ProcessThread.cs:
1129         * ProcessStartInfo.cs:
1130         * ProcessModuleCollection.cs: Stub out more classes needed for Process
1131
1132 2002-03-31  Dick Porter  <dick@ximian.com>
1133
1134         * Process.cs: 
1135         * ProcessPriorityClass.cs: 
1136         * ProcessModule.cs: 
1137         * FileVersionInfo.cs: Stub out classes needed for Process
1138
1139 2002-03-08  Jonathan Pryor <jonpryor@vt.edu>
1140
1141         * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which 
1142                 is why TraceImpl.cs is introduced), "DEBUG" conditional support
1143         * TraceListener.cs: Proper implementation of Dispose pattern;
1144                 implementatino of non-abstract methods in terms of abstract methods
1145         * TraceListenerCollection.cs: check 'object' types before adding
1146         * TextWriterTraceListener.cs: properly implement Dispose pattern;
1147                 handle NeedIndent and WriteIndent
1148         * Trace.cs: new file; provides Trace functionality, "TRACE" conditional
1149                 support
1150         * DefaultTraceListener.cs: new file; the default trace listener
1151
1152 2002-01-17  Miguel de Icaza  <miguel@ximian.com>
1153         * TraceListenerCollection.cs: Remove Warnings.
1154
1155 2002-01-06  Ravi Pratap  <ravi@ximian.com>
1156         * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
1157         with the MonoTODO attribute.
1158
1159 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
1160         * Added Debug.cs to the build.
1161
1162 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
1163         * Added preliminary TraceListenerCollection.cs to the build.
1164
1165 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
1166         * Added TraceListener.cs, TextWriterTraceListener.cs, and
1167         DefaultTraceListener.cs to the build and moved them into the
1168         proper assembly.
1169
1170 2002-01-04  John R. Hicks <angryjohn69@nc.rr.com>
1171         * Added DiagnosticsConfigurationHandler.cs to the build.
1172
1173 2001-09-09  Nick Drochak <ndrochak@gol.com>
1174         * BooleanSwitch.cs: Make this class use it's parent class's features.  Namely, use SwitchSetting
1175         so that we can get OnSwitchSettingChanged() to fire for free.
1176
1177 2001-09-09  Nick Drochak <ndrochak@gol.com>
1178         * ChangeLog: added this file
1179         * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.