1 2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
3 * BufferedStream.cs: Some fixes, mostly throwing exceptions.
4 * MemoryStream.cs: Changed the order of exception checking
5 * StringReader.cs: little clean up
7 2003-04-14 Ville Palo <vi64pa@kolumbus.fi>
9 * BinaryWriter.cs: Fixed decimal writing and lots of
10 ObjectDisposedExceptions added.
12 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
14 * BinaryReader.cs: Fix to ReadDecimal() method.
16 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
18 * StringReader.cs: Added some ObjectDisposedExceptions.
19 * StringWriter.cs: Added some ObjectDisposedExceptions.
20 * BinaryReader.cs: Added some ObjectDisposedExceptions.
22 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
24 * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
27 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
29 * FileStream.cs: fixed bug #40182 and made more unit test pass.
31 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
33 * FileStream.cs: Added new methods Lock () and Unlock ()
35 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
37 * StringReader.cs: Throws exceptions if constructor parameter is null.
39 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
41 * StringWriter.cs: Now throws an exception if StringBuilder parameter
44 2003-04-05 Miguel de Icaza <miguel@ximian.com>
46 * TextWriter.cs: Implemented Synchronized method.
48 * TextReader.cs: Implemented Synchronized method.
50 2003-04-04 Miguel de Icaza <miguel@ximian.com>
52 * FileStream.cs (Read, ReadByte, Seek): throw
53 ObjectDisposedException if the handle has been released.
55 (Read): Throw exceptions specified in the spec.
57 (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
58 instance methods of FileStream to be thread safe, so remove all
59 the calls to lock on the object
61 2003-03-31 Nick Drochak <ndrochak@gol.com>
63 * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
65 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
67 * FileNotFoundException.cs: fixed serialization bug.
69 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
71 * StringWriter.cs : don't release internalString on Dispose().
73 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75 * StreamReader.cs: fixed bug #39280.
77 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
79 * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
82 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
84 * MemoryStream.cs: general fixes and reformatted. Passes all tests in
85 the new MemoryStreamTest.
87 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
89 * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
90 ToArray even after closing the stream.
92 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
95 (Move): don't use File.Move.
96 * DirectoryInfo.cs: fixed Name property.
100 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 * DirectoryInfo.cs: changed ToString to match MS behavior.
103 * Path.cs: further fixes to GetDirectoryName to return null in the
104 same cases that MS does.
108 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
110 * Path.cs: fixed a couple of bugs reported in #35906.
112 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
114 * Directory.cs: fixed bugs #38939 and #38940. No need for separate
115 unix/windows/unc shares code paths.
117 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
119 * File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
120 SetCreationTime, SetLastAccessTime and SetLastWriteTime.
122 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
125 (ToArray): return only the portion of the buffer that contains
126 data, not the whole buffer. (note: this makes XmlDocument.Load work
127 again with documents that have a <?xml without the 'encoding'
128 attribute, which makes gtk-sharp generator work again).
130 2003-02-25 Nick Drochak <ndrochak@gol.com>
132 * File.cs (GetCreationTime): Throw proper execption when path is not
135 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
137 * MemoryStream.cs: make it behave sanely when the stream is
138 incrementally expanded.
140 2003-02-21 Dick Porter <dick@ximian.com>
142 * FileStream.cs: Use locks around buffer manipulations. Fixes bug
145 2003-02-18 Dick Porter <dick@ximian.com>
147 * FileStream.cs: Make FileMode.Append work, and check for Seeking
148 back over old data (undocumented ms behaviour, throws an exception
149 if you try). Fixes bug 35975.
151 2003-02-17 Dick Porter <dick@ximian.com>
153 * FileStream.cs: Don't close the handle if the stream doesn't own
154 it. Patch from Raymond Penners (raymond@dotsphinx.com), bug
157 2003-02-14 Zoltan Varga <vargaz@freemail.hu>
159 * FileStream.cs (Write): flush after writing the last segment as well.
161 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
164 (ReadLine): fixed the case when the string ends with a '\n'.
166 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
168 * MemoryStream.cs: create the buffer of the specified capacity.
170 2003-01-31 Patrik Torstensson
172 * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
173 the same way as MS does it (performance improvement)
175 2003-01-29 Zoltan Varga <vargaz@freemail.hu>
177 * Directory.cs (GetFileSystemEntries): moved error handling to the
178 correct instance of GetFileSystemEntries so all callers can enjoy it.
180 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
182 * File.cs: add error handling to Get...Time methods.
184 2003-01-26 Zoltan Varga <vargaz@freemail.hu>
186 * Directory.cs: fix GetParent so it actually works.
188 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190 * Path.cs: fixlet to ChangeExtension for the case when the path is
193 2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195 * BufferedStream.cs: don't try to write a 0 sized array on when
200 2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
202 * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
204 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206 * MemoryStream.cs: fixed bug #36319.
208 2002-12-16 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
210 * Directory.cs: Some fixes to SMB shares handling, and not compiling
211 with csc, mcs compiles it correctly (mcs bug 35652)
213 2002-12-14 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
215 * Directory.cs: Some fixes related to correct some exceptions thrown
217 2002-12-11 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
219 * Directory.cs: Some Exceptions added, fixed GetParent(),
220 CreateDirectory() should work with unix, native windows and
221 windows samba shares. Converted end-lines from dos-mode to unix-mode
223 2002-12-08 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
225 * Directory.cs: CreateDirectory works now with Absolute paths
226 too, not only with relative ones.
228 2002-12-07 Peter Williams <peterw@ximian.com>
230 * Directory.cs: Don't use the uninitialized pathsumm here.
231 Don't try and create "" if we're using an absolute path.
233 2002-12-07 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
235 * Directory.cs: Now the creation of a new directory works recursively
236 it will make parents as needed.
238 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
240 * BufferedStream.cs: applied patch from <carlosga@telefonica.net> that
243 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <lupus@ximian.com>
245 * StreamWriter.cs: output the encoding preamble at the start of a
248 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
252 2002-11-06 Miguel de Icaza <miguel@ximian.com>
254 * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
256 2002-10-31 Dick Porter <dick@ximian.com>
258 * FileStream.cs: Fix buffering properly this time. Also kludge
259 around broken pipe errors, treating them as EOF instead of
260 throwing an IO exception.
262 * MonoIO.cs: Return the error status in a parameter, as the
263 GetLastError() value has long since been blown away if we try and
264 look it up in a subsequent internal call invocation.
269 * Directory.cs: MonoIO methods now have an error parameter
271 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * TextReader.cs: implemented ReadBlock ().
275 2002-10-30 Miguel de Icaza <miguel@ximian.com>
277 * StreamWriter.cs: Ditto for Null stream.
279 * BinaryReader.cs: Use Unmarked here too.
281 * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
284 2002-10-23 Dick Porter <dick@ximian.com>
286 * FileStream.cs: Implemented CanSeek, and used it around all the
287 calls to MonoIO.Seek. Fixed buffering in Read() so that it
288 doesn't block forever on short reads.
290 * MonoFileType.cs: New enum for GetFileType
292 * MonoIO.cs: Added GetFileType
294 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
296 * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
297 \n (this is what MS does).
299 2002-10-18 Dick Porter <dick@ximian.com>
301 * FileStream.cs: SeekOrigin.End still calculates the offset from
302 the end of the file with positive values extending the length.
305 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
307 * Path.cs: some cleanup. Thanks to Martin Aliger.
309 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
311 * FileStream.cs: throw an exception if trying to open a directory.
312 Thanks to Martin Aliger.
314 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
316 * Path.cs: fixes bug #28046.
318 2002-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
320 * StreamReader.cs: give more information when wrong parameters passed.
322 2002-09-21 Miguel de Icaza <miguel@ximian.com>
324 * FileStream.cs: Do not call FSync on the file.
326 2002-09-16 Miguel de Icaza <miguel@ximian.com>
328 * TextWriter.cs (Null): The Null field should be an instance of a
329 TextWriter class that does nothing, so it is an instance of the
330 NullTextWriter class.
332 2002-09-16 Nick Drochak <ndrochak@gol.com>
334 * MemoryStream.cs (Close): Don't throw an exception if the stream
337 2002-09-15 Miguel de Icaza <miguel@ximian.com>
339 * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
342 The API docs show no explicit mention that Flush() should even do
343 an fsync, I am thinking that we should drop that from the
346 2002-09-09 Miguel de Icaza <miguel@ximian.com>
348 * StreamWriter.cs: When no encoding is provided, create an
349 encoding without markers, this is what MS does.
351 2002-09-06 Miguel de Icaza <miguel@ximian.com>
353 * StreamReader.cs: Implement detection of byte marks and skipping
354 of byte marks at the beginning of the stream.
356 (ReadToEnd): Use buffered read instead of char-by-char
359 Correct the default arguments for creating the StreamReader.
361 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
363 * CheckArgument.cs: fixed check for empty string.
364 * Path.cs: various fixes. It passes all the tests in new PathTest.
366 2002-08-29 Duncan Mak <duncan@ximian.com>
368 * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
371 2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
380 * TextWriter.cs: IDisposable fixes.
382 2002-08-24 Miguel de Icaza <miguel@ximian.com>
384 * StreamReader.cs: Removed TODOs, as the code seems to be
387 * Path.cs (GetTempFileName): Make this routine atomic by not
388 testing and then creating, but using the create call to ensure
389 that we own the filename.
391 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
393 * FileLoadException.cs: implemented ToString.
395 * StreamWriter.cs: added Null field and implemented Write (char) and
398 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
400 * StreamReader.cs: implemented NullStreamReader.
402 2002-08-21 Miguel de Icaza <miguel@ximian.com>
404 * Path.cs (GetDirectoryName): Fix for filenames with size = 1
406 * File.cs: Removed all references that threw exceptions when the
407 paths contains a colon, as this is a valid part of an identifier
410 Everywhere: The String.Empty return from GetDirectoryName means
411 that there is no directory information about the path.
413 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
415 * FileNotFoundException.cs: use Message and InnerException from base
416 class. Changed Message and ToString ().
418 2002-08-19 Dick Porter <dick@ximian.com>
420 * BinaryWriter.cs: The length of a string is counted in bytes, not
423 2002-08-18 Dick Porter <dick@ximian.com>
425 * BinaryReader.cs: Fixed buffering
427 2002-08-09 Nick Drochak <ndrochak@gol.com>
429 * BinaryReader.cs: added virtual to Dispose(bool).
431 2002-08-03 Jason Diamond <jason@injektilo.org>
433 * StringWriter.cs: Return UnicodeEncoding for Encoding property.
435 2002-08-03 Jason Diamond <jason@injektilo.org>
437 * StreamWriter.cs: Use GetByteCount() to get exact length instead
438 of GetMaxByteCount when converting chars to bytes.
440 2002-07-31 Duncan Mak <duncan@ximian.com>
443 (Dispose): Added and implmented.
446 (Dispose): Fixed visibility.
447 (Initialize): Fixed visibility, made internal.
450 (Dispose): Fixed visibility.
452 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
455 (Create): allow file names without path.
457 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
459 * FileStream.cs: patch from erik@bagfors.nu to add
460 Name property support.
462 2002-07-20 Dick Porter <dick@ximian.com>
464 * MonoIO.cs: Added icall to CreatePipe
466 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
468 * FileInfo.cs: fixes buglet #27940
470 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472 * Path.cs: removed unneeded line from GetExtension.
474 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477 (.ctor): call MonoIO.GetException with the file name.
479 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
481 * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
483 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
485 * StreamReader.cs: Revert the last Peek change and fix the ReadLine
486 end of line detection code instead.
488 2002-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491 (Peek): no need to have seek capabilitites.
493 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
495 * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
497 * File.cs (Delete): only call Directory.Exists() if DirName != ""
499 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
501 * Directory.cs: fixed bug #26133 and also test if the directory exist
502 before performing the search.
504 2002-06-12 Nick Drochak <ndrochak@gol.com>
506 * StringReader.cs (ReadLine): Return null when we get to end of the
509 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
511 * StreamWriter.cs: added ability to write null value
513 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
515 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
516 prevent endless loops.
518 2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
520 * FileStream.cs: Enforce lower bound on buffer size.
522 2002-05-16 Piers Haken <piersh@friskit.com>
524 * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
526 2002-05-17 Nick Drochak <ndrochak@gol.com>
528 * StreamWriter.cs: Implement buffering. Also implemented dispose
529 pattern as recommended by the MS docs. Must call Close() now
530 to ensure the buffer is flushed.
532 2002-05-15 Nick Drochak <ndrochak@gol.com>
534 * Path.cs (GetDirectoryName): Return String.Empty if there is no
537 * StreamReader.cs: Add some parameter checking on file names.
539 * StreamWriter.cs: Add some parameter checking on file names.
541 2002-05-14 Nick Drochak <ndrochak@gol.com>
543 * File.cs: Add parameter checks to most methods. Not completely done,
544 but all current unit tests pass.
546 * Path.cs: Implement GetTempFileName().
548 2002-05-10 Nick Drochak <ndrochak@gol.com>
550 * StreamWriter.cs (Flush): Throw proper exception if internal stream
551 has already been closed when we try to flush.
553 2002/05/10 Nick Drochak <ndrochak@gol.com>
555 * FileNotFoundException.cs (ToString): Don't try to use the inner
556 exception, because it might be null. Use the message instead.
558 2002-05-09 Nick Drochak <ndrochak@gol.com>
560 * File.cs (Delete): Do not throw an exception if the file does not
563 2002-05-08 Mike Gray <mikeg@mikegray.org>
565 * File.cs: According to ECMA spec and MS docs Copy(src, dest)
566 should not overwrite dest by default.
568 2002-05-08 Nick Drochak <ndrochak@gol.com>
570 * StreamWriter.cs: Add paramter check to constructors and throw
571 exceptions where appropriate.
573 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
575 * StreamReader.cs: return the number of chars read even if we diddn't
576 fill the whole buffer (makes Sergey's ilasm work with mono).
578 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
580 * FileInfo.cs (Create): Implement missing method.
582 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
584 * File.cs: Implemented CreateText method, and fixed dst compares
585 to compare against "" instead of null twice.
587 2002-05-05 Nick Drochak <ndrochak@gol.com>
589 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
590 use new internal class since null cannot be passed to constructor
591 anymore. Also, fix a coule of small bugs.
593 2002-05-03 Nick Drochak <ndrochak@gol.com>
595 * MemoryStream.cs: Refrain from allocating array until the space is
596 really needed. This fixes a bug in the Length property when the
597 constructor without the byte array is used.
599 2002-05-01 Duncan Mak <duncan@ximian.com>
601 * DirectoryNotFoundException.cs (constructor): Added missing
602 serialization constructor.
604 2002-04-30 Duncan Mak <duncan@ximian.com>
606 * FileLoadException.cs (constructors): Added missing (string,
607 string) ctor, as well as (string, string, Exception) ctor.
609 (Message): Added more info to the error message
611 (ToString): Added. We'll need to add the StackTrace stuff when
614 * FileShare.cs: Add a missing field, Inheritable.
616 * TextReader.cs: Renamed Synchronised method to Synchronized.
618 * TextWriter.cs: Renamed Synchronised method to Synchronized.
619 Renamed protected member coreNewLine to CoreNewLine.
621 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
623 * BinaryReader.cs: Allocate buffer before its first use.
624 Handle end of stream properly. Methods to read native types
625 (ReadInt* etc.) are little-endian (see Compact Framework docs).
627 * BinaryWriter.cs: Store data in little-endian format.
628 Use internal buffer for conversions.
630 2002-03-31 Dick Porter <dick@ximian.com>
632 * Directory.cs: Strip out "." and ".." from returned list
634 * FileAttributes.cs: Get the right enum values
636 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
638 * TextWriter.cs (write): added check for null
640 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
642 * Directory.cs: Throws DirectoryNotFoundException.
643 * MonoIO.cs: Fixed to work around enum problem.
645 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
647 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
649 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
651 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
652 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
653 wrapper and PAL classes.
655 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
657 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
659 * MemoryStream.cs (Read): Fixed bug in exception throw.
661 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
663 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
665 2002-03-23 Martin Baulig <martin@gnome.org>
667 * StreamReader.cs: Always do buffered reading, use 4k blocks.
668 (Read (char[], int, int)): Implemented.
669 (DiscardBufferedData): Implemented.
671 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
673 * StreamReader.cs : Fill out, add buffering, and use encoding.
675 2002-03-19 Martin Baulig <martin@gnome.org>
677 * StreamWriter.cs (StreamWriter (string)): The default is to override
678 the file, not to append to it.
679 (StreamWriter (string path, bool append)): When appending, seek to the
680 end of the file, otherwise truncate the file to zero length.
681 (Dispose (bool)): Close the internalStream.
682 (Flush): Flush the interalStream.
683 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
685 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
687 * FileStream.cs: Flush buffer before FileSetLength.
689 2002-02-28 Miguel de Icaza <miguel@ximian.com>
691 * Stream.cs (NullStream): Do not track position, this beast does
694 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
696 * SearchPattern.cs: New class. Glob matching code for Directory.
697 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
699 2002/03/15 Nick Drochak <ndrochak@gol.com>
701 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
702 This code seemed to be copied from somewhere, and it was close,
703 but didn't match the docs. This was the last bit needed to get
704 NAnt to compile with our class libs.
706 2002-03-12 Duncan Mak <duncan@ximian.com>
708 * EndOfStreamException.cs:
709 * FileLoadException.cs:
710 * FileNotFoundException.cs:
711 * PathTooLongException.cs: Changed the base classes to IOException
712 instead of SystemException.
714 * IOException.cs: Added missing constructors.
716 2002-03-07 Nick Drochak <ndrochak@gol.com>
718 * FileMode.cs: Docs don't say this should be explicitly derived from
719 int, so just make it a normal Enum.
721 2002-03-02 Jason Diamond <jason@injektilo.org>
723 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
725 2002-02-12 Nick Drochak <ndrochak@gol.com>
727 * PathTooLongException.cs: put it in the correct namespace
728 * EndOfStreamException.cs: put it in the correct namespace
730 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
732 * Directory.cs: handle opendir() return NULL and absolute filenames.
734 2002-01-31 Duncan Mak <duncan@ximian.com>
736 * FileLoadException.cs:
737 * FileNotFoundException: Added missing bits for serialization.
739 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
741 * Directory.cs: allow directories in GetFiles() mask.
743 2002-01-23 Miguel de Icaza <miguel@ximian.com>
745 * FileInfo.c (CopyTo, MoveTo): Implement.
747 * FileStream.cs: Add argument checking to the constructor.
749 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
750 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
752 * Directory.cs (Delete): reimplement without using DirectoryInfo.
753 (Delete): Implement the recursive version.
754 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
756 (getNames): dead code removal.
758 * Path.cs: define an internal DirectorySeparatorStr that we use in
761 * Wrapper.cs: Updated to new version.
763 * DirectoryInfo (Delete): Implement using the Directory API.
765 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
766 Delete, Create, Parent, Exists, MoveTo): Implement.
768 * Directory.cs (GetListing): implement new utility function.
769 (GetDirectories): Implement.
770 (GetFileSystemEntries): Implement.
771 (GetFiles): Implement.
773 * CheckArgument.cs (Path): Do not allow null by default.
775 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
777 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
780 2002-01-20 Nick Drochak <ndrochak@gol.com>
782 * SeekOrigin.cs: Added Serializable attribute.
784 2002-01-19 Duncan Mak <duncan@ximian.com>
786 * PathTooLongException.cs:
787 * EndOfStreamException.cs: Added to CVS.
789 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
791 * BufferedStream.cs: Initial implemenation. The synchronous
792 methods for both reading and writing are implemented. I'll do the
793 asynchronous methods in a bit.
795 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
797 * BinaryWriter.cs: Initial implementation. And it's all there.
799 * BinaryReader.cs: The constructor now uses the passed in encoding,
802 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
804 * BinaryReader.cs: Initial implementation. I think it's complete.
806 2002-01-04 Ravi Pratap <ravi@ximian.com>
808 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
809 attribute decorations.
811 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
812 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
814 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
817 2001-12-11 Dick Porter <dick@ximian.com>
819 * FileStream.cs: Use handles rather than casting file descriptors.
820 Added Handle property.
822 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
824 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
825 * FileStream.cs: only trow an exception if the read failed in ReadByte().
826 * StreamReader.cs: implement Peek and Read.
827 * TextWriter.cs: CLSCompliant updates.
829 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
831 * FileNotFoundException.cs: Added some constructors
833 * Path.cs (GetFullPath): Fixed implementation
835 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
837 * DirectoryNotFoundException.cs: implemented.
839 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
841 * File.cs: fix signatures of the Open() and OpenRead() functions
844 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
846 * FileLoadException.cs, FileNotFoundException.cs: added.
848 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
850 * TextReader.cs: implemented the Read method
852 * StreamReader.cs: impl. stubs
854 * StreamWriter.cs: impl.
856 * TextWriter.cs: implemented Write and WriteLine methods
858 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
860 * FileAccess.cs, FileMode.cs: change values to be compatible with
863 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
865 * IOException.cs: Implemented System.IO.Exception.
867 2001-07-18 Michael Lambert <michaellambert@email.com>
869 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
871 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
873 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
874 "LAMESPEC", but the tests work against the MS implementation so
875 the major functions are right (ie. Read/Write/Seek). Some more
876 tests required for the various constructors and exceptions.
878 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
880 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
881 New class implemenations.
883 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.