1 2003-04-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
3 * BufferedStream.cs: Test if it's possible to seek in a Stream
4 before access to Position. This prevents the exception thrown when
5 the stream is System.Net.Sockets.NetworkStream.
7 2003-04-22 Ville Palo <vi64pa@kolumbus.fi>
9 * Directory.cs: clean up --> performance improvment. Some exceptions
10 are now checked in File.cs.
11 * File.cs: Implemented Get/SetXXXTimeUtc () methods. Some bugfixes.
13 2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
15 * Directory.cs: lots of fixes.
16 - Added GetXXXtimeUtc () (v1.1) methods.
17 - Added SetXXXtimeUtc () (v1.1) methods.
19 2003-04-20 Igor Nosyryev <nosyryev@attbi.com>
21 * StringReader.cs (Read): Increment nextChar by charsToRead
22 instead of count, that will guarantee that the next time the
23 method is called, it will return 0 on an empty string rather than
26 2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
28 * BufferedStream.cs: Some fixes, mostly throwing exceptions.
29 * MemoryStream.cs: Changed the order of exception checking
30 * StringReader.cs: little clean up
32 2003-04-14 Ville Palo <vi64pa@kolumbus.fi>
34 * BinaryWriter.cs: Fixed decimal writing and lots of
35 ObjectDisposedExceptions added.
37 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
39 * BinaryReader.cs: Fix to ReadDecimal() method.
41 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
43 * StringReader.cs: Added some ObjectDisposedExceptions.
44 * StringWriter.cs: Added some ObjectDisposedExceptions.
45 * BinaryReader.cs: Added some ObjectDisposedExceptions.
47 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
49 * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
52 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
54 * FileStream.cs: fixed bug #40182 and made more unit test pass.
56 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
58 * FileStream.cs: Added new methods Lock () and Unlock ()
60 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
62 * StringReader.cs: Throws exceptions if constructor parameter is null.
64 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
66 * StringWriter.cs: Now throws an exception if StringBuilder parameter
69 2003-04-05 Miguel de Icaza <miguel@ximian.com>
71 * TextWriter.cs: Implemented Synchronized method.
73 * TextReader.cs: Implemented Synchronized method.
75 2003-04-04 Miguel de Icaza <miguel@ximian.com>
77 * FileStream.cs (Read, ReadByte, Seek): throw
78 ObjectDisposedException if the handle has been released.
80 (Read): Throw exceptions specified in the spec.
82 (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
83 instance methods of FileStream to be thread safe, so remove all
84 the calls to lock on the object
86 2003-03-31 Nick Drochak <ndrochak@gol.com>
88 * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
90 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
92 * FileNotFoundException.cs: fixed serialization bug.
94 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
96 * StringWriter.cs : don't release internalString on Dispose().
98 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
100 * StreamReader.cs: fixed bug #39280.
102 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
104 * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
107 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
109 * MemoryStream.cs: general fixes and reformatted. Passes all tests in
110 the new MemoryStreamTest.
112 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
114 * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
115 ToArray even after closing the stream.
117 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
120 (Move): don't use File.Move.
121 * DirectoryInfo.cs: fixed Name property.
125 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
127 * DirectoryInfo.cs: changed ToString to match MS behavior.
128 * Path.cs: further fixes to GetDirectoryName to return null in the
129 same cases that MS does.
133 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
135 * Path.cs: fixed a couple of bugs reported in #35906.
137 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 * Directory.cs: fixed bugs #38939 and #38940. No need for separate
140 unix/windows/unc shares code paths.
142 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 * File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
145 SetCreationTime, SetLastAccessTime and SetLastWriteTime.
147 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150 (ToArray): return only the portion of the buffer that contains
151 data, not the whole buffer. (note: this makes XmlDocument.Load work
152 again with documents that have a <?xml without the 'encoding'
153 attribute, which makes gtk-sharp generator work again).
155 2003-02-25 Nick Drochak <ndrochak@gol.com>
157 * File.cs (GetCreationTime): Throw proper execption when path is not
160 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
162 * MemoryStream.cs: make it behave sanely when the stream is
163 incrementally expanded.
165 2003-02-21 Dick Porter <dick@ximian.com>
167 * FileStream.cs: Use locks around buffer manipulations. Fixes bug
170 2003-02-18 Dick Porter <dick@ximian.com>
172 * FileStream.cs: Make FileMode.Append work, and check for Seeking
173 back over old data (undocumented ms behaviour, throws an exception
174 if you try). Fixes bug 35975.
176 2003-02-17 Dick Porter <dick@ximian.com>
178 * FileStream.cs: Don't close the handle if the stream doesn't own
179 it. Patch from Raymond Penners (raymond@dotsphinx.com), bug
182 2003-02-14 Zoltan Varga <vargaz@freemail.hu>
184 * FileStream.cs (Write): flush after writing the last segment as well.
186 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
189 (ReadLine): fixed the case when the string ends with a '\n'.
191 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
193 * MemoryStream.cs: create the buffer of the specified capacity.
195 2003-01-31 Patrik Torstensson
197 * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
198 the same way as MS does it (performance improvement)
200 2003-01-29 Zoltan Varga <vargaz@freemail.hu>
202 * Directory.cs (GetFileSystemEntries): moved error handling to the
203 correct instance of GetFileSystemEntries so all callers can enjoy it.
205 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
207 * File.cs: add error handling to Get...Time methods.
209 2003-01-26 Zoltan Varga <vargaz@freemail.hu>
211 * Directory.cs: fix GetParent so it actually works.
213 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
215 * Path.cs: fixlet to ChangeExtension for the case when the path is
218 2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
220 * BufferedStream.cs: don't try to write a 0 sized array on when
225 2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
227 * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
229 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
231 * MemoryStream.cs: fixed bug #36319.
233 2002-12-16 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
235 * Directory.cs: Some fixes to SMB shares handling, and not compiling
236 with csc, mcs compiles it correctly (mcs bug 35652)
238 2002-12-14 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
240 * Directory.cs: Some fixes related to correct some exceptions thrown
242 2002-12-11 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
244 * Directory.cs: Some Exceptions added, fixed GetParent(),
245 CreateDirectory() should work with unix, native windows and
246 windows samba shares. Converted end-lines from dos-mode to unix-mode
248 2002-12-08 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
250 * Directory.cs: CreateDirectory works now with Absolute paths
251 too, not only with relative ones.
253 2002-12-07 Peter Williams <peterw@ximian.com>
255 * Directory.cs: Don't use the uninitialized pathsumm here.
256 Don't try and create "" if we're using an absolute path.
258 2002-12-07 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
260 * Directory.cs: Now the creation of a new directory works recursively
261 it will make parents as needed.
263 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
265 * BufferedStream.cs: applied patch from <carlosga@telefonica.net> that
268 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <lupus@ximian.com>
270 * StreamWriter.cs: output the encoding preamble at the start of a
273 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
275 * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
277 2002-11-06 Miguel de Icaza <miguel@ximian.com>
279 * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
281 2002-10-31 Dick Porter <dick@ximian.com>
283 * FileStream.cs: Fix buffering properly this time. Also kludge
284 around broken pipe errors, treating them as EOF instead of
285 throwing an IO exception.
287 * MonoIO.cs: Return the error status in a parameter, as the
288 GetLastError() value has long since been blown away if we try and
289 look it up in a subsequent internal call invocation.
294 * Directory.cs: MonoIO methods now have an error parameter
296 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * TextReader.cs: implemented ReadBlock ().
300 2002-10-30 Miguel de Icaza <miguel@ximian.com>
302 * StreamWriter.cs: Ditto for Null stream.
304 * BinaryReader.cs: Use Unmarked here too.
306 * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
309 2002-10-23 Dick Porter <dick@ximian.com>
311 * FileStream.cs: Implemented CanSeek, and used it around all the
312 calls to MonoIO.Seek. Fixed buffering in Read() so that it
313 doesn't block forever on short reads.
315 * MonoFileType.cs: New enum for GetFileType
317 * MonoIO.cs: Added GetFileType
319 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
322 \n (this is what MS does).
324 2002-10-18 Dick Porter <dick@ximian.com>
326 * FileStream.cs: SeekOrigin.End still calculates the offset from
327 the end of the file with positive values extending the length.
330 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * Path.cs: some cleanup. Thanks to Martin Aliger.
334 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336 * FileStream.cs: throw an exception if trying to open a directory.
337 Thanks to Martin Aliger.
339 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
341 * Path.cs: fixes bug #28046.
343 2002-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
345 * StreamReader.cs: give more information when wrong parameters passed.
347 2002-09-21 Miguel de Icaza <miguel@ximian.com>
349 * FileStream.cs: Do not call FSync on the file.
351 2002-09-16 Miguel de Icaza <miguel@ximian.com>
353 * TextWriter.cs (Null): The Null field should be an instance of a
354 TextWriter class that does nothing, so it is an instance of the
355 NullTextWriter class.
357 2002-09-16 Nick Drochak <ndrochak@gol.com>
359 * MemoryStream.cs (Close): Don't throw an exception if the stream
362 2002-09-15 Miguel de Icaza <miguel@ximian.com>
364 * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
367 The API docs show no explicit mention that Flush() should even do
368 an fsync, I am thinking that we should drop that from the
371 2002-09-09 Miguel de Icaza <miguel@ximian.com>
373 * StreamWriter.cs: When no encoding is provided, create an
374 encoding without markers, this is what MS does.
376 2002-09-06 Miguel de Icaza <miguel@ximian.com>
378 * StreamReader.cs: Implement detection of byte marks and skipping
379 of byte marks at the beginning of the stream.
381 (ReadToEnd): Use buffered read instead of char-by-char
384 Correct the default arguments for creating the StreamReader.
386 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
388 * CheckArgument.cs: fixed check for empty string.
389 * Path.cs: various fixes. It passes all the tests in new PathTest.
391 2002-08-29 Duncan Mak <duncan@ximian.com>
393 * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
396 2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405 * TextWriter.cs: IDisposable fixes.
407 2002-08-24 Miguel de Icaza <miguel@ximian.com>
409 * StreamReader.cs: Removed TODOs, as the code seems to be
412 * Path.cs (GetTempFileName): Make this routine atomic by not
413 testing and then creating, but using the create call to ensure
414 that we own the filename.
416 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
418 * FileLoadException.cs: implemented ToString.
420 * StreamWriter.cs: added Null field and implemented Write (char) and
423 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
425 * StreamReader.cs: implemented NullStreamReader.
427 2002-08-21 Miguel de Icaza <miguel@ximian.com>
429 * Path.cs (GetDirectoryName): Fix for filenames with size = 1
431 * File.cs: Removed all references that threw exceptions when the
432 paths contains a colon, as this is a valid part of an identifier
435 Everywhere: The String.Empty return from GetDirectoryName means
436 that there is no directory information about the path.
438 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * FileNotFoundException.cs: use Message and InnerException from base
441 class. Changed Message and ToString ().
443 2002-08-19 Dick Porter <dick@ximian.com>
445 * BinaryWriter.cs: The length of a string is counted in bytes, not
448 2002-08-18 Dick Porter <dick@ximian.com>
450 * BinaryReader.cs: Fixed buffering
452 2002-08-09 Nick Drochak <ndrochak@gol.com>
454 * BinaryReader.cs: added virtual to Dispose(bool).
456 2002-08-03 Jason Diamond <jason@injektilo.org>
458 * StringWriter.cs: Return UnicodeEncoding for Encoding property.
460 2002-08-03 Jason Diamond <jason@injektilo.org>
462 * StreamWriter.cs: Use GetByteCount() to get exact length instead
463 of GetMaxByteCount when converting chars to bytes.
465 2002-07-31 Duncan Mak <duncan@ximian.com>
468 (Dispose): Added and implmented.
471 (Dispose): Fixed visibility.
472 (Initialize): Fixed visibility, made internal.
475 (Dispose): Fixed visibility.
477 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
480 (Create): allow file names without path.
482 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
484 * FileStream.cs: patch from erik@bagfors.nu to add
485 Name property support.
487 2002-07-20 Dick Porter <dick@ximian.com>
489 * MonoIO.cs: Added icall to CreatePipe
491 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
493 * FileInfo.cs: fixes buglet #27940
495 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
497 * Path.cs: removed unneeded line from GetExtension.
499 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
502 (.ctor): call MonoIO.GetException with the file name.
504 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
506 * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
508 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
510 * StreamReader.cs: Revert the last Peek change and fix the ReadLine
511 end of line detection code instead.
513 2002-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
516 (Peek): no need to have seek capabilitites.
518 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
520 * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
522 * File.cs (Delete): only call Directory.Exists() if DirName != ""
524 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
526 * Directory.cs: fixed bug #26133 and also test if the directory exist
527 before performing the search.
529 2002-06-12 Nick Drochak <ndrochak@gol.com>
531 * StringReader.cs (ReadLine): Return null when we get to end of the
534 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
536 * StreamWriter.cs: added ability to write null value
538 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
540 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
541 prevent endless loops.
543 2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
545 * FileStream.cs: Enforce lower bound on buffer size.
547 2002-05-16 Piers Haken <piersh@friskit.com>
549 * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
551 2002-05-17 Nick Drochak <ndrochak@gol.com>
553 * StreamWriter.cs: Implement buffering. Also implemented dispose
554 pattern as recommended by the MS docs. Must call Close() now
555 to ensure the buffer is flushed.
557 2002-05-15 Nick Drochak <ndrochak@gol.com>
559 * Path.cs (GetDirectoryName): Return String.Empty if there is no
562 * StreamReader.cs: Add some parameter checking on file names.
564 * StreamWriter.cs: Add some parameter checking on file names.
566 2002-05-14 Nick Drochak <ndrochak@gol.com>
568 * File.cs: Add parameter checks to most methods. Not completely done,
569 but all current unit tests pass.
571 * Path.cs: Implement GetTempFileName().
573 2002-05-10 Nick Drochak <ndrochak@gol.com>
575 * StreamWriter.cs (Flush): Throw proper exception if internal stream
576 has already been closed when we try to flush.
578 2002/05/10 Nick Drochak <ndrochak@gol.com>
580 * FileNotFoundException.cs (ToString): Don't try to use the inner
581 exception, because it might be null. Use the message instead.
583 2002-05-09 Nick Drochak <ndrochak@gol.com>
585 * File.cs (Delete): Do not throw an exception if the file does not
588 2002-05-08 Mike Gray <mikeg@mikegray.org>
590 * File.cs: According to ECMA spec and MS docs Copy(src, dest)
591 should not overwrite dest by default.
593 2002-05-08 Nick Drochak <ndrochak@gol.com>
595 * StreamWriter.cs: Add paramter check to constructors and throw
596 exceptions where appropriate.
598 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
600 * StreamReader.cs: return the number of chars read even if we diddn't
601 fill the whole buffer (makes Sergey's ilasm work with mono).
603 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
605 * FileInfo.cs (Create): Implement missing method.
607 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
609 * File.cs: Implemented CreateText method, and fixed dst compares
610 to compare against "" instead of null twice.
612 2002-05-05 Nick Drochak <ndrochak@gol.com>
614 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
615 use new internal class since null cannot be passed to constructor
616 anymore. Also, fix a coule of small bugs.
618 2002-05-03 Nick Drochak <ndrochak@gol.com>
620 * MemoryStream.cs: Refrain from allocating array until the space is
621 really needed. This fixes a bug in the Length property when the
622 constructor without the byte array is used.
624 2002-05-01 Duncan Mak <duncan@ximian.com>
626 * DirectoryNotFoundException.cs (constructor): Added missing
627 serialization constructor.
629 2002-04-30 Duncan Mak <duncan@ximian.com>
631 * FileLoadException.cs (constructors): Added missing (string,
632 string) ctor, as well as (string, string, Exception) ctor.
634 (Message): Added more info to the error message
636 (ToString): Added. We'll need to add the StackTrace stuff when
639 * FileShare.cs: Add a missing field, Inheritable.
641 * TextReader.cs: Renamed Synchronised method to Synchronized.
643 * TextWriter.cs: Renamed Synchronised method to Synchronized.
644 Renamed protected member coreNewLine to CoreNewLine.
646 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
648 * BinaryReader.cs: Allocate buffer before its first use.
649 Handle end of stream properly. Methods to read native types
650 (ReadInt* etc.) are little-endian (see Compact Framework docs).
652 * BinaryWriter.cs: Store data in little-endian format.
653 Use internal buffer for conversions.
655 2002-03-31 Dick Porter <dick@ximian.com>
657 * Directory.cs: Strip out "." and ".." from returned list
659 * FileAttributes.cs: Get the right enum values
661 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
663 * TextWriter.cs (write): added check for null
665 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
667 * Directory.cs: Throws DirectoryNotFoundException.
668 * MonoIO.cs: Fixed to work around enum problem.
670 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
672 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
674 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
676 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
677 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
678 wrapper and PAL classes.
680 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
682 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
684 * MemoryStream.cs (Read): Fixed bug in exception throw.
686 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
688 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
690 2002-03-23 Martin Baulig <martin@gnome.org>
692 * StreamReader.cs: Always do buffered reading, use 4k blocks.
693 (Read (char[], int, int)): Implemented.
694 (DiscardBufferedData): Implemented.
696 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
698 * StreamReader.cs : Fill out, add buffering, and use encoding.
700 2002-03-19 Martin Baulig <martin@gnome.org>
702 * StreamWriter.cs (StreamWriter (string)): The default is to override
703 the file, not to append to it.
704 (StreamWriter (string path, bool append)): When appending, seek to the
705 end of the file, otherwise truncate the file to zero length.
706 (Dispose (bool)): Close the internalStream.
707 (Flush): Flush the interalStream.
708 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
710 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
712 * FileStream.cs: Flush buffer before FileSetLength.
714 2002-02-28 Miguel de Icaza <miguel@ximian.com>
716 * Stream.cs (NullStream): Do not track position, this beast does
719 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
721 * SearchPattern.cs: New class. Glob matching code for Directory.
722 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
724 2002/03/15 Nick Drochak <ndrochak@gol.com>
726 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
727 This code seemed to be copied from somewhere, and it was close,
728 but didn't match the docs. This was the last bit needed to get
729 NAnt to compile with our class libs.
731 2002-03-12 Duncan Mak <duncan@ximian.com>
733 * EndOfStreamException.cs:
734 * FileLoadException.cs:
735 * FileNotFoundException.cs:
736 * PathTooLongException.cs: Changed the base classes to IOException
737 instead of SystemException.
739 * IOException.cs: Added missing constructors.
741 2002-03-07 Nick Drochak <ndrochak@gol.com>
743 * FileMode.cs: Docs don't say this should be explicitly derived from
744 int, so just make it a normal Enum.
746 2002-03-02 Jason Diamond <jason@injektilo.org>
748 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
750 2002-02-12 Nick Drochak <ndrochak@gol.com>
752 * PathTooLongException.cs: put it in the correct namespace
753 * EndOfStreamException.cs: put it in the correct namespace
755 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
757 * Directory.cs: handle opendir() return NULL and absolute filenames.
759 2002-01-31 Duncan Mak <duncan@ximian.com>
761 * FileLoadException.cs:
762 * FileNotFoundException: Added missing bits for serialization.
764 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
766 * Directory.cs: allow directories in GetFiles() mask.
768 2002-01-23 Miguel de Icaza <miguel@ximian.com>
770 * FileInfo.c (CopyTo, MoveTo): Implement.
772 * FileStream.cs: Add argument checking to the constructor.
774 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
775 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
777 * Directory.cs (Delete): reimplement without using DirectoryInfo.
778 (Delete): Implement the recursive version.
779 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
781 (getNames): dead code removal.
783 * Path.cs: define an internal DirectorySeparatorStr that we use in
786 * Wrapper.cs: Updated to new version.
788 * DirectoryInfo (Delete): Implement using the Directory API.
790 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
791 Delete, Create, Parent, Exists, MoveTo): Implement.
793 * Directory.cs (GetListing): implement new utility function.
794 (GetDirectories): Implement.
795 (GetFileSystemEntries): Implement.
796 (GetFiles): Implement.
798 * CheckArgument.cs (Path): Do not allow null by default.
800 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
802 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
805 2002-01-20 Nick Drochak <ndrochak@gol.com>
807 * SeekOrigin.cs: Added Serializable attribute.
809 2002-01-19 Duncan Mak <duncan@ximian.com>
811 * PathTooLongException.cs:
812 * EndOfStreamException.cs: Added to CVS.
814 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
816 * BufferedStream.cs: Initial implemenation. The synchronous
817 methods for both reading and writing are implemented. I'll do the
818 asynchronous methods in a bit.
820 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
822 * BinaryWriter.cs: Initial implementation. And it's all there.
824 * BinaryReader.cs: The constructor now uses the passed in encoding,
827 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
829 * BinaryReader.cs: Initial implementation. I think it's complete.
831 2002-01-04 Ravi Pratap <ravi@ximian.com>
833 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
834 attribute decorations.
836 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
837 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
839 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
842 2001-12-11 Dick Porter <dick@ximian.com>
844 * FileStream.cs: Use handles rather than casting file descriptors.
845 Added Handle property.
847 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
849 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
850 * FileStream.cs: only trow an exception if the read failed in ReadByte().
851 * StreamReader.cs: implement Peek and Read.
852 * TextWriter.cs: CLSCompliant updates.
854 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
856 * FileNotFoundException.cs: Added some constructors
858 * Path.cs (GetFullPath): Fixed implementation
860 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
862 * DirectoryNotFoundException.cs: implemented.
864 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
866 * File.cs: fix signatures of the Open() and OpenRead() functions
869 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
871 * FileLoadException.cs, FileNotFoundException.cs: added.
873 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
875 * TextReader.cs: implemented the Read method
877 * StreamReader.cs: impl. stubs
879 * StreamWriter.cs: impl.
881 * TextWriter.cs: implemented Write and WriteLine methods
883 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
885 * FileAccess.cs, FileMode.cs: change values to be compatible with
888 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
890 * IOException.cs: Implemented System.IO.Exception.
892 2001-07-18 Michael Lambert <michaellambert@email.com>
894 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
896 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
898 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
899 "LAMESPEC", but the tests work against the MS implementation so
900 the major functions are right (ie. Read/Write/Seek). Some more
901 tests required for the various constructors and exceptions.
903 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
905 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
906 New class implemenations.
908 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.