lalala
[mono.git] / mcs / class / corlib / System.IO / ChangeLog
index a33995ce04a90e930cb37eb0e8f135d3c84dae4e..bb20c936c2068df5435de79c3f4a7b1413911993 100644 (file)
@@ -1,3 +1,173 @@
+2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * BufferedStream.cs: On Position change, do not reset the buffer if the
+       new position is in the limits of the buffer. This fixes #49403.
+
+2003-04-03  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Path.cs : ChangeExtension() does not remove dot(.) when extension is
+         an empty string.
+
+2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * FileSystemInfo.cs: Added InternalRefresh, a virtual method that derived
+         classes can override to perform class specific refreshing.
+       * FileInfo.cs: Refresh existence flag when Refresh is called.
+       * TextWriter.cs: Applied patch by Benjamin Jemlich for bug #52512.
+         The method Write(char) should do nothing by default.
+
+2004-03-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BinaryReader.cs: don't modify the underlying stream in Peek(). Fixes
+       bug #51741. Patch by Nick Vaughan.
+
+2004-03-25  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * FileStream.cs: ReadByte(): when buffering is disabled, read the byte
+       with a direct call to ReadData. In InitBuffer(), if buffering is
+       disabled, create a buffer of one byte, to be used in ReadByte.  This
+       fixes bug #52361.
+
+2004-03-25  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * Path.cs: In GetDirectoryName, fixed check for volumeSeparator. This
+         fixes bug #53892.
+
+2004-03-24  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * File.cs: In Move, throw IOException instead of ArgumentException if 
+         destination is a directory.
+       * MonoIO.cs: In ExistsDirectory, return ERROR_PATH_NOT_FOUND instead of
+       ERROR_FILE_NOT_FOUND, since we are looking for a directory, not a file.
+       
+2004-03-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * StreamWriter.cs: Removed unneeded function
+
+2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileStream.cs: added support for asynchronous I/O without using the
+       OS native libraries if available.
+
+       * FileStreamAsyncResult.cs: IAsyncResult for asynch. I/O.
+
+       * MonoIO.cs: added BeginRead/Write, GetSupportsAsync. Open has now a
+       new parameter to tell ifthe file will be used for asynch operations.
+
+       * Stream.cs: BeginRead/Write do not use delegates. They just are
+       actually synchronous.
+
+       * StreamAsyncResult.cs: IAsyncResult for Stream.
+
+2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Directory.cs: check if the error returned in Exists is different
+       from 'path not found' and throw the appropiate exception in that case.
+       See #55160.
+
+2004-03-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * MonoIO.cs: added case for ERROR_FILENAME_EXCED_RANGE.
+
+2004-02-25  Jackson Harper <jackson@ximian.com>
+
+       * File.cs: Report the filename when deleting a file fails. Patch
+       by Gert Driesen. Fixes bug #54855.
+       
+2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileStream.cs: remove dangling ^Ms.
+
+2004-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileStream.cs: (.ctor) Path.DirectoryName can be empty and make
+       Path.GetFullPath crash. Fixed it.
+
+       * MonoIO.cs: fixed typo.
+
+2004-02-13  Jackson Harper  <jackson@ximian.com>
+
+       * FileStream.cs: Throw some more exceptions for invalid
+       params. Fixes some unit test failures.
+       * BufferedStream.cs: If the stream is closed (can't read from it
+       or write to it) throw an ObjectDisposedException.
+       
+Tue Jan 20 23:10:22 CET 2004 Paolo Molaro <lupus@ximian.com>
+
+       * StreamWriter.cs, TextWriter.cs: comply with the documented
+       behaviour and use a decode buffer to improve performance.
+
+2004-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Path.cs: now Path.GetFullPath ("/") returns "/" instead of "".
+
+2004-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Path.cs: add the trailing directory separator only for volumes.
+       Fixes bug #53035.
+
+2004-01-19  Zoltan Varga  <vargaz@freemail.hu>
+
+       * IntPtrStream.cs: Fix build bustage.
+       
+       * IntPtrStream.cs: Add a 'Closed' event. Also throw exceptions after
+       the stream is closed.
+
+2004-01-18 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * FileStream.cs: Locking from bug #32344 removed. This is not
+       necessary because the correct fix was actually in the console.
+       This fixes bug #53026. Miguel de Icaza reviewed/approved this
+       patch.
+
+2004-01-14  Zoltan Varga  <vargaz@freemail.hu>
+
+       * FileStream.cs (.ctor): Avoid allocating a large buffer when reading
+       from small files.
+
+2004-01-10  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Path.cs : GetDirectoryName ("c:\readme.txt") should return "c:\"
+         instead of "c:" . This fixed bug #52735.
+
+2004-01-04  Nick Drochak <ndrochak@gol.com>
+
+       * Path.cs: Remove defined but unused variable, and also got rid of
+       some unreachable code.  Eliminates some build warnings.
+
+2003-12-28 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * BinaryWriter.cs: use one encoding buffer for writing
+       strings rather than allocting one/string. HUGE perf
+       boost when writing many strings.
+
+2003-12-25  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Path.cs : Fixed GetFullPath() (and CanonicalizePath()), 
+         HasExtension(), GetPathRoot() and IsPathRooted() to fit with tests.
+
+2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * FileStream.cs: (.ctor) do not set handle
+       in object until after it is validated via
+       GetFileType so finalizer doesn't see bad handles and
+       initialize this.handle to InvalidHandle
+
+2003-12-19  Bernie Solomon  <bernard@ugsolutions.com>
+
+       * MonoIO.cs: SetFileTime() Failed Open returns InvalidHandle
+       not Zero
+
+2003-12-17  Atsushi Enomoto <atsushi@ximian.com>
+
+       * Directory.cs : SetCurrentDirectory() should raise errors for
+         some kind of arguments.
+
+2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Path.cs: GetTempPath () ends with DirectorySeparatorChar. Fixes bug
+       #52056.
+
 2003-12-06  Ravindra  <rkumar@novell.com>
        *MonoIO.cs: Added a new exception case. It is thrown 
        when a directory creation is attempted with a name that
@@ -273,7 +443,7 @@ Fri Jul 18 14:42:42 CEST 2003 Paolo Molaro <lupus@ximian.com>
        * BinaryReader.cs (Read): make sure the buffer is big enough (fix
        bug # 40702)
 
-2003-04-24  Pedro Martínez Juliá  <yoros@wanadoo.es>
+2003-04-24  Pedro Martinez Julia  <yoros@wanadoo.es>
 
        * BufferedStream.cs: Test if it's possible to seek in a Stream
        before access to Position. This prevents the exception thrown when