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