2008-01-16 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mcs / class / corlib / System.IO / ChangeLog
index 9fe2d6c6977b744a06589f1736c2c63916107bfc..634e72f12f3045fb6791940bf72c8bd62b28028c 100644 (file)
@@ -1,3 +1,179 @@
+2008-01-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * BinaryReader.cs: Fix ReadCharBytes method to avoid non-linear behavior. 
+       Fixes #352184.
+
+2007-12-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * MemoryStream.cs: Fix crash if internalBuffer is null. Avoid calling
+       unsafe icalls. Fixes #350860.
+
+2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * FileStream.cs : Close() does not exist in 2.0 (Stream does).
+         Move GC.SuppressFinalize() to Dispose(true).
+
+2007-11-12  Juraj Skripsky  <js@hotfeet.ch>
+
+       * Path.cs (GetRandomFileName): Return filenames containing only
+       characters from the range [a..z0..9] as MS.NET does. 
+
+2007-11-02  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * StreamReader.cs : Encoding.GetMaxCharCount() does not always return
+         the maximum max char count for Decoder.GetChars() since it might
+         contain pending buffer by flush. Fixed bug #338370.
+
+2007-11-01  Miguel de Icaza  <miguel@novell.com>
+
+       * Path.cs (GetDirectoryName): The paths returned from this routine
+       should be canonical, not just a substring.   In addition to fixing
+       this, it also fixes #324742.
+
+2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * BinaryReader.cs, BinaryWriter.cs : use unsafe encoding that has ""
+         for replacement fallback. Binary serialization regression is fixed.
+
+2007-09-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Stream.cs, BufferedStream.cs, MemoryStream.cs: in 2.0 override
+         Dispose(bool) rather than Close().
+         Stream.Dispose() is virtual in 2.0.
+
+2007-08-24  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * BinaryReader.cs: Fixed line endings.
+       * FileStream.cs: Rename name argument to path. Spaces to tabs.
+
+2007-08-20  William Holmes  <billholmes54@gmail.com>
+
+       *File.cs:  Add implementation for IO.File.Replace methods.
+       *MonoIO.cs: Declared an internal call for ReplaceFile
+
+       Code is contributed under MIT/X11 license.
+
+2007-07-31  Dick Porter  <dick@ximian.com>
+
+       * MonoIO.cs: Fix formatting of 'access denied' exception when the
+       path info isn't known.  Fixes bug 82141.
+
+2007-07-08  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * Directory.cs: Renamed Move arguments to match MS. Allow Move to be
+       used to move files, patch by Robert Jordan. Fixes bug #81912. Spaces
+       to tabs.
+
+2007-06-21  Dick Porter  <dick@ximian.com>
+
+       * FileStream.cs: Fix FileShare test, fixing better bug 79250.
+
+2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UnmanagedMemoryStream.cs : added Closed event for sys.Resources use.
+       * IntPtrStream.cs : added internal get_BaseAddress(), for the same.
+
+2007-05-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * UnmanagedMemoryStream.cs: In Read and ReadByte, use Marshal.ReadByte
+       to read bytes as this allows us to start reading from the current
+       position. In Read, return 0 when reading beyond the end of the stream
+       and only read bytes until the end of the stream (not capacity).
+       In ReadByte, return -1 when reading beyond the end of the stream.
+       In SetLength: changed argument validation (and reported exceptions) to
+       match MS, removed duplicate access check and changed the current
+       position if length is less than position. In Write: throw
+       NotSupportedException when attempting to write beyond capacity, use
+       Marshal.WriteByte since that allows us to start writing from the
+       current position. Adjust length when position moves beyond length
+       in both Write and WriteByte. Allow position to be moved beyond
+       capacity of stream. Fixed position using Seek (=+ typo). Changed
+       CanRead to ignore current position. Allow Position to be used to move
+       beyond capacity of stream.
+
+2007-05-24  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * UnmanagedMemoryStream.cs: Changed argument names and exceptions 
+       (msg, params) to match MS. Verify access argument in ctor. 
+
+2007-05-23  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * UnmanagedMemoryStream.cs : couple of bugfixes. in Read(), don't
+         return buffer beyond the requested length. Fixed .ctor() for wrong
+         capacity initialization.
+
+2007-05-12  Jonathan Chambers  <joncham@gmail.com>
+
+       * FileStream.cs: Implement SafeHandle constructors.
+
+2007-05-01  Dick Porter  <dick@ximian.com>
+
+       * File.cs:
+       * Stream.cs: Missed a few 2.0 methods
+
+2007-04-30  Dick Porter  <dick@ximian.com>
+
+       * Directory.cs: 
+       * FileShare.cs: 
+       * DirectoryNotFoundException.cs: 
+       * SeekOrigin.cs: 
+       * FileAttributes.cs: 
+       * IOException.cs: 
+       * MemoryStream.cs: 
+       * FileMode.cs: 
+       * BinaryWriter.cs: 
+       * TextWriter.cs: 
+       * File.cs: 
+       * BinaryReader.cs: 
+       * TextReader.cs: 
+       * UnmanagedMemoryStream.cs: 
+       * StringWriter.cs: 
+       * FileAccess.cs: 
+       * FileLoadException.cs: 
+       * BufferedStream.cs: 
+       * Stream.cs: 
+       * FileInfo.cs: 
+       * FileStream.cs:
+       * StringReader.cs: 
+       * StreamWriter.cs: 
+       * EndOfStreamException.cs: 
+       * DriveInfo.cs: 
+       * StreamReader.cs: 
+       * PathTooLongException.cs: 
+       * DriveType.cs: 
+       * FileNotFoundException.cs: 2.0 profile updates
+
+2007-04-21  Alp Toker  <alp@atoker.com>
+
+       * FileStream.cs: Respect request for buffering in all cases.
+
+       Gonzalo added code in r42667 that disables buffering even when it is
+       requested, in the case that ftype != MonoFileType.Disk. This was
+       killing performance for users who do Console.OpenStandardOutput(1024)
+       but were ending up with a non-buffered FileStream.
+
+       The new behaviour appears correct but we should watch for any
+       regressions.
+
+2007-04-05  Dick Porter  <dick@ximian.com>
+
+       * Directory.cs: Pass combined path and pattern to
+       MonoIO.GetFileSystemEntries()
+
+2007-04-03  Alp Toker  <alp@atoker.com>
+
+       * UnmanagedMemoryStream.cs: Should not have a public Dispose().
+       This behaviour is already provided by the base class.
+
+2007-04-03  Alp Toker  <alp@atoker.com>
+
+       * Stream.cs: CreateWaitHandle() obsolete in 2.0.
+
+2007-03-18  Alp Toker  <alp@atoker.com>
+
+       * UnmanagedMemoryStream.cs:
+       * Directory.cs: Exception message typo fixes.
+
 2007-03-11  Zoltan Varga  <vargaz@gmail.com>
 
        * UnmanagedMemoryStream.cs: Fix a warning.