ChangeLog 25 KB

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