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