ChangeLog 61 KB

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