ChangeLog 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003
  1. 2006-02-27 Gert Driesen <[email protected]>
  2. * File.cs: In 2.0 profile, File.Get****Time(Utc) should not throw
  3. IOException if specified path does not exist. Fixes bug #77641.
  4. 2006-02-26 Gert Driesen <[email protected]>
  5. * FileStream.cs: To match MSFT, ignore FileShare.Inheritable on 2.0
  6. profile. This fixes bug #77644. Improved usefulness of some existing
  7. exception messages.
  8. 2006-02-22 Joerg Rosenkranz <[email protected]>
  9. * MonoIO.cs, MonoIOError.cs: Verbose exception for error 39
  10. (disk full).
  11. 2006-02-03 Zoltan Varga <[email protected]>
  12. * Stream.cs FileStream.cs: Add new 2.0 Dispose () method and protected
  13. Dispose (bool) method.
  14. 2006-01-27 Gonzalo Paniagua Javier <[email protected]>
  15. * TextWriter.cs: Dispose () is public in 2.0.
  16. 2006-01-20 Gonzalo Paniagua Javier <[email protected]>
  17. * UnexceptionalStreamReader.cs: Read (char,int,int) should not
  18. return -1. Thanks to Jakob Berkman.
  19. 2006-01-20 Gonzalo Paniagua Javier <[email protected]>
  20. * StreamReader.cs: (ReadToEnd) if Read returns -1 or 0, we're done.
  21. 2006-01-18 Atsushi Enomoto <[email protected]>
  22. * Path.cs : (GetRandomFileName) use random buffer ;-) It somehow
  23. caused infinite loop on Windows.
  24. 2006-01-18 Atsushi Enomoto <[email protected]>
  25. * DirectoryInfo.cs : on Windows top directory is something like c:\.
  26. 2006-01-17 Joshua Tauberer <[email protected]>
  27. * StreamReader.cs: Avoid two totally unnecessary string creations.
  28. (kind of pedantic)
  29. 2006-01-13 Ben Maurer <[email protected]>
  30. * TextWriter.cs: Call char[],int,int from the Write(char[]) method
  31. both for msft compat and for performance. Thanks to "Mike Glenn"
  32. <[email protected]> for pointing.
  33. 2006-01-12 Ben Maurer <[email protected]>
  34. * File.cs: Support for Read/WriteAllText
  35. 2006-01-11 Sebastien Pouliot <[email protected]>
  36. * Path.cs: Previous fix caused regression of bug #76191. Fixed (again)
  37. 2006-01-09 Sebastien Pouliot <[email protected]>
  38. * Path.cs: Fix c14n on Windows when the first separator after the root
  39. isn't '\'. Fix problems for XSP with 1.1.13.
  40. 2006-01-07 Miguel de Icaza <[email protected]>
  41. * Path.cs (GetTempFilename): Append ".tmp" to the path, some
  42. external application expect this extension.
  43. 2006-01-05 Kornél Pál <[email protected]>
  44. * DriveNotFoundException.cs: Added.
  45. * MonoIO.cs: Added ERROR_INVALID_DRIVE handling. Pass HResult to
  46. IOException constructors.
  47. * MonoIOError.cs: Expose ERROR_INVALID_DRIVE.
  48. 2006-01-02 Sebastien Pouliot <[email protected]>
  49. * UnexceptionalStreamReader.cs: Re-implemented the Read method to fix
  50. the new line handling when reading from the Console (bug #77108).
  51. 2005-12-24 Kornél Pál <[email protected]>
  52. * FileStream.cs: Set buf_start to actual initial position when creating
  53. FileStreams from handles.
  54. 2005-12-23 Sebastien Pouliot <[email protected]>
  55. * DirectoryInfo.cs: Fixed #77090 to fix /home parent to be / (and not
  56. null).
  57. 2005-12-21 Sebastien Pouliot <[email protected]>
  58. * Path.cs: Fixed #77058 where a Windows drive wasn't considered during
  59. path canonalization.
  60. 2005-12-20 Sebastien Pouliot <[email protected]>
  61. * Path.cs: Fixed #77007 where a Windows drive is specified with a
  62. partial path.
  63. 2005-12-15 Sebastien Pouliot <[email protected]>
  64. * DirectoryInfo.cs: Fixed #76903 where the Name property wasn't
  65. correct in some cases. Added special case for Windows drives. Reduced
  66. temporary allocations in Get* methods (removed ArrayList). Added some
  67. new 2.0 methods (partial).
  68. * MonoIO.cs: Removed InvalidPathChars icall as the return value is
  69. different from 1.x and 2.0. The values are now defined in Path.cs.
  70. * Path.cs: Fixed #76191 so that GetFullPath on a Windows drive returns
  71. the current directory (if it's on the specified drive). Fixed 2.0 API
  72. changes (e.g. static class).
  73. * SearchOption.cs: Added missing [Serializable] (2.0).
  74. 2005-12-07 Zoltan Varga <[email protected]>
  75. * Directory.cs: Fix a warning.
  76. 2005-11-10 Dick Porter <[email protected]>
  77. * DirectoryInfo.cs: Fix endless recursion problem with root
  78. directory on windows too. Fixes bug 76191.
  79. 2005-11-06 Zoltan Varga <[email protected]>
  80. * Directory.cs: Add stub for net 2.0 GetFiles method.
  81. * SearchOption.cs: New file.
  82. 2005-10-20 Gonzalo Paniagua Javier <[email protected]>
  83. * StreamReader.cs: made ReadLine() less memory-hungry. Fixes bug #76399.
  84. 2005-10-04 Gonzalo Paniagua Javier <[email protected]>
  85. * MonoIO.cs: replace FindFirst/FindNext/FindClose with
  86. GetFileSystemEntries.
  87. * Directory.cs: simplify GetFileSystemEntries by using the new icall.
  88. 2005-10-01 Ben Maurer <[email protected]>
  89. * BinaryReader.cs: The patch below had a nasty little bug with
  90. long strings that had non-ascii chars in it, because it was
  91. looking at the char count, not the byte count.
  92. 2005-09-11 Ben Maurer <[email protected]>
  93. * BinaryReader.cs: An optimization for ReadString that had been
  94. approved/well tested for a while but never gotten in. Bug #52754.
  95. 2005-09-05 Miguel de Icaza <[email protected]>
  96. * MonoIOError.cs: expose the ERROR_DIR_NOT_EMPTY as we are
  97. throwing it.
  98. * MonoIO.cs: Return a properly named error.
  99. 2005-08-23 Raja R Harinath <[email protected]>
  100. Fix #75679.
  101. * StreamReader.cs (DiscardBufferedData): Reset the decoder too.
  102. 2005-07-25 Gonzalo Paniagua Javier <[email protected]>
  103. * BinaryReader.cs: use Buffer.BlockCopy instead of Array.Copy when
  104. expanding the buffer.
  105. 2005-07-24 Gonzalo Paniagua Javier <[email protected]>
  106. * Directory.cs: don't leak 'find' handles.
  107. 2005-07-05 Dick Porter <[email protected]>
  108. * MonoIO.cs:
  109. * MonoIOError.cs: Add error message for ERROR_WRITE_FAULT.
  110. 2005-07-04 Sebastien Pouliot <[email protected]>
  111. * DirectoryInfo.cs: Fixed recursion problem with root directory
  112. introduced when fixing bug #75443.
  113. 2005-07-02 Sebastien Pouliot <[email protected]>
  114. * FileSystemInfo.cs: Fixed exception arguments. Added ComVisible for
  115. NET_2_0.
  116. * DirectoryInfo.cs: Fixed bug #75443 when the directory ends with a
  117. separator. Added ComVisible for NET_2_0. Normalized line endings.
  118. 2005-05-26 Miguel de Icaza <[email protected]>
  119. * File.cs (ReadAllBytes): add.
  120. Tue May 17 10:54:18 CEST 2005 Paolo Molaro <[email protected]>
  121. * FileStream.cs: complete fix for #74971.
  122. 2005-05-16 Gonzalo Paniagua Javier <[email protected]>
  123. * FileStream.cs: make WriteByte work in all cases when no buffer is
  124. being used. Fixes bug #74971.
  125. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  126. * Directory.cs: if the pattern is just a file name and it exists, return
  127. it right away. Fixes bug #72143.
  128. 2005-05-06 Ben Maurer <[email protected]>
  129. * File.cs (Open): If a stream is opened with Append access, you
  130. only want Write access. Fixes bug #71088.
  131. 2005-04-21 Gonzalo Paniagua Javier <[email protected]>
  132. * UnexceptionalStreamWriter.cs: don't throw anything on Flush. Closes
  133. bug #74190.
  134. 2005-04-13 Gonzalo Paniagua Javier <[email protected]>
  135. * Path.cs: don't trim the path in CanonicalizePath on non-windows
  136. systems. Fixes bug #53173.
  137. 2005-04-09 Miguel de Icaza <[email protected]>
  138. * StreamWriter.cs (Initialize): Avoid echoing the preamble to a
  139. file if the position of the stream is not at the beginning. Fixes
  140. bug #74513
  141. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  142. * FileStream.cs:
  143. * MonoIO.cs: remove dead code related to async IO.
  144. 2005-03-24 Sebastien Pouliot <[email protected]>
  145. * Directory.cs: Added a Demand for Read/Write when creating a new
  146. directory.
  147. * FileSystemInfo.cs: Added an InheritanceDemand for Unrestricted on
  148. the class.
  149. * Path.cs: Added a Demand for PathDiscovery in GetFullPath method.
  150. Added an Assert for unrestricted file access to GetTempFilename as
  151. the method must create the (zero-length) file and can be called from
  152. partially trusted code. Added a Demand for unrestricted environment
  153. access to GetTempPath method.
  154. * FileStream.cs: Added a Demand for UnmanagedCode for all constructors
  155. accepting a file handle. Added LinkDemand and InheritanceDemand for
  156. UnmanagedCode to get Handle and SafeFileHandle (2.0) properties.
  157. 2005-03-16 Lluis Sanchez Gual <[email protected]>
  158. * BinaryReader.cs, BinaryWriter.cs: Read/write dobules, floats and
  159. decimals in little endian format.
  160. 2005-03-17 Gonzalo Paniagua Javier <[email protected]>
  161. * MonoIO.cs:
  162. * MonoIOError.cs: handle ERROR_LOCK_VIOLATION.
  163. 2005-03-15 Sebastien Pouliot <[email protected]>
  164. * FileStream.cs: Anonymize part of the path when exceptions are throw
  165. by a FileStream is used for isolated storage. Throw a DirectoryNotFound
  166. Exception for any FileMode not just CreateNew (see new unit tests).
  167. 2005-03-09 Dick Porter <[email protected]>
  168. * MonoIOError.cs:
  169. * MonoIO.cs: Add a few more exception messages
  170. 2005-02-11 Zoltan Varga <[email protected]>
  171. * CheckPermission.cs: Fix warning.
  172. 2005-02-06 Gonzalo Paniagua Javier <[email protected]>
  173. * File.cs: Exists does not throw when there are invalid characters in
  174. the file name.
  175. * MonoIOError.cs: uncommented INVALID_NAME.
  176. Patch by Gert Driesen.
  177. 2005-01-31 Sebastien Pouliot <[email protected]>
  178. * FileStream.cs: Added new constructor to allow anonymous files (i.e.
  179. when Name property is "[Unknown]") for IsolatedStorage. Added
  180. SafeFileHandle property and a reference to Microsoft.Win32.SafeHandles
  181. for the NET_2_0 profile.
  182. 2005-01-28 Sebastien Pouliot <[email protected]>
  183. * FileNotFoundException.cs, FileLoadException.cs: Fixed bad "if ();".
  184. 2005-01-27 Sebastien Pouliot <[email protected]>
  185. * FileNotFoundException.cs, FileLoadException.cs: Protect the fusion
  186. (GAC) log from being disclosed unless code has ControlPolicy and
  187. ControlEvidence. Added missing HResult value. Fixed Message property
  188. to match MS results. Changed ToString to use a StringBuilder.
  189. 2005-01-24 Sebastien Pouliot <[email protected]>
  190. * Directory.cs: Added CAS security to Get|SetCurrentDirectory to
  191. complete Environment security checks.
  192. 2004-12-21 Gonzalo Paniagua Javier <[email protected]>
  193. * BufferedStream.cs: use Buffer.BlockCopyInternal instead of Array.Copy.
  194. 2004-12-13 Gonzalo Paniagua Javier <[email protected]>
  195. * File.cs: delegate to the runtime the task of checking for destination
  196. file existence in Move.
  197. 2004-12-11 Ben Maurer <[email protected]>
  198. * BinaryReader.cs (ReadByte): Check for exceptions here.
  199. 2004-12-06 Atsushi Enomoto <[email protected]>
  200. * TextWriter.cs : create CoreNewLine in another .ctor().
  201. 2004-12-05 Ben Maurer <[email protected]>
  202. * TextWriter.cs (WriteLine): Use CoreNewLine so that this does
  203. not make a string out of the array every time it is called.
  204. Thanks to Atsushi for the idea.
  205. 2004-12-04 Ben Maurer <[email protected]>
  206. * DirectoryInfo.cs (CreateSubDirectory): Check the input here.
  207. * FileSystemInfo.cs (CheckPath): Empty paths are invalid.
  208. 2004-11-19 Dick Porter <[email protected]>
  209. * MonoIOError.cs:
  210. * MonoIO.cs: Add a proper message for sharing violation
  211. 2004-11-01 Ben Maurer <[email protected]>
  212. * MonoIOError.cs: All of these fields just take up room in corlib,
  213. bloating things up. To make it worse, we need to malloc data at
  214. runtime about them. Since most are not used, am commenting them
  215. out
  216. 2004-09-19 Dick Porter <[email protected]>
  217. * UnexceptionalStreamWriter.cs:
  218. * UnexceptionalStreamReader.cs: Wrappers around StreamWriter and
  219. StreamReader that catch IOException. Used by System.Console so
  220. that graphical applications dont get IO errors when their
  221. stdin/out/err vanishes (ie when they spew debug output.)
  222. 2004-09-12 Ben Maurer <[email protected]>
  223. * BinaryReader.cs: Use ReadByte when possible. Gives a tad
  224. of perf, and fixes a bug reported on mono-patches-list
  225. 2004-09-08 Miguel de Icaza <[email protected]>
  226. * File.cs: Added Gettextification, provide a better error message
  227. for #62112
  228. 2004-09-08 Marek Safar <[email protected]>
  229. * Directory.cs,
  230. * File.cs: Class is static for NET_2_0.
  231. 2004-09-06 Ben Maurer <[email protected]>
  232. * MemoryStream.cs (SetLength): Use Array.Clear here
  233. 2004-09-05 Ben Maurer <[email protected]>
  234. * Path.cs (Combine): Array.IndexOf is slow (because of the
  235. special cases it must handle). So, rather than doing IndexOf
  236. just check each type of seperator.
  237. 2004-09-05 Ben Maurer <[email protected]>
  238. * StringReader.cs (StreamReader): remove sourceChars and disposed
  239. variables
  240. (Read): Copy directly from the string, rather than a char []
  241. (Dispose, CheckObjectDisposedException): the flag for being
  242. disposed is now source == null.
  243. 2004-09-04 Gonzalo Paniagua Javier <[email protected]>
  244. * Stream.cs: Close() does not call Flush(). Fixes bug #65340.
  245. 2004-08-26 Ben Maurer <[email protected]>
  246. * StreamWriter.cs: avoid String.ToCharArray for perf.
  247. 2004-08-18 Dick Porter <[email protected]>
  248. * StreamWriter.cs: Flush the buffer if AutoFlush is set to true.
  249. Fixes bug 63063, patch by Laurent Debacker ([email protected]).
  250. 2004-08-13 Dick Porter <[email protected]>
  251. * StreamWriter.cs: Allow FileShare.Read access to the underlying
  252. FileStream, to be compatible with MS. Fixes bug 62152.
  253. 2004-07-06 Dick Porter <[email protected]>
  254. * MonoIO.cs: Add ERROR_INVALID_PARAMETER to the exception list.
  255. Don't blow away the SetFileTime() error before the caller gets to
  256. see it. Part of the bug fix to 60970.
  257. 2004-07-05 Dick Porter <[email protected]>
  258. * CheckPermission.cs:
  259. * File.cs:
  260. * FileInfo.cs:
  261. * MonoIO.cs:
  262. * FileStream.cs: Give the filename when throwing
  263. FileNotFoundException. Fixes bug 61120, based on patch from
  264. Carlos Alberto Cesario <[email protected]>.
  265. 2004-07-05 Dick Porter <[email protected]>
  266. * File.cs: File.Move() should check that the destination doesn't
  267. already exist. Fixes bug 60915, patch based on one from Carlos
  268. Alberto Cesario <[email protected]>.
  269. 2004-06-24 Gonzalo Paniagua Javier <[email protected]>
  270. * Directory.cs: implemented GetLogicalDrives.
  271. 2004-06-24 Lluis Sanchez Gual <[email protected]>
  272. * StreamReader.cs: In DiscardBufferedData(), reset the mayBlock flag.
  273. 2004-06-21 Atsushi Enomoto <[email protected]>
  274. * FileStream.cs :
  275. .ctor() should block write access when created with FileAccess.Write.
  276. 2004-06-21 Atsushi Enomoto <[email protected]>
  277. * FileStream.cs : Check buffer size before creating file.
  278. * StreamReader.cs : Check encoding!=null before creating file.
  279. * File.cs,
  280. MonoIO.cs : Convert DateTime to FileTime after checking
  281. file IO sharing violation (it just fixes the type of exception).
  282. 2004-06-15 Gert Driesen <[email protected]>
  283. * MemoryStream.cs: added TODO for serialization
  284. * StringWriter.cs: added TODO for serialization
  285. 2004-06-15 Gert Driesen <[email protected]>
  286. * TextWriter.cs: fixed CoreNewLine to return char[]
  287. 2004-06-14 Dick Porter <[email protected]>
  288. * Directory.cs:
  289. * File.cs: Catch PATH_NOT_FOUND errors in Exists() too. Fixes bug
  290. 59354.
  291. 2004-06-09 Duncan Mak <[email protected]>
  292. * BufferedStream.cs (SetLength): Add checks and throw the
  293. appropriate Exceptions here instead.
  294. * FileStream.cs (SetLength): Revert part of my last patch, we're
  295. throwing ObjectDisposedException instead of IOException again.
  296. 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
  297. * FileStream.cs: re-enabled ignoring broken pipe errors when reading.
  298. Fixes bug #59639.
  299. 2004-06-08 Duncan Mak <[email protected]>
  300. * Directory.cs (IsRootDirectory): New helper method for
  301. determining if a path is the root directory. Handles both Unix as
  302. well as Windows.
  303. (GetParent): Use IsRootDirectory for the check.
  304. 2004-06-08 Duncan Mak <[email protected]>
  305. * File.cs: Fix line endings, took out ^Ms.
  306. * Directory.cs (GetParent): Return null if the specified path is
  307. the root directory.
  308. * StreamReader.cs (StreamReader):
  309. (Initialize): Add a check that buffer_size must not be less than
  310. or equal to zero.
  311. 2004-06-07 Duncan Mak <[email protected]>
  312. * FileStream.cs (SetLength): The other exceptions have precendence
  313. over ObjectDisposedException, which is not one of the exceptions
  314. listed in the documentation). Also, instead of throwing an
  315. ObjectDisposedException, throw an IOException.
  316. 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
  317. * BufferedStream.cs: fixed typo that prevented Read() from working.
  318. This went out with beta 2. Closes bug #59534.
  319. 2004-05-31 Atsushi Enomoto <[email protected]>
  320. * Directory.cs, File.cs : Fixed Exists() that raised
  321. DirectoryNotFoundException. Quick fix for bug #59354.
  322. 2004-05-30 Sebastien Pouliot <[email protected]>
  323. * BinaryReader.cs: Added missing disposed check for most methods.
  324. Reordered some exceptions to match MS implementation.
  325. * BufferedStream.cs: Fixed Seek logic (check for CanSeek and dispose).
  326. SetLength must also reset Position and check for dispose.
  327. * FileStream.cs: Added missing check for invalid SeekOrigin. Added
  328. missing validations.
  329. 2004-05-27 Dick Porter <[email protected]>
  330. * FileSystemInfo.cs: Take out the error checking in Refresh(), it
  331. broke other stuff
  332. 2004-05-27 Dick Porter <[email protected]>
  333. * MonoIO.cs: Define icalls for Lock() and Unlock()
  334. * FileStream.cs: Implement Lock() and Unlock(). Also improve IO
  335. error reporting.
  336. * FileSystemInfo.cs:
  337. * File.cs:
  338. * Directory.cs: Improve IO error reporting
  339. 2004-05-27 Gonzalo Paniagua Javier <[email protected]>
  340. * FileStream.cs: delay seeking to the end when FileMode.Append is
  341. specified until after buffer initialization. Fixes bug #59151.
  342. 2004-05-26 Sebastien Pouliot <[email protected]>
  343. * BufferedStream.cs: Added globalization and fixed exceptions and
  344. possible integer overflow.
  345. * FileStream.cs: Fixed possible integer overflow.
  346. * MemoryStream.cs: Fixed possible integer overflow.
  347. * StringReader.cs: Fixed possible integer overflow.
  348. * TextWriter.cs: Fixed possible integer overflow.
  349. 2004-05-26 Atsushi Enomoto <[email protected]>
  350. * FileInfo.cs,
  351. DirectoryInfo.cs : ToString() should return constructor arg as is.
  352. This fixes bug #58804.
  353. 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
  354. * Directory.cs: ERROR_FILE_NOT_FOUND in FindFirstFile means there are
  355. no files, but the directory was found. Fixes bug #58875.
  356. 2004-05-24 Duncan Mak <[email protected]>
  357. * StreamWriter.cs (Close): Remember to set the 'closed' flag.
  358. * DirectoryInfo.cs:
  359. * FileInfo.cs: Reformat the whole file to use DOS line endings.
  360. (MoveTo): Return if the destination of Move is the
  361. same as the file's current location.
  362. 2004-05-24 Sebastien Pouliot <[email protected]>
  363. * MemoryStream.cs: Fixed exception reporting to match MS Fx. Fixed the
  364. condition to allow zeroization of existing data when we shrink the
  365. stream.
  366. * StreamReader.cs: Add checks for null encoding. Fixed possible integer
  367. overflow and ArgumentNullException in Read.
  368. * StreamWriter.cs: Add dispose check to Write(char) and Write(char[]),
  369. AutoFlush. Fixed possible integer overflow in Write(char[],int,int).
  370. * StringWriter.cs: Fixed possible integer overflow in Write. Changed
  371. spaces for tabs.
  372. 2004-05-22 Duncan Mak <[email protected]>
  373. * Directory.cs: Reformat the whole file to use Unix line endings
  374. for consistency.
  375. (GetFileSystemEntries): If pattern is String.Empty, always
  376. return an empty string array. Throw the ArgumentException if path
  377. is an empty string (determined using the new helper method)
  378. (IsEmptyString): Returns true on an empty string or a string with
  379. only whitespace characters.
  380. * Path.cs (GetPathRoot): Throw an ArgumentException if the path
  381. argument is String.Empty.
  382. 2004-05-20 Jackson Harper <[email protected]>
  383. * DirectoryInfo.cs: Create subdirectories correctly if more then
  384. one is supplied.
  385. 2004-05-16 Atsushi Enomoto <[email protected]>
  386. * DirectoryInfo.cs: Fixed ToString() as well as FileInfo.
  387. 2004-05-16 Atsushi Enomoto <[email protected]>
  388. * FileInfo.cs: ToString() returns not full path but just the file name.
  389. 2004-05-14 Marek Safar <[email protected]>
  390. * TextWriter.cs: Removed useless [CLSCompliant (false)]
  391. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  392. * Directory.cs: use the real wildcard for file names as it is supported
  393. now in io-layer. SearhPattern is not needed now.
  394. 2004-04-30 Ben Maurer <[email protected]>
  395. * BinaryWriter.cs, Stream.cs: ensure we have beforefieldinit.
  396. 2004-04-29 Ben Maurer <[email protected]>
  397. * Path.cs: readonlyificate.
  398. 2004-04-29 Ben Maurer <[email protected]>
  399. * FileStream.cs: constify.
  400. 2004-04-27 Andreas Nahr <[email protected]>
  401. * SearchPattern.cs: Call invariant String.ToLower
  402. 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
  403. * FileStreamAsyncResult.cs: invoke the callback if set as completed
  404. before the asynchronous stuff jumps in.
  405. 2004-04-16 Gonzalo Paniagua Javier <[email protected]>
  406. * FileStream.cs: only pass the async flag set to true when opening the
  407. file and AIO is supported by the underlying system. Fixes bug #56883.
  408. 2004-04-12 Gert Driesen ([email protected])
  409. * FileSystemInfo.cs: Implemented ISerializable, corrected COM
  410. visibility of UTC properties
  411. 2004-04-01 Lluis Sanchez Gual <[email protected]>
  412. * BufferedStream.cs: On Position change, do not reset the buffer if the
  413. new position is in the limits of the buffer. This fixes #49403.
  414. 2003-04-03 Atsushi Enomoto <[email protected]>
  415. * Path.cs : ChangeExtension() does not remove dot(.) when extension is
  416. an empty string.
  417. 2004-04-01 Lluis Sanchez Gual <[email protected]>
  418. * FileSystemInfo.cs: Added InternalRefresh, a virtual method that derived
  419. classes can override to perform class specific refreshing.
  420. * FileInfo.cs: Refresh existence flag when Refresh is called.
  421. * TextWriter.cs: Applied patch by Benjamin Jemlich for bug #52512.
  422. The method Write(char) should do nothing by default.
  423. 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
  424. * BinaryReader.cs: don't modify the underlying stream in Peek(). Fixes
  425. bug #51741. Patch by Nick Vaughan.
  426. 2004-03-25 Lluis Sanchez Gual <[email protected]>
  427. * FileStream.cs: ReadByte(): when buffering is disabled, read the byte
  428. with a direct call to ReadData. In InitBuffer(), if buffering is
  429. disabled, create a buffer of one byte, to be used in ReadByte. This
  430. fixes bug #52361.
  431. 2004-03-25 Lluis Sanchez Gual <[email protected]>
  432. * Path.cs: In GetDirectoryName, fixed check for volumeSeparator. This
  433. fixes bug #53892.
  434. 2004-03-24 Lluis Sanchez Gual <[email protected]>
  435. * File.cs: In Move, throw IOException instead of ArgumentException if
  436. destination is a directory.
  437. * MonoIO.cs: In ExistsDirectory, return ERROR_PATH_NOT_FOUND instead of
  438. ERROR_FILE_NOT_FOUND, since we are looking for a directory, not a file.
  439. 2004-03-15 Andreas Nahr <[email protected]>
  440. * StreamWriter.cs: Removed unneeded function
  441. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  442. * FileStream.cs: added support for asynchronous I/O without using the
  443. OS native libraries if available.
  444. * FileStreamAsyncResult.cs: IAsyncResult for asynch. I/O.
  445. * MonoIO.cs: added BeginRead/Write, GetSupportsAsync. Open has now a
  446. new parameter to tell ifthe file will be used for asynch operations.
  447. * Stream.cs: BeginRead/Write do not use delegates. They just are
  448. actually synchronous.
  449. * StreamAsyncResult.cs: IAsyncResult for Stream.
  450. 2004-03-04 Gonzalo Paniagua Javier <[email protected]>
  451. * Directory.cs: check if the error returned in Exists is different
  452. from 'path not found' and throw the appropiate exception in that case.
  453. See #55160.
  454. 2004-03-02 Gonzalo Paniagua Javier <[email protected]>
  455. * MonoIO.cs: added case for ERROR_FILENAME_EXCED_RANGE.
  456. 2004-02-25 Jackson Harper <[email protected]>
  457. * File.cs: Report the filename when deleting a file fails. Patch
  458. by Gert Driesen. Fixes bug #54855.
  459. 2004-02-24 Gonzalo Paniagua Javier <[email protected]>
  460. * FileStream.cs: remove dangling ^Ms.
  461. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  462. * FileStream.cs: (.ctor) Path.DirectoryName can be empty and make
  463. Path.GetFullPath crash. Fixed it.
  464. * MonoIO.cs: fixed typo.
  465. 2004-02-13 Jackson Harper <[email protected]>
  466. * FileStream.cs: Throw some more exceptions for invalid
  467. params. Fixes some unit test failures.
  468. * BufferedStream.cs: If the stream is closed (can't read from it
  469. or write to it) throw an ObjectDisposedException.
  470. Tue Jan 20 23:10:22 CET 2004 Paolo Molaro <[email protected]>
  471. * StreamWriter.cs, TextWriter.cs: comply with the documented
  472. behaviour and use a decode buffer to improve performance.
  473. 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
  474. * Path.cs: now Path.GetFullPath ("/") returns "/" instead of "".
  475. 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
  476. * Path.cs: add the trailing directory separator only for volumes.
  477. Fixes bug #53035.
  478. 2004-01-19 Zoltan Varga <[email protected]>
  479. * IntPtrStream.cs: Fix build bustage.
  480. * IntPtrStream.cs: Add a 'Closed' event. Also throw exceptions after
  481. the stream is closed.
  482. 2004-01-18 Ben Maurer <[email protected]>
  483. * FileStream.cs: Locking from bug #32344 removed. This is not
  484. necessary because the correct fix was actually in the console.
  485. This fixes bug #53026. Miguel de Icaza reviewed/approved this
  486. patch.
  487. 2004-01-14 Zoltan Varga <[email protected]>
  488. * FileStream.cs (.ctor): Avoid allocating a large buffer when reading
  489. from small files.
  490. 2004-01-10 Atsushi Enomoto <[email protected]>
  491. * Path.cs : GetDirectoryName ("c:\readme.txt") should return "c:\"
  492. instead of "c:" . This fixed bug #52735.
  493. 2004-01-04 Nick Drochak <[email protected]>
  494. * Path.cs: Remove defined but unused variable, and also got rid of
  495. some unreachable code. Eliminates some build warnings.
  496. 2003-12-28 Ben Maurer <[email protected]>
  497. * BinaryWriter.cs: use one encoding buffer for writing
  498. strings rather than allocting one/string. HUGE perf
  499. boost when writing many strings.
  500. 2003-12-25 Atsushi Enomoto <[email protected]>
  501. * Path.cs : Fixed GetFullPath() (and CanonicalizePath()),
  502. HasExtension(), GetPathRoot() and IsPathRooted() to fit with tests.
  503. 2003-12-22 Bernie Solomon <[email protected]>
  504. * FileStream.cs: (.ctor) do not set handle
  505. in object until after it is validated via
  506. GetFileType so finalizer doesn't see bad handles and
  507. initialize this.handle to InvalidHandle
  508. 2003-12-19 Bernie Solomon <[email protected]>
  509. * MonoIO.cs: SetFileTime() Failed Open returns InvalidHandle
  510. not Zero
  511. 2003-12-17 Atsushi Enomoto <[email protected]>
  512. * Directory.cs : SetCurrentDirectory() should raise errors for
  513. some kind of arguments.
  514. 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
  515. * Path.cs: GetTempPath () ends with DirectorySeparatorChar. Fixes bug
  516. #52056.
  517. 2003-12-06 Ravindra <[email protected]>
  518. *MonoIO.cs: Added a new exception case. It is thrown
  519. when a directory creation is attempted with a name that
  520. is already used by an existing file.
  521. 2003-11-28 Dick Porter <[email protected]>
  522. * Path.cs: Use the char form of LastIndexOf, so that the
  523. comparison is done with the Invariant culture.
  524. 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
  525. * Directory.cs: provide the path when getting the IOException.
  526. 2003-11-18 John Luke <[email protected]>
  527. * CheckArgument.cs:
  528. (PathLength): fix recursion found by JonK
  529. 2003-11-15 Gonzalo Paniagua Javier <[email protected]>
  530. * Directory.cs:
  531. (GetCurrentDirectory):
  532. (SetCurrentDirectory): moved here from Environment. Handle error cases.
  533. * MonoIO.cs: add path to the default error message.
  534. 2003-11-15 Gonzalo Paniagua Javier <[email protected]>
  535. * StringReader.cs: fixed ReadLine for some cases where there are mixed
  536. '\r' and '\n'. Closes bug #51020.
  537. 2003-11-14 Ben Maurer <[email protected]>
  538. * MemoryStream.cs (.ctor): We need to check if buffer is null
  539. before we get the Length of it.
  540. 2003-11-14 Miguel de Icaza <[email protected]>
  541. * StreamReader.cs, TextReader, StreamReader (Read): Add [Out]
  542. 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
  543. * Directory.cs: allow directory names without wildcards in the pattern.
  544. Fixes bug #3 50969.
  545. * SearchPattern.cs: made InvalidChars and WildcardChars internal.
  546. 2003-11-14 Gonzalo Paniagua Javier <[email protected]>
  547. * FileStream.cs: use the argument name when throwing exception.
  548. * StreamReader.cs:
  549. * StringReader.cs:
  550. * TextReader.cs: added [In] attribute for the array in Read.
  551. 2003-11-12 Gonzalo Paniagua Javier <[email protected]>
  552. * DirectoryInfo.cs: fixed ToString. Closes bug #50842.
  553. 2003-11-12 Miguel de Icaza <[email protected]>
  554. * Directory.cs: Adjust for missing PlatformID.Unix.
  555. 2003-10-28 Miguel de Icaza <[email protected]>
  556. * StreamReader.cs: Add checks for disposed stream from bug report
  557. #48696 (Patrik Reali)
  558. * TextReader.cs (Read): Return the total number of bytes read,
  559. patch from Patrik Realli.
  560. 2003-10-20 Miguel de Icaza <[email protected]>
  561. * FileStream.cs public FileStream (string name, FileMode mode)
  562. constructor: If we pass FileMode.Append, we can not pass
  563. FileAccess.ReadWrite. This fixes bug 44959
  564. 2003-09-26 Miguel de Icaza <[email protected]>
  565. * BufferedStream.cs (Write): Use CanWrite in Write. Patch from
  566. Francisco Figueiredo Jr.
  567. 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
  568. * BinaryReader.cs: return the correct number of bytes read when there
  569. are some bytes from peeking.
  570. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  571. * BufferedStream.cs, FileStream.cs, MemoryStream.cs, Stream.cs:
  572. Added [In,Out] attributes to Read method.
  573. 2003-08-05 Martin Baulig <[email protected]>
  574. * StreamReader.cs (DiscardBufferedData): Do the same like on the
  575. ms runtime: just discard the buffered data, but don't modify the
  576. BaseStream.Position.
  577. 2003-08-04 Martin Baulig <[email protected]>
  578. * StreamReader.cs (DiscardBufferedData): Implemented.
  579. 2003-07-29 Miguel de Icaza <[email protected]>
  580. * IntPtrStream.cs (Read): Use correct offset here; Change the
  581. code to use a byte* instead of an IntPtr to reduce the number of
  582. casts used.
  583. (Read): Use Marshal.Copy instead of the now
  584. deprecated MemCopy.
  585. (IntPtrStream): New stream implementation, it maps to a region in
  586. memory.
  587. 2003-07-23 Duncan Mak <[email protected]>
  588. * StreamReader.cs (Initialize): This method is not exposed in the
  589. API, mark as internal.
  590. Fri Jul 18 14:42:42 CEST 2003 Paolo Molaro <[email protected]>
  591. * MonoIO.cs: 64bit fix from Bernie Solomon <[email protected]>.
  592. 2003-07-16 Dick Porter <[email protected]>
  593. * FileInfo.cs: Update path info when a file is moved. Patch by
  594. John Luke <[email protected]>, fixes bug 44253.
  595. 2003-07-10 Gonzalo Paniagua Javier <[email protected]>
  596. * MemoryStream.cs: fixed bug #46060. Thanks to Carlos Barcenilla.
  597. 2003-06-30 Zoltan Varga <[email protected]>
  598. * FileStream.cs (Dispose): Flush the buffer even if we don't own the
  599. handle.
  600. * FileStream.cs: Add a new constructor parameter to turn off buffering.
  601. This is used by the Console.OpenStandard...() methods. Also fix
  602. argument checking in InitBuffer(), so a zero buffer size is also
  603. rejected.
  604. 2003-06-27 Dietmar Maurer <[email protected]>
  605. * Stream.cs: use async.delegate invoke
  606. 2003-06-18 Nick Drochak <[email protected]>
  607. * FileSystemInfo.cs: Refresh cache when changeing file times.
  608. 2003-06-11 Zoltan Varga <[email protected]>
  609. * FileStream.cs: Fix errors in previous checkins:
  610. (Write): Only take the shortcut route if the data is longer than the
  611. buffer length.
  612. (Write): Flush the buffer before writing out the new data
  613. (Write): Flush the buffer after writing out a segment since otherwise
  614. we will go into an infinite loop.
  615. (FlushBuffer): Remove my last change since it was clearly wrong.
  616. (Seek): Run FlushBuffer () after the in-buffer seek optimization.
  617. (Seek): Only use the in-buffer optimization if the buffer is not
  618. empty.
  619. (Length): Call FlushBuffer () since buffer data might change the size
  620. of the stream.
  621. 2003-06-09 Ville Palo <[email protected]>
  622. * FileStream.cs:
  623. - removed unusefull bugfix (DirectoryNotFoundException)
  624. - Flush before seek.
  625. 2003-06-09 Ville Palo <[email protected]>
  626. * FileStream.cs: Check buffer size before append/read -exceptios
  627. 2003-06-09 Ville Palo <[email protected]>
  628. * FileStream.cs: Check DirectoryNotFound before FileNotFound.
  629. 2003-06-09 Ville Palo <[email protected]>
  630. * FileStream.cs: Does not anymore flush while writing
  631. 2003-06-02 Nick Drochak <[email protected]>
  632. * FileInfo.cs (MoveTo): Throw exceptions when dest exists, and check
  633. for null too.
  634. 2003-05-27 Lluis Sanchez Gual <[email protected]>
  635. * BinaryReader.cs: Stream don't need to be seekable to use PeekChar.
  636. 2003-05-23 Gonzalo Paniagua Javier <[email protected]>
  637. * Path.cs: fixed bug #42631.
  638. 2003-05-22 Zoltan Varga <[email protected]>
  639. * File.cs (Move): Allow moving of directories.
  640. Fix 'destination is a directory' test.
  641. 2003-05-21 Ben Maurer <[email protected]>
  642. * StringWriter.cs: Fixed bug #43431: "StringWriter
  643. .ctor(CultureInfo) does not create a new StringBuilder ()"
  644. 2003-05-11 Zoltan Varga <[email protected]>
  645. * FileStream.cs (FlushBuffer): After a flush, the buffer is
  646. advanced by buf_offset bytes, not buf_length bytes.
  647. 2003-05-16 Dick Porter <[email protected]>
  648. * MonoIO.cs: Implement GetTempPath
  649. 2003-05-14 Gonzalo Paniagua Javier <[email protected]>
  650. * DirectoryInfo.cs: fixed bug #42991.
  651. * Path.cs:
  652. (CanonicalizePath): store the value of the trimmed input string. Make it
  653. work with paths such as "/home/xxx/.".
  654. 2003-05-08 Ben Maurer <[email protected]>
  655. * Path.cs
  656. (CanonicalizePath) Fixed bug #42631, which duplicated the
  657. root part of the path under Windows.
  658. 2003-05-08 Ville Palo <[email protected]>
  659. * FileSystemInfo.cs: Added 1.1 properties LastAccessTimeUtc,
  660. LastWriteTimeUtc and CreationTimeUtc
  661. 2003-05-07 Ben Maurer <[email protected]>
  662. * Path.cs
  663. (GetPathRoot) Added support for UNC paths.
  664. (CanonicalizePath) Added optimizations per Miguel's requests.
  665. 2003-05-06 Ville Palo <[email protected]>
  666. * BufferedStream.cs:
  667. - Removed unusefull code.
  668. - Added ObjectDisposedException to Position
  669. - Dont flush if stream is allready closed.
  670. - Flush throws also ObjectDisposedException.
  671. * Directory.cs:
  672. - GetFileSystemEtries: ArgumentNullException if pattern is null
  673. * DirectoryInfo.cs: Fixed little MoveTo () bug.
  674. * FileInfo.cs:
  675. - Exists: If file does not exists when instance is created the
  676. value of the Exists property does not change even if file is created
  677. afterwards.
  678. - Delete: If path is a directory UnauthorizedException is thrown.
  679. - CopyTo: Now we can overwrite file if wanted.
  680. * Path.cs:
  681. - GetFullPath: Now throws exception when path is " ".
  682. 2003-05-04 Ben Maurer <[email protected]>
  683. * Directory.cs (GetLogicalDrives) Marked as MonoTODO
  684. because we need to implement the method on Windows.
  685. * Path.cs
  686. (CanonicalizePath) Added new function to get
  687. rid of . and .. in path names. Need to figure out what
  688. other functions should call this.
  689. (GetFullPath) Added call to the above function.
  690. 2003-05-04 Gonzalo Paniagua Javier <[email protected]>
  691. * StreamReader.cs:
  692. (.ctor): fixed parameters passed to FileNotFoundException.
  693. 2003-04-25 Dietmar Maurer <[email protected]>
  694. * BinaryReader.cs (Read): make sure the buffer is big enough (fix
  695. bug # 40702)
  696. 2003-04-24 Pedro Martinez Julia <[email protected]>
  697. * BufferedStream.cs: Test if it's possible to seek in a Stream
  698. before access to Position. This prevents the exception thrown when
  699. the stream is System.Net.Sockets.NetworkStream.
  700. 2003-04-22 Ville Palo <[email protected]>
  701. * Directory.cs: clean up --> performance improvment. Some exceptions
  702. are now checked in File.cs.
  703. * File.cs: Implemented Get/SetXXXTimeUtc () methods. Some bugfixes.
  704. 2003-04-21 Ville Palo <[email protected]>
  705. * Directory.cs: lots of fixes.
  706. - Added GetXXXtimeUtc () (v1.1) methods.
  707. - Added SetXXXtimeUtc () (v1.1) methods.
  708. 2003-04-20 Igor Nosyryev <[email protected]>
  709. * StringReader.cs (Read): Increment nextChar by charsToRead
  710. instead of count, that will guarantee that the next time the
  711. method is called, it will return 0 on an empty string rather than
  712. throwing an exception
  713. 2003-04-19 Ville Palo <[email protected]>
  714. * BufferedStream.cs: Some fixes, mostly throwing exceptions.
  715. * MemoryStream.cs: Changed the order of exception checking
  716. * StringReader.cs: little clean up
  717. 2003-04-14 Ville Palo <[email protected]>
  718. * BinaryWriter.cs: Fixed decimal writing and lots of
  719. ObjectDisposedExceptions added.
  720. 2003-04-13 Ville Palo <[email protected]>
  721. * BinaryReader.cs: Fix to ReadDecimal() method.
  722. 2003-04-13 Ville Palo <[email protected]>
  723. * StringReader.cs: Added some ObjectDisposedExceptions.
  724. * StringWriter.cs: Added some ObjectDisposedExceptions.
  725. * BinaryReader.cs: Added some ObjectDisposedExceptions.
  726. 2003-04-13 Gonzalo Paniagua Javier <[email protected]>
  727. * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
  728. fill a bug report.
  729. 2003-04-12 Gonzalo Paniagua Javier <[email protected]>
  730. * FileStream.cs: fixed bug #40182 and made more unit test pass.
  731. 2003-04-11 Ville Palo <[email protected]>
  732. * FileStream.cs: Added new methods Lock () and Unlock ()
  733. 2003-04-11 Ville Palo <[email protected]>
  734. * StringReader.cs: Throws exceptions if constructor parameter is null.
  735. 2003-04-11 Ville Palo <[email protected]>
  736. * StringWriter.cs: Now throws an exception if StringBuilder parameter
  737. is null
  738. 2003-04-05 Miguel de Icaza <[email protected]>
  739. * TextWriter.cs: Implemented Synchronized method.
  740. * TextReader.cs: Implemented Synchronized method.
  741. 2003-04-04 Miguel de Icaza <[email protected]>
  742. * FileStream.cs (Read, ReadByte, Seek): throw
  743. ObjectDisposedException if the handle has been released.
  744. (Read): Throw exceptions specified in the spec.
  745. (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
  746. instance methods of FileStream to be thread safe, so remove all
  747. the calls to lock on the object
  748. 2003-03-31 Nick Drochak <[email protected]>
  749. * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
  750. 2003-03-20 Lluis Sanchez Gual <[email protected]>
  751. * FileNotFoundException.cs: fixed serialization bug.
  752. 2003-03-18 Atsushi Enomoto <[email protected]>
  753. * StringWriter.cs : don't release internalString on Dispose().
  754. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  755. * StreamReader.cs: fixed bug #39280.
  756. 2003-03-07 Gonzalo Paniagua Javier <[email protected]>
  757. * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
  758. pointing it out.
  759. 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
  760. * MemoryStream.cs: general fixes and reformatted. Passes all tests in
  761. the new MemoryStreamTest.
  762. 2003-03-05 Gonzalo Paniagua Javier <[email protected]>
  763. * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
  764. ToArray even after closing the stream.
  765. 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
  766. * Directory.cs:
  767. (Move): don't use File.Move.
  768. * DirectoryInfo.cs: fixed Name property.
  769. Fixes bug #37755.
  770. 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
  771. * DirectoryInfo.cs: changed ToString to match MS behavior.
  772. * Path.cs: further fixes to GetDirectoryName to return null in the
  773. same cases that MS does.
  774. Fixes bug #38387.
  775. 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
  776. * Path.cs: fixed a couple of bugs reported in #35906.
  777. 2003-03-01 Gonzalo Paniagua Javier <[email protected]>
  778. * Directory.cs: fixed bugs #38939 and #38940. No need for separate
  779. unix/windows/unc shares code paths.
  780. 2003-02-27 Gonzalo Paniagua Javier <[email protected]>
  781. * File.cs: fix by Elan Feingold <[email protected]> for
  782. SetCreationTime, SetLastAccessTime and SetLastWriteTime.
  783. 2003-02-26 Gonzalo Paniagua Javier <[email protected]>
  784. * MemoryStream.cs:
  785. (ToArray): return only the portion of the buffer that contains
  786. data, not the whole buffer. (note: this makes XmlDocument.Load work
  787. again with documents that have a <?xml without the 'encoding'
  788. attribute, which makes gtk-sharp generator work again).
  789. 2003-02-25 Nick Drochak <[email protected]>
  790. * File.cs (GetCreationTime): Throw proper execption when path is not
  791. found.
  792. Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <[email protected]>
  793. * MemoryStream.cs: make it behave sanely when the stream is
  794. incrementally expanded.
  795. 2003-02-21 Dick Porter <[email protected]>
  796. * FileStream.cs: Use locks around buffer manipulations. Fixes bug
  797. 32344
  798. 2003-02-18 Dick Porter <[email protected]>
  799. * FileStream.cs: Make FileMode.Append work, and check for Seeking
  800. back over old data (undocumented ms behaviour, throws an exception
  801. if you try). Fixes bug 35975.
  802. 2003-02-17 Dick Porter <[email protected]>
  803. * FileStream.cs: Don't close the handle if the stream doesn't own
  804. it. Patch from Raymond Penners ([email protected]), bug
  805. 35623.
  806. 2003-02-14 Zoltan Varga <[email protected]>
  807. * FileStream.cs (Write): flush after writing the last segment as well.
  808. 2003-02-11 Gonzalo Paniagua Javier <[email protected]>
  809. * StringReader.cs:
  810. (ReadLine): fixed the case when the string ends with a '\n'.
  811. 2003-02-03 Gonzalo Paniagua Javier <[email protected]>
  812. * MemoryStream.cs: create the buffer of the specified capacity.
  813. 2003-01-31 Patrik Torstensson
  814. * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
  815. the same way as MS does it (performance improvement)
  816. 2003-01-29 Zoltan Varga <[email protected]>
  817. * Directory.cs (GetFileSystemEntries): moved error handling to the
  818. correct instance of GetFileSystemEntries so all callers can enjoy it.
  819. 2003-01-28 Zoltan Varga <[email protected]>
  820. * File.cs: add error handling to Get...Time methods.
  821. 2003-01-26 Zoltan Varga <[email protected]>
  822. * Directory.cs: fix GetParent so it actually works.
  823. 2003-01-24 Gonzalo Paniagua Javier <[email protected]>
  824. * Path.cs: fixlet to ChangeExtension for the case when the path is
  825. empty.
  826. 2003-01-23 Gonzalo Paniagua Javier <[email protected]>
  827. * BufferedStream.cs: don't try to write a 0 sized array on when
  828. flushing the stream.
  829. Fixes bug #37045.
  830. 2003-01-18 Jonathan Pryor <[email protected]>
  831. * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
  832. 2003-01-06 Gonzalo Paniagua Javier <[email protected]>
  833. * MemoryStream.cs: fixed bug #36319.
  834. 2002-12-16 Eduardo Garcia Cebollero <[email protected]>
  835. * Directory.cs: Some fixes to SMB shares handling, and not compiling
  836. with csc, mcs compiles it correctly (mcs bug 35652)
  837. 2002-12-14 Eduardo Garcia Cebollero <[email protected]>
  838. * Directory.cs: Some fixes related to correct some exceptions thrown
  839. 2002-12-11 Eduardo Garcia Cebollero <[email protected]>
  840. * Directory.cs: Some Exceptions added, fixed GetParent(),
  841. CreateDirectory() should work with unix, native windows and
  842. windows samba shares. Converted end-lines from dos-mode to unix-mode
  843. 2002-12-08 Eduardo Garcia Cebollero <[email protected]>
  844. * Directory.cs: CreateDirectory works now with Absolute paths
  845. too, not only with relative ones.
  846. 2002-12-07 Peter Williams <[email protected]>
  847. * Directory.cs: Don't use the uninitialized pathsumm here.
  848. Don't try and create "" if we're using an absolute path.
  849. 2002-12-07 Eduardo Garcia Cebollero <[email protected]>
  850. * Directory.cs: Now the creation of a new directory works recursively
  851. it will make parents as needed.
  852. 2002-11-21 Gonzalo Paniagua Javier <[email protected]>
  853. * BufferedStream.cs: applied patch from <[email protected]> that
  854. fixes Flush ().
  855. Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <[email protected]>
  856. * StreamWriter.cs: output the encoding preamble at the start of a
  857. stream if needed.
  858. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  859. * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
  860. 2002-11-06 Miguel de Icaza <[email protected]>
  861. * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
  862. 2002-10-31 Dick Porter <[email protected]>
  863. * FileStream.cs: Fix buffering properly this time. Also kludge
  864. around broken pipe errors, treating them as EOF instead of
  865. throwing an IO exception.
  866. * MonoIO.cs: Return the error status in a parameter, as the
  867. GetLastError() value has long since been blown away if we try and
  868. look it up in a subsequent internal call invocation.
  869. * FileSystemInfo.cs:
  870. * FileInfo.cs:
  871. * File.cs:
  872. * Directory.cs: MonoIO methods now have an error parameter
  873. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  874. * TextReader.cs: implemented ReadBlock ().
  875. 2002-10-30 Miguel de Icaza <[email protected]>
  876. * StreamWriter.cs: Ditto for Null stream.
  877. * BinaryReader.cs: Use Unmarked here too.
  878. * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
  879. is what .NET does.
  880. 2002-10-23 Dick Porter <[email protected]>
  881. * FileStream.cs: Implemented CanSeek, and used it around all the
  882. calls to MonoIO.Seek. Fixed buffering in Read() so that it
  883. doesn't block forever on short reads.
  884. * MonoFileType.cs: New enum for GetFileType
  885. * MonoIO.cs: Added GetFileType
  886. 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
  887. * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
  888. \n (this is what MS does).
  889. 2002-10-18 Dick Porter <[email protected]>
  890. * FileStream.cs: SeekOrigin.End still calculates the offset from
  891. the end of the file with positive values extending the length.
  892. Fixes bug 32471.
  893. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  894. * Path.cs: some cleanup. Thanks to Martin Aliger.
  895. 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
  896. * FileStream.cs: throw an exception if trying to open a directory.
  897. Thanks to Martin Aliger.
  898. 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
  899. * Path.cs: fixes bug #28046.
  900. 2002-09-27 Gonzalo Paniagua Javier <[email protected]>
  901. * StreamReader.cs: give more information when wrong parameters passed.
  902. 2002-09-21 Miguel de Icaza <[email protected]>
  903. * FileStream.cs: Do not call FSync on the file.
  904. 2002-09-16 Miguel de Icaza <[email protected]>
  905. * TextWriter.cs (Null): The Null field should be an instance of a
  906. TextWriter class that does nothing, so it is an instance of the
  907. NullTextWriter class.
  908. 2002-09-16 Nick Drochak <[email protected]>
  909. * MemoryStream.cs (Close): Don't throw an exception if the stream
  910. is already closed.
  911. 2002-09-15 Miguel de Icaza <[email protected]>
  912. * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
  913. Flush calls fsync().
  914. The API docs show no explicit mention that Flush() should even do
  915. an fsync, I am thinking that we should drop that from the
  916. runtime.
  917. 2002-09-09 Miguel de Icaza <[email protected]>
  918. * StreamWriter.cs: When no encoding is provided, create an
  919. encoding without markers, this is what MS does.
  920. 2002-09-06 Miguel de Icaza <[email protected]>
  921. * StreamReader.cs: Implement detection of byte marks and skipping
  922. of byte marks at the beginning of the stream.
  923. (ReadToEnd): Use buffered read instead of char-by-char
  924. processing.
  925. Correct the default arguments for creating the StreamReader.
  926. 2002-08-29 Gonzalo Paniagua Javier <[email protected]>
  927. * CheckArgument.cs: fixed check for empty string.
  928. * Path.cs: various fixes. It passes all the tests in new PathTest.
  929. 2002-08-29 Duncan Mak <[email protected]>
  930. * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
  931. the build for gtk#.
  932. 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
  933. * BinaryReader.cs:
  934. * BinaryWriter.cs:
  935. * MemoryStream.cs:
  936. * StreamReader.cs:
  937. * StreamWriter.cs:
  938. * StringReader.cs:
  939. * StringWriter.cs:
  940. * TextWriter.cs: IDisposable fixes.
  941. 2002-08-24 Miguel de Icaza <[email protected]>
  942. * StreamReader.cs: Removed TODOs, as the code seems to be
  943. complete.
  944. * Path.cs (GetTempFileName): Make this routine atomic by not
  945. testing and then creating, but using the create call to ensure
  946. that we own the filename.
  947. 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
  948. * FileLoadException.cs: implemented ToString.
  949. * StreamWriter.cs: added Null field and implemented Write (char) and
  950. Write (char []).
  951. 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
  952. * StreamReader.cs: implemented NullStreamReader.
  953. 2002-08-21 Miguel de Icaza <[email protected]>
  954. * Path.cs (GetDirectoryName): Fix for filenames with size = 1
  955. * File.cs: Removed all references that threw exceptions when the
  956. paths contains a colon, as this is a valid part of an identifier
  957. on Unix.
  958. Everywhere: The String.Empty return from GetDirectoryName means
  959. that there is no directory information about the path.
  960. 2002-08-20 Gonzalo Paniagua Javier <[email protected]>
  961. * FileNotFoundException.cs: use Message and InnerException from base
  962. class. Changed Message and ToString ().
  963. 2002-08-19 Dick Porter <[email protected]>
  964. * BinaryWriter.cs: The length of a string is counted in bytes, not
  965. chars
  966. 2002-08-18 Dick Porter <[email protected]>
  967. * BinaryReader.cs: Fixed buffering
  968. 2002-08-09 Nick Drochak <[email protected]>
  969. * BinaryReader.cs: added virtual to Dispose(bool).
  970. 2002-08-03 Jason Diamond <[email protected]>
  971. * StringWriter.cs: Return UnicodeEncoding for Encoding property.
  972. 2002-08-03 Jason Diamond <[email protected]>
  973. * StreamWriter.cs: Use GetByteCount() to get exact length instead
  974. of GetMaxByteCount when converting chars to bytes.
  975. 2002-07-31 Duncan Mak <[email protected]>
  976. * StreamReader.cs:
  977. (Dispose): Added and implmented.
  978. * StreamWriter.cs:
  979. (Dispose): Fixed visibility.
  980. (Initialize): Fixed visibility, made internal.
  981. * BinaryReader.cs:
  982. (Dispose): Fixed visibility.
  983. 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
  984. * File.cs:
  985. (Create): allow file names without path.
  986. Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <[email protected]>
  987. * FileStream.cs: patch from [email protected] to add
  988. Name property support.
  989. 2002-07-20 Dick Porter <[email protected]>
  990. * MonoIO.cs: Added icall to CreatePipe
  991. 2002-07-18 Gonzalo Paniagua Javier <[email protected]>
  992. * FileInfo.cs: fixes buglet #27940
  993. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  994. * Path.cs: removed unneeded line from GetExtension.
  995. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  996. * FileStream.cs:
  997. (.ctor): call MonoIO.GetException with the file name.
  998. 2002-07-02 Mike Kestner <[email protected]>
  999. * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
  1000. 2002-07-02 Mike Kestner <[email protected]>
  1001. * StreamReader.cs: Revert the last Peek change and fix the ReadLine
  1002. end of line detection code instead.
  1003. 2002-07-02 Gonzalo Paniagua Javier <[email protected]>
  1004. * StreamReader.cs:
  1005. (Peek): no need to have seek capabilitites.
  1006. 2002-06-17 Dietmar Maurer <[email protected]>
  1007. * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
  1008. * File.cs (Delete): only call Directory.Exists() if DirName != ""
  1009. 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
  1010. * Directory.cs: fixed bug #26133 and also test if the directory exist
  1011. before performing the search.
  1012. 2002-06-12 Nick Drochak <[email protected]>
  1013. * StringReader.cs (ReadLine): Return null when we get to end of the
  1014. string.
  1015. 2002-05-22 Lawrence Pit <[email protected]>
  1016. * StreamWriter.cs: added ability to write null value
  1017. 2002-05-19 Lawrence Pit <[email protected]>
  1018. * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
  1019. prevent endless loops.
  1020. 2002-05-17 Dan Lewis <[email protected]>
  1021. * FileStream.cs: Enforce lower bound on buffer size.
  1022. 2002-05-16 Piers Haken <[email protected]>
  1023. * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
  1024. 2002-05-17 Nick Drochak <[email protected]>
  1025. * StreamWriter.cs: Implement buffering. Also implemented dispose
  1026. pattern as recommended by the MS docs. Must call Close() now
  1027. to ensure the buffer is flushed.
  1028. 2002-05-15 Nick Drochak <[email protected]>
  1029. * Path.cs (GetDirectoryName): Return String.Empty if there is no
  1030. directory
  1031. * StreamReader.cs: Add some parameter checking on file names.
  1032. * StreamWriter.cs: Add some parameter checking on file names.
  1033. 2002-05-14 Nick Drochak <[email protected]>
  1034. * File.cs: Add parameter checks to most methods. Not completely done,
  1035. but all current unit tests pass.
  1036. * Path.cs: Implement GetTempFileName().
  1037. 2002-05-10 Nick Drochak <[email protected]>
  1038. * StreamWriter.cs (Flush): Throw proper exception if internal stream
  1039. has already been closed when we try to flush.
  1040. 2002/05/10 Nick Drochak <[email protected]>
  1041. * FileNotFoundException.cs (ToString): Don't try to use the inner
  1042. exception, because it might be null. Use the message instead.
  1043. 2002-05-09 Nick Drochak <[email protected]>
  1044. * File.cs (Delete): Do not throw an exception if the file does not
  1045. exist.
  1046. 2002-05-08 Mike Gray <[email protected]>
  1047. * File.cs: According to ECMA spec and MS docs Copy(src, dest)
  1048. should not overwrite dest by default.
  1049. 2002-05-08 Nick Drochak <[email protected]>
  1050. * StreamWriter.cs: Add paramter check to constructors and throw
  1051. exceptions where appropriate.
  1052. Tue May 7 11:47:46 CEST 2002 Paolo Molaro <[email protected]>
  1053. * StreamReader.cs: return the number of chars read even if we diddn't
  1054. fill the whole buffer (makes Sergey's ilasm work with mono).
  1055. 2002-05-07 Mike Gray <[email protected]>
  1056. * FileInfo.cs (Create): Implement missing method.
  1057. 2002-05-07 Mike Gray <[email protected]>
  1058. * File.cs: Implemented CreateText method, and fixed dst compares
  1059. to compare against "" instead of null twice.
  1060. 2002-05-05 Nick Drochak <[email protected]>
  1061. * StreamReader.cs: Throw exceptions where needed. Changed Null field to
  1062. use new internal class since null cannot be passed to constructor
  1063. anymore. Also, fix a coule of small bugs.
  1064. 2002-05-03 Nick Drochak <[email protected]>
  1065. * MemoryStream.cs: Refrain from allocating array until the space is
  1066. really needed. This fixes a bug in the Length property when the
  1067. constructor without the byte array is used.
  1068. 2002-05-01 Duncan Mak <[email protected]>
  1069. * DirectoryNotFoundException.cs (constructor): Added missing
  1070. serialization constructor.
  1071. 2002-04-30 Duncan Mak <[email protected]>
  1072. * FileLoadException.cs (constructors): Added missing (string,
  1073. string) ctor, as well as (string, string, Exception) ctor.
  1074. (Message): Added more info to the error message
  1075. (ToString): Added. We'll need to add the StackTrace stuff when
  1076. that works.
  1077. * FileShare.cs: Add a missing field, Inheritable.
  1078. * TextReader.cs: Renamed Synchronised method to Synchronized.
  1079. * TextWriter.cs: Renamed Synchronised method to Synchronized.
  1080. Renamed protected member coreNewLine to CoreNewLine.
  1081. 2002-04-30 Sergey Chaban <[email protected]>
  1082. * BinaryReader.cs: Allocate buffer before its first use.
  1083. Handle end of stream properly. Methods to read native types
  1084. (ReadInt* etc.) are little-endian (see Compact Framework docs).
  1085. * BinaryWriter.cs: Store data in little-endian format.
  1086. Use internal buffer for conversions.
  1087. 2002-03-31 Dick Porter <[email protected]>
  1088. * Directory.cs: Strip out "." and ".." from returned list
  1089. * FileAttributes.cs: Get the right enum values
  1090. 2002-03-28 Dietmar Maurer <[email protected]>
  1091. * TextWriter.cs (write): added check for null
  1092. 2002-03-28 Dan Lewis <[email protected]>
  1093. * Directory.cs: Throws DirectoryNotFoundException.
  1094. * MonoIO.cs: Fixed to work around enum problem.
  1095. 2002-03-27 Dan Lewis <[email protected]>
  1096. * StreamReader.cs: Implemented ReadLine() and ReadEnd().
  1097. 2002-03-27 Dan Lewis <[email protected]>
  1098. * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
  1099. DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
  1100. wrapper and PAL classes.
  1101. * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
  1102. 2002-03-25 Mike Kestner <[email protected]>
  1103. * MemoryStream.cs (Read): Fixed bug in exception throw.
  1104. 2002-03-24 Mike Kestner <[email protected]>
  1105. * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
  1106. 2002-03-23 Martin Baulig <[email protected]>
  1107. * StreamReader.cs: Always do buffered reading, use 4k blocks.
  1108. (Read (char[], int, int)): Implemented.
  1109. (DiscardBufferedData): Implemented.
  1110. 2002-03-21 Mike Kestner <[email protected]>
  1111. * StreamReader.cs : Fill out, add buffering, and use encoding.
  1112. 2002-03-19 Martin Baulig <[email protected]>
  1113. * StreamWriter.cs (StreamWriter (string)): The default is to override
  1114. the file, not to append to it.
  1115. (StreamWriter (string path, bool append)): When appending, seek to the
  1116. end of the file, otherwise truncate the file to zero length.
  1117. (Dispose (bool)): Close the internalStream.
  1118. (Flush): Flush the interalStream.
  1119. (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
  1120. 2002-03-19 Dan Lewis <[email protected]>
  1121. * FileStream.cs: Flush buffer before FileSetLength.
  1122. 2002-02-28 Miguel de Icaza <[email protected]>
  1123. * Stream.cs (NullStream): Do not track position, this beast does
  1124. nothing in practice.
  1125. 2002-03-15 Dan Lewis <[email protected]>
  1126. * SearchPattern.cs: New class. Glob matching code for Directory.
  1127. * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
  1128. 2002/03/15 Nick Drochak <[email protected]>
  1129. * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
  1130. This code seemed to be copied from somewhere, and it was close,
  1131. but didn't match the docs. This was the last bit needed to get
  1132. NAnt to compile with our class libs.
  1133. 2002-03-12 Duncan Mak <[email protected]>
  1134. * EndOfStreamException.cs:
  1135. * FileLoadException.cs:
  1136. * FileNotFoundException.cs:
  1137. * PathTooLongException.cs: Changed the base classes to IOException
  1138. instead of SystemException.
  1139. * IOException.cs: Added missing constructors.
  1140. 2002-03-07 Nick Drochak <[email protected]>
  1141. * FileMode.cs: Docs don't say this should be explicitly derived from
  1142. int, so just make it a normal Enum.
  1143. 2002-03-02 Jason Diamond <[email protected]>
  1144. * StringReader.cs: Fixed off-by-one error in Peek() and Read().
  1145. 2002-02-12 Nick Drochak <[email protected]>
  1146. * PathTooLongException.cs: put it in the correct namespace
  1147. * EndOfStreamException.cs: put it in the correct namespace
  1148. Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <[email protected]>
  1149. * Directory.cs: handle opendir() return NULL and absolute filenames.
  1150. 2002-01-31 Duncan Mak <[email protected]>
  1151. * FileLoadException.cs:
  1152. * FileNotFoundException: Added missing bits for serialization.
  1153. Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <[email protected]>
  1154. * Directory.cs: allow directories in GetFiles() mask.
  1155. 2002-01-23 Miguel de Icaza <[email protected]>
  1156. * FileInfo.c (CopyTo, MoveTo): Implement.
  1157. * FileStream.cs: Add argument checking to the constructor.
  1158. * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
  1159. OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
  1160. * Directory.cs (Delete): reimplement without using DirectoryInfo.
  1161. (Delete): Implement the recursive version.
  1162. (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
  1163. (Move): Reimplement.
  1164. (getNames): dead code removal.
  1165. * Path.cs: define an internal DirectorySeparatorStr that we use in
  1166. a few spots.
  1167. * Wrapper.cs: Updated to new version.
  1168. * DirectoryInfo (Delete): Implement using the Directory API.
  1169. * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
  1170. Delete, Create, Parent, Exists, MoveTo): Implement.
  1171. * Directory.cs (GetListing): implement new utility function.
  1172. (GetDirectories): Implement.
  1173. (GetFileSystemEntries): Implement.
  1174. (GetFiles): Implement.
  1175. * CheckArgument.cs (Path): Do not allow null by default.
  1176. Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <[email protected]>
  1177. * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
  1178. assembly in corlib.
  1179. 2002-01-20 Nick Drochak <[email protected]>
  1180. * SeekOrigin.cs: Added Serializable attribute.
  1181. 2002-01-19 Duncan Mak <[email protected]>
  1182. * PathTooLongException.cs:
  1183. * EndOfStreamException.cs: Added to CVS.
  1184. Thu Jan 10 12:06:46 MST 2002 Matt Kimball <[email protected]>
  1185. * BufferedStream.cs: Initial implemenation. The synchronous
  1186. methods for both reading and writing are implemented. I'll do the
  1187. asynchronous methods in a bit.
  1188. Wed Jan 9 16:04:39 MST 2002 Matt Kimball <[email protected]>
  1189. * BinaryWriter.cs: Initial implementation. And it's all there.
  1190. * BinaryReader.cs: The constructor now uses the passed in encoding,
  1191. not UTF8 always.
  1192. Wed Jan 9 13:54:28 MST 2002 Matt Kimball <[email protected]>
  1193. * BinaryReader.cs: Initial implementation. I think it's complete.
  1194. 2002-01-04 Ravi Pratap <[email protected]>
  1195. * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
  1196. attribute decorations.
  1197. * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
  1198. Path.cs, TextReader.cs, TextWriter.cs : Ditto.
  1199. * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
  1200. Ditto.
  1201. 2001-12-11 Dick Porter <[email protected]>
  1202. * FileStream.cs: Use handles rather than casting file descriptors.
  1203. Added Handle property.
  1204. Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <[email protected]>
  1205. * CheckPermission.cs: disable ModeAccess() code: it's wrong.
  1206. * FileStream.cs: only trow an exception if the read failed in ReadByte().
  1207. * StreamReader.cs: implement Peek and Read.
  1208. * TextWriter.cs: CLSCompliant updates.
  1209. 2001-11-10 Sean MacIsaac <[email protected]>
  1210. * FileNotFoundException.cs: Added some constructors
  1211. * Path.cs (GetFullPath): Fixed implementation
  1212. Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <[email protected]>
  1213. * DirectoryNotFoundException.cs: implemented.
  1214. Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <[email protected]>
  1215. * File.cs: fix signatures of the Open() and OpenRead() functions
  1216. (they are static).
  1217. Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <[email protected]>
  1218. * FileLoadException.cs, FileNotFoundException.cs: added.
  1219. 2001-08-28 Dietmar Maurer <[email protected]>
  1220. * TextReader.cs: implemented the Read method
  1221. * StreamReader.cs: impl. stubs
  1222. * StreamWriter.cs: impl.
  1223. * TextWriter.cs: implemented Write and WriteLine methods
  1224. Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <[email protected]>
  1225. * FileAccess.cs, FileMode.cs: change values to be compatible with
  1226. the ms ones.
  1227. Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <[email protected]>
  1228. * IOException.cs: Implemented System.IO.Exception.
  1229. 2001-07-18 Michael Lambert <[email protected]>
  1230. *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
  1231. 2001-07-19 Marcin Szczepanski <[email protected]>
  1232. * System.IO.MemoryStream.cs: Added. Had quite a few cases of
  1233. "LAMESPEC", but the tests work against the MS implementation so
  1234. the major functions are right (ie. Read/Write/Seek). Some more
  1235. tests required for the various constructors and exceptions.
  1236. 2001-07-16 Marcin Szczepanski <[email protected]>
  1237. * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
  1238. New class implemenations.
  1239. * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.