ChangeLog 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. 2003-04-11 Ville Palo <[email protected]>
  2. * StringReader.cs: Throws exceptions if constructor parameter is null.
  3. 2003-04-11 Ville Palo <[email protected]>
  4. * StringWriter.cs: Now throws an exception if StringBuilder parameter
  5. is null
  6. 2003-04-05 Miguel de Icaza <[email protected]>
  7. * TextWriter.cs: Implemented Synchronized method.
  8. * TextReader.cs: Implemented Synchronized method.
  9. 2003-04-04 Miguel de Icaza <[email protected]>
  10. * FileStream.cs (Read, ReadByte, Seek): throw
  11. ObjectDisposedException if the handle has been released.
  12. (Read): Throw exceptions specified in the spec.
  13. (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
  14. instance methods of FileStream to be thread safe, so remove all
  15. the calls to lock on the object
  16. 2003-03-31 Nick Drochak <[email protected]>
  17. * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
  18. 2003-03-20 Lluis Sanchez Gual <[email protected]>
  19. * FileNotFoundException.cs: fixed serialization bug.
  20. 2003-03-18 Atsushi Enomoto <[email protected]>
  21. * StringWriter.cs : don't release internalString on Dispose().
  22. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  23. * StreamReader.cs: fixed bug #39280.
  24. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  25. * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
  26. pointing it out.
  27. 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
  28. * MemoryStream.cs: general fixes and reformatted. Passes all tests in
  29. the new MemoryStreamTest.
  30. 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
  31. * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
  32. ToArray even after closing the stream.
  33. 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
  34. * Directory.cs:
  35. (Move): don't use File.Move.
  36. * DirectoryInfo.cs: fixed Name property.
  37. Fixes bug #37755.
  38. 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
  39. * DirectoryInfo.cs: changed ToString to match MS behavior.
  40. * Path.cs: further fixes to GetDirectoryName to return null in the
  41. same cases that MS does.
  42. Fixes bug #38387.
  43. 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
  44. * Path.cs: fixed a couple of bugs reported in #35906.
  45. 2003-03-01 Gonzalo Paniagua Javier <[email protected]>
  46. * Directory.cs: fixed bugs #38939 and #38940. No need for separate
  47. unix/windows/unc shares code paths.
  48. 2003-02-27 Gonzalo Paniagua Javier <[email protected]>
  49. * File.cs: fix by Elan Feingold <[email protected]> for
  50. SetCreationTime, SetLastAccessTime and SetLastWriteTime.
  51. 2003-02-26 Gonzalo Paniagua Javier <[email protected]>
  52. * MemoryStream.cs:
  53. (ToArray): return only the portion of the buffer that contains
  54. data, not the whole buffer. (note: this makes XmlDocument.Load work
  55. again with documents that have a <?xml without the 'encoding'
  56. attribute, which makes gtk-sharp generator work again).
  57. 2003-02-25 Nick Drochak <[email protected]>
  58. * File.cs (GetCreationTime): Throw proper execption when path is not
  59. found.
  60. Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <[email protected]>
  61. * MemoryStream.cs: make it behave sanely when the stream is
  62. incrementally expanded.
  63. 2003-02-21 Dick Porter <[email protected]>
  64. * FileStream.cs: Use locks around buffer manipulations. Fixes bug
  65. 32344
  66. 2003-02-18 Dick Porter <[email protected]>
  67. * FileStream.cs: Make FileMode.Append work, and check for Seeking
  68. back over old data (undocumented ms behaviour, throws an exception
  69. if you try). Fixes bug 35975.
  70. 2003-02-17 Dick Porter <[email protected]>
  71. * FileStream.cs: Don't close the handle if the stream doesn't own
  72. it. Patch from Raymond Penners ([email protected]), bug
  73. 35623.
  74. 2003-02-14 Zoltan Varga <[email protected]>
  75. * FileStream.cs (Write): flush after writing the last segment as well.
  76. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  77. * StringReader.cs:
  78. (ReadLine): fixed the case when the string ends with a '\n'.
  79. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  80. * MemoryStream.cs: create the buffer of the specified capacity.
  81. 2003-01-31 Patrik Torstensson
  82. * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
  83. the same way as MS does it (performance improvement)
  84. 2003-01-29 Zoltan Varga <[email protected]>
  85. * Directory.cs (GetFileSystemEntries): moved error handling to the
  86. correct instance of GetFileSystemEntries so all callers can enjoy it.
  87. 2003-01-28 Zoltan Varga <[email protected]>
  88. * File.cs: add error handling to Get...Time methods.
  89. 2003-01-26 Zoltan Varga <[email protected]>
  90. * Directory.cs: fix GetParent so it actually works.
  91. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  92. * Path.cs: fixlet to ChangeExtension for the case when the path is
  93. empty.
  94. 2003-01-23 Gonzalo Paniagua Javier <[email protected]>
  95. * BufferedStream.cs: don't try to write a 0 sized array on when
  96. flushing the stream.
  97. Fixes bug #37045.
  98. 2003-01-18 Jonathan Pryor <[email protected]>
  99. * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
  100. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  101. * MemoryStream.cs: fixed bug #36319.
  102. 2002-12-16 Eduardo Garcia Cebollero <[email protected]>
  103. * Directory.cs: Some fixes to SMB shares handling, and not compiling
  104. with csc, mcs compiles it correctly (mcs bug 35652)
  105. 2002-12-14 Eduardo Garcia Cebollero <[email protected]>
  106. * Directory.cs: Some fixes related to correct some exceptions thrown
  107. 2002-12-11 Eduardo Garcia Cebollero <[email protected]>
  108. * Directory.cs: Some Exceptions added, fixed GetParent(),
  109. CreateDirectory() should work with unix, native windows and
  110. windows samba shares. Converted end-lines from dos-mode to unix-mode
  111. 2002-12-08 Eduardo Garcia Cebollero <[email protected]>
  112. * Directory.cs: CreateDirectory works now with Absolute paths
  113. too, not only with relative ones.
  114. 2002-12-07 Peter Williams <[email protected]>
  115. * Directory.cs: Don't use the uninitialized pathsumm here.
  116. Don't try and create "" if we're using an absolute path.
  117. 2002-12-07 Eduardo Garcia Cebollero <[email protected]>
  118. * Directory.cs: Now the creation of a new directory works recursively
  119. it will make parents as needed.
  120. 2002-11-21 Gonzalo Paniagua Javier <[email protected]>
  121. * BufferedStream.cs: applied patch from <[email protected]> that
  122. fixes Flush ().
  123. Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <[email protected]>
  124. * StreamWriter.cs: output the encoding preamble at the start of a
  125. stream if needed.
  126. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  127. * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
  128. 2002-11-06 Miguel de Icaza <[email protected]>
  129. * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
  130. 2002-10-31 Dick Porter <[email protected]>
  131. * FileStream.cs: Fix buffering properly this time. Also kludge
  132. around broken pipe errors, treating them as EOF instead of
  133. throwing an IO exception.
  134. * MonoIO.cs: Return the error status in a parameter, as the
  135. GetLastError() value has long since been blown away if we try and
  136. look it up in a subsequent internal call invocation.
  137. * FileSystemInfo.cs:
  138. * FileInfo.cs:
  139. * File.cs:
  140. * Directory.cs: MonoIO methods now have an error parameter
  141. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  142. * TextReader.cs: implemented ReadBlock ().
  143. 2002-10-30 Miguel de Icaza <[email protected]>
  144. * StreamWriter.cs: Ditto for Null stream.
  145. * BinaryReader.cs: Use Unmarked here too.
  146. * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
  147. is what .NET does.
  148. 2002-10-23 Dick Porter <[email protected]>
  149. * FileStream.cs: Implemented CanSeek, and used it around all the
  150. calls to MonoIO.Seek. Fixed buffering in Read() so that it
  151. doesn't block forever on short reads.
  152. * MonoFileType.cs: New enum for GetFileType
  153. * MonoIO.cs: Added GetFileType
  154. 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
  155. * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
  156. \n (this is what MS does).
  157. 2002-10-18 Dick Porter <[email protected]>
  158. * FileStream.cs: SeekOrigin.End still calculates the offset from
  159. the end of the file with positive values extending the length.
  160. Fixes bug 32471.
  161. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  162. * Path.cs: some cleanup. Thanks to Martin Aliger.
  163. 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
  164. * FileStream.cs: throw an exception if trying to open a directory.
  165. Thanks to Martin Aliger.
  166. 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
  167. * Path.cs: fixes bug #28046.
  168. 2002-09-27 Gonzalo Paniagua Javier <[email protected]>
  169. * StreamReader.cs: give more information when wrong parameters passed.
  170. 2002-09-21 Miguel de Icaza <[email protected]>
  171. * FileStream.cs: Do not call FSync on the file.
  172. 2002-09-16 Miguel de Icaza <[email protected]>
  173. * TextWriter.cs (Null): The Null field should be an instance of a
  174. TextWriter class that does nothing, so it is an instance of the
  175. NullTextWriter class.
  176. 2002-09-16 Nick Drochak <[email protected]>
  177. * MemoryStream.cs (Close): Don't throw an exception if the stream
  178. is already closed.
  179. 2002-09-15 Miguel de Icaza <[email protected]>
  180. * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
  181. Flush calls fsync().
  182. The API docs show no explicit mention that Flush() should even do
  183. an fsync, I am thinking that we should drop that from the
  184. runtime.
  185. 2002-09-09 Miguel de Icaza <[email protected]>
  186. * StreamWriter.cs: When no encoding is provided, create an
  187. encoding without markers, this is what MS does.
  188. 2002-09-06 Miguel de Icaza <[email protected]>
  189. * StreamReader.cs: Implement detection of byte marks and skipping
  190. of byte marks at the beginning of the stream.
  191. (ReadToEnd): Use buffered read instead of char-by-char
  192. processing.
  193. Correct the default arguments for creating the StreamReader.
  194. 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
  195. * CheckArgument.cs: fixed check for empty string.
  196. * Path.cs: various fixes. It passes all the tests in new PathTest.
  197. 2002-08-29 Duncan Mak <[email protected]>
  198. * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
  199. the build for gtk#.
  200. 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
  201. * BinaryReader.cs:
  202. * BinaryWriter.cs:
  203. * MemoryStream.cs:
  204. * StreamReader.cs:
  205. * StreamWriter.cs:
  206. * StringReader.cs:
  207. * StringWriter.cs:
  208. * TextWriter.cs: IDisposable fixes.
  209. 2002-08-24 Miguel de Icaza <[email protected]>
  210. * StreamReader.cs: Removed TODOs, as the code seems to be
  211. complete.
  212. * Path.cs (GetTempFileName): Make this routine atomic by not
  213. testing and then creating, but using the create call to ensure
  214. that we own the filename.
  215. 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
  216. * FileLoadException.cs: implemented ToString.
  217. * StreamWriter.cs: added Null field and implemented Write (char) and
  218. Write (char []).
  219. 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
  220. * StreamReader.cs: implemented NullStreamReader.
  221. 2002-08-21 Miguel de Icaza <[email protected]>
  222. * Path.cs (GetDirectoryName): Fix for filenames with size = 1
  223. * File.cs: Removed all references that threw exceptions when the
  224. paths contains a colon, as this is a valid part of an identifier
  225. on Unix.
  226. Everywhere: The String.Empty return from GetDirectoryName means
  227. that there is no directory information about the path.
  228. 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
  229. * FileNotFoundException.cs: use Message and InnerException from base
  230. class. Changed Message and ToString ().
  231. 2002-08-19 Dick Porter <[email protected]>
  232. * BinaryWriter.cs: The length of a string is counted in bytes, not
  233. chars
  234. 2002-08-18 Dick Porter <[email protected]>
  235. * BinaryReader.cs: Fixed buffering
  236. 2002-08-09 Nick Drochak <[email protected]>
  237. * BinaryReader.cs: added virtual to Dispose(bool).
  238. 2002-08-03 Jason Diamond <[email protected]>
  239. * StringWriter.cs: Return UnicodeEncoding for Encoding property.
  240. 2002-08-03 Jason Diamond <[email protected]>
  241. * StreamWriter.cs: Use GetByteCount() to get exact length instead
  242. of GetMaxByteCount when converting chars to bytes.
  243. 2002-07-31 Duncan Mak <[email protected]>
  244. * StreamReader.cs:
  245. (Dispose): Added and implmented.
  246. * StreamWriter.cs:
  247. (Dispose): Fixed visibility.
  248. (Initialize): Fixed visibility, made internal.
  249. * BinaryReader.cs:
  250. (Dispose): Fixed visibility.
  251. 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
  252. * File.cs:
  253. (Create): allow file names without path.
  254. Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <[email protected]>
  255. * FileStream.cs: patch from [email protected] to add
  256. Name property support.
  257. 2002-07-20 Dick Porter <[email protected]>
  258. * MonoIO.cs: Added icall to CreatePipe
  259. 2002-07-18 Gonzalo Paniagua Javier <[email protected]>
  260. * FileInfo.cs: fixes buglet #27940
  261. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  262. * Path.cs: removed unneeded line from GetExtension.
  263. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  264. * FileStream.cs:
  265. (.ctor): call MonoIO.GetException with the file name.
  266. 2002-07-02 Mike Kestner <[email protected]>
  267. * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
  268. 2002-07-02 Mike Kestner <[email protected]>
  269. * StreamReader.cs: Revert the last Peek change and fix the ReadLine
  270. end of line detection code instead.
  271. 2002-07-02 Gonzalo Paniagua Javier <[email protected]>
  272. * StreamReader.cs:
  273. (Peek): no need to have seek capabilitites.
  274. 2002-06-17 Dietmar Maurer <[email protected]>
  275. * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
  276. * File.cs (Delete): only call Directory.Exists() if DirName != ""
  277. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  278. * Directory.cs: fixed bug #26133 and also test if the directory exist
  279. before performing the search.
  280. 2002-06-12 Nick Drochak <[email protected]>
  281. * StringReader.cs (ReadLine): Return null when we get to end of the
  282. string.
  283. 2002-05-22 Lawrence Pit <[email protected]>
  284. * StreamWriter.cs: added ability to write null value
  285. 2002-05-19 Lawrence Pit <[email protected]>
  286. * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
  287. prevent endless loops.
  288. 2002-05-17 Dan Lewis <[email protected]>
  289. * FileStream.cs: Enforce lower bound on buffer size.
  290. 2002-05-16 Piers Haken <[email protected]>
  291. * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
  292. 2002-05-17 Nick Drochak <[email protected]>
  293. * StreamWriter.cs: Implement buffering. Also implemented dispose
  294. pattern as recommended by the MS docs. Must call Close() now
  295. to ensure the buffer is flushed.
  296. 2002-05-15 Nick Drochak <[email protected]>
  297. * Path.cs (GetDirectoryName): Return String.Empty if there is no
  298. directory
  299. * StreamReader.cs: Add some parameter checking on file names.
  300. * StreamWriter.cs: Add some parameter checking on file names.
  301. 2002-05-14 Nick Drochak <[email protected]>
  302. * File.cs: Add parameter checks to most methods. Not completely done,
  303. but all current unit tests pass.
  304. * Path.cs: Implement GetTempFileName().
  305. 2002-05-10 Nick Drochak <[email protected]>
  306. * StreamWriter.cs (Flush): Throw proper exception if internal stream
  307. has already been closed when we try to flush.
  308. 2002/05/10 Nick Drochak <[email protected]>
  309. * FileNotFoundException.cs (ToString): Don't try to use the inner
  310. exception, because it might be null. Use the message instead.
  311. 2002-05-09 Nick Drochak <[email protected]>
  312. * File.cs (Delete): Do not throw an exception if the file does not
  313. exist.
  314. 2002-05-08 Mike Gray <[email protected]>
  315. * File.cs: According to ECMA spec and MS docs Copy(src, dest)
  316. should not overwrite dest by default.
  317. 2002-05-08 Nick Drochak <[email protected]>
  318. * StreamWriter.cs: Add paramter check to constructors and throw
  319. exceptions where appropriate.
  320. Tue May 7 11:47:46 CEST 2002 Paolo Molaro <[email protected]>
  321. * StreamReader.cs: return the number of chars read even if we diddn't
  322. fill the whole buffer (makes Sergey's ilasm work with mono).
  323. 2002-05-07 Mike Gray <[email protected]>
  324. * FileInfo.cs (Create): Implement missing method.
  325. 2002-05-07 Mike Gray <[email protected]>
  326. * File.cs: Implemented CreateText method, and fixed dst compares
  327. to compare against "" instead of null twice.
  328. 2002-05-05 Nick Drochak <[email protected]>
  329. * StreamReader.cs: Throw exceptions where needed. Changed Null field to
  330. use new internal class since null cannot be passed to constructor
  331. anymore. Also, fix a coule of small bugs.
  332. 2002-05-03 Nick Drochak <[email protected]>
  333. * MemoryStream.cs: Refrain from allocating array until the space is
  334. really needed. This fixes a bug in the Length property when the
  335. constructor without the byte array is used.
  336. 2002-05-01 Duncan Mak <[email protected]>
  337. * DirectoryNotFoundException.cs (constructor): Added missing
  338. serialization constructor.
  339. 2002-04-30 Duncan Mak <[email protected]>
  340. * FileLoadException.cs (constructors): Added missing (string,
  341. string) ctor, as well as (string, string, Exception) ctor.
  342. (Message): Added more info to the error message
  343. (ToString): Added. We'll need to add the StackTrace stuff when
  344. that works.
  345. * FileShare.cs: Add a missing field, Inheritable.
  346. * TextReader.cs: Renamed Synchronised method to Synchronized.
  347. * TextWriter.cs: Renamed Synchronised method to Synchronized.
  348. Renamed protected member coreNewLine to CoreNewLine.
  349. 2002-04-30 Sergey Chaban <[email protected]>
  350. * BinaryReader.cs: Allocate buffer before its first use.
  351. Handle end of stream properly. Methods to read native types
  352. (ReadInt* etc.) are little-endian (see Compact Framework docs).
  353. * BinaryWriter.cs: Store data in little-endian format.
  354. Use internal buffer for conversions.
  355. 2002-03-31 Dick Porter <[email protected]>
  356. * Directory.cs: Strip out "." and ".." from returned list
  357. * FileAttributes.cs: Get the right enum values
  358. 2002-03-28 Dietmar Maurer <[email protected]>
  359. * TextWriter.cs (write): added check for null
  360. 2002-03-28 Dan Lewis <[email protected]>
  361. * Directory.cs: Throws DirectoryNotFoundException.
  362. * MonoIO.cs: Fixed to work around enum problem.
  363. 2002-03-27 Dan Lewis <[email protected]>
  364. * StreamReader.cs: Implemented ReadLine() and ReadEnd().
  365. 2002-03-27 Dan Lewis <[email protected]>
  366. * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
  367. DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
  368. wrapper and PAL classes.
  369. * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
  370. 2002-03-25 Mike Kestner <[email protected]>
  371. * MemoryStream.cs (Read): Fixed bug in exception throw.
  372. 2002-03-24 Mike Kestner <[email protected]>
  373. * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
  374. 2002-03-23 Martin Baulig <[email protected]>
  375. * StreamReader.cs: Always do buffered reading, use 4k blocks.
  376. (Read (char[], int, int)): Implemented.
  377. (DiscardBufferedData): Implemented.
  378. 2002-03-21 Mike Kestner <[email protected]>
  379. * StreamReader.cs : Fill out, add buffering, and use encoding.
  380. 2002-03-19 Martin Baulig <[email protected]>
  381. * StreamWriter.cs (StreamWriter (string)): The default is to override
  382. the file, not to append to it.
  383. (StreamWriter (string path, bool append)): When appending, seek to the
  384. end of the file, otherwise truncate the file to zero length.
  385. (Dispose (bool)): Close the internalStream.
  386. (Flush): Flush the interalStream.
  387. (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
  388. 2002-03-19 Dan Lewis <[email protected]>
  389. * FileStream.cs: Flush buffer before FileSetLength.
  390. 2002-02-28 Miguel de Icaza <[email protected]>
  391. * Stream.cs (NullStream): Do not track position, this beast does
  392. nothing in practice.
  393. 2002-03-15 Dan Lewis <[email protected]>
  394. * SearchPattern.cs: New class. Glob matching code for Directory.
  395. * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
  396. 2002/03/15 Nick Drochak <[email protected]>
  397. * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
  398. This code seemed to be copied from somewhere, and it was close,
  399. but didn't match the docs. This was the last bit needed to get
  400. NAnt to compile with our class libs.
  401. 2002-03-12 Duncan Mak <[email protected]>
  402. * EndOfStreamException.cs:
  403. * FileLoadException.cs:
  404. * FileNotFoundException.cs:
  405. * PathTooLongException.cs: Changed the base classes to IOException
  406. instead of SystemException.
  407. * IOException.cs: Added missing constructors.
  408. 2002-03-07 Nick Drochak <[email protected]>
  409. * FileMode.cs: Docs don't say this should be explicitly derived from
  410. int, so just make it a normal Enum.
  411. 2002-03-02 Jason Diamond <[email protected]>
  412. * StringReader.cs: Fixed off-by-one error in Peek() and Read().
  413. 2002-02-12 Nick Drochak <[email protected]>
  414. * PathTooLongException.cs: put it in the correct namespace
  415. * EndOfStreamException.cs: put it in the correct namespace
  416. Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <[email protected]>
  417. * Directory.cs: handle opendir() return NULL and absolute filenames.
  418. 2002-01-31 Duncan Mak <[email protected]>
  419. * FileLoadException.cs:
  420. * FileNotFoundException: Added missing bits for serialization.
  421. Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <[email protected]>
  422. * Directory.cs: allow directories in GetFiles() mask.
  423. 2002-01-23 Miguel de Icaza <[email protected]>
  424. * FileInfo.c (CopyTo, MoveTo): Implement.
  425. * FileStream.cs: Add argument checking to the constructor.
  426. * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
  427. OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
  428. * Directory.cs (Delete): reimplement without using DirectoryInfo.
  429. (Delete): Implement the recursive version.
  430. (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
  431. (Move): Reimplement.
  432. (getNames): dead code removal.
  433. * Path.cs: define an internal DirectorySeparatorStr that we use in
  434. a few spots.
  435. * Wrapper.cs: Updated to new version.
  436. * DirectoryInfo (Delete): Implement using the Directory API.
  437. * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
  438. Delete, Create, Parent, Exists, MoveTo): Implement.
  439. * Directory.cs (GetListing): implement new utility function.
  440. (GetDirectories): Implement.
  441. (GetFileSystemEntries): Implement.
  442. (GetFiles): Implement.
  443. * CheckArgument.cs (Path): Do not allow null by default.
  444. Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <[email protected]>
  445. * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
  446. assembly in corlib.
  447. 2002-01-20 Nick Drochak <[email protected]>
  448. * SeekOrigin.cs: Added Serializable attribute.
  449. 2002-01-19 Duncan Mak <[email protected]>
  450. * PathTooLongException.cs:
  451. * EndOfStreamException.cs: Added to CVS.
  452. Thu Jan 10 12:06:46 MST 2002 Matt Kimball <[email protected]>
  453. * BufferedStream.cs: Initial implemenation. The synchronous
  454. methods for both reading and writing are implemented. I'll do the
  455. asynchronous methods in a bit.
  456. Wed Jan 9 16:04:39 MST 2002 Matt Kimball <[email protected]>
  457. * BinaryWriter.cs: Initial implementation. And it's all there.
  458. * BinaryReader.cs: The constructor now uses the passed in encoding,
  459. not UTF8 always.
  460. Wed Jan 9 13:54:28 MST 2002 Matt Kimball <[email protected]>
  461. * BinaryReader.cs: Initial implementation. I think it's complete.
  462. 2002-01-04 Ravi Pratap <[email protected]>
  463. * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
  464. attribute decorations.
  465. * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
  466. Path.cs, TextReader.cs, TextWriter.cs : Ditto.
  467. * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
  468. Ditto.
  469. 2001-12-11 Dick Porter <[email protected]>
  470. * FileStream.cs: Use handles rather than casting file descriptors.
  471. Added Handle property.
  472. Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected]>
  473. * CheckPermission.cs: disable ModeAccess() code: it's wrong.
  474. * FileStream.cs: only trow an exception if the read failed in ReadByte().
  475. * StreamReader.cs: implement Peek and Read.
  476. * TextWriter.cs: CLSCompliant updates.
  477. 2001-11-10 Sean MacIsaac <[email protected]>
  478. * FileNotFoundException.cs: Added some constructors
  479. * Path.cs (GetFullPath): Fixed implementation
  480. Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <[email protected]>
  481. * DirectoryNotFoundException.cs: implemented.
  482. Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <[email protected]>
  483. * File.cs: fix signatures of the Open() and OpenRead() functions
  484. (they are static).
  485. Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <[email protected]>
  486. * FileLoadException.cs, FileNotFoundException.cs: added.
  487. 2001-08-28 Dietmar Maurer <[email protected]>
  488. * TextReader.cs: implemented the Read method
  489. * StreamReader.cs: impl. stubs
  490. * StreamWriter.cs: impl.
  491. * TextWriter.cs: implemented Write and WriteLine methods
  492. Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <[email protected]>
  493. * FileAccess.cs, FileMode.cs: change values to be compatible with
  494. the ms ones.
  495. Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <[email protected]>
  496. * IOException.cs: Implemented System.IO.Exception.
  497. 2001-07-18 Michael Lambert <[email protected]>
  498. *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
  499. 2001-07-19 Marcin Szczepanski <[email protected]>
  500. * System.IO.MemoryStream.cs: Added. Had quite a few cases of
  501. "LAMESPEC", but the tests work against the MS implementation so
  502. the major functions are right (ie. Read/Write/Seek). Some more
  503. tests required for the various constructors and exceptions.
  504. 2001-07-16 Marcin Szczepanski <[email protected]>
  505. * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
  506. New class implemenations.
  507. * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.