ChangeLog 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. 2004-09-11 Sebastien Pouliot <[email protected]>
  2. * EventLogPermission.cs: Completed implementation.
  3. * EventLogPermissionAccess.cs: Fixed enum values.
  4. * EventLogPermissionEntry.cs: Added validation for machine names.
  5. * EventLogPermissionEntryCollection.cs: Added synchronization
  6. of entries with the base permission class.
  7. * PerformanceCounterPermission.cs: Completed implementation.
  8. * PerformanceCounterPermissionAccess.cs: Fixed enum values.
  9. * PerformanceCounterPermissionEntry.cs: Added validations for machine
  10. and category names.
  11. * PerformanceCounterPermissionEntryCollection.cs: Added synchronization
  12. of entries with the base permission class.
  13. 2004-09-10 Sebastien Pouliot <[email protected]>
  14. * EventLogPermission.cs: Fixed initialization (TagNames and
  15. PermissionAccessType).
  16. * EventLogPermissionAccess.cs: Added new enums for NET_2_0 and added
  17. [Obsolete] to some existing elements.
  18. * EventLogPermissionAttribute.cs: Added missing validation to property
  19. MachineName. Fixed changes for NET_2_0.
  20. * PerformanceCounterPermission.cs: Fixed initialization (TagNames and
  21. PermissionAccessType).
  22. * PerformanceCounterPermissionAccess.cs: Added new enums for NET_2_0
  23. and added [Obsolete] to some existing elements.
  24. * PerformanceCounterPermissionAttribute.cs: Added missing validations
  25. to properties (Path, MachineName). Fixed changes for NET_2_0.
  26. 2004-09-07 Dick Porter <[email protected]>
  27. * Process.cs: Throw documented exceptions when getting stdin,
  28. stdout or stderr and they haven't been redirected. Check that
  29. CreatePipe didn't fail, throw exceptions if it did. Close
  30. redirected streams when the process is disposed, rather than rely
  31. on the GC disposing them later. Makes timeline much happier,
  32. because it could run out of file descriptors between GC
  33. collections.
  34. 2004-09-06 Dick Porter <[email protected]>
  35. * Process.cs: Make Dispose() actually dispose things.
  36. 2004-06-24 Atsushi Enomoto <[email protected]>
  37. * Process.cs : quick fix for UseShellExecute=false on windows. See
  38. the code comment.
  39. 2004-06-17 Lluis Sanchez Gual <[email protected]>
  40. * Process.cs: Added missing check in HasExited property.
  41. 2004-05-20 Gert Driesen ([email protected])
  42. * EventLogPermissionAttribute.cs:
  43. * PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
  44. and Inherited to match .NET
  45. 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
  46. * Process.cs: separate the command and the arguments when calling
  47. Start_internal.
  48. 2004-05-19 Gonzalo Paniagua Javier <[email protected]>
  49. * Process.cs: redirecting I/O is not permitted if UseShellExecute is
  50. true. Also throw if FileName is null.
  51. 2004-04-06 Lluis Sanchez Gual <[email protected]>
  52. * DiagnosticsConfigurationHandler.cs: If initializeData is provided,
  53. use the constructor that only takes one string as parameter to
  54. construct the listener. The name is set using the Name property, not the
  55. constructor.
  56. * TextWriterTraceListener.cs: In Write*, do nothing if no writer was
  57. provided.
  58. 2004-03-25 Gonzalo Paniagua Javier <[email protected]>
  59. * Process.cs: use the ISynchronizeInvoke object to invoke the event.
  60. Implemented Close, CloseMainWindow and Kill.
  61. 2004-03-23 Ben Maurer <[email protected]>
  62. * Switch.cs: Don't throw when there is no switches section.
  63. 2004-03-22 Gonzalo Paniagua Javier <[email protected]>
  64. * Process.cs: support EnableRaisingEvents + Exited event.
  65. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  66. * Process.cs: patch by Gert Driesen that fixes WaitForExit when the
  67. timeout is int.MaxValue.
  68. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  69. * Process.cs: added environment variables setting support and also
  70. send useShellExecute to the runtime.
  71. * ProcessStartInfo.cs: support EnvironmentVariables. MS uses
  72. StringDictionary, which turns keys into lowercase. We don't do that.
  73. 2004-02-22 Gonzalo Paniagua Javier <[email protected]>
  74. * Process.cs: ExitCode and ExitTime check that the process is finished.
  75. 2003-12-10 Gonzalo Paniagua Javier <[email protected]>
  76. * Process.cs: if there's an error when starting the process, the 'pid'
  77. field contains the GetLastError code. Use that for the Win32Exception.
  78. 2003-12-06 Martin Baulig <[email protected]>
  79. * DefaultTraceListener: Don't use `where' in variable names.
  80. 2003-11-13 Andreas Nahr <[email protected]>
  81. * ICollectData.cs: Fixed signature
  82. 2003-11-12 Andreas Nahr <[email protected]>
  83. * ICollectData.cs: Added missing attribute
  84. 2003-07-27 Andreas Nahr <[email protected]>
  85. * SRDescriptionAttribute.cs: Moved to System directory
  86. 2003-07-21 Andreas Nahr <[email protected]>
  87. * EventLog.cs: Implementation handling
  88. * EventLogImpl.cs: Added, contains an platform independent empty implementation
  89. for EventLog
  90. 2003-07-18 Andreas Nahr <[email protected]>
  91. * AlphabeticalEnumConverter.cs: Added
  92. * EventLogEntry.cs: Implemented
  93. * EventLogPermissionEntryCollection.cs: Fixed signature and implementation of indexer
  94. * EventLogTraceListener.cs: Fixed signature
  95. * PerformanceCounter.cs: Added missing attribute
  96. * PerformanceCounterType.cs: Added missing attribute
  97. * SRDescriptionAttribute.cs: Added and implemented
  98. 2003-07-17 Andreas Nahr <[email protected]>
  99. * CounterCreationData.cs:
  100. * EventLog.cs:
  101. * EventLogEntry.cs:
  102. * PerformanceCounter.cs:
  103. * Process.cs:
  104. * ProcessModule.cs:
  105. * ProcessStartInfo.cs:
  106. * ProcessThread.cs: Reworked attributes based on the new Consts scheme
  107. 2003-07-14 Andreas Nahr <[email protected]>
  108. * PerformanceCounterCategory.cs: Fixed signatures
  109. 2003-07-13 Andreas Nahr <[email protected]>
  110. * PerformanceCounter.cs: Implemented or implementation added
  111. 2003-07-13 Andreas Nahr <[email protected]>
  112. * DiagnosticsConfigurationHandler.cs: Removed a never used variable
  113. * EventLog.cs: Small update to prevent a warning
  114. * EventLogPermission.cs: Implemented or implementation added
  115. * EventLogPermissionAttribute.cs: Implemented or implementation added
  116. * EventLogPermissionEntry.cs: Implemented or implementation added
  117. * EventLogPermissionEntryCollection.cs: Implemented or implementation added
  118. * EventLogTraceListener.cs: Implemented or implementation added
  119. * PerformanceCounterManager.cs: Implemented or implementation added
  120. * PerformanceCounterInstaller.cs: Made internal
  121. * PerformanceCounterCategory.cs: Implemented few members
  122. * PerformanceCounterPermission.cs: Implemented or implementation added
  123. * PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
  124. * PerformanceCounterPermissionEntry.cs: Implemented or implementation added
  125. * PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
  126. 2003-07-07 Andreas Nahr <[email protected]>
  127. * EventLog.cs: Removed unneccesary attribute according to corecompare
  128. * EventLogEntry.cs: Removed unneccesary attribute according to corecompare
  129. * Process.cs: Removed unneccesary attributes according to corecompare, added attribute
  130. * ProcessModule.cs: Removed unneccesary attribute according to corecompare
  131. * ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
  132. * ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
  133. 2003-07-05 Andreas Nahr <[email protected]>
  134. * InstanceDataCollectionCollection.cs: Corrected wrong signature
  135. * EventLog.cs: Missing attributes added, redirected some class members
  136. * EventLogEntry.cs: Missing attributes added
  137. * EventLogInstaller.cs: Made internal
  138. 2003-07-02 Andreas Nahr <[email protected]>
  139. * CounterCreationData.cs: Added missing attributes
  140. * CounterSample.cs: Implemented missing rest, fixed signature
  141. * CounterSampleCalculator.cs: Added private constructor, redirected function
  142. * Process.cs: Added attributes, added event mechanism
  143. * ProcessModule.cs: Added missing attributes
  144. * ProcessModuleCollection.cs: Redone using the already inherited-from ArrayList. Simplifies this a LOT
  145. * ProcessStartInfo.cs: Added missing attributes, moved internal fields to the begining of the file, restyling
  146. * ProcessThread.cs: Added missing attributes, added pseudo constructor
  147. * ProcessThreadCollection.cs: Implemented
  148. * PerformanceCounterPermission.cs: Fixed typo in class name
  149. * PerformanceCounterPermissionAccess.cs: Added attributes, fixed wrong member
  150. 2003-03-19 Dick Porter <[email protected]>
  151. * Process.cs: Implement HasExited, fixes bug 39267
  152. 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
  153. * Process.cs: throw an exception when the executable cannot be found.
  154. 2002-12-20 Jonathan Pryor <[email protected]>
  155. * DiagnosticsConfigurationHandler.cs:
  156. - Don't assume that optional attributes are always present
  157. - <assert/> can't have any child nodes
  158. - Change in semantics: if the attribute isn't present,
  159. GetAttribute() returns null, not "". This allows us to
  160. differentiate between an attribute not being present and an
  161. attribute with an empty value.
  162. - Translate exceptions if a TraceListener type is invalid
  163. 2002-12-19 Jonathan Pryor <[email protected]>
  164. * TraceListenerCollection.cs: IndentLevel and IndentSize shouldn't be
  165. hardcoded; they should be set to whatever TraceImpl is using (which
  166. in turn may have been set by the .config file, so we should get the
  167. user-specified values in added listeners).
  168. * TraceListener.cs: Make sure that indents are initially written. This
  169. allows code that uses Trace.Indent() before a Trace.WriteLine() to be
  170. indented properly.
  171. * TraceImpl.cs: provide a static constructor to explicitly specify the
  172. ordering of initialization, in particular the ordering of
  173. TraceImpl.Listeners and the reading of the .config file (by
  174. accessing DiagnosticsConfiguration.Settings). This (hopefully)
  175. ensures that the Listeners collection is initialized before the
  176. .config file is read in, as the DiagnosticsConfigurationHandler will
  177. directly modify the listeners collection.
  178. The DiagnosticsConfigurationHandler assumes this so that it can
  179. <add/> and <remove/> trace listeners and set the logfile for the
  180. DefaultTraceListener.
  181. 2002-12-18 Jonathan Pryor <[email protected]>
  182. * BooleanSwitch.cs: Complete re-write. It works now.
  183. * DefaultTraceListener.cs:
  184. - Use `const' strings, so I don't worry about copy/paste errors
  185. - Give `AssertUiEnabled' an actual backing member
  186. * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
  187. configuration handler set .config-specified properties on
  188. DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
  189. (AutoFlush, IndentSize).
  190. * Switch.cs: Near complete re-write. Actually works, and is (should be)
  191. comformant with .NET behavior. Changed member names because they
  192. were confusing me. (Yes, that doesn't say much about my memory.)
  193. * TextWriterTraceListener.cs: Append text to already existing files,
  194. don't overwrite them.
  195. * TraceImpl.cs:
  196. - Added private destructor, to ensure no instances are created.
  197. - Move members declarations to be closer to each other.
  198. * TraceSwitch.cs: Complete re-write. It works now.
  199. 2002-12-17 Jonathan Pryor <[email protected]>
  200. * DiagnosticsConfigurationHandler.cs: Implement so that .config files
  201. support <system.diagnostics> sections.
  202. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  203. * DefaultTraceListener.cs: now OutputDebugStringW is called from an
  204. internal call (update your runtime!). No more warnings in linux.
  205. 2002-10-31 Dick Porter <[email protected]>
  206. * Process.cs: MonoIO methods now have an error parameter
  207. 2002-10-26 Gonzalo Paniagua Javier <[email protected]>
  208. * DefaultTraceListener.cs: changed OutputDebugString to
  209. OutputDebugStringW (no more warnings under windows). Also a few style
  210. fixes.
  211. 2002-10-23 Dick Porter <[email protected]>
  212. * Process.cs: Redirected standard input needs to have AutoFlush set
  213. 2002-09-27 Dick Porter <[email protected]>
  214. * Process.cs: Implemented {get_,set_}{Min,Max}WorkingSet,
  215. ProcessName, GetProcessById, GetProcesses, GetProcessesByName.
  216. Pass the working directory to Start. Pass the program and args in
  217. one string to be used with the second arg of CreateProcess, so it
  218. will search the path.
  219. 2002-09-19 Nick Drochak <[email protected]>
  220. * TraceImpl.cs: Remove debug prints
  221. 2002-09-19 Nick Drochak <[email protected]>
  222. * TraceListenerCollection.cs: Set Indet level and size to default
  223. values. The values from TraceImpl might have been changed.
  224. 2002-08-28 Gonzalo Paniagua Javier <[email protected]>
  225. * Process.cs:
  226. * TextWriterTraceListener.cs: IDisposable fixes.
  227. 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
  228. * Process.cs: class status based fixes.
  229. 2002-07-20 Dick Porter <[email protected]>
  230. * Process.cs: Implement file handle redirection
  231. 2002-07-13 Jonathan Pryor <[email protected]>
  232. * CounterCreationData.cs: Implemented
  233. * CounterCreationDataCollection.cs: Implemented
  234. * CounterSample.cs: Stubbed Out
  235. * CounterSampleCalculator.cs: Stubbed Out
  236. * InstanceData.cs: Implemented
  237. * InstanceDataCollection.cs: Implemented
  238. * InstanceDataCollectionCollection.cs: Implemented
  239. * MonitoringDescriptionAttribute.cs: Implemented
  240. * PerformanceCounter.cs: Stubbed Out
  241. * PerformanceCounterCategory.cs: Stubbed Out
  242. * PerformanceCounterInstaller.cs: Stubbed Out
  243. * PerformanceCounterManager.cs: Stubbed Out
  244. * PerformanceCounterPermission.cs: Stubbed Out
  245. * PerformanceCounterPermissionAccess.cs: Implemented
  246. * PerformanceCounterPermissionAttribute.cs: Stubbed Out
  247. * PerformanceCounterPermissionEntry.cs: Stubbed Out
  248. * PerformanceCounterPermissionEntryCollection.cs: Implemented
  249. * PerformanceCounterType.cs: Implemented
  250. 2002-06-25 Dick Porter <[email protected]>
  251. * Process.cs: Process forking and waiting, and some support functions
  252. * ProcessStartInfo.cs: Implemented the bits needed for basic
  253. Process forking
  254. * ProcessModule.cs: Implemented
  255. * ProcessModuleCollection.cs: Mostly implemented
  256. * FileVersionInfo.cs: Implemented
  257. 2002-06-16 Jonathan Pryor <[email protected]>
  258. * ICollectData.cs: Implemented
  259. * TraceImpl.cs: Setting IndentLevel, IndentSize should change the
  260. corresponding properties on all current TraceListeners.
  261. Also, to answer the FIXME message: Yes, the properties in TraceListener
  262. need to be [ThreadStatic] as well.
  263. * TraceListenerCollection.cs: When adding a TraceListener, the TraceListener
  264. should have its properties set to the current TraceImpl property values.
  265. * TraceListener.cs: Make indentSize, lndentLevel [ThreadStatic].
  266. 2002-06-09 Jonathan Pryor <[email protected]>
  267. * EntryWrittenEventArgs.cs: Implemented
  268. * EntryWrittenEventHandler.cs: Implemented
  269. * EventLog.cs: Stubbed out
  270. * EventLogEntry.cs: Stubbed out
  271. * EventLogEntryCOllection.cs: Implemented.
  272. * EventLogEntryType.cs: Implemented
  273. * EventLogInstaller.cs: Stubbed out
  274. * EventLogPermission.cs: Stubbed out
  275. * EventLogPermissionAccess.cs: Implemented
  276. * EventLogPermissionAttribute.cs: Stubbed out
  277. * EventLogPermissionEntry.cs: Stubbed out
  278. * EventLogPermissionEntryCollection.cs: Stubbed out
  279. * EventLogTraceListener.cs: Stubbed out
  280. 2002-05-29 Jonathan Pryor <[email protected]>
  281. * DefaultTraceListener.cs: Implemented MONO_TRACE support
  282. 2002-05-27 Jonathan Pryor <[email protected]>
  283. * Moved public API documentation for the following files to the
  284. /mcs/docs/apidocs/xml/en/System.Diagnostics directory:
  285. - Debug.cs
  286. - DefaultTraceListener.cs
  287. - DiagnosticsConfigurationHandler.cs
  288. - Switch.cs
  289. - TextWriterTraceListener.cs
  290. - Trace.cs
  291. - TraceLevel.cs
  292. - TraceListener.cs
  293. - TraceListenerCollection.cs
  294. - TraceSwitch.cs
  295. 2002-04-10 Jonathan Pryor <[email protected]>
  296. * TraceListenerCollection.cs: Corrected indexer property to provide the
  297. correct return value and implement the IList indexer property correctly.
  298. 2002-04-07 Jonathan Pryor <[email protected]>
  299. * TraceListener.cs: Fix stack overflow bug
  300. * DefaultTraceListener.cs: Implement log file support
  301. 2002-04-04 Dick Porter <[email protected]>
  302. * ThreadWaitReason.cs:
  303. * ThreadState.cs:
  304. * ThreadPriorityLevel.cs:
  305. * ProcessWindowStyle.cs:
  306. * ProcessThreadCollection.cs
  307. * ProcessThread.cs:
  308. * ProcessStartInfo.cs:
  309. * ProcessModuleCollection.cs: Stub out more classes needed for Process
  310. 2002-03-31 Dick Porter <[email protected]>
  311. * Process.cs:
  312. * ProcessPriorityClass.cs:
  313. * ProcessModule.cs:
  314. * FileVersionInfo.cs: Stub out classes needed for Process
  315. 2002-03-08 Jonathan Pryor <[email protected]>
  316. * Debug.cs: Clean up (lots of code can be shared with Trace.cs, which
  317. is why TraceImpl.cs is introduced), "DEBUG" conditional support
  318. * TraceListener.cs: Proper implementation of Dispose pattern;
  319. implementatino of non-abstract methods in terms of abstract methods
  320. * TraceListenerCollection.cs: check 'object' types before adding
  321. * TextWriterTraceListener.cs: properly implement Dispose pattern;
  322. handle NeedIndent and WriteIndent
  323. * Trace.cs: new file; provides Trace functionality, "TRACE" conditional
  324. support
  325. * DefaultTraceListener.cs: new file; the default trace listener
  326. 2002-01-17 Miguel de Icaza <[email protected]>
  327. * TraceListenerCollection.cs: Remove Warnings.
  328. 2002-01-06 Ravi Pratap <[email protected]>
  329. * Switch.cs, TraceListenerCollection.cs : Decorate incomplete bits
  330. with the MonoTODO attribute.
  331. 2002-01-04 John R. Hicks <[email protected]>
  332. * Added Debug.cs to the build.
  333. 2002-01-04 John R. Hicks <[email protected]>
  334. * Added preliminary TraceListenerCollection.cs to the build.
  335. 2002-01-04 John R. Hicks <[email protected]>
  336. * Added TraceListener.cs, TextWriterTraceListener.cs, and
  337. DefaultTraceListener.cs to the build and moved them into the
  338. proper assembly.
  339. 2002-01-04 John R. Hicks <[email protected]>
  340. * Added DiagnosticsConfigurationHandler.cs to the build.
  341. 2001-09-09 Nick Drochak <[email protected]>
  342. * BooleanSwitch.cs: Make this class use it's parent class's features. Namely, use SwitchSetting
  343. so that we can get OnSwitchSettingChanged() to fire for free.
  344. 2001-09-09 Nick Drochak <[email protected]>
  345. * ChangeLog: added this file
  346. * Switch.cs: call OnSwitchSettingChanged() when the switch setting is, yes you gessed it, changed.