1 2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
3 * Switch.cs: Don't throw when there is no switches section.
5 2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7 * Process.cs: support EnableRaisingEvents + Exited event.
9 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
11 * Process.cs: patch by Gert Driesen that fixes WaitForExit when the
12 timeout is int.MaxValue.
14 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
16 * Process.cs: added environment variables setting support and also
17 send useShellExecute to the runtime.
19 * ProcessStartInfo.cs: support EnvironmentVariables. MS uses
20 StringDictionary, which turns keys into lowercase. We don't do that.
22 2004-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
24 * Process.cs: ExitCode and ExitTime check that the process is finished.
26 2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
28 * Process.cs: if there's an error when starting the process, the 'pid'
29 field contains the GetLastError code. Use that for the Win32Exception.
31 2003-12-06 Martin Baulig <martin@ximian.com>
33 * DefaultTraceListener: Don't use `where' in variable names.
35 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
37 * ICollectData.cs: Fixed signature
39 2003-11-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
41 * ICollectData.cs: Added missing attribute
43 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
45 * SRDescriptionAttribute.cs: Moved to System directory
47 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
49 * EventLog.cs: Implementation handling
50 * EventLogImpl.cs: Added, contains an platform independent empty implementation
53 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
55 * AlphabeticalEnumConverter.cs: Added
56 * EventLogEntry.cs: Implemented
57 * EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
58 * EventLogTraceListener.cs: Fixed signature
59 * PerformanceCounter.cs: Added missing attribute
60 * PerformanceCounterType.cs: Added missing attribute
61 * SRDescriptionAttribute.cs: Added and implemented
63 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
65 * CounterCreationData.cs:
68 * PerformanceCounter.cs:
71 * ProcessStartInfo.cs:
72 * ProcessThread.cs: Reworked attributes based on the new Consts scheme
74 2003-07-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
76 * PerformanceCounterCategory.cs: Fixed signatures
78 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
80 * PerformanceCounter.cs: Implemented or implementation added
82 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
84 * DiagnosticsConfigurationHandler.cs: Removed a never used variable
85 * EventLog.cs: Small update to prevent a warning
86 * EventLogPermission.cs: Implemented or implementation added
87 * EventLogPermissionAttribute.cs: Implemented or implementation added
88 * EventLogPermissionEntry.cs: Implemented or implementation added
89 * EventLogPermissionEntryCollection.cs: Implemented or implementation added
90 * EventLogTraceListener.cs: Implemented or implementation added
91 * PerformanceCounterManager.cs: Implemented or implementation added
92 * PerformanceCounterInstaller.cs: Made internal
93 * PerformanceCounterCategory.cs: Implemented few members
94 * PerformanceCounterPermission.cs: Implemented or implementation added
95 * PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
96 * PerformanceCounterPermissionEntry.cs: Implemented or implementation added
97 * PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
99 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
101 * EventLog.cs: Removed unneccesary attribute according to corecompare
102 * EventLogEntry.cs: Removed unneccesary attribute according to corecompare
103 * Process.cs: Removed unneccesary attributes according to corecompare, added attribute
104 * ProcessModule.cs: Removed unneccesary attribute according to corecompare
105 * ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
106 * ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
108 2003-07-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
110 * InstanceDataCollectionCollection.cs: Corrected wrong signature
111 * EventLog.cs: Missing attributes added, redirected some class members
112 * EventLogEntry.cs: Missing attributes added
113 * EventLogInstaller.cs: Made internal
115 2003-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
117 * CounterCreationData.cs: Added missing attributes
118 * CounterSample.cs: Implemented missing rest, fixed signature
119 * CounterSampleCalculator.cs: Added private constructor, redirected function
120 * Process.cs: Added attributes, added event mechanism
121 * ProcessModule.cs: Added missing attributes
122 * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
123 * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
124 * ProcessThread.cs: Added missing attributes, added pseudo constructor
125 * ProcessThreadCollection.cs: Implemented
126 * PerformanceCounterPermission.cs: Fixed typo in class name
127 * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
129 2003-03-19 Dick Porter <dick@ximian.com>
131 * Process.cs: Implement HasExited, fixes bug 39267
133 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
135 * Process.cs: throw an exception when the executable cannot be found.
137 2002-12-20 Jonathan Pryor <jonpryor@vt.edu>
138 * DiagnosticsConfigurationHandler.cs:
139 - Don't assume that optional attributes are always present
140 - <assert/> can't have any child nodes
141 - Change in semantics: if the attribute isn't present,
142 GetAttribute() returns null, not "". This allows us to
143 differentiate between an attribute not being present and an
144 attribute with an empty value.
145 - Translate exceptions if a TraceListener type is invalid
147 2002-12-19 Jonathan Pryor <jonpryor@vt.edu>
148 * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be
149 hardcoded; they should be set to whatever TraceImpl is using (which
150 in turn may have been set by the .config file, so we should get the
151 user-specified values in added listeners).
152 * TraceListener.cs: Make sure that indents are initially written. This
153 allows code that uses Trace.Indent() before a Trace.WriteLine() to be
155 * TraceImpl.cs: provide a static constructor to explicitly specify the
156 ordering of initialization, in particular the ordering of
157 TraceImpl.Listeners and the reading of the .config file (by
158 accessing DiagnosticsConfiguration.Settings). This (hopefully)
159 ensures that the Listeners collection is initialized before the
160 .config file is read in, as the DiagnosticsConfigurationHandler will
161 directly modify the listeners collection.
162 The DiagnosticsConfigurationHandler assumes this so that it can
163 <add/> and <remove/> trace listeners and set the logfile for the
164 DefaultTraceListener.
167 2002-12-18 Jonathan Pryor <jonpryor@vt.edu>
168 * BooleanSwitch.cs: Complete re-write. It works now.
169 * DefaultTraceListener.cs:
170 - Use `const' strings, so I don't worry about copy/paste errors
171 - Give `AssertUiEnabled' an actual backing member
172 * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
173 configuration handler set .config-specified properties on
174 DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
175 (AutoFlush, IndentSize).
176 * Switch.cs: Near complete re-write. Actually works, and is (should be)
177 comformant with .NET behavior. Changed member names because they
178 were confusing me. (Yes, that doesn't say much about my memory.)
179 * TextWriterTraceListener.cs: Append text to already existing files,
180 don't overwrite them.
182 - Added private destructor, to ensure no instances are created.
183 - Move members declarations to be closer to each other.
184 * TraceSwitch.cs: Complete re-write. It works now.
186 2002-12-17 Jonathan Pryor <jonpryor@vt.edu>
187 * DiagnosticsConfigurationHandler.cs: Implement so that .config files
188 support <system.diagnostics> sections.
190 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
192 * DefaultTraceListener.cs: now OutputDebugStringW is called from an
193 internal call (update your runtime!). No more warnings in linux.
195 2002-10-31 Dick Porter <dick@ximian.com>
197 * Process.cs: MonoIO methods now have an error parameter
199 2002-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201 * DefaultTraceListener.cs: changed OutputDebugString to
202 OutputDebugStringW (no more warnings under windows). Also a few style
205 2002-10-23 Dick Porter <dick@ximian.com>
207 * Process.cs: Redirected standard input needs to have AutoFlush set
209 2002-09-27 Dick Porter <dick@ximian.com>
211 * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
212 ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
213 Pass the working directory to Start. Pass the program and args in
214 one string to be used with the second arg of CreateProcess, so it
215 will search the path.
217 2002-09-19 Nick Drochak <ndrochak@gol.com>
219 * TraceImpl.cs: Remove debug prints
221 2002-09-19 Nick Drochak <ndrochak@gol.com>
223 * TraceListenerCollection.cs: Set Indet level and size to default
224 values. The values from TraceImpl might have been changed.
226 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229 * TextWriterTraceListener.cs: IDisposable fixes.
231 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
233 * Process.cs: class status based fixes.
235 2002-07-20 Dick Porter <dick@ximian.com>
237 * Process.cs: Implement file handle redirection
239 2002-07-13 Jonathan Pryor <jonpryor@vt.edu>
240 * CounterCreationData.cs: Implemented
241 * CounterCreationDataCollection.cs: Implemented
242 * CounterSample.cs: Stubbed Out
243 * CounterSampleCalculator.cs: Stubbed Out
244 * InstanceData.cs: Implemented
245 * InstanceDataCollection.cs: Implemented
246 * InstanceDataCollectionCollection.cs: Implemented
247 * MonitoringDescriptionAttribute.cs: Implemented
248 * PerformanceCounter.cs: Stubbed Out
249 * PerformanceCounterCategory.cs: Stubbed Out
250 * PerformanceCounterInstaller.cs: Stubbed Out
251 * PerformanceCounterManager.cs: Stubbed Out
252 * PerformanceCounterPermission.cs: Stubbed Out
253 * PerformanceCounterPermissionAccess.cs: Implemented
254 * PerformanceCounterPermissionAttribute.cs: Stubbed Out
255 * PerformanceCounterPermissionEntry.cs: Stubbed Out
256 * PerformanceCounterPermissionEntryCollection.cs: Implemented
257 * PerformanceCounterType.cs: Implemented
260 2002-06-25 Dick Porter <dick@ximian.com>
262 * Process.cs: Process forking and waiting, and some support functions
264 * ProcessStartInfo.cs: Implemented the bits needed for basic
267 * ProcessModule.cs: Implemented
269 * ProcessModuleCollection.cs: Mostly implemented
271 * FileVersionInfo.cs: Implemented
273 2002-06-16 Jonathan Pryor <jonpryor@vt.edu>
274 * ICollectData.cs: Implemented
275 * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
276 corresponding properties on all current TraceListeners.
277 Also, to answer the FIXME message: Yes, the properties in TraceListener
278 need to be [ThreadStatic] as well.
279 * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
280 should have its properties set to the current TraceImpl property values.
281 * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].
283 2002-06-09 Jonathan Pryor <jonpryor@vt.edu>
284 * EntryWrittenEventArgs.cs: Implemented
285 * EntryWrittenEventHandler.cs: Implemented
286 * EventLog.cs: Stubbed out
287 * EventLogEntry.cs: Stubbed out
288 * EventLogEntryCOllection.cs: Implemented.
289 * EventLogEntryType.cs: Implemented
290 * EventLogInstaller.cs: Stubbed out
291 * EventLogPermission.cs: Stubbed out
292 * EventLogPermissionAccess.cs: Implemented
293 * EventLogPermissionAttribute.cs: Stubbed out
294 * EventLogPermissionEntry.cs: Stubbed out
295 * EventLogPermissionEntryCollection.cs: Stubbed out
296 * EventLogTraceListener.cs: Stubbed out
298 2002-05-29 Jonathan Pryor <jonpryor@vt.edu>
299 * DefaultTraceListener.cs: Implemented MONO_TRACE support
301 2002-05-27 Jonathan Pryor <jonpryor@vt.edu>
302 * Moved public API documentation for the following files to the
303 /mcs/docs/apidocs/xml/en/System.Diagnostics directory:
305 - DefaultTraceListener.cs
306 - DiagnosticsConfigurationHandler.cs
308 - TextWriterTraceListener.cs
312 - TraceListenerCollection.cs
315 2002-04-10 Jonathan Pryor <jonpryor@vt.edu>
317 * TraceListenerCollection.cs: Corrected indexer property to provide the
318 correct return value and implement the IList indexer property correctly.
320 2002-04-07 Jonathan Pryor <jonpryor@vt.edu>
322 * TraceListener.cs: Fix stack overflow bug
323 * DefaultTraceListener.cs: Implement log file support
325 2002-04-04 Dick Porter <dick@ximian.com>
327 * ThreadWaitReason.cs:
329 * ThreadPriorityLevel.cs:
330 * ProcessWindowStyle.cs:
331 * ProcessThreadCollection.cs
333 * ProcessStartInfo.cs:
334 * ProcessModuleCollection.cs: Stub out more classes needed for Process
336 2002-03-31 Dick Porter <dick@ximian.com>
339 * ProcessPriorityClass.cs:
341 * FileVersionInfo.cs: Stub out classes needed for Process
343 2002-03-08 Jonathan Pryor <jonpryor@vt.edu>
345 * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which
346 is why TraceImpl.cs is introduced), "DEBUG" conditional support
347 * TraceListener.cs: Proper implementation of Dispose pattern;
348 implementatino of non-abstract methods in terms of abstract methods
349 * TraceListenerCollection.cs: check 'object' types before adding
350 * TextWriterTraceListener.cs: properly implement Dispose pattern;
351 handle NeedIndent and WriteIndent
352 * Trace.cs: new file; provides Trace functionality, "TRACE" conditional
354 * DefaultTraceListener.cs: new file; the default trace listener
356 2002-01-17 Miguel de Icaza <miguel@ximian.com>
357 * TraceListenerCollection.cs: Remove Warnings.
359 2002-01-06 Ravi Pratap <ravi@ximian.com>
360 * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
361 with the MonoTODO attribute.
363 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
364 * Added Debug.cs to the build.
366 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
367 * Added preliminary TraceListenerCollection.cs to the build.
369 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
370 * Added TraceListener.cs, TextWriterTraceListener.cs, and
371 DefaultTraceListener.cs to the build and moved them into the
374 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
375 * Added DiagnosticsConfigurationHandler.cs to the build.
377 2001-09-09 Nick Drochak <ndrochak@gol.com>
378 * BooleanSwitch.cs: Make this class use it's parent class's features. Namely, use SwitchSetting
379 so that we can get OnSwitchSettingChanged() to fire for free.
381 2001-09-09 Nick Drochak <ndrochak@gol.com>
382 * ChangeLog: added this file
383 * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.