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