2002-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System.IO / ChangeLog
index 05ca5f19187c453e5edf1a676122ea00d33c3b2e..8991ac9d67af63305140b82702e9ba380756d840 100644 (file)
@@ -1,3 +1,180 @@
+2002-09-21  Miguel de Icaza  <miguel@ximian.com>
+
+       * FileStream.cs: Do not call FSync on the file.
+
+2002-09-16  Miguel de Icaza  <miguel@ximian.com>
+
+       * TextWriter.cs (Null): The Null field should be an instance of a
+       TextWriter class that does nothing, so it is an instance of the
+       NullTextWriter class.
+
+2002-09-16  Nick Drochak  <ndrochak@gol.com>
+
+       * MemoryStream.cs (Close): Don't throw an exception if the stream
+       is already closed.
+
+2002-09-15  Miguel de Icaza  <miguel@ximian.com>
+
+       * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
+       Flush calls fsync().  
+
+       The API docs show no explicit mention that Flush() should even do
+       an fsync, I am thinking that we should drop that from the
+       runtime. 
+
+2002-09-09  Miguel de Icaza  <miguel@ximian.com>
+
+       * StreamWriter.cs: When no encoding is provided, create an
+       encoding without markers, this is what MS does.
+
+2002-09-06  Miguel de Icaza  <miguel@ximian.com>
+
+       * StreamReader.cs: Implement detection of byte marks and skipping
+       of byte marks at the beginning of the stream.
+
+       (ReadToEnd): Use buffered read instead of char-by-char
+       processing. 
+
+       Correct the default arguments for creating the StreamReader.
+
+2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * CheckArgument.cs: fixed check for empty string.
+       * Path.cs: various fixes. It passes all the tests in new PathTest.
+
+2002-08-29  Duncan Mak  <duncan@ximian.com>
+
+       * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
+       the build for gtk#.
+
+2002-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * BinaryReader.cs:
+       * BinaryWriter.cs:
+       * MemoryStream.cs:
+       * StreamReader.cs:
+       * StreamWriter.cs:
+       * StringReader.cs:
+       * StringWriter.cs:
+       * TextWriter.cs: IDisposable fixes.
+
+2002-08-24  Miguel de Icaza  <miguel@ximian.com>
+
+       * StreamReader.cs: Removed TODOs, as the code seems to be
+       complete. 
+
+       * Path.cs (GetTempFileName): Make this routine atomic by not
+       testing and then creating, but using the create call to ensure
+       that we own the filename.
+
+2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileLoadException.cs: implemented ToString.
+
+       * StreamWriter.cs: added Null field and implemented Write (char) and
+       Write (char []).
+
+2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * StreamReader.cs: implemented NullStreamReader.
+
+2002-08-21  Miguel de Icaza  <miguel@ximian.com>
+
+       * Path.cs (GetDirectoryName): Fix for filenames with size = 1
+
+       * File.cs: Removed all references that threw exceptions when the
+       paths contains a colon, as this is a valid part of an identifier
+       on Unix.
+
+       Everywhere: The String.Empty return from GetDirectoryName means
+       that there is no directory information about the path.
+
+2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileNotFoundException.cs: use Message and InnerException from base
+       class. Changed Message and ToString ().
+
+2002-08-19  Dick Porter  <dick@ximian.com>
+
+       * BinaryWriter.cs: The length of a string is counted in bytes, not
+       chars
+
+2002-08-18  Dick Porter  <dick@ximian.com>
+
+       * BinaryReader.cs: Fixed buffering
+
+2002-08-09  Nick Drochak  <ndrochak@gol.com>
+
+       * BinaryReader.cs: added virtual to Dispose(bool).
+
+2002-08-03  Jason Diamond  <jason@injektilo.org>
+
+       * StringWriter.cs: Return UnicodeEncoding for Encoding property.
+
+2002-08-03  Jason Diamond  <jason@injektilo.org>
+
+       * StreamWriter.cs: Use GetByteCount() to get exact length instead
+       of GetMaxByteCount when converting chars to bytes.
+
+2002-07-31  Duncan Mak  <duncan@ximian.com>
+
+       * StreamReader.cs: 
+       (Dispose): Added and implmented.
+
+       * StreamWriter.cs: 
+       (Dispose): Fixed visibility.
+       (Initialize): Fixed visibility, made internal.
+
+       * BinaryReader.cs:
+       (Dispose): Fixed visibility.
+
+2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * File.cs:
+       (Create): allow file names without path.
+
+Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
+
+       * FileStream.cs: patch from erik@bagfors.nu to add
+       Name property support.
+
+2002-07-20  Dick Porter  <dick@ximian.com>
+
+       * MonoIO.cs: Added icall to CreatePipe
+
+2002-07-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileInfo.cs: fixes buglet #27940
+
+2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Path.cs: removed unneeded line from GetExtension.
+
+2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * FileStream.cs:
+       (.ctor): call MonoIO.GetException with the file name.
+
+2002-07-02  Mike Kestner  <mkestner@speakeasy.net>
+
+       * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
+
+2002-07-02  Mike Kestner  <mkestner@speakeasy.net>
+
+       * StreamReader.cs: Revert the last Peek change and fix the ReadLine
+       end of line detection code instead.
+
+2002-07-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * StreamReader.cs:
+       (Peek): no need to have seek capabilitites. 
+
+2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
+
+       * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
+
+       * File.cs (Delete): only call Directory.Exists() if DirName != ""
+
 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * Directory.cs: fixed bug #26133 and also test if the directory exist