1 2003-04-20 Igor Nosyryev <nosyryev@attbi.com>
3 * StringReader.cs (Read): Increment nextChar by charsToRead
4 instead of count, that will guarantee that the next time the
5 method is called, it will return 0 on an empty string rather than
8 2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
10 * BufferedStream.cs: Some fixes, mostly throwing exceptions.
11 * MemoryStream.cs: Changed the order of exception checking
12 * StringReader.cs: little clean up
14 2003-04-14 Ville Palo <vi64pa@kolumbus.fi>
16 * BinaryWriter.cs: Fixed decimal writing and lots of
17 ObjectDisposedExceptions added.
19 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
21 * BinaryReader.cs: Fix to ReadDecimal() method.
23 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
25 * StringReader.cs: Added some ObjectDisposedExceptions.
26 * StringWriter.cs: Added some ObjectDisposedExceptions.
27 * BinaryReader.cs: Added some ObjectDisposedExceptions.
29 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
31 * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
34 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36 * FileStream.cs: fixed bug #40182 and made more unit test pass.
38 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
40 * FileStream.cs: Added new methods Lock () and Unlock ()
42 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
44 * StringReader.cs: Throws exceptions if constructor parameter is null.
46 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
48 * StringWriter.cs: Now throws an exception if StringBuilder parameter
51 2003-04-05 Miguel de Icaza <miguel@ximian.com>
53 * TextWriter.cs: Implemented Synchronized method.
55 * TextReader.cs: Implemented Synchronized method.
57 2003-04-04 Miguel de Icaza <miguel@ximian.com>
59 * FileStream.cs (Read, ReadByte, Seek): throw
60 ObjectDisposedException if the handle has been released.
62 (Read): Throw exceptions specified in the spec.
64 (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
65 instance methods of FileStream to be thread safe, so remove all
66 the calls to lock on the object
68 2003-03-31 Nick Drochak <ndrochak@gol.com>
70 * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
72 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
74 * FileNotFoundException.cs: fixed serialization bug.
76 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
78 * StringWriter.cs : don't release internalString on Dispose().
80 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
82 * StreamReader.cs: fixed bug #39280.
84 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
86 * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
89 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
91 * MemoryStream.cs: general fixes and reformatted. Passes all tests in
92 the new MemoryStreamTest.
94 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96 * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
97 ToArray even after closing the stream.
99 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102 (Move): don't use File.Move.
103 * DirectoryInfo.cs: fixed Name property.
107 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
109 * DirectoryInfo.cs: changed ToString to match MS behavior.
110 * Path.cs: further fixes to GetDirectoryName to return null in the
111 same cases that MS does.
115 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117 * Path.cs: fixed a couple of bugs reported in #35906.
119 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
121 * Directory.cs: fixed bugs #38939 and #38940. No need for separate
122 unix/windows/unc shares code paths.
124 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
126 * File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
127 SetCreationTime, SetLastAccessTime and SetLastWriteTime.
129 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132 (ToArray): return only the portion of the buffer that contains
133 data, not the whole buffer. (note: this makes XmlDocument.Load work
134 again with documents that have a <?xml without the 'encoding'
135 attribute, which makes gtk-sharp generator work again).
137 2003-02-25 Nick Drochak <ndrochak@gol.com>
139 * File.cs (GetCreationTime): Throw proper execption when path is not
142 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
144 * MemoryStream.cs: make it behave sanely when the stream is
145 incrementally expanded.
147 2003-02-21 Dick Porter <dick@ximian.com>
149 * FileStream.cs: Use locks around buffer manipulations. Fixes bug
152 2003-02-18 Dick Porter <dick@ximian.com>
154 * FileStream.cs: Make FileMode.Append work, and check for Seeking
155 back over old data (undocumented ms behaviour, throws an exception
156 if you try). Fixes bug 35975.
158 2003-02-17 Dick Porter <dick@ximian.com>
160 * FileStream.cs: Don't close the handle if the stream doesn't own
161 it. Patch from Raymond Penners (raymond@dotsphinx.com), bug
164 2003-02-14 Zoltan Varga <vargaz@freemail.hu>
166 * FileStream.cs (Write): flush after writing the last segment as well.
168 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
171 (ReadLine): fixed the case when the string ends with a '\n'.
173 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
175 * MemoryStream.cs: create the buffer of the specified capacity.
177 2003-01-31 Patrik Torstensson
179 * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
180 the same way as MS does it (performance improvement)
182 2003-01-29 Zoltan Varga <vargaz@freemail.hu>
184 * Directory.cs (GetFileSystemEntries): moved error handling to the
185 correct instance of GetFileSystemEntries so all callers can enjoy it.
187 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
189 * File.cs: add error handling to Get...Time methods.
191 2003-01-26 Zoltan Varga <vargaz@freemail.hu>
193 * Directory.cs: fix GetParent so it actually works.
195 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
197 * Path.cs: fixlet to ChangeExtension for the case when the path is
200 2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
202 * BufferedStream.cs: don't try to write a 0 sized array on when
207 2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
209 * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
211 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * MemoryStream.cs: fixed bug #36319.
215 2002-12-16 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
217 * Directory.cs: Some fixes to SMB shares handling, and not compiling
218 with csc, mcs compiles it correctly (mcs bug 35652)
220 2002-12-14 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
222 * Directory.cs: Some fixes related to correct some exceptions thrown
224 2002-12-11 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
226 * Directory.cs: Some Exceptions added, fixed GetParent(),
227 CreateDirectory() should work with unix, native windows and
228 windows samba shares. Converted end-lines from dos-mode to unix-mode
230 2002-12-08 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
232 * Directory.cs: CreateDirectory works now with Absolute paths
233 too, not only with relative ones.
235 2002-12-07 Peter Williams <peterw@ximian.com>
237 * Directory.cs: Don't use the uninitialized pathsumm here.
238 Don't try and create "" if we're using an absolute path.
240 2002-12-07 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
242 * Directory.cs: Now the creation of a new directory works recursively
243 it will make parents as needed.
245 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
247 * BufferedStream.cs: applied patch from <carlosga@telefonica.net> that
250 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <lupus@ximian.com>
252 * StreamWriter.cs: output the encoding preamble at the start of a
255 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257 * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
259 2002-11-06 Miguel de Icaza <miguel@ximian.com>
261 * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
263 2002-10-31 Dick Porter <dick@ximian.com>
265 * FileStream.cs: Fix buffering properly this time. Also kludge
266 around broken pipe errors, treating them as EOF instead of
267 throwing an IO exception.
269 * MonoIO.cs: Return the error status in a parameter, as the
270 GetLastError() value has long since been blown away if we try and
271 look it up in a subsequent internal call invocation.
276 * Directory.cs: MonoIO methods now have an error parameter
278 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * TextReader.cs: implemented ReadBlock ().
282 2002-10-30 Miguel de Icaza <miguel@ximian.com>
284 * StreamWriter.cs: Ditto for Null stream.
286 * BinaryReader.cs: Use Unmarked here too.
288 * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
291 2002-10-23 Dick Porter <dick@ximian.com>
293 * FileStream.cs: Implemented CanSeek, and used it around all the
294 calls to MonoIO.Seek. Fixed buffering in Read() so that it
295 doesn't block forever on short reads.
297 * MonoFileType.cs: New enum for GetFileType
299 * MonoIO.cs: Added GetFileType
301 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
303 * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
304 \n (this is what MS does).
306 2002-10-18 Dick Porter <dick@ximian.com>
308 * FileStream.cs: SeekOrigin.End still calculates the offset from
309 the end of the file with positive values extending the length.
312 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
314 * Path.cs: some cleanup. Thanks to Martin Aliger.
316 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318 * FileStream.cs: throw an exception if trying to open a directory.
319 Thanks to Martin Aliger.
321 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
323 * Path.cs: fixes bug #28046.
325 2002-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
327 * StreamReader.cs: give more information when wrong parameters passed.
329 2002-09-21 Miguel de Icaza <miguel@ximian.com>
331 * FileStream.cs: Do not call FSync on the file.
333 2002-09-16 Miguel de Icaza <miguel@ximian.com>
335 * TextWriter.cs (Null): The Null field should be an instance of a
336 TextWriter class that does nothing, so it is an instance of the
337 NullTextWriter class.
339 2002-09-16 Nick Drochak <ndrochak@gol.com>
341 * MemoryStream.cs (Close): Don't throw an exception if the stream
344 2002-09-15 Miguel de Icaza <miguel@ximian.com>
346 * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
349 The API docs show no explicit mention that Flush() should even do
350 an fsync, I am thinking that we should drop that from the
353 2002-09-09 Miguel de Icaza <miguel@ximian.com>
355 * StreamWriter.cs: When no encoding is provided, create an
356 encoding without markers, this is what MS does.
358 2002-09-06 Miguel de Icaza <miguel@ximian.com>
360 * StreamReader.cs: Implement detection of byte marks and skipping
361 of byte marks at the beginning of the stream.
363 (ReadToEnd): Use buffered read instead of char-by-char
366 Correct the default arguments for creating the StreamReader.
368 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
370 * CheckArgument.cs: fixed check for empty string.
371 * Path.cs: various fixes. It passes all the tests in new PathTest.
373 2002-08-29 Duncan Mak <duncan@ximian.com>
375 * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
378 2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
387 * TextWriter.cs: IDisposable fixes.
389 2002-08-24 Miguel de Icaza <miguel@ximian.com>
391 * StreamReader.cs: Removed TODOs, as the code seems to be
394 * Path.cs (GetTempFileName): Make this routine atomic by not
395 testing and then creating, but using the create call to ensure
396 that we own the filename.
398 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
400 * FileLoadException.cs: implemented ToString.
402 * StreamWriter.cs: added Null field and implemented Write (char) and
405 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
407 * StreamReader.cs: implemented NullStreamReader.
409 2002-08-21 Miguel de Icaza <miguel@ximian.com>
411 * Path.cs (GetDirectoryName): Fix for filenames with size = 1
413 * File.cs: Removed all references that threw exceptions when the
414 paths contains a colon, as this is a valid part of an identifier
417 Everywhere: The String.Empty return from GetDirectoryName means
418 that there is no directory information about the path.
420 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
422 * FileNotFoundException.cs: use Message and InnerException from base
423 class. Changed Message and ToString ().
425 2002-08-19 Dick Porter <dick@ximian.com>
427 * BinaryWriter.cs: The length of a string is counted in bytes, not
430 2002-08-18 Dick Porter <dick@ximian.com>
432 * BinaryReader.cs: Fixed buffering
434 2002-08-09 Nick Drochak <ndrochak@gol.com>
436 * BinaryReader.cs: added virtual to Dispose(bool).
438 2002-08-03 Jason Diamond <jason@injektilo.org>
440 * StringWriter.cs: Return UnicodeEncoding for Encoding property.
442 2002-08-03 Jason Diamond <jason@injektilo.org>
444 * StreamWriter.cs: Use GetByteCount() to get exact length instead
445 of GetMaxByteCount when converting chars to bytes.
447 2002-07-31 Duncan Mak <duncan@ximian.com>
450 (Dispose): Added and implmented.
453 (Dispose): Fixed visibility.
454 (Initialize): Fixed visibility, made internal.
457 (Dispose): Fixed visibility.
459 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
462 (Create): allow file names without path.
464 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
466 * FileStream.cs: patch from erik@bagfors.nu to add
467 Name property support.
469 2002-07-20 Dick Porter <dick@ximian.com>
471 * MonoIO.cs: Added icall to CreatePipe
473 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
475 * FileInfo.cs: fixes buglet #27940
477 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
479 * Path.cs: removed unneeded line from GetExtension.
481 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
484 (.ctor): call MonoIO.GetException with the file name.
486 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
488 * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
490 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
492 * StreamReader.cs: Revert the last Peek change and fix the ReadLine
493 end of line detection code instead.
495 2002-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
498 (Peek): no need to have seek capabilitites.
500 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
502 * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
504 * File.cs (Delete): only call Directory.Exists() if DirName != ""
506 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
508 * Directory.cs: fixed bug #26133 and also test if the directory exist
509 before performing the search.
511 2002-06-12 Nick Drochak <ndrochak@gol.com>
513 * StringReader.cs (ReadLine): Return null when we get to end of the
516 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
518 * StreamWriter.cs: added ability to write null value
520 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
522 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
523 prevent endless loops.
525 2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
527 * FileStream.cs: Enforce lower bound on buffer size.
529 2002-05-16 Piers Haken <piersh@friskit.com>
531 * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
533 2002-05-17 Nick Drochak <ndrochak@gol.com>
535 * StreamWriter.cs: Implement buffering. Also implemented dispose
536 pattern as recommended by the MS docs. Must call Close() now
537 to ensure the buffer is flushed.
539 2002-05-15 Nick Drochak <ndrochak@gol.com>
541 * Path.cs (GetDirectoryName): Return String.Empty if there is no
544 * StreamReader.cs: Add some parameter checking on file names.
546 * StreamWriter.cs: Add some parameter checking on file names.
548 2002-05-14 Nick Drochak <ndrochak@gol.com>
550 * File.cs: Add parameter checks to most methods. Not completely done,
551 but all current unit tests pass.
553 * Path.cs: Implement GetTempFileName().
555 2002-05-10 Nick Drochak <ndrochak@gol.com>
557 * StreamWriter.cs (Flush): Throw proper exception if internal stream
558 has already been closed when we try to flush.
560 2002/05/10 Nick Drochak <ndrochak@gol.com>
562 * FileNotFoundException.cs (ToString): Don't try to use the inner
563 exception, because it might be null. Use the message instead.
565 2002-05-09 Nick Drochak <ndrochak@gol.com>
567 * File.cs (Delete): Do not throw an exception if the file does not
570 2002-05-08 Mike Gray <mikeg@mikegray.org>
572 * File.cs: According to ECMA spec and MS docs Copy(src, dest)
573 should not overwrite dest by default.
575 2002-05-08 Nick Drochak <ndrochak@gol.com>
577 * StreamWriter.cs: Add paramter check to constructors and throw
578 exceptions where appropriate.
580 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
582 * StreamReader.cs: return the number of chars read even if we diddn't
583 fill the whole buffer (makes Sergey's ilasm work with mono).
585 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
587 * FileInfo.cs (Create): Implement missing method.
589 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
591 * File.cs: Implemented CreateText method, and fixed dst compares
592 to compare against "" instead of null twice.
594 2002-05-05 Nick Drochak <ndrochak@gol.com>
596 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
597 use new internal class since null cannot be passed to constructor
598 anymore. Also, fix a coule of small bugs.
600 2002-05-03 Nick Drochak <ndrochak@gol.com>
602 * MemoryStream.cs: Refrain from allocating array until the space is
603 really needed. This fixes a bug in the Length property when the
604 constructor without the byte array is used.
606 2002-05-01 Duncan Mak <duncan@ximian.com>
608 * DirectoryNotFoundException.cs (constructor): Added missing
609 serialization constructor.
611 2002-04-30 Duncan Mak <duncan@ximian.com>
613 * FileLoadException.cs (constructors): Added missing (string,
614 string) ctor, as well as (string, string, Exception) ctor.
616 (Message): Added more info to the error message
618 (ToString): Added. We'll need to add the StackTrace stuff when
621 * FileShare.cs: Add a missing field, Inheritable.
623 * TextReader.cs: Renamed Synchronised method to Synchronized.
625 * TextWriter.cs: Renamed Synchronised method to Synchronized.
626 Renamed protected member coreNewLine to CoreNewLine.
628 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
630 * BinaryReader.cs: Allocate buffer before its first use.
631 Handle end of stream properly. Methods to read native types
632 (ReadInt* etc.) are little-endian (see Compact Framework docs).
634 * BinaryWriter.cs: Store data in little-endian format.
635 Use internal buffer for conversions.
637 2002-03-31 Dick Porter <dick@ximian.com>
639 * Directory.cs: Strip out "." and ".." from returned list
641 * FileAttributes.cs: Get the right enum values
643 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
645 * TextWriter.cs (write): added check for null
647 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
649 * Directory.cs: Throws DirectoryNotFoundException.
650 * MonoIO.cs: Fixed to work around enum problem.
652 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
654 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
656 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
658 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
659 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
660 wrapper and PAL classes.
662 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
664 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
666 * MemoryStream.cs (Read): Fixed bug in exception throw.
668 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
670 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
672 2002-03-23 Martin Baulig <martin@gnome.org>
674 * StreamReader.cs: Always do buffered reading, use 4k blocks.
675 (Read (char[], int, int)): Implemented.
676 (DiscardBufferedData): Implemented.
678 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
680 * StreamReader.cs : Fill out, add buffering, and use encoding.
682 2002-03-19 Martin Baulig <martin@gnome.org>
684 * StreamWriter.cs (StreamWriter (string)): The default is to override
685 the file, not to append to it.
686 (StreamWriter (string path, bool append)): When appending, seek to the
687 end of the file, otherwise truncate the file to zero length.
688 (Dispose (bool)): Close the internalStream.
689 (Flush): Flush the interalStream.
690 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
692 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
694 * FileStream.cs: Flush buffer before FileSetLength.
696 2002-02-28 Miguel de Icaza <miguel@ximian.com>
698 * Stream.cs (NullStream): Do not track position, this beast does
701 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
703 * SearchPattern.cs: New class. Glob matching code for Directory.
704 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
706 2002/03/15 Nick Drochak <ndrochak@gol.com>
708 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
709 This code seemed to be copied from somewhere, and it was close,
710 but didn't match the docs. This was the last bit needed to get
711 NAnt to compile with our class libs.
713 2002-03-12 Duncan Mak <duncan@ximian.com>
715 * EndOfStreamException.cs:
716 * FileLoadException.cs:
717 * FileNotFoundException.cs:
718 * PathTooLongException.cs: Changed the base classes to IOException
719 instead of SystemException.
721 * IOException.cs: Added missing constructors.
723 2002-03-07 Nick Drochak <ndrochak@gol.com>
725 * FileMode.cs: Docs don't say this should be explicitly derived from
726 int, so just make it a normal Enum.
728 2002-03-02 Jason Diamond <jason@injektilo.org>
730 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
732 2002-02-12 Nick Drochak <ndrochak@gol.com>
734 * PathTooLongException.cs: put it in the correct namespace
735 * EndOfStreamException.cs: put it in the correct namespace
737 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
739 * Directory.cs: handle opendir() return NULL and absolute filenames.
741 2002-01-31 Duncan Mak <duncan@ximian.com>
743 * FileLoadException.cs:
744 * FileNotFoundException: Added missing bits for serialization.
746 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
748 * Directory.cs: allow directories in GetFiles() mask.
750 2002-01-23 Miguel de Icaza <miguel@ximian.com>
752 * FileInfo.c (CopyTo, MoveTo): Implement.
754 * FileStream.cs: Add argument checking to the constructor.
756 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
757 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
759 * Directory.cs (Delete): reimplement without using DirectoryInfo.
760 (Delete): Implement the recursive version.
761 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
763 (getNames): dead code removal.
765 * Path.cs: define an internal DirectorySeparatorStr that we use in
768 * Wrapper.cs: Updated to new version.
770 * DirectoryInfo (Delete): Implement using the Directory API.
772 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
773 Delete, Create, Parent, Exists, MoveTo): Implement.
775 * Directory.cs (GetListing): implement new utility function.
776 (GetDirectories): Implement.
777 (GetFileSystemEntries): Implement.
778 (GetFiles): Implement.
780 * CheckArgument.cs (Path): Do not allow null by default.
782 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
784 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
787 2002-01-20 Nick Drochak <ndrochak@gol.com>
789 * SeekOrigin.cs: Added Serializable attribute.
791 2002-01-19 Duncan Mak <duncan@ximian.com>
793 * PathTooLongException.cs:
794 * EndOfStreamException.cs: Added to CVS.
796 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
798 * BufferedStream.cs: Initial implemenation. The synchronous
799 methods for both reading and writing are implemented. I'll do the
800 asynchronous methods in a bit.
802 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
804 * BinaryWriter.cs: Initial implementation. And it's all there.
806 * BinaryReader.cs: The constructor now uses the passed in encoding,
809 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
811 * BinaryReader.cs: Initial implementation. I think it's complete.
813 2002-01-04 Ravi Pratap <ravi@ximian.com>
815 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
816 attribute decorations.
818 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
819 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
821 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
824 2001-12-11 Dick Porter <dick@ximian.com>
826 * FileStream.cs: Use handles rather than casting file descriptors.
827 Added Handle property.
829 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
831 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
832 * FileStream.cs: only trow an exception if the read failed in ReadByte().
833 * StreamReader.cs: implement Peek and Read.
834 * TextWriter.cs: CLSCompliant updates.
836 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
838 * FileNotFoundException.cs: Added some constructors
840 * Path.cs (GetFullPath): Fixed implementation
842 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
844 * DirectoryNotFoundException.cs: implemented.
846 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
848 * File.cs: fix signatures of the Open() and OpenRead() functions
851 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
853 * FileLoadException.cs, FileNotFoundException.cs: added.
855 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
857 * TextReader.cs: implemented the Read method
859 * StreamReader.cs: impl. stubs
861 * StreamWriter.cs: impl.
863 * TextWriter.cs: implemented Write and WriteLine methods
865 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
867 * FileAccess.cs, FileMode.cs: change values to be compatible with
870 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
872 * IOException.cs: Implemented System.IO.Exception.
874 2001-07-18 Michael Lambert <michaellambert@email.com>
876 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
878 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
880 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
881 "LAMESPEC", but the tests work against the MS implementation so
882 the major functions are right (ie. Read/Write/Seek). Some more
883 tests required for the various constructors and exceptions.
885 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
887 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
888 New class implemenations.
890 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.