1 2007-07-11 Ankit Jain <jankit@novell.com>
3 * ProcessStartInfo.cs (WorkingDirectory.set): Don't set
4 working_directory to null.
6 2007-05-18 Atsushi Enomoto <atsushi@ximian.com>
8 * TraceSourceInfo.cs : new class for storing configuration data.
9 * TraceSource.cs : TraceEventCache arguments should be null (they are
10 nullable). Use TraceSourceInfo above.
11 * DiagnosticsConfigurationHandler.cs : removed hack to store listeners
12 in named sources, not traceimpl. Create TraceSource objects from
15 2007-05-18 Marek Safar <marek.safar@gmail.com>
17 * DiagnosticsConfigurationHandler.cs: Fixed 1.1 build.
19 2007-05-18 Atsushi Enomoto <atsushi@ximian.com>
21 * XmlWriterTraceListener.cs : open file in shared r/w mode.
22 * DiagnosticsConfigurationHandler.cs : process <sharedListeners>
23 elements first, so that named listeners work fine.
24 * EventLogTraceListener.cs : added 2.0 stubs.
25 * CorrelationManager.cs : removed todo.
27 2007-05-18 Atsushi Enomoto <atsushi@ximian.com>
29 * TraceListener.cs : in TraceTransfer(), use TraceEvent() (some
30 derived classes depend on this change).
31 * DelimitedListTraceListener.cs : implemented.
33 2007-05-18 Atsushi Enomoto <atsushi@ximian.com>
35 * EventLogPermissionAccess.cs ProcessPriorityClass.cs
36 ProcessWindowStyle.cs ThreadWaitReason.cs TraceImpl.cs
37 Trace.cs ThreadPriorityLevel.cs EventLogEntryType.cs
38 PerformanceCounterPermissionAccess.cs PerformanceCounterType.cs
39 TraceListener.cs ThreadState.cs : cosmetic API fixes.
40 * SwitchAttribute.cs : implemented GetAll().
42 2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
44 * TraceOptions.cs : new enum.
45 * TraceListener.cs : support TraceOutputOptions. Fixed missing
46 NET_2_0 condition in TARGET_JVM section.
47 * TraceSwitch.cs, BooleanSwitch.cs :
48 Added missing constructors and OnValueChanged().
49 * Trace.cs, TraceImpl.cs :
50 Added CorrelationManager and UseGlobalLock.
51 * TraceEventCache.cs : initialize property values at construction.
52 * Switch.cs : added XmlIgnore on Attributes.
54 2007-05-15 Adar Wesley <adarw@mainsoft.com>
56 * Trace.cs: added missing method Refresh.
58 2007-05-14 Atsushi Enomoto <atsushi@ximian.com>
63 SwitchLevelAttribute.cs
64 DelimitedListTraceListener.cs
65 SwitchAttribute.cs : new files in 2.0.
66 * DiagnosticsConfigurationHandler.cs : partial support for named
68 * XmlWriterTraceListener.cs : cosmetic corcompare fixes. Added
70 * TraceListener.cs : added missing 2.0 stuff. Implemented Filter.
71 * DefaultTraceListener.cs : trivial ComVisible fix.
73 2007-05-10 Atsushi Enomoto <atsushi@ximian.com>
75 * TextWriterTraceListener.cs : open log file in readwrite share mode.
76 This fixes bug #81296.
78 2007-05-08 Igor Zelmanovich <igorz@mainsoft.com>
82 for TARGET_JVM used Thread Local Storage istead
83 Thread-Relative Static Fields
85 2007-05-02 Jonathan Chambers <joncham@gmail.com>
87 * Stopwatch.cs : Implement high performance stopwatch on windows.
89 2007-04-19 Atsushi Enomoto <atsushi@ximian.com>
91 * XmlWriterTraceListener.cs : new file, implementated.
92 * TraceListener.cs : implemented 2.0 members.
94 2007-03-04 Vladimir Krasnov <vlaimdirk@mainsoft.com>
96 * DiagnosticsConfigurationHandler.cs: removed configuration init in
97 TARGET_JVM since not supported
99 2007-02-02 Gert Driesen <drieseng@users.sourceforge.net>
101 * EventLogImpl.cs: When no log name is specified, return zero-length
102 string for LogDisplayName.
104 2007-01-28 Ilya Kharmatsky <ilyak -at- mainsoft.com>
106 * TraceEventCache.jvm.cs: added as a stub class.
108 Tue Jan 23 17:19:13 CET 2007 Paolo Molaro <lupus@ximian.com>
110 * ProcessStartInfo.cs: put the fields in the order expected
113 2007-01-18 Atsushi Enomoto <atsushi@ximian.com>
115 * Switch.cs : added missing .ctor(), Attributes, Value,
116 GetSupportedAttributes() and OnValueChanged().
117 * DiagnosticsConfigurationHandler.cs : added some hacky handler for
118 new "sources" element. Don't wrap another ConfigurationException.
119 * TraceListener.cs : added missing trace methods.
120 * TraceSource.cs, SourceLevels.cs, CorrelationManager.cs,
121 TraceEventCache.cs, TraceEventType.cs, SourceSwitch.cs:
122 added missing 2.0 stuff, mostly just stubs.
124 2007-01-12 Miguel de Icaza <miguel@novell.com>
126 * Trace.cs: Add a number of 2.0 overloads.
128 2007-01-02 Gert Driesen <drieseng@users.sourceforge.net>
130 * Process.cs: Allow GetProcesses and GetProcessById overloads with
131 machine name to work for local machine.
133 2006-12-29 Robert Jordan <robertj@gmx.net>
135 * TraceImpl.cs (Assert): Include line numbers in the stack trace
136 emitted by Assert (). Fixes bug #80400.
138 Thu Dec 14 20:24:09 CET 2006 Paolo Molaro <lupus@ximian.com>
140 * Process.cs: if a process object is restarted, close the
141 previous process handle (bug #80143).
143 2006-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
145 * Process.cs: the Process returned by the static Start method never had
146 the right ProcessStartInfo. Fixes bug #80019.
148 2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
150 * DiagnosticsConfigurationHandler.cs : be more skeptic on
151 broken configuration file.
153 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
155 * DefaultTraceListener.cs: TARGET_JVM
157 2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
159 * Process.cs: fix operation number to be 8. The other one was working
160 because the default is to wait for input on the file descriptor.
162 2006-09-05 Gert Driesen <drieseng@users.sourceforge.net>
164 * Win32EventLog.cs: Removed workarounds for bug #79152 and bug #79117
165 now that these have been fixed. Release unmanaged memory that was
166 allocated for replacement strings.
168 2006-08-27 Gert Driesen <drieseng@users.sourceforge.net>
170 * NullEventLog.cs: Added dummy GetLogNames implementation.
171 * EventLogImpl.cs: Moved GetEventLogs implementation to base class.
172 Added abstract GetLogNames method. Added ValidateCustomerLogName
173 method which should be called by eventlog providers when creating a
174 new log to ensure the significant part of the log name is unique, does
175 not match any of the special log names and does not match an exist event
177 * Win32EventLog.cs: Validate customer log name when creating new log.
178 Moved GetEventLogs implementation to base class. Added GetLogNames
180 * LocalFileEventLog.cs: Merged CreateLogStore into CreateEventSource.
181 Validate customer log name when creating new log. Moved GetEventLogs
182 implementation to base class. Added GetLogNames method.
184 2006-08-26 Gert Driesen <drieseng@users.sourceforge.net>
186 * Win32EventLog.cs: Fixed error messages. Use RegisterEventSource
187 pinvoke when opening eventlog for writing entries.
189 2006-08-26 Gert Driesen <drieseng@users.sourceforge.net>
191 * Win32EventLog.cs: Added and documented workarounds for bug #79117
194 2006-08-25 Gert Driesen <drieseng@users.sourceforge.net>
196 * LocalFileEventLog.cs: When event log store does not exist, then we
197 do not need to perform a case-insensitive lookup of the log name.
199 2006-08-20 Gert Driesen <drieseng@users.sourceforge.net>
201 * EventLog.cs: Removed namespace import.
202 * EventInstance.cs: Added range checks and check whether specified
203 entry type is defined.
205 2006-08-20 Gert Driesen <drieseng@users.sourceforge.net>
207 * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
208 Obsolete attribute to correct property.
209 * EventSourceCreationData.cs: Updated copyright. For internal ctor,
210 set log name to "Application" if value is null or zero-length string.
211 * EventLogImpl.cs: EventImpl now acts as base class for event log
213 * NullEventLog.cs: Modified to implement new abstract methods of base
214 class. Removed factory class.
215 * EventLog.cs: EventLog implementation that delegates just about
216 everything to individual eventlog providers. To specify the event log
217 implementation to use, the MONO_EVENTLOG_TYPE environment variable can
218 be used. Possible values are:
219 - win32 : read/write entries using the native win32 eventlog
220 - local[:path] : read/write entries as files to a local directory
221 - null : silently ignore all entries
222 The default is "null" on unix (and versions of Windows before NT,
223 meaning Windows 98, ...), and "win32" on Windows NT (and higher).
224 When "the local" implementation is used, the directory in which to
225 store the event logs, event sources and entries can be specified as
226 part of MONO_EVENTLOG_TYPE environment variable using the syntax
227 "local:<path>" (eg. local:/home/myuser/mono/eventlog).
228 * LocalFileEventLog.cs: Event log implementation which uses a local
229 file store. The directory to use for persistence can be specified
230 as part of the MONO_EVENTLOG_TYPE environment variable (see above).
231 If that directory is not explicitly set, then the following directory
232 will be used for storing eventlog entries:
233 - windows : %APPDATA%\mono\eventlog
234 - unix : /var/lib/mono/eventlog
235 On unix, the directory permission for individual eventlog log
236 directories will be set to 777 (with +t bit) allowing everyone to
237 read and write eventlog entries while only allowing entries to be
238 deleted by the user(s) that created them.
239 Format of log files was modified to allow it contain all necessary
240 information for an event log entry.
241 * Win32EventLog.cs: Event log implementation for Windows NT and
242 higher which uses the Win32 native event log for reading/writing
243 eventlog entries, and which uses the registry to store event log and
244 event source registration information.
245 * EventLogEntryCollection.cs: Delegate implementation to event log
246 implementation. Use lazy init for enumerating entries. Cache current
249 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
251 * LocalFileEventLog.cs : change lengthy environment variable name.
252 MONO_LOCAL_EVENTLOG_PATH -> MONO_EVENTLOG_PATH.
254 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
256 * EventLogImpl.cs, EventLogEntryCollection.cs, EventLog.cs :
257 some rework to support actual event log implementations.
258 * NullEventLog.cs, LocalFileEventLog.cs :
259 new files. The former (default) implementation does nothing for
260 any event log features. The latter implements local file based
263 2006-08-14 Atsushi Enomoto <atsushi@ximian.com>
265 * UnixEventLog.cs, EventLogEntry.cs, EventSourceCreationData.cs,
266 EventLogImpl.cs, Win32EventLog.cs, EventLogEntryCollection.cs,
268 Reverted previous two changes that does not work at all.
270 2006-08-11 Gert Driesen <drieseng@users.sourceforge.net>
272 * EventLog.cs: For now, Use null implementation.
274 2006-08-11 Gert Driesen <drieseng@users.sourceforge.net>
276 * EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
277 Obsolete attribute to correct property.
278 * EventSourceCreationData.cs: Updated copyright. For internal ctor,
279 set log name to "Application" if value is null or zero-length string.
280 * EventLogImpl.cs: EventImpl now acts as base class for event log
281 implemenations. Added NullEventLog implementation, which is not used
283 * EventLog.cs: EventLog implementation that uses registry for
284 keeping track of logs and sources to match .NET (and Windows). When
285 running on Windows NT (and higher), event entries are written to
286 the native win32 event log. Reading event entries is not yet working
287 for Windows. On linux, we use a local file store (based on patch by
289 * UnixEventLog.cs: Event log implementation for linux which uses a
291 * Win32EventLog.cs: Event log implementation for Windows NT and
292 higher which uses the Win32 native event log.
293 * EventLogEntryCollection.cs: Delegate implementation to event log
294 implemenation. Use lazy init for enumerating entries.
296 2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * Process.cs: reset the 'start' time if we wait for stdout reading to
301 2006-08-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * Process.cs: add support for 2.0 asynchronous reads on stdout and
306 2006-08-09 Gert Driesen <drieseng@users.sourceforge.net>
308 * EventSourceCreationData.cs: Marked ctor internal, and removed ctor.
309 Throw ArgumentOutOfRangeException if negative value for CategoryCount
312 2006-08-09 Gert Driesen <drieseng@users.sourceforge.net>
314 * EventInstance.cs: Added 2.0 class.
315 * EventSourceCreationData.cs: Added 2.0 class.
316 * OverflowAction.cs: Added 2.0 enum.
318 2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
320 * EventLogEntry.cs: Add a linkdemand for unrestricted on class.
321 * EventLogTraceListener.cs: Add a linkdemand for unrestricted on class
322 * FileVersionInfo.cs: Add a linkdemand for unrestricted on class. Add
323 an imperative demand for FileIOPermission.Read on GetVersionInfo
324 method. Change ToString method to use a StringBuilder.
325 * PerformanceCounterCategory.cs: Add a linkdemand for unrestricted on
327 * PerformanceCounterManager.cs: Add a linkdemand for unrestricted on
328 class. Add [Obsolete] for NET_2_0 profile.
329 * Process.cs: Add a linkdemand and an inheritancedemand for
330 unrestricted on class.
331 * ProcessStartInfo.cs: Add a linkdemand for unrestricted on class.
333 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
335 * Process.cs: throw FileNotFoundException earlier; give more
338 2006-05-16 Dick Porter <dick@ximian.com>
340 * Process.cs: Dispose the handle from a destructor too
342 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
345 Zoltan was quicker to add it, here I put my implementation ;-)
347 Added some missing long members (not implemented anyways).
348 * DataReceivedEventHandler.cs DataReceivedEventArgs.cs :
351 2006-04-01 Zoltan Varga <vargaz@gmail.com>
353 * Stopwatch.cs: New file.
355 2006-03-31 Zoltan Varga <vargaz@gmail.com>
357 * Debug.cs: Add net 2.0 Print methods.
359 2006-03-03 Dick Porter <dick@ximian.com>
361 * Process.cs: Close redirected pipes on errors. Fixes bug 77514.
363 2006-01-12 Ben Maurer <bmaurer@andrew.cmu.edu>
365 * ConsoleTraceListener.cs: New 2.0 class
367 2005-11-17 Dick Porter <dick@ximian.com>
369 * Process.cs: Split Start_common into Start_shell and
370 Start_noshell, which call ShellExecuteEx and CreateProcess
371 respectively. Fixes bug 76670.
373 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
375 * Process.cs: deal with the fact that someone can enable raising events
376 and/or registed a Exited delegate before and *after* Start is called for
377 the process. Only queue the exit callback in the threadpool when it's
378 possible and requested. Fixes bug #76129.
380 2005-08-09 Gert Driesen <drieseng@users.sourceforge.net>
382 * EventLog.cs: Fixed Designer attribute to match MS.NET.
383 * ICollectData.cs: Added marshalling attribute to match MS.NET.
384 * PerformanceCounter.cs: Fixed Designer attribute to match MS.NET.
385 * Process.cs: Fixed Designer attribute to match MS.NET, modified
386 * ProcessModule.cs: Fixed Designer attribute to match MS.NET.
387 * ProcessThread.cs: Fixed Designer attribute to match MS.NET.
388 DesignerSerializationVisibility on StartInfo to match MS.NET, changed
389 Category attribute on Exited event to match MS.NET.
391 2005-06-09 Gert Driesen <drieseng@users.sourceforge.net>
393 * TraceImpl.cs: Adjust internal indentlevel and indentsize before
394 passing on to listeners. Fixes some test failures.
396 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
398 * DefaultTraceListener.cs: s/MONO_TRACE/MONO_TRACE_LISTENER/. The
399 runtime uses MONO_TRACE too...
401 2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
403 * PerformanceCounterPermissionEntry.cs: Added more 2.0 validations for
404 machine names and PerformanceCounterPermissionAccess.
406 2005-02-22 Jonathan Pryor <jonpryor@vt.edu>
408 * TraceImpl.cs: More Thread-safety fixes. I have to lock on
409 Listeners.SyncRoot as we're traversing the collection and can't let the
410 collection change from underneath us while we're iterating over it
411 (alternately, we could clone the collection and iterate over the clone
412 without having locking issues -- assuming we had a lock-free clone --
413 but this would kill the GC). Fixes 69964. Only define lock_ if we're
414 using the lock-free initialization routine; it's not used otherwise.
416 2005-01-18 Jonathan Pryor <jonpryor@vt.edu>
418 * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration):
419 Use a lock-free algorithm for creating the settings information.
420 * TraceImpl.cs (InitOnce): Use a lock-free algorithm for creating the
421 listeners collection and initializing the world.
423 2005-01-18 Jonathan Pryor <jonpryor@vt.edu>
425 * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration): Don't
426 read the .config file from the static ctor (again), as if it fails we'll
427 get a TypeLoadException -- bad! Instead, lazy-read the .config file.
428 * DiagnosticsConfigurationHandler.cs (DiagnosticsConfigurationHandler):
429 Require that the /switch/add/@value attribute contains only numeric values.
430 * TraceImpl.cs: Don't initialize everything in the static ctor, as if it
431 fails (due to an invalid .confg file) we get a TypeLoadException, while
432 .NET generates a ConfigurationException. Instead, initialize everything
433 the first time the Listeners property is accessed, which allows the static
434 ctor to run without chance of failure, avoiding the TypeLoadException.
435 * TraceListenerCollection.cs: This should be thread-safe, as it's accessible
436 from a static member of TraceImpl (available through the public Debug and
438 * Switch.cs: Leave the original switch value alone. If it isn't valid
439 (i.e. numeric), the DiagnosticsConfigurationHandler will catch it.
441 2005-01-17 Jonathan Pryor <jonpryor@vt.edu>
443 * DiagnosticsConfigurationHandler.cs: The /switch/add/@value attribute
444 isn't optional under .NET 1.1, so make sure it exists.
446 2005-01-13 Jonathan Pryor <jonpryor@vt.edu>
448 * DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
449 thread-safe (double-checked locking isn't thread safe on .NET without
450 using a volatile variable, and setting the variable in the static
451 constructor is easier anyway).
452 * Switch.cs (GetConfigFileSetting): If the setting is non-numeric, set the
453 attribute value to the string "0". This is apparently what .NET 1.1 does,
454 and allows the SwitchTest NUnit test to work w/o failures.
456 2004-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
458 * Process.cs: always pass the same arguments to the runtime.
460 2004-09-11 Sebastien Pouliot <sebastien@ximian.com>
462 * EventLogPermission.cs: Completed implementation.
463 * EventLogPermissionAccess.cs: Fixed enum values.
464 * EventLogPermissionEntry.cs: Added validation for machine names.
465 * EventLogPermissionEntryCollection.cs: Added synchronization
466 of entries with the base permission class.
467 * PerformanceCounterPermission.cs: Completed implementation.
468 * PerformanceCounterPermissionAccess.cs: Fixed enum values.
469 * PerformanceCounterPermissionEntry.cs: Added validations for machine
471 * PerformanceCounterPermissionEntryCollection.cs: Added synchronization
472 of entries with the base permission class.
474 2004-09-10 Sebastien Pouliot <sebastien@ximian.com>
476 * EventLogPermission.cs: Fixed initialization (TagNames and
477 PermissionAccessType).
478 * EventLogPermissionAccess.cs: Added new enums for NET_2_0 and added
479 [Obsolete] to some existing elements.
480 * EventLogPermissionAttribute.cs: Added missing validation to property
481 MachineName. Fixed changes for NET_2_0.
482 * PerformanceCounterPermission.cs: Fixed initialization (TagNames and
483 PermissionAccessType).
484 * PerformanceCounterPermissionAccess.cs: Added new enums for NET_2_0
485 and added [Obsolete] to some existing elements.
486 * PerformanceCounterPermissionAttribute.cs: Added missing validations
487 to properties (Path, MachineName). Fixed changes for NET_2_0.
489 2004-09-07 Dick Porter <dick@ximian.com>
491 * Process.cs: Throw documented exceptions when getting stdin,
492 stdout or stderr and they haven't been redirected. Check that
493 CreatePipe didn't fail, throw exceptions if it did. Close
494 redirected streams when the process is disposed, rather than rely
495 on the GC disposing them later. Makes timeline much happier,
496 because it could run out of file descriptors between GC
499 2004-09-06 Dick Porter <dick@ximian.com>
501 * Process.cs: Make Dispose() actually dispose things.
503 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
505 * Process.cs : quick fix for UseShellExecute=false on windows. See
508 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
510 * Process.cs: Added missing check in HasExited property.
512 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
514 * EventLogPermissionAttribute.cs:
515 * PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
516 and Inherited to match .NET
518 2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520 * Process.cs: separate the command and the arguments when calling
523 2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
525 * Process.cs: redirecting I/O is not permitted if UseShellExecute is
526 true. Also throw if FileName is null.
528 2004-04-06 Lluis Sanchez Gual <lluis@ximian.com>
530 * DiagnosticsConfigurationHandler.cs: If initializeData is provided,
531 use the constructor that only takes one string as parameter to
532 construct the listener. The name is set using the Name property, not the
535 * TextWriterTraceListener.cs: In Write*, do nothing if no writer was
538 2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
540 * Process.cs: use the ISynchronizeInvoke object to invoke the event.
541 Implemented Close, CloseMainWindow and Kill.
543 2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
545 * Switch.cs: Don't throw when there is no switches section.
547 2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
549 * Process.cs: support EnableRaisingEvents + Exited event.
551 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
553 * Process.cs: patch by Gert Driesen that fixes WaitForExit when the
554 timeout is int.MaxValue.
556 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
558 * Process.cs: added environment variables setting support and also
559 send useShellExecute to the runtime.
561 * ProcessStartInfo.cs: support EnvironmentVariables. MS uses
562 StringDictionary, which turns keys into lowercase. We don't do that.
564 2004-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
566 * Process.cs: ExitCode and ExitTime check that the process is finished.
568 2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
570 * Process.cs: if there's an error when starting the process, the 'pid'
571 field contains the GetLastError code. Use that for the Win32Exception.
573 2003-12-06 Martin Baulig <martin@ximian.com>
575 * DefaultTraceListener: Don't use `where' in variable names.
577 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
579 * ICollectData.cs: Fixed signature
581 2003-11-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
583 * ICollectData.cs: Added missing attribute
585 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
587 * SRDescriptionAttribute.cs: Moved to System directory
589 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
591 * EventLog.cs: Implementation handling
592 * EventLogImpl.cs: Added, contains an platform independent empty implementation
595 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
597 * AlphabeticalEnumConverter.cs: Added
598 * EventLogEntry.cs: Implemented
599 * EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
600 * EventLogTraceListener.cs: Fixed signature
601 * PerformanceCounter.cs: Added missing attribute
602 * PerformanceCounterType.cs: Added missing attribute
603 * SRDescriptionAttribute.cs: Added and implemented
605 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
607 * CounterCreationData.cs:
610 * PerformanceCounter.cs:
613 * ProcessStartInfo.cs:
614 * ProcessThread.cs: Reworked attributes based on the new Consts scheme
616 2003-07-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
618 * PerformanceCounterCategory.cs: Fixed signatures
620 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
622 * PerformanceCounter.cs: Implemented or implementation added
624 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
626 * DiagnosticsConfigurationHandler.cs: Removed a never used variable
627 * EventLog.cs: Small update to prevent a warning
628 * EventLogPermission.cs: Implemented or implementation added
629 * EventLogPermissionAttribute.cs: Implemented or implementation added
630 * EventLogPermissionEntry.cs: Implemented or implementation added
631 * EventLogPermissionEntryCollection.cs: Implemented or implementation added
632 * EventLogTraceListener.cs: Implemented or implementation added
633 * PerformanceCounterManager.cs: Implemented or implementation added
634 * PerformanceCounterInstaller.cs: Made internal
635 * PerformanceCounterCategory.cs: Implemented few members
636 * PerformanceCounterPermission.cs: Implemented or implementation added
637 * PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
638 * PerformanceCounterPermissionEntry.cs: Implemented or implementation added
639 * PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
641 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
643 * EventLog.cs: Removed unneccesary attribute according to corecompare
644 * EventLogEntry.cs: Removed unneccesary attribute according to corecompare
645 * Process.cs: Removed unneccesary attributes according to corecompare, added attribute
646 * ProcessModule.cs: Removed unneccesary attribute according to corecompare
647 * ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
648 * ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
650 2003-07-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
652 * InstanceDataCollectionCollection.cs: Corrected wrong signature
653 * EventLog.cs: Missing attributes added, redirected some class members
654 * EventLogEntry.cs: Missing attributes added
655 * EventLogInstaller.cs: Made internal
657 2003-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
659 * CounterCreationData.cs: Added missing attributes
660 * CounterSample.cs: Implemented missing rest, fixed signature
661 * CounterSampleCalculator.cs: Added private constructor, redirected function
662 * Process.cs: Added attributes, added event mechanism
663 * ProcessModule.cs: Added missing attributes
664 * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
665 * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
666 * ProcessThread.cs: Added missing attributes, added pseudo constructor
667 * ProcessThreadCollection.cs: Implemented
668 * PerformanceCounterPermission.cs: Fixed typo in class name
669 * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
671 2003-03-19 Dick Porter <dick@ximian.com>
673 * Process.cs: Implement HasExited, fixes bug 39267
675 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
677 * Process.cs: throw an exception when the executable cannot be found.
679 2002-12-20 Jonathan Pryor <jonpryor@vt.edu>
680 * DiagnosticsConfigurationHandler.cs:
681 - Don't assume that optional attributes are always present
682 - <assert/> can't have any child nodes
683 - Change in semantics: if the attribute isn't present,
684 GetAttribute() returns null, not "". This allows us to
685 differentiate between an attribute not being present and an
686 attribute with an empty value.
687 - Translate exceptions if a TraceListener type is invalid
689 2002-12-19 Jonathan Pryor <jonpryor@vt.edu>
690 * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be
691 hardcoded; they should be set to whatever TraceImpl is using (which
692 in turn may have been set by the .config file, so we should get the
693 user-specified values in added listeners).
694 * TraceListener.cs: Make sure that indents are initially written. This
695 allows code that uses Trace.Indent() before a Trace.WriteLine() to be
697 * TraceImpl.cs: provide a static constructor to explicitly specify the
698 ordering of initialization, in particular the ordering of
699 TraceImpl.Listeners and the reading of the .config file (by
700 accessing DiagnosticsConfiguration.Settings). This (hopefully)
701 ensures that the Listeners collection is initialized before the
702 .config file is read in, as the DiagnosticsConfigurationHandler will
703 directly modify the listeners collection.
704 The DiagnosticsConfigurationHandler assumes this so that it can
705 <add/> and <remove/> trace listeners and set the logfile for the
706 DefaultTraceListener.
709 2002-12-18 Jonathan Pryor <jonpryor@vt.edu>
710 * BooleanSwitch.cs: Complete re-write. It works now.
711 * DefaultTraceListener.cs:
712 - Use `const' strings, so I don't worry about copy/paste errors
713 - Give `AssertUiEnabled' an actual backing member
714 * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
715 configuration handler set .config-specified properties on
716 DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
717 (AutoFlush, IndentSize).
718 * Switch.cs: Near complete re-write. Actually works, and is (should be)
719 comformant with .NET behavior. Changed member names because they
720 were confusing me. (Yes, that doesn't say much about my memory.)
721 * TextWriterTraceListener.cs: Append text to already existing files,
722 don't overwrite them.
724 - Added private destructor, to ensure no instances are created.
725 - Move members declarations to be closer to each other.
726 * TraceSwitch.cs: Complete re-write. It works now.
728 2002-12-17 Jonathan Pryor <jonpryor@vt.edu>
729 * DiagnosticsConfigurationHandler.cs: Implement so that .config files
730 support <system.diagnostics> sections.
732 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
734 * DefaultTraceListener.cs: now OutputDebugStringW is called from an
735 internal call (update your runtime!). No more warnings in linux.
737 2002-10-31 Dick Porter <dick@ximian.com>
739 * Process.cs: MonoIO methods now have an error parameter
741 2002-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
743 * DefaultTraceListener.cs: changed OutputDebugString to
744 OutputDebugStringW (no more warnings under windows). Also a few style
747 2002-10-23 Dick Porter <dick@ximian.com>
749 * Process.cs: Redirected standard input needs to have AutoFlush set
751 2002-09-27 Dick Porter <dick@ximian.com>
753 * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
754 ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
755 Pass the working directory to Start. Pass the program and args in
756 one string to be used with the second arg of CreateProcess, so it
757 will search the path.
759 2002-09-19 Nick Drochak <ndrochak@gol.com>
761 * TraceImpl.cs: Remove debug prints
763 2002-09-19 Nick Drochak <ndrochak@gol.com>
765 * TraceListenerCollection.cs: Set Indet level and size to default
766 values. The values from TraceImpl might have been changed.
768 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
771 * TextWriterTraceListener.cs: IDisposable fixes.
773 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
775 * Process.cs: class status based fixes.
777 2002-07-20 Dick Porter <dick@ximian.com>
779 * Process.cs: Implement file handle redirection
781 2002-07-13 Jonathan Pryor <jonpryor@vt.edu>
782 * CounterCreationData.cs: Implemented
783 * CounterCreationDataCollection.cs: Implemented
784 * CounterSample.cs: Stubbed Out
785 * CounterSampleCalculator.cs: Stubbed Out
786 * InstanceData.cs: Implemented
787 * InstanceDataCollection.cs: Implemented
788 * InstanceDataCollectionCollection.cs: Implemented
789 * MonitoringDescriptionAttribute.cs: Implemented
790 * PerformanceCounter.cs: Stubbed Out
791 * PerformanceCounterCategory.cs: Stubbed Out
792 * PerformanceCounterInstaller.cs: Stubbed Out
793 * PerformanceCounterManager.cs: Stubbed Out
794 * PerformanceCounterPermission.cs: Stubbed Out
795 * PerformanceCounterPermissionAccess.cs: Implemented
796 * PerformanceCounterPermissionAttribute.cs: Stubbed Out
797 * PerformanceCounterPermissionEntry.cs: Stubbed Out
798 * PerformanceCounterPermissionEntryCollection.cs: Implemented
799 * PerformanceCounterType.cs: Implemented
802 2002-06-25 Dick Porter <dick@ximian.com>
804 * Process.cs: Process forking and waiting, and some support functions
806 * ProcessStartInfo.cs: Implemented the bits needed for basic
809 * ProcessModule.cs: Implemented
811 * ProcessModuleCollection.cs: Mostly implemented
813 * FileVersionInfo.cs: Implemented
815 2002-06-16 Jonathan Pryor <jonpryor@vt.edu>
816 * ICollectData.cs: Implemented
817 * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
818 corresponding properties on all current TraceListeners.
819 Also, to answer the FIXME message: Yes, the properties in TraceListener
820 need to be [ThreadStatic] as well.
821 * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
822 should have its properties set to the current TraceImpl property values.
823 * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].
825 2002-06-09 Jonathan Pryor <jonpryor@vt.edu>
826 * EntryWrittenEventArgs.cs: Implemented
827 * EntryWrittenEventHandler.cs: Implemented
828 * EventLog.cs: Stubbed out
829 * EventLogEntry.cs: Stubbed out
830 * EventLogEntryCOllection.cs: Implemented.
831 * EventLogEntryType.cs: Implemented
832 * EventLogInstaller.cs: Stubbed out
833 * EventLogPermission.cs: Stubbed out
834 * EventLogPermissionAccess.cs: Implemented
835 * EventLogPermissionAttribute.cs: Stubbed out
836 * EventLogPermissionEntry.cs: Stubbed out
837 * EventLogPermissionEntryCollection.cs: Stubbed out
838 * EventLogTraceListener.cs: Stubbed out
840 2002-05-29 Jonathan Pryor <jonpryor@vt.edu>
841 * DefaultTraceListener.cs: Implemented MONO_TRACE support
843 2002-05-27 Jonathan Pryor <jonpryor@vt.edu>
844 * Moved public API documentation for the following files to the
845 /mcs/docs/apidocs/xml/en/System.Diagnostics directory:
847 - DefaultTraceListener.cs
848 - DiagnosticsConfigurationHandler.cs
850 - TextWriterTraceListener.cs
854 - TraceListenerCollection.cs
857 2002-04-10 Jonathan Pryor <jonpryor@vt.edu>
859 * TraceListenerCollection.cs: Corrected indexer property to provide the
860 correct return value and implement the IList indexer property correctly.
862 2002-04-07 Jonathan Pryor <jonpryor@vt.edu>
864 * TraceListener.cs: Fix stack overflow bug
865 * DefaultTraceListener.cs: Implement log file support
867 2002-04-04 Dick Porter <dick@ximian.com>
869 * ThreadWaitReason.cs:
871 * ThreadPriorityLevel.cs:
872 * ProcessWindowStyle.cs:
873 * ProcessThreadCollection.cs
875 * ProcessStartInfo.cs:
876 * ProcessModuleCollection.cs: Stub out more classes needed for Process
878 2002-03-31 Dick Porter <dick@ximian.com>
881 * ProcessPriorityClass.cs:
883 * FileVersionInfo.cs: Stub out classes needed for Process
885 2002-03-08 Jonathan Pryor <jonpryor@vt.edu>
887 * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which
888 is why TraceImpl.cs is introduced), "DEBUG" conditional support
889 * TraceListener.cs: Proper implementation of Dispose pattern;
890 implementatino of non-abstract methods in terms of abstract methods
891 * TraceListenerCollection.cs: check 'object' types before adding
892 * TextWriterTraceListener.cs: properly implement Dispose pattern;
893 handle NeedIndent and WriteIndent
894 * Trace.cs: new file; provides Trace functionality, "TRACE" conditional
896 * DefaultTraceListener.cs: new file; the default trace listener
898 2002-01-17 Miguel de Icaza <miguel@ximian.com>
899 * TraceListenerCollection.cs: Remove Warnings.
901 2002-01-06 Ravi Pratap <ravi@ximian.com>
902 * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
903 with the MonoTODO attribute.
905 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
906 * Added Debug.cs to the build.
908 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
909 * Added preliminary TraceListenerCollection.cs to the build.
911 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
912 * Added TraceListener.cs, TextWriterTraceListener.cs, and
913 DefaultTraceListener.cs to the build and moved them into the
916 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
917 * Added DiagnosticsConfigurationHandler.cs to the build.
919 2001-09-09 Nick Drochak <ndrochak@gol.com>
920 * BooleanSwitch.cs: Make this class use it's parent class's features. Namely, use SwitchSetting
921 so that we can get OnSwitchSettingChanged() to fire for free.
923 2001-09-09 Nick Drochak <ndrochak@gol.com>
924 * ChangeLog: added this file
925 * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.