ChangeLog 32 KB

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