New test.
[mono.git] / mcs / class / corlib / System.IO / ChangeLog
index e28b7187bbb74c58506d8ac4e718b5ba81afd154..8698059b00f6ef70ba2e884779c916d2a06b026f 100644 (file)
@@ -1,3 +1,159 @@
+2006-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileInfo.cs: added 2.0 IsReadOnly. Patch by Joel Reed.
+
+2006-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileInfo.cs: eol-style.
+
+2006-09-19  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileNotFoundException.cs: Changed message for default ctor to match
+       MS. Use internal message field of Exception to check whether Message
+       is null. On 2.0 profile, use file/assembly load failure message when
+       no message is set and a filename was specified. On 1.0 profile,
+       always use file/assembly load failure message when no message is set
+       (regardless of whether a filename was specified or not). Made some
+       cosmetic changes to ToString to have it match MS.
+
+2006-09-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * BinaryReader.cs (Read): Avoid allocating memory when reading a char.
+
+2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * StreamReader.cs: avoid ArgumentOutRangeException when the underlying
+       stream returns -1 on Read.
+
+2006-08-30  Lluis Sanchez Gual  <lluis@novell.com>
+
+       * FileInfo.cs: OpenRead should open the file using the Read share mode.
+
+2006-08-21  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * Path.cs: Added internal method IsPathSubsetOf required to implement
+       correctly FileIOPermission (better located here).
+
+2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * File.cs: (Delete) avoid creating the exception object for the 'file
+       not found' case.
+
+2006-07-24  Miguel de Icaza  <miguel@novell.com>
+
+       * FileShare.cs: Add Delete in 2.0
+
+2006-07-06  Dick Porter  <dick@ximian.com>
+
+       * Directory.cs: When creating a directory treat ERROR_FILE_EXISTS
+       (ie a file already exists with that name) the same as
+       ERROR_ALREADY_EXISTS (ie a directory already exists with that
+       name.)  Keeps bug 50753 fixed when I fix the io-layer
+       CreateDirectory() behaviour.
+
+2006-06-21  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Directory.cs : implemented GetFiles() and GetDirectories() which
+         takes SearchOption (as they are used in one of ruby.net stuff).
+
+2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * File.cs: never throw in Exists.
+
+2006-05-18  Miguel de Icaza  <miguel@novell.com>
+
+       * Directory.cs (Exists): Ignore INVALID_HANDlE, return false.
+
+2006-06-03 John Luke <john.luke@gmail.com>
+
+       * Path.cs: fix typo in [Obsolete] message
+       
+2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BinaryReader.cs: use BlockCopyInternal.
+
+2006-05-01  Daniel Drake  <dsd@gentoo.org>
+
+       * Directory.cs: Return false (as documented) on ERROR_ACCESS_DENIED in
+       Exists() rather than throwing an exception. Bug #78239.
+
+2006-04-29  Atsushi Enomoto <atsushi@ximian.com>
+
+       * UnexceptionalStreamReader.cs (Read): Fix for #78218, where we
+       consumed characters from the input even when the count was not set
+       to zero, causing some characters to be missing in some
+       circumstances. 
+
+2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Directory.cs: make sure the parent directory is not an empty string
+       when a file name with no path is provided. Fixes bug #78209. Patch by
+       Emery Conrad.
+
+2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * StreamReader.cs : implemented EndOfStream property.
+       * File.cs : implemented AppendAllText(), WriteAllLines(),
+         WriteAllBytes() and ReadAllLines(). Bug #77813 fixed.
+
+2006-04-28  Robert Jordan  <robertj@gmx.net>
+
+       * Path.cs (GetPathRoot): Return just the \\server\share
+       part of a UNC. Fixes #78147.
+
+
+2006-04-26  Miguel de Icaza  <miguel@novell.com>
+
+       * FileStream.cs: Implement the FileOptions usage by passing all
+       the information to the C layer.  Remove the "isAsync" argument for
+       MonoIO.Open, and instead pass it on the FileOptions.
+
+       * FileOptions.cs: Make it build when including WriteThrough
+
+       * MonoIO.cs: Update MonoIO.Open signature to drop the async
+       argument and take FileOptions instead. 
+
+2006-04-21  Zoltan Varga  <vargaz@gmail.com>
+
+       * FileStream.cs: Add new net 2.0 ctor.
+
+       * FileOptions.cs: New file.
+
+2006-03-21  Miguel de Icaza  <miguel@novell.com>
+
+       * Stream.cs: In 2.0 make Close call Dispose(true).
+
+2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileStream.cs: Seek() should flush the buffer, if any. Fixes bug
+       #77863.
+
+2006-03-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * Stream.cs: Add 2.0 members to Stream.cs (CanTimeout,
+       ReadTimeout and WriteTimeout).
+       
+2006-02-27  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * File.cs: In 2.0 profile, File.Get****Time(Utc) should not throw
+       IOException if specified path does not exist. Fixes bug #77641.
+
+2006-02-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * FileStream.cs: To match MSFT, ignore FileShare.Inheritable on 2.0
+       profile. This fixes bug #77644. Improved usefulness of some existing
+       exception messages.
+
+2006-02-22  Joerg Rosenkranz <joergr@voelcker.com>
+
+       * MonoIO.cs, MonoIOError.cs: Verbose exception for error 39 
+         (disk full).
+         
+2006-02-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * Stream.cs FileStream.cs: Add new 2.0 Dispose () method and protected
+       Dispose (bool) method.
+
 2006-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * TextWriter.cs: Dispose () is public in 2.0.