1 2003-05-04 Ben Maurer <bmaurer@users.sourceforge.net>
2 * Directory.cs (GetLogicalDrives) Marked as MonoTODO
3 because we need to implement the method on Windows.
5 (CanonicalizePath) Added new function to get
6 rid of . and .. in path names. Need to figure out what
7 other functions should call this.
8 (GetFullPath) Added call to the above function.
10 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13 (.ctor): fixed parameters passed to FileNotFoundException.
15 2003-04-25 Dietmar Maurer <dietmar@ximian.com>
17 * BinaryReader.cs (Read): make sure the buffer is big enough (fix
20 2003-04-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
22 * BufferedStream.cs: Test if it's possible to seek in a Stream
23 before access to Position. This prevents the exception thrown when
24 the stream is System.Net.Sockets.NetworkStream.
26 2003-04-22 Ville Palo <vi64pa@kolumbus.fi>
28 * Directory.cs: clean up --> performance improvment. Some exceptions
29 are now checked in File.cs.
30 * File.cs: Implemented Get/SetXXXTimeUtc () methods. Some bugfixes.
32 2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
34 * Directory.cs: lots of fixes.
35 - Added GetXXXtimeUtc () (v1.1) methods.
36 - Added SetXXXtimeUtc () (v1.1) methods.
38 2003-04-20 Igor Nosyryev <nosyryev@attbi.com>
40 * StringReader.cs (Read): Increment nextChar by charsToRead
41 instead of count, that will guarantee that the next time the
42 method is called, it will return 0 on an empty string rather than
45 2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
47 * BufferedStream.cs: Some fixes, mostly throwing exceptions.
48 * MemoryStream.cs: Changed the order of exception checking
49 * StringReader.cs: little clean up
51 2003-04-14 Ville Palo <vi64pa@kolumbus.fi>
53 * BinaryWriter.cs: Fixed decimal writing and lots of
54 ObjectDisposedExceptions added.
56 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
58 * BinaryReader.cs: Fix to ReadDecimal() method.
60 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
62 * StringReader.cs: Added some ObjectDisposedExceptions.
63 * StringWriter.cs: Added some ObjectDisposedExceptions.
64 * BinaryReader.cs: Added some ObjectDisposedExceptions.
66 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
68 * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
71 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
73 * FileStream.cs: fixed bug #40182 and made more unit test pass.
75 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
77 * FileStream.cs: Added new methods Lock () and Unlock ()
79 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
81 * StringReader.cs: Throws exceptions if constructor parameter is null.
83 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
85 * StringWriter.cs: Now throws an exception if StringBuilder parameter
88 2003-04-05 Miguel de Icaza <miguel@ximian.com>
90 * TextWriter.cs: Implemented Synchronized method.
92 * TextReader.cs: Implemented Synchronized method.
94 2003-04-04 Miguel de Icaza <miguel@ximian.com>
96 * FileStream.cs (Read, ReadByte, Seek): throw
97 ObjectDisposedException if the handle has been released.
99 (Read): Throw exceptions specified in the spec.
101 (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
102 instance methods of FileStream to be thread safe, so remove all
103 the calls to lock on the object
105 2003-03-31 Nick Drochak <ndrochak@gol.com>
107 * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
109 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
111 * FileNotFoundException.cs: fixed serialization bug.
113 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
115 * StringWriter.cs : don't release internalString on Dispose().
117 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
119 * StreamReader.cs: fixed bug #39280.
121 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
123 * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
126 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
128 * MemoryStream.cs: general fixes and reformatted. Passes all tests in
129 the new MemoryStreamTest.
131 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
133 * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
134 ToArray even after closing the stream.
136 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
139 (Move): don't use File.Move.
140 * DirectoryInfo.cs: fixed Name property.
144 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
146 * DirectoryInfo.cs: changed ToString to match MS behavior.
147 * Path.cs: further fixes to GetDirectoryName to return null in the
148 same cases that MS does.
152 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
154 * Path.cs: fixed a couple of bugs reported in #35906.
156 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * Directory.cs: fixed bugs #38939 and #38940. No need for separate
159 unix/windows/unc shares code paths.
161 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
163 * File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
164 SetCreationTime, SetLastAccessTime and SetLastWriteTime.
166 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169 (ToArray): return only the portion of the buffer that contains
170 data, not the whole buffer. (note: this makes XmlDocument.Load work
171 again with documents that have a <?xml without the 'encoding'
172 attribute, which makes gtk-sharp generator work again).
174 2003-02-25 Nick Drochak <ndrochak@gol.com>
176 * File.cs (GetCreationTime): Throw proper execption when path is not
179 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
181 * MemoryStream.cs: make it behave sanely when the stream is
182 incrementally expanded.
184 2003-02-21 Dick Porter <dick@ximian.com>
186 * FileStream.cs: Use locks around buffer manipulations. Fixes bug
189 2003-02-18 Dick Porter <dick@ximian.com>
191 * FileStream.cs: Make FileMode.Append work, and check for Seeking
192 back over old data (undocumented ms behaviour, throws an exception
193 if you try). Fixes bug 35975.
195 2003-02-17 Dick Porter <dick@ximian.com>
197 * FileStream.cs: Don't close the handle if the stream doesn't own
198 it. Patch from Raymond Penners (raymond@dotsphinx.com), bug
201 2003-02-14 Zoltan Varga <vargaz@freemail.hu>
203 * FileStream.cs (Write): flush after writing the last segment as well.
205 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
208 (ReadLine): fixed the case when the string ends with a '\n'.
210 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
212 * MemoryStream.cs: create the buffer of the specified capacity.
214 2003-01-31 Patrik Torstensson
216 * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
217 the same way as MS does it (performance improvement)
219 2003-01-29 Zoltan Varga <vargaz@freemail.hu>
221 * Directory.cs (GetFileSystemEntries): moved error handling to the
222 correct instance of GetFileSystemEntries so all callers can enjoy it.
224 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
226 * File.cs: add error handling to Get...Time methods.
228 2003-01-26 Zoltan Varga <vargaz@freemail.hu>
230 * Directory.cs: fix GetParent so it actually works.
232 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * Path.cs: fixlet to ChangeExtension for the case when the path is
237 2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
239 * BufferedStream.cs: don't try to write a 0 sized array on when
244 2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
246 * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
248 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * MemoryStream.cs: fixed bug #36319.
252 2002-12-16 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
254 * Directory.cs: Some fixes to SMB shares handling, and not compiling
255 with csc, mcs compiles it correctly (mcs bug 35652)
257 2002-12-14 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
259 * Directory.cs: Some fixes related to correct some exceptions thrown
261 2002-12-11 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
263 * Directory.cs: Some Exceptions added, fixed GetParent(),
264 CreateDirectory() should work with unix, native windows and
265 windows samba shares. Converted end-lines from dos-mode to unix-mode
267 2002-12-08 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
269 * Directory.cs: CreateDirectory works now with Absolute paths
270 too, not only with relative ones.
272 2002-12-07 Peter Williams <peterw@ximian.com>
274 * Directory.cs: Don't use the uninitialized pathsumm here.
275 Don't try and create "" if we're using an absolute path.
277 2002-12-07 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
279 * Directory.cs: Now the creation of a new directory works recursively
280 it will make parents as needed.
282 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
284 * BufferedStream.cs: applied patch from <carlosga@telefonica.net> that
287 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <lupus@ximian.com>
289 * StreamWriter.cs: output the encoding preamble at the start of a
292 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
296 2002-11-06 Miguel de Icaza <miguel@ximian.com>
298 * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
300 2002-10-31 Dick Porter <dick@ximian.com>
302 * FileStream.cs: Fix buffering properly this time. Also kludge
303 around broken pipe errors, treating them as EOF instead of
304 throwing an IO exception.
306 * MonoIO.cs: Return the error status in a parameter, as the
307 GetLastError() value has long since been blown away if we try and
308 look it up in a subsequent internal call invocation.
313 * Directory.cs: MonoIO methods now have an error parameter
315 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317 * TextReader.cs: implemented ReadBlock ().
319 2002-10-30 Miguel de Icaza <miguel@ximian.com>
321 * StreamWriter.cs: Ditto for Null stream.
323 * BinaryReader.cs: Use Unmarked here too.
325 * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
328 2002-10-23 Dick Porter <dick@ximian.com>
330 * FileStream.cs: Implemented CanSeek, and used it around all the
331 calls to MonoIO.Seek. Fixed buffering in Read() so that it
332 doesn't block forever on short reads.
334 * MonoFileType.cs: New enum for GetFileType
336 * MonoIO.cs: Added GetFileType
338 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
340 * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
341 \n (this is what MS does).
343 2002-10-18 Dick Porter <dick@ximian.com>
345 * FileStream.cs: SeekOrigin.End still calculates the offset from
346 the end of the file with positive values extending the length.
349 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * Path.cs: some cleanup. Thanks to Martin Aliger.
353 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
355 * FileStream.cs: throw an exception if trying to open a directory.
356 Thanks to Martin Aliger.
358 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
360 * Path.cs: fixes bug #28046.
362 2002-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
364 * StreamReader.cs: give more information when wrong parameters passed.
366 2002-09-21 Miguel de Icaza <miguel@ximian.com>
368 * FileStream.cs: Do not call FSync on the file.
370 2002-09-16 Miguel de Icaza <miguel@ximian.com>
372 * TextWriter.cs (Null): The Null field should be an instance of a
373 TextWriter class that does nothing, so it is an instance of the
374 NullTextWriter class.
376 2002-09-16 Nick Drochak <ndrochak@gol.com>
378 * MemoryStream.cs (Close): Don't throw an exception if the stream
381 2002-09-15 Miguel de Icaza <miguel@ximian.com>
383 * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
386 The API docs show no explicit mention that Flush() should even do
387 an fsync, I am thinking that we should drop that from the
390 2002-09-09 Miguel de Icaza <miguel@ximian.com>
392 * StreamWriter.cs: When no encoding is provided, create an
393 encoding without markers, this is what MS does.
395 2002-09-06 Miguel de Icaza <miguel@ximian.com>
397 * StreamReader.cs: Implement detection of byte marks and skipping
398 of byte marks at the beginning of the stream.
400 (ReadToEnd): Use buffered read instead of char-by-char
403 Correct the default arguments for creating the StreamReader.
405 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
407 * CheckArgument.cs: fixed check for empty string.
408 * Path.cs: various fixes. It passes all the tests in new PathTest.
410 2002-08-29 Duncan Mak <duncan@ximian.com>
412 * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
415 2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * TextWriter.cs: IDisposable fixes.
426 2002-08-24 Miguel de Icaza <miguel@ximian.com>
428 * StreamReader.cs: Removed TODOs, as the code seems to be
431 * Path.cs (GetTempFileName): Make this routine atomic by not
432 testing and then creating, but using the create call to ensure
433 that we own the filename.
435 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
437 * FileLoadException.cs: implemented ToString.
439 * StreamWriter.cs: added Null field and implemented Write (char) and
442 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
444 * StreamReader.cs: implemented NullStreamReader.
446 2002-08-21 Miguel de Icaza <miguel@ximian.com>
448 * Path.cs (GetDirectoryName): Fix for filenames with size = 1
450 * File.cs: Removed all references that threw exceptions when the
451 paths contains a colon, as this is a valid part of an identifier
454 Everywhere: The String.Empty return from GetDirectoryName means
455 that there is no directory information about the path.
457 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
459 * FileNotFoundException.cs: use Message and InnerException from base
460 class. Changed Message and ToString ().
462 2002-08-19 Dick Porter <dick@ximian.com>
464 * BinaryWriter.cs: The length of a string is counted in bytes, not
467 2002-08-18 Dick Porter <dick@ximian.com>
469 * BinaryReader.cs: Fixed buffering
471 2002-08-09 Nick Drochak <ndrochak@gol.com>
473 * BinaryReader.cs: added virtual to Dispose(bool).
475 2002-08-03 Jason Diamond <jason@injektilo.org>
477 * StringWriter.cs: Return UnicodeEncoding for Encoding property.
479 2002-08-03 Jason Diamond <jason@injektilo.org>
481 * StreamWriter.cs: Use GetByteCount() to get exact length instead
482 of GetMaxByteCount when converting chars to bytes.
484 2002-07-31 Duncan Mak <duncan@ximian.com>
487 (Dispose): Added and implmented.
490 (Dispose): Fixed visibility.
491 (Initialize): Fixed visibility, made internal.
494 (Dispose): Fixed visibility.
496 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
499 (Create): allow file names without path.
501 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
503 * FileStream.cs: patch from erik@bagfors.nu to add
504 Name property support.
506 2002-07-20 Dick Porter <dick@ximian.com>
508 * MonoIO.cs: Added icall to CreatePipe
510 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
512 * FileInfo.cs: fixes buglet #27940
514 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
516 * Path.cs: removed unneeded line from GetExtension.
518 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
521 (.ctor): call MonoIO.GetException with the file name.
523 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
525 * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
527 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
529 * StreamReader.cs: Revert the last Peek change and fix the ReadLine
530 end of line detection code instead.
532 2002-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
535 (Peek): no need to have seek capabilitites.
537 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
539 * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
541 * File.cs (Delete): only call Directory.Exists() if DirName != ""
543 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545 * Directory.cs: fixed bug #26133 and also test if the directory exist
546 before performing the search.
548 2002-06-12 Nick Drochak <ndrochak@gol.com>
550 * StringReader.cs (ReadLine): Return null when we get to end of the
553 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
555 * StreamWriter.cs: added ability to write null value
557 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
559 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
560 prevent endless loops.
562 2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
564 * FileStream.cs: Enforce lower bound on buffer size.
566 2002-05-16 Piers Haken <piersh@friskit.com>
568 * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
570 2002-05-17 Nick Drochak <ndrochak@gol.com>
572 * StreamWriter.cs: Implement buffering. Also implemented dispose
573 pattern as recommended by the MS docs. Must call Close() now
574 to ensure the buffer is flushed.
576 2002-05-15 Nick Drochak <ndrochak@gol.com>
578 * Path.cs (GetDirectoryName): Return String.Empty if there is no
581 * StreamReader.cs: Add some parameter checking on file names.
583 * StreamWriter.cs: Add some parameter checking on file names.
585 2002-05-14 Nick Drochak <ndrochak@gol.com>
587 * File.cs: Add parameter checks to most methods. Not completely done,
588 but all current unit tests pass.
590 * Path.cs: Implement GetTempFileName().
592 2002-05-10 Nick Drochak <ndrochak@gol.com>
594 * StreamWriter.cs (Flush): Throw proper exception if internal stream
595 has already been closed when we try to flush.
597 2002/05/10 Nick Drochak <ndrochak@gol.com>
599 * FileNotFoundException.cs (ToString): Don't try to use the inner
600 exception, because it might be null. Use the message instead.
602 2002-05-09 Nick Drochak <ndrochak@gol.com>
604 * File.cs (Delete): Do not throw an exception if the file does not
607 2002-05-08 Mike Gray <mikeg@mikegray.org>
609 * File.cs: According to ECMA spec and MS docs Copy(src, dest)
610 should not overwrite dest by default.
612 2002-05-08 Nick Drochak <ndrochak@gol.com>
614 * StreamWriter.cs: Add paramter check to constructors and throw
615 exceptions where appropriate.
617 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
619 * StreamReader.cs: return the number of chars read even if we diddn't
620 fill the whole buffer (makes Sergey's ilasm work with mono).
622 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
624 * FileInfo.cs (Create): Implement missing method.
626 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
628 * File.cs: Implemented CreateText method, and fixed dst compares
629 to compare against "" instead of null twice.
631 2002-05-05 Nick Drochak <ndrochak@gol.com>
633 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
634 use new internal class since null cannot be passed to constructor
635 anymore. Also, fix a coule of small bugs.
637 2002-05-03 Nick Drochak <ndrochak@gol.com>
639 * MemoryStream.cs: Refrain from allocating array until the space is
640 really needed. This fixes a bug in the Length property when the
641 constructor without the byte array is used.
643 2002-05-01 Duncan Mak <duncan@ximian.com>
645 * DirectoryNotFoundException.cs (constructor): Added missing
646 serialization constructor.
648 2002-04-30 Duncan Mak <duncan@ximian.com>
650 * FileLoadException.cs (constructors): Added missing (string,
651 string) ctor, as well as (string, string, Exception) ctor.
653 (Message): Added more info to the error message
655 (ToString): Added. We'll need to add the StackTrace stuff when
658 * FileShare.cs: Add a missing field, Inheritable.
660 * TextReader.cs: Renamed Synchronised method to Synchronized.
662 * TextWriter.cs: Renamed Synchronised method to Synchronized.
663 Renamed protected member coreNewLine to CoreNewLine.
665 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
667 * BinaryReader.cs: Allocate buffer before its first use.
668 Handle end of stream properly. Methods to read native types
669 (ReadInt* etc.) are little-endian (see Compact Framework docs).
671 * BinaryWriter.cs: Store data in little-endian format.
672 Use internal buffer for conversions.
674 2002-03-31 Dick Porter <dick@ximian.com>
676 * Directory.cs: Strip out "." and ".." from returned list
678 * FileAttributes.cs: Get the right enum values
680 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
682 * TextWriter.cs (write): added check for null
684 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
686 * Directory.cs: Throws DirectoryNotFoundException.
687 * MonoIO.cs: Fixed to work around enum problem.
689 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
691 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
693 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
695 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
696 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
697 wrapper and PAL classes.
699 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
701 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
703 * MemoryStream.cs (Read): Fixed bug in exception throw.
705 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
707 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
709 2002-03-23 Martin Baulig <martin@gnome.org>
711 * StreamReader.cs: Always do buffered reading, use 4k blocks.
712 (Read (char[], int, int)): Implemented.
713 (DiscardBufferedData): Implemented.
715 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
717 * StreamReader.cs : Fill out, add buffering, and use encoding.
719 2002-03-19 Martin Baulig <martin@gnome.org>
721 * StreamWriter.cs (StreamWriter (string)): The default is to override
722 the file, not to append to it.
723 (StreamWriter (string path, bool append)): When appending, seek to the
724 end of the file, otherwise truncate the file to zero length.
725 (Dispose (bool)): Close the internalStream.
726 (Flush): Flush the interalStream.
727 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
729 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
731 * FileStream.cs: Flush buffer before FileSetLength.
733 2002-02-28 Miguel de Icaza <miguel@ximian.com>
735 * Stream.cs (NullStream): Do not track position, this beast does
738 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
740 * SearchPattern.cs: New class. Glob matching code for Directory.
741 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
743 2002/03/15 Nick Drochak <ndrochak@gol.com>
745 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
746 This code seemed to be copied from somewhere, and it was close,
747 but didn't match the docs. This was the last bit needed to get
748 NAnt to compile with our class libs.
750 2002-03-12 Duncan Mak <duncan@ximian.com>
752 * EndOfStreamException.cs:
753 * FileLoadException.cs:
754 * FileNotFoundException.cs:
755 * PathTooLongException.cs: Changed the base classes to IOException
756 instead of SystemException.
758 * IOException.cs: Added missing constructors.
760 2002-03-07 Nick Drochak <ndrochak@gol.com>
762 * FileMode.cs: Docs don't say this should be explicitly derived from
763 int, so just make it a normal Enum.
765 2002-03-02 Jason Diamond <jason@injektilo.org>
767 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
769 2002-02-12 Nick Drochak <ndrochak@gol.com>
771 * PathTooLongException.cs: put it in the correct namespace
772 * EndOfStreamException.cs: put it in the correct namespace
774 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
776 * Directory.cs: handle opendir() return NULL and absolute filenames.
778 2002-01-31 Duncan Mak <duncan@ximian.com>
780 * FileLoadException.cs:
781 * FileNotFoundException: Added missing bits for serialization.
783 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
785 * Directory.cs: allow directories in GetFiles() mask.
787 2002-01-23 Miguel de Icaza <miguel@ximian.com>
789 * FileInfo.c (CopyTo, MoveTo): Implement.
791 * FileStream.cs: Add argument checking to the constructor.
793 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
794 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
796 * Directory.cs (Delete): reimplement without using DirectoryInfo.
797 (Delete): Implement the recursive version.
798 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
800 (getNames): dead code removal.
802 * Path.cs: define an internal DirectorySeparatorStr that we use in
805 * Wrapper.cs: Updated to new version.
807 * DirectoryInfo (Delete): Implement using the Directory API.
809 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
810 Delete, Create, Parent, Exists, MoveTo): Implement.
812 * Directory.cs (GetListing): implement new utility function.
813 (GetDirectories): Implement.
814 (GetFileSystemEntries): Implement.
815 (GetFiles): Implement.
817 * CheckArgument.cs (Path): Do not allow null by default.
819 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
821 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
824 2002-01-20 Nick Drochak <ndrochak@gol.com>
826 * SeekOrigin.cs: Added Serializable attribute.
828 2002-01-19 Duncan Mak <duncan@ximian.com>
830 * PathTooLongException.cs:
831 * EndOfStreamException.cs: Added to CVS.
833 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
835 * BufferedStream.cs: Initial implemenation. The synchronous
836 methods for both reading and writing are implemented. I'll do the
837 asynchronous methods in a bit.
839 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
841 * BinaryWriter.cs: Initial implementation. And it's all there.
843 * BinaryReader.cs: The constructor now uses the passed in encoding,
846 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
848 * BinaryReader.cs: Initial implementation. I think it's complete.
850 2002-01-04 Ravi Pratap <ravi@ximian.com>
852 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
853 attribute decorations.
855 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
856 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
858 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
861 2001-12-11 Dick Porter <dick@ximian.com>
863 * FileStream.cs: Use handles rather than casting file descriptors.
864 Added Handle property.
866 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
868 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
869 * FileStream.cs: only trow an exception if the read failed in ReadByte().
870 * StreamReader.cs: implement Peek and Read.
871 * TextWriter.cs: CLSCompliant updates.
873 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
875 * FileNotFoundException.cs: Added some constructors
877 * Path.cs (GetFullPath): Fixed implementation
879 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
881 * DirectoryNotFoundException.cs: implemented.
883 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
885 * File.cs: fix signatures of the Open() and OpenRead() functions
888 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
890 * FileLoadException.cs, FileNotFoundException.cs: added.
892 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
894 * TextReader.cs: implemented the Read method
896 * StreamReader.cs: impl. stubs
898 * StreamWriter.cs: impl.
900 * TextWriter.cs: implemented Write and WriteLine methods
902 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
904 * FileAccess.cs, FileMode.cs: change values to be compatible with
907 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
909 * IOException.cs: Implemented System.IO.Exception.
911 2001-07-18 Michael Lambert <michaellambert@email.com>
913 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
915 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
917 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
918 "LAMESPEC", but the tests work against the MS implementation so
919 the major functions are right (ie. Read/Write/Seek). Some more
920 tests required for the various constructors and exceptions.
922 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
924 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
925 New class implemenations.
927 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.