ChangeLog 29 KB

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