1 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
3 * Process.cs : quick fix for UseShellExecute=false on windows. See
6 2004-06-17 Lluis Sanchez Gual <lluis@ximian.com>
8 * Process.cs: Added missing check in HasExited property.
10 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
12 * EventLogPermissionAttribute.cs:
13 * PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
14 and Inherited to match .NET
16 2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
18 * Process.cs: separate the command and the arguments when calling
21 2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
23 * Process.cs: redirecting I/O is not permitted if UseShellExecute is
24 true. Also throw if FileName is null.
26 2004-04-06 Lluis Sanchez Gual <lluis@ximian.com>
28 * DiagnosticsConfigurationHandler.cs: If initializeData is provided,
29 use the constructor that only takes one string as parameter to
30 construct the listener. The name is set using the Name property, not the
33 * TextWriterTraceListener.cs: In Write*, do nothing if no writer was
36 2004-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
38 * Process.cs: use the ISynchronizeInvoke object to invoke the event.
39 Implemented Close, CloseMainWindow and Kill.
41 2004-03-23 Ben Maurer <bmaurer@users.sourceforge.net>
43 * Switch.cs: Don't throw when there is no switches section.
45 2004-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
47 * Process.cs: support EnableRaisingEvents + Exited event.
49 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51 * Process.cs: patch by Gert Driesen that fixes WaitForExit when the
52 timeout is int.MaxValue.
54 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56 * Process.cs: added environment variables setting support and also
57 send useShellExecute to the runtime.
59 * ProcessStartInfo.cs: support EnvironmentVariables. MS uses
60 StringDictionary, which turns keys into lowercase. We don't do that.
62 2004-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64 * Process.cs: ExitCode and ExitTime check that the process is finished.
66 2003-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
68 * Process.cs: if there's an error when starting the process, the 'pid'
69 field contains the GetLastError code. Use that for the Win32Exception.
71 2003-12-06 Martin Baulig <martin@ximian.com>
73 * DefaultTraceListener: Don't use `where' in variable names.
75 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
77 * ICollectData.cs: Fixed signature
79 2003-11-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
81 * ICollectData.cs: Added missing attribute
83 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
85 * SRDescriptionAttribute.cs: Moved to System directory
87 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
89 * EventLog.cs: Implementation handling
90 * EventLogImpl.cs: Added, contains an platform independent empty implementation
93 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
95 * AlphabeticalEnumConverter.cs: Added
96 * EventLogEntry.cs: Implemented
97 * EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
98 * EventLogTraceListener.cs: Fixed signature
99 * PerformanceCounter.cs: Added missing attribute
100 * PerformanceCounterType.cs: Added missing attribute
101 * SRDescriptionAttribute.cs: Added and implemented
103 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
105 * CounterCreationData.cs:
108 * PerformanceCounter.cs:
111 * ProcessStartInfo.cs:
112 * ProcessThread.cs: Reworked attributes based on the new Consts scheme
114 2003-07-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
116 * PerformanceCounterCategory.cs: Fixed signatures
118 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
120 * PerformanceCounter.cs: Implemented or implementation added
122 2003-07-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
124 * DiagnosticsConfigurationHandler.cs: Removed a never used variable
125 * EventLog.cs: Small update to prevent a warning
126 * EventLogPermission.cs: Implemented or implementation added
127 * EventLogPermissionAttribute.cs: Implemented or implementation added
128 * EventLogPermissionEntry.cs: Implemented or implementation added
129 * EventLogPermissionEntryCollection.cs: Implemented or implementation added
130 * EventLogTraceListener.cs: Implemented or implementation added
131 * PerformanceCounterManager.cs: Implemented or implementation added
132 * PerformanceCounterInstaller.cs: Made internal
133 * PerformanceCounterCategory.cs: Implemented few members
134 * PerformanceCounterPermission.cs: Implemented or implementation added
135 * PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
136 * PerformanceCounterPermissionEntry.cs: Implemented or implementation added
137 * PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
139 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
141 * EventLog.cs: Removed unneccesary attribute according to corecompare
142 * EventLogEntry.cs: Removed unneccesary attribute according to corecompare
143 * Process.cs: Removed unneccesary attributes according to corecompare, added attribute
144 * ProcessModule.cs: Removed unneccesary attribute according to corecompare
145 * ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
146 * ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
148 2003-07-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
150 * InstanceDataCollectionCollection.cs: Corrected wrong signature
151 * EventLog.cs: Missing attributes added, redirected some class members
152 * EventLogEntry.cs: Missing attributes added
153 * EventLogInstaller.cs: Made internal
155 2003-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
157 * CounterCreationData.cs: Added missing attributes
158 * CounterSample.cs: Implemented missing rest, fixed signature
159 * CounterSampleCalculator.cs: Added private constructor, redirected function
160 * Process.cs: Added attributes, added event mechanism
161 * ProcessModule.cs: Added missing attributes
162 * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
163 * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
164 * ProcessThread.cs: Added missing attributes, added pseudo constructor
165 * ProcessThreadCollection.cs: Implemented
166 * PerformanceCounterPermission.cs: Fixed typo in class name
167 * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
169 2003-03-19 Dick Porter <dick@ximian.com>
171 * Process.cs: Implement HasExited, fixes bug 39267
173 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
175 * Process.cs: throw an exception when the executable cannot be found.
177 2002-12-20 Jonathan Pryor <jonpryor@vt.edu>
178 * DiagnosticsConfigurationHandler.cs:
179 - Don't assume that optional attributes are always present
180 - <assert/> can't have any child nodes
181 - Change in semantics: if the attribute isn't present,
182 GetAttribute() returns null, not "". This allows us to
183 differentiate between an attribute not being present and an
184 attribute with an empty value.
185 - Translate exceptions if a TraceListener type is invalid
187 2002-12-19 Jonathan Pryor <jonpryor@vt.edu>
188 * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be
189 hardcoded; they should be set to whatever TraceImpl is using (which
190 in turn may have been set by the .config file, so we should get the
191 user-specified values in added listeners).
192 * TraceListener.cs: Make sure that indents are initially written. This
193 allows code that uses Trace.Indent() before a Trace.WriteLine() to be
195 * TraceImpl.cs: provide a static constructor to explicitly specify the
196 ordering of initialization, in particular the ordering of
197 TraceImpl.Listeners and the reading of the .config file (by
198 accessing DiagnosticsConfiguration.Settings). This (hopefully)
199 ensures that the Listeners collection is initialized before the
200 .config file is read in, as the DiagnosticsConfigurationHandler will
201 directly modify the listeners collection.
202 The DiagnosticsConfigurationHandler assumes this so that it can
203 <add/> and <remove/> trace listeners and set the logfile for the
204 DefaultTraceListener.
207 2002-12-18 Jonathan Pryor <jonpryor@vt.edu>
208 * BooleanSwitch.cs: Complete re-write. It works now.
209 * DefaultTraceListener.cs:
210 - Use `const' strings, so I don't worry about copy/paste errors
211 - Give `AssertUiEnabled' an actual backing member
212 * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
213 configuration handler set .config-specified properties on
214 DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
215 (AutoFlush, IndentSize).
216 * Switch.cs: Near complete re-write. Actually works, and is (should be)
217 comformant with .NET behavior. Changed member names because they
218 were confusing me. (Yes, that doesn't say much about my memory.)
219 * TextWriterTraceListener.cs: Append text to already existing files,
220 don't overwrite them.
222 - Added private destructor, to ensure no instances are created.
223 - Move members declarations to be closer to each other.
224 * TraceSwitch.cs: Complete re-write. It works now.
226 2002-12-17 Jonathan Pryor <jonpryor@vt.edu>
227 * DiagnosticsConfigurationHandler.cs: Implement so that .config files
228 support <system.diagnostics> sections.
230 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232 * DefaultTraceListener.cs: now OutputDebugStringW is called from an
233 internal call (update your runtime!). No more warnings in linux.
235 2002-10-31 Dick Porter <dick@ximian.com>
237 * Process.cs: MonoIO methods now have an error parameter
239 2002-10-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * DefaultTraceListener.cs: changed OutputDebugString to
242 OutputDebugStringW (no more warnings under windows). Also a few style
245 2002-10-23 Dick Porter <dick@ximian.com>
247 * Process.cs: Redirected standard input needs to have AutoFlush set
249 2002-09-27 Dick Porter <dick@ximian.com>
251 * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
252 ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
253 Pass the working directory to Start. Pass the program and args in
254 one string to be used with the second arg of CreateProcess, so it
255 will search the path.
257 2002-09-19 Nick Drochak <ndrochak@gol.com>
259 * TraceImpl.cs: Remove debug prints
261 2002-09-19 Nick Drochak <ndrochak@gol.com>
263 * TraceListenerCollection.cs: Set Indet level and size to default
264 values. The values from TraceImpl might have been changed.
266 2002-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * TextWriterTraceListener.cs: IDisposable fixes.
271 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * Process.cs: class status based fixes.
275 2002-07-20 Dick Porter <dick@ximian.com>
277 * Process.cs: Implement file handle redirection
279 2002-07-13 Jonathan Pryor <jonpryor@vt.edu>
280 * CounterCreationData.cs: Implemented
281 * CounterCreationDataCollection.cs: Implemented
282 * CounterSample.cs: Stubbed Out
283 * CounterSampleCalculator.cs: Stubbed Out
284 * InstanceData.cs: Implemented
285 * InstanceDataCollection.cs: Implemented
286 * InstanceDataCollectionCollection.cs: Implemented
287 * MonitoringDescriptionAttribute.cs: Implemented
288 * PerformanceCounter.cs: Stubbed Out
289 * PerformanceCounterCategory.cs: Stubbed Out
290 * PerformanceCounterInstaller.cs: Stubbed Out
291 * PerformanceCounterManager.cs: Stubbed Out
292 * PerformanceCounterPermission.cs: Stubbed Out
293 * PerformanceCounterPermissionAccess.cs: Implemented
294 * PerformanceCounterPermissionAttribute.cs: Stubbed Out
295 * PerformanceCounterPermissionEntry.cs: Stubbed Out
296 * PerformanceCounterPermissionEntryCollection.cs: Implemented
297 * PerformanceCounterType.cs: Implemented
300 2002-06-25 Dick Porter <dick@ximian.com>
302 * Process.cs: Process forking and waiting, and some support functions
304 * ProcessStartInfo.cs: Implemented the bits needed for basic
307 * ProcessModule.cs: Implemented
309 * ProcessModuleCollection.cs: Mostly implemented
311 * FileVersionInfo.cs: Implemented
313 2002-06-16 Jonathan Pryor <jonpryor@vt.edu>
314 * ICollectData.cs: Implemented
315 * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
316 corresponding properties on all current TraceListeners.
317 Also, to answer the FIXME message: Yes, the properties in TraceListener
318 need to be [ThreadStatic] as well.
319 * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
320 should have its properties set to the current TraceImpl property values.
321 * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].
323 2002-06-09 Jonathan Pryor <jonpryor@vt.edu>
324 * EntryWrittenEventArgs.cs: Implemented
325 * EntryWrittenEventHandler.cs: Implemented
326 * EventLog.cs: Stubbed out
327 * EventLogEntry.cs: Stubbed out
328 * EventLogEntryCOllection.cs: Implemented.
329 * EventLogEntryType.cs: Implemented
330 * EventLogInstaller.cs: Stubbed out
331 * EventLogPermission.cs: Stubbed out
332 * EventLogPermissionAccess.cs: Implemented
333 * EventLogPermissionAttribute.cs: Stubbed out
334 * EventLogPermissionEntry.cs: Stubbed out
335 * EventLogPermissionEntryCollection.cs: Stubbed out
336 * EventLogTraceListener.cs: Stubbed out
338 2002-05-29 Jonathan Pryor <jonpryor@vt.edu>
339 * DefaultTraceListener.cs: Implemented MONO_TRACE support
341 2002-05-27 Jonathan Pryor <jonpryor@vt.edu>
342 * Moved public API documentation for the following files to the
343 /mcs/docs/apidocs/xml/en/System.Diagnostics directory:
345 - DefaultTraceListener.cs
346 - DiagnosticsConfigurationHandler.cs
348 - TextWriterTraceListener.cs
352 - TraceListenerCollection.cs
355 2002-04-10 Jonathan Pryor <jonpryor@vt.edu>
357 * TraceListenerCollection.cs: Corrected indexer property to provide the
358 correct return value and implement the IList indexer property correctly.
360 2002-04-07 Jonathan Pryor <jonpryor@vt.edu>
362 * TraceListener.cs: Fix stack overflow bug
363 * DefaultTraceListener.cs: Implement log file support
365 2002-04-04 Dick Porter <dick@ximian.com>
367 * ThreadWaitReason.cs:
369 * ThreadPriorityLevel.cs:
370 * ProcessWindowStyle.cs:
371 * ProcessThreadCollection.cs
373 * ProcessStartInfo.cs:
374 * ProcessModuleCollection.cs: Stub out more classes needed for Process
376 2002-03-31 Dick Porter <dick@ximian.com>
379 * ProcessPriorityClass.cs:
381 * FileVersionInfo.cs: Stub out classes needed for Process
383 2002-03-08 Jonathan Pryor <jonpryor@vt.edu>
385 * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which
386 is why TraceImpl.cs is introduced), "DEBUG" conditional support
387 * TraceListener.cs: Proper implementation of Dispose pattern;
388 implementatino of non-abstract methods in terms of abstract methods
389 * TraceListenerCollection.cs: check 'object' types before adding
390 * TextWriterTraceListener.cs: properly implement Dispose pattern;
391 handle NeedIndent and WriteIndent
392 * Trace.cs: new file; provides Trace functionality, "TRACE" conditional
394 * DefaultTraceListener.cs: new file; the default trace listener
396 2002-01-17 Miguel de Icaza <miguel@ximian.com>
397 * TraceListenerCollection.cs: Remove Warnings.
399 2002-01-06 Ravi Pratap <ravi@ximian.com>
400 * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
401 with the MonoTODO attribute.
403 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
404 * Added Debug.cs to the build.
406 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
407 * Added preliminary TraceListenerCollection.cs to the build.
409 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
410 * Added TraceListener.cs, TextWriterTraceListener.cs, and
411 DefaultTraceListener.cs to the build and moved them into the
414 2002-01-04 John R. Hicks <angryjohn69@nc.rr.com>
415 * Added DiagnosticsConfigurationHandler.cs to the build.
417 2001-09-09 Nick Drochak <ndrochak@gol.com>
418 * BooleanSwitch.cs: Make this class use it's parent class's features. Namely, use SwitchSetting
419 so that we can get OnSwitchSettingChanged() to fire for free.
421 2001-09-09 Nick Drochak <ndrochak@gol.com>
422 * ChangeLog: added this file
423 * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.