1 2003-05-21 Ben Maurer <bmaurer@users.sourceforge.net>
3 * StringWriter.cs: Fixed bug #43431: "StringWriter
4 .ctor(CultureInfo) does not create a new StringBuilder ()"
6 2003-05-11 Zoltan Varga <vargaz@freemail.hu>
8 * FileStream.cs (FlushBuffer): After a flush, the buffer is
9 advanced by buf_offset bytes, not buf_length bytes.
11 2003-05-16 Dick Porter <dick@ximian.com>
13 * MonoIO.cs: Implement GetTempPath
15 2003-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
17 * DirectoryInfo.cs: fixed bug #42991.
19 (CanonicalizePath): store the value of the trimmed input string. Make it
20 work with paths such as "/home/xxx/.".
22 2003-05-08 Ben Maurer <bmaurer@users.sourceforge.net>
24 (CanonicalizePath) Fixed bug #42631, which duplicated the
25 root part of the path under Windows.
27 2003-05-08 Ville Palo <vi64pa@kolumbus.fi>
29 * FileSystemInfo.cs: Added 1.1 properties LastAccessTimeUtc,
30 LastWriteTimeUtc and CreationTimeUtc
32 2003-05-07 Ben Maurer <bmaurer@users.sourceforge.net>
34 (GetPathRoot) Added support for UNC paths.
35 (CanonicalizePath) Added optimizations per Miguel's requests.
37 2003-05-06 Ville Palo <vi64pa@kolumbus.fi>
40 - Removed unusefull code.
41 - Added ObjectDisposedException to Position
42 - Dont flush if stream is allready closed.
43 - Flush throws also ObjectDisposedException.
45 - GetFileSystemEtries: ArgumentNullException if pattern is null
46 * DirectoryInfo.cs: Fixed little MoveTo () bug.
48 - Exists: If file does not exists when instance is created the
49 value of the Exists property does not change even if file is created
51 - Delete: If path is a directory UnauthorizedException is thrown.
52 - CopyTo: Now we can overwrite file if wanted.
54 - GetFullPath: Now throws exception when path is " ".
56 2003-05-04 Ben Maurer <bmaurer@users.sourceforge.net>
57 * Directory.cs (GetLogicalDrives) Marked as MonoTODO
58 because we need to implement the method on Windows.
60 (CanonicalizePath) Added new function to get
61 rid of . and .. in path names. Need to figure out what
62 other functions should call this.
63 (GetFullPath) Added call to the above function.
65 2003-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
68 (.ctor): fixed parameters passed to FileNotFoundException.
70 2003-04-25 Dietmar Maurer <dietmar@ximian.com>
72 * BinaryReader.cs (Read): make sure the buffer is big enough (fix
75 2003-04-24 Pedro MartÃnez Juliá <yoros@wanadoo.es>
77 * BufferedStream.cs: Test if it's possible to seek in a Stream
78 before access to Position. This prevents the exception thrown when
79 the stream is System.Net.Sockets.NetworkStream.
81 2003-04-22 Ville Palo <vi64pa@kolumbus.fi>
83 * Directory.cs: clean up --> performance improvment. Some exceptions
84 are now checked in File.cs.
85 * File.cs: Implemented Get/SetXXXTimeUtc () methods. Some bugfixes.
87 2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
89 * Directory.cs: lots of fixes.
90 - Added GetXXXtimeUtc () (v1.1) methods.
91 - Added SetXXXtimeUtc () (v1.1) methods.
93 2003-04-20 Igor Nosyryev <nosyryev@attbi.com>
95 * StringReader.cs (Read): Increment nextChar by charsToRead
96 instead of count, that will guarantee that the next time the
97 method is called, it will return 0 on an empty string rather than
100 2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
102 * BufferedStream.cs: Some fixes, mostly throwing exceptions.
103 * MemoryStream.cs: Changed the order of exception checking
104 * StringReader.cs: little clean up
106 2003-04-14 Ville Palo <vi64pa@kolumbus.fi>
108 * BinaryWriter.cs: Fixed decimal writing and lots of
109 ObjectDisposedExceptions added.
111 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
113 * BinaryReader.cs: Fix to ReadDecimal() method.
115 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
117 * StringReader.cs: Added some ObjectDisposedExceptions.
118 * StringWriter.cs: Added some ObjectDisposedExceptions.
119 * BinaryReader.cs: Added some ObjectDisposedExceptions.
121 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
123 * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
126 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
128 * FileStream.cs: fixed bug #40182 and made more unit test pass.
130 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
132 * FileStream.cs: Added new methods Lock () and Unlock ()
134 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
136 * StringReader.cs: Throws exceptions if constructor parameter is null.
138 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
140 * StringWriter.cs: Now throws an exception if StringBuilder parameter
143 2003-04-05 Miguel de Icaza <miguel@ximian.com>
145 * TextWriter.cs: Implemented Synchronized method.
147 * TextReader.cs: Implemented Synchronized method.
149 2003-04-04 Miguel de Icaza <miguel@ximian.com>
151 * FileStream.cs (Read, ReadByte, Seek): throw
152 ObjectDisposedException if the handle has been released.
154 (Read): Throw exceptions specified in the spec.
156 (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
157 instance methods of FileStream to be thread safe, so remove all
158 the calls to lock on the object
160 2003-03-31 Nick Drochak <ndrochak@gol.com>
162 * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
164 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
166 * FileNotFoundException.cs: fixed serialization bug.
168 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
170 * StringWriter.cs : don't release internalString on Dispose().
172 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * StreamReader.cs: fixed bug #39280.
176 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
178 * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
181 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
183 * MemoryStream.cs: general fixes and reformatted. Passes all tests in
184 the new MemoryStreamTest.
186 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
188 * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
189 ToArray even after closing the stream.
191 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
194 (Move): don't use File.Move.
195 * DirectoryInfo.cs: fixed Name property.
199 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201 * DirectoryInfo.cs: changed ToString to match MS behavior.
202 * Path.cs: further fixes to GetDirectoryName to return null in the
203 same cases that MS does.
207 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
209 * Path.cs: fixed a couple of bugs reported in #35906.
211 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * Directory.cs: fixed bugs #38939 and #38940. No need for separate
214 unix/windows/unc shares code paths.
216 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
218 * File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
219 SetCreationTime, SetLastAccessTime and SetLastWriteTime.
221 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 (ToArray): return only the portion of the buffer that contains
225 data, not the whole buffer. (note: this makes XmlDocument.Load work
226 again with documents that have a <?xml without the 'encoding'
227 attribute, which makes gtk-sharp generator work again).
229 2003-02-25 Nick Drochak <ndrochak@gol.com>
231 * File.cs (GetCreationTime): Throw proper execption when path is not
234 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
236 * MemoryStream.cs: make it behave sanely when the stream is
237 incrementally expanded.
239 2003-02-21 Dick Porter <dick@ximian.com>
241 * FileStream.cs: Use locks around buffer manipulations. Fixes bug
244 2003-02-18 Dick Porter <dick@ximian.com>
246 * FileStream.cs: Make FileMode.Append work, and check for Seeking
247 back over old data (undocumented ms behaviour, throws an exception
248 if you try). Fixes bug 35975.
250 2003-02-17 Dick Porter <dick@ximian.com>
252 * FileStream.cs: Don't close the handle if the stream doesn't own
253 it. Patch from Raymond Penners (raymond@dotsphinx.com), bug
256 2003-02-14 Zoltan Varga <vargaz@freemail.hu>
258 * FileStream.cs (Write): flush after writing the last segment as well.
260 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 (ReadLine): fixed the case when the string ends with a '\n'.
265 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
267 * MemoryStream.cs: create the buffer of the specified capacity.
269 2003-01-31 Patrik Torstensson
271 * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
272 the same way as MS does it (performance improvement)
274 2003-01-29 Zoltan Varga <vargaz@freemail.hu>
276 * Directory.cs (GetFileSystemEntries): moved error handling to the
277 correct instance of GetFileSystemEntries so all callers can enjoy it.
279 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
281 * File.cs: add error handling to Get...Time methods.
283 2003-01-26 Zoltan Varga <vargaz@freemail.hu>
285 * Directory.cs: fix GetParent so it actually works.
287 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
289 * Path.cs: fixlet to ChangeExtension for the case when the path is
292 2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * BufferedStream.cs: don't try to write a 0 sized array on when
299 2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
301 * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
303 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
305 * MemoryStream.cs: fixed bug #36319.
307 2002-12-16 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
309 * Directory.cs: Some fixes to SMB shares handling, and not compiling
310 with csc, mcs compiles it correctly (mcs bug 35652)
312 2002-12-14 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
314 * Directory.cs: Some fixes related to correct some exceptions thrown
316 2002-12-11 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
318 * Directory.cs: Some Exceptions added, fixed GetParent(),
319 CreateDirectory() should work with unix, native windows and
320 windows samba shares. Converted end-lines from dos-mode to unix-mode
322 2002-12-08 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
324 * Directory.cs: CreateDirectory works now with Absolute paths
325 too, not only with relative ones.
327 2002-12-07 Peter Williams <peterw@ximian.com>
329 * Directory.cs: Don't use the uninitialized pathsumm here.
330 Don't try and create "" if we're using an absolute path.
332 2002-12-07 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
334 * Directory.cs: Now the creation of a new directory works recursively
335 it will make parents as needed.
337 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * BufferedStream.cs: applied patch from <carlosga@telefonica.net> that
342 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <lupus@ximian.com>
344 * StreamWriter.cs: output the encoding preamble at the start of a
347 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
349 * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
351 2002-11-06 Miguel de Icaza <miguel@ximian.com>
353 * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
355 2002-10-31 Dick Porter <dick@ximian.com>
357 * FileStream.cs: Fix buffering properly this time. Also kludge
358 around broken pipe errors, treating them as EOF instead of
359 throwing an IO exception.
361 * MonoIO.cs: Return the error status in a parameter, as the
362 GetLastError() value has long since been blown away if we try and
363 look it up in a subsequent internal call invocation.
368 * Directory.cs: MonoIO methods now have an error parameter
370 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * TextReader.cs: implemented ReadBlock ().
374 2002-10-30 Miguel de Icaza <miguel@ximian.com>
376 * StreamWriter.cs: Ditto for Null stream.
378 * BinaryReader.cs: Use Unmarked here too.
380 * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
383 2002-10-23 Dick Porter <dick@ximian.com>
385 * FileStream.cs: Implemented CanSeek, and used it around all the
386 calls to MonoIO.Seek. Fixed buffering in Read() so that it
387 doesn't block forever on short reads.
389 * MonoFileType.cs: New enum for GetFileType
391 * MonoIO.cs: Added GetFileType
393 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
395 * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
396 \n (this is what MS does).
398 2002-10-18 Dick Porter <dick@ximian.com>
400 * FileStream.cs: SeekOrigin.End still calculates the offset from
401 the end of the file with positive values extending the length.
404 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
406 * Path.cs: some cleanup. Thanks to Martin Aliger.
408 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
410 * FileStream.cs: throw an exception if trying to open a directory.
411 Thanks to Martin Aliger.
413 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
415 * Path.cs: fixes bug #28046.
417 2002-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419 * StreamReader.cs: give more information when wrong parameters passed.
421 2002-09-21 Miguel de Icaza <miguel@ximian.com>
423 * FileStream.cs: Do not call FSync on the file.
425 2002-09-16 Miguel de Icaza <miguel@ximian.com>
427 * TextWriter.cs (Null): The Null field should be an instance of a
428 TextWriter class that does nothing, so it is an instance of the
429 NullTextWriter class.
431 2002-09-16 Nick Drochak <ndrochak@gol.com>
433 * MemoryStream.cs (Close): Don't throw an exception if the stream
436 2002-09-15 Miguel de Icaza <miguel@ximian.com>
438 * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
441 The API docs show no explicit mention that Flush() should even do
442 an fsync, I am thinking that we should drop that from the
445 2002-09-09 Miguel de Icaza <miguel@ximian.com>
447 * StreamWriter.cs: When no encoding is provided, create an
448 encoding without markers, this is what MS does.
450 2002-09-06 Miguel de Icaza <miguel@ximian.com>
452 * StreamReader.cs: Implement detection of byte marks and skipping
453 of byte marks at the beginning of the stream.
455 (ReadToEnd): Use buffered read instead of char-by-char
458 Correct the default arguments for creating the StreamReader.
460 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
462 * CheckArgument.cs: fixed check for empty string.
463 * Path.cs: various fixes. It passes all the tests in new PathTest.
465 2002-08-29 Duncan Mak <duncan@ximian.com>
467 * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
470 2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
479 * TextWriter.cs: IDisposable fixes.
481 2002-08-24 Miguel de Icaza <miguel@ximian.com>
483 * StreamReader.cs: Removed TODOs, as the code seems to be
486 * Path.cs (GetTempFileName): Make this routine atomic by not
487 testing and then creating, but using the create call to ensure
488 that we own the filename.
490 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
492 * FileLoadException.cs: implemented ToString.
494 * StreamWriter.cs: added Null field and implemented Write (char) and
497 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
499 * StreamReader.cs: implemented NullStreamReader.
501 2002-08-21 Miguel de Icaza <miguel@ximian.com>
503 * Path.cs (GetDirectoryName): Fix for filenames with size = 1
505 * File.cs: Removed all references that threw exceptions when the
506 paths contains a colon, as this is a valid part of an identifier
509 Everywhere: The String.Empty return from GetDirectoryName means
510 that there is no directory information about the path.
512 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
514 * FileNotFoundException.cs: use Message and InnerException from base
515 class. Changed Message and ToString ().
517 2002-08-19 Dick Porter <dick@ximian.com>
519 * BinaryWriter.cs: The length of a string is counted in bytes, not
522 2002-08-18 Dick Porter <dick@ximian.com>
524 * BinaryReader.cs: Fixed buffering
526 2002-08-09 Nick Drochak <ndrochak@gol.com>
528 * BinaryReader.cs: added virtual to Dispose(bool).
530 2002-08-03 Jason Diamond <jason@injektilo.org>
532 * StringWriter.cs: Return UnicodeEncoding for Encoding property.
534 2002-08-03 Jason Diamond <jason@injektilo.org>
536 * StreamWriter.cs: Use GetByteCount() to get exact length instead
537 of GetMaxByteCount when converting chars to bytes.
539 2002-07-31 Duncan Mak <duncan@ximian.com>
542 (Dispose): Added and implmented.
545 (Dispose): Fixed visibility.
546 (Initialize): Fixed visibility, made internal.
549 (Dispose): Fixed visibility.
551 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
554 (Create): allow file names without path.
556 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
558 * FileStream.cs: patch from erik@bagfors.nu to add
559 Name property support.
561 2002-07-20 Dick Porter <dick@ximian.com>
563 * MonoIO.cs: Added icall to CreatePipe
565 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
567 * FileInfo.cs: fixes buglet #27940
569 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
571 * Path.cs: removed unneeded line from GetExtension.
573 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
576 (.ctor): call MonoIO.GetException with the file name.
578 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
580 * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
582 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
584 * StreamReader.cs: Revert the last Peek change and fix the ReadLine
585 end of line detection code instead.
587 2002-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
590 (Peek): no need to have seek capabilitites.
592 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
594 * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
596 * File.cs (Delete): only call Directory.Exists() if DirName != ""
598 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
600 * Directory.cs: fixed bug #26133 and also test if the directory exist
601 before performing the search.
603 2002-06-12 Nick Drochak <ndrochak@gol.com>
605 * StringReader.cs (ReadLine): Return null when we get to end of the
608 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
610 * StreamWriter.cs: added ability to write null value
612 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
614 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
615 prevent endless loops.
617 2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
619 * FileStream.cs: Enforce lower bound on buffer size.
621 2002-05-16 Piers Haken <piersh@friskit.com>
623 * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
625 2002-05-17 Nick Drochak <ndrochak@gol.com>
627 * StreamWriter.cs: Implement buffering. Also implemented dispose
628 pattern as recommended by the MS docs. Must call Close() now
629 to ensure the buffer is flushed.
631 2002-05-15 Nick Drochak <ndrochak@gol.com>
633 * Path.cs (GetDirectoryName): Return String.Empty if there is no
636 * StreamReader.cs: Add some parameter checking on file names.
638 * StreamWriter.cs: Add some parameter checking on file names.
640 2002-05-14 Nick Drochak <ndrochak@gol.com>
642 * File.cs: Add parameter checks to most methods. Not completely done,
643 but all current unit tests pass.
645 * Path.cs: Implement GetTempFileName().
647 2002-05-10 Nick Drochak <ndrochak@gol.com>
649 * StreamWriter.cs (Flush): Throw proper exception if internal stream
650 has already been closed when we try to flush.
652 2002/05/10 Nick Drochak <ndrochak@gol.com>
654 * FileNotFoundException.cs (ToString): Don't try to use the inner
655 exception, because it might be null. Use the message instead.
657 2002-05-09 Nick Drochak <ndrochak@gol.com>
659 * File.cs (Delete): Do not throw an exception if the file does not
662 2002-05-08 Mike Gray <mikeg@mikegray.org>
664 * File.cs: According to ECMA spec and MS docs Copy(src, dest)
665 should not overwrite dest by default.
667 2002-05-08 Nick Drochak <ndrochak@gol.com>
669 * StreamWriter.cs: Add paramter check to constructors and throw
670 exceptions where appropriate.
672 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
674 * StreamReader.cs: return the number of chars read even if we diddn't
675 fill the whole buffer (makes Sergey's ilasm work with mono).
677 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
679 * FileInfo.cs (Create): Implement missing method.
681 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
683 * File.cs: Implemented CreateText method, and fixed dst compares
684 to compare against "" instead of null twice.
686 2002-05-05 Nick Drochak <ndrochak@gol.com>
688 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
689 use new internal class since null cannot be passed to constructor
690 anymore. Also, fix a coule of small bugs.
692 2002-05-03 Nick Drochak <ndrochak@gol.com>
694 * MemoryStream.cs: Refrain from allocating array until the space is
695 really needed. This fixes a bug in the Length property when the
696 constructor without the byte array is used.
698 2002-05-01 Duncan Mak <duncan@ximian.com>
700 * DirectoryNotFoundException.cs (constructor): Added missing
701 serialization constructor.
703 2002-04-30 Duncan Mak <duncan@ximian.com>
705 * FileLoadException.cs (constructors): Added missing (string,
706 string) ctor, as well as (string, string, Exception) ctor.
708 (Message): Added more info to the error message
710 (ToString): Added. We'll need to add the StackTrace stuff when
713 * FileShare.cs: Add a missing field, Inheritable.
715 * TextReader.cs: Renamed Synchronised method to Synchronized.
717 * TextWriter.cs: Renamed Synchronised method to Synchronized.
718 Renamed protected member coreNewLine to CoreNewLine.
720 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
722 * BinaryReader.cs: Allocate buffer before its first use.
723 Handle end of stream properly. Methods to read native types
724 (ReadInt* etc.) are little-endian (see Compact Framework docs).
726 * BinaryWriter.cs: Store data in little-endian format.
727 Use internal buffer for conversions.
729 2002-03-31 Dick Porter <dick@ximian.com>
731 * Directory.cs: Strip out "." and ".." from returned list
733 * FileAttributes.cs: Get the right enum values
735 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
737 * TextWriter.cs (write): added check for null
739 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
741 * Directory.cs: Throws DirectoryNotFoundException.
742 * MonoIO.cs: Fixed to work around enum problem.
744 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
746 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
748 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
750 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
751 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
752 wrapper and PAL classes.
754 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
756 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
758 * MemoryStream.cs (Read): Fixed bug in exception throw.
760 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
762 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
764 2002-03-23 Martin Baulig <martin@gnome.org>
766 * StreamReader.cs: Always do buffered reading, use 4k blocks.
767 (Read (char[], int, int)): Implemented.
768 (DiscardBufferedData): Implemented.
770 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
772 * StreamReader.cs : Fill out, add buffering, and use encoding.
774 2002-03-19 Martin Baulig <martin@gnome.org>
776 * StreamWriter.cs (StreamWriter (string)): The default is to override
777 the file, not to append to it.
778 (StreamWriter (string path, bool append)): When appending, seek to the
779 end of the file, otherwise truncate the file to zero length.
780 (Dispose (bool)): Close the internalStream.
781 (Flush): Flush the interalStream.
782 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
784 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
786 * FileStream.cs: Flush buffer before FileSetLength.
788 2002-02-28 Miguel de Icaza <miguel@ximian.com>
790 * Stream.cs (NullStream): Do not track position, this beast does
793 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
795 * SearchPattern.cs: New class. Glob matching code for Directory.
796 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
798 2002/03/15 Nick Drochak <ndrochak@gol.com>
800 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
801 This code seemed to be copied from somewhere, and it was close,
802 but didn't match the docs. This was the last bit needed to get
803 NAnt to compile with our class libs.
805 2002-03-12 Duncan Mak <duncan@ximian.com>
807 * EndOfStreamException.cs:
808 * FileLoadException.cs:
809 * FileNotFoundException.cs:
810 * PathTooLongException.cs: Changed the base classes to IOException
811 instead of SystemException.
813 * IOException.cs: Added missing constructors.
815 2002-03-07 Nick Drochak <ndrochak@gol.com>
817 * FileMode.cs: Docs don't say this should be explicitly derived from
818 int, so just make it a normal Enum.
820 2002-03-02 Jason Diamond <jason@injektilo.org>
822 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
824 2002-02-12 Nick Drochak <ndrochak@gol.com>
826 * PathTooLongException.cs: put it in the correct namespace
827 * EndOfStreamException.cs: put it in the correct namespace
829 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
831 * Directory.cs: handle opendir() return NULL and absolute filenames.
833 2002-01-31 Duncan Mak <duncan@ximian.com>
835 * FileLoadException.cs:
836 * FileNotFoundException: Added missing bits for serialization.
838 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
840 * Directory.cs: allow directories in GetFiles() mask.
842 2002-01-23 Miguel de Icaza <miguel@ximian.com>
844 * FileInfo.c (CopyTo, MoveTo): Implement.
846 * FileStream.cs: Add argument checking to the constructor.
848 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
849 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
851 * Directory.cs (Delete): reimplement without using DirectoryInfo.
852 (Delete): Implement the recursive version.
853 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
855 (getNames): dead code removal.
857 * Path.cs: define an internal DirectorySeparatorStr that we use in
860 * Wrapper.cs: Updated to new version.
862 * DirectoryInfo (Delete): Implement using the Directory API.
864 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
865 Delete, Create, Parent, Exists, MoveTo): Implement.
867 * Directory.cs (GetListing): implement new utility function.
868 (GetDirectories): Implement.
869 (GetFileSystemEntries): Implement.
870 (GetFiles): Implement.
872 * CheckArgument.cs (Path): Do not allow null by default.
874 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
876 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
879 2002-01-20 Nick Drochak <ndrochak@gol.com>
881 * SeekOrigin.cs: Added Serializable attribute.
883 2002-01-19 Duncan Mak <duncan@ximian.com>
885 * PathTooLongException.cs:
886 * EndOfStreamException.cs: Added to CVS.
888 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
890 * BufferedStream.cs: Initial implemenation. The synchronous
891 methods for both reading and writing are implemented. I'll do the
892 asynchronous methods in a bit.
894 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
896 * BinaryWriter.cs: Initial implementation. And it's all there.
898 * BinaryReader.cs: The constructor now uses the passed in encoding,
901 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
903 * BinaryReader.cs: Initial implementation. I think it's complete.
905 2002-01-04 Ravi Pratap <ravi@ximian.com>
907 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
908 attribute decorations.
910 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
911 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
913 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
916 2001-12-11 Dick Porter <dick@ximian.com>
918 * FileStream.cs: Use handles rather than casting file descriptors.
919 Added Handle property.
921 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
923 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
924 * FileStream.cs: only trow an exception if the read failed in ReadByte().
925 * StreamReader.cs: implement Peek and Read.
926 * TextWriter.cs: CLSCompliant updates.
928 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
930 * FileNotFoundException.cs: Added some constructors
932 * Path.cs (GetFullPath): Fixed implementation
934 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
936 * DirectoryNotFoundException.cs: implemented.
938 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
940 * File.cs: fix signatures of the Open() and OpenRead() functions
943 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
945 * FileLoadException.cs, FileNotFoundException.cs: added.
947 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
949 * TextReader.cs: implemented the Read method
951 * StreamReader.cs: impl. stubs
953 * StreamWriter.cs: impl.
955 * TextWriter.cs: implemented Write and WriteLine methods
957 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
959 * FileAccess.cs, FileMode.cs: change values to be compatible with
962 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
964 * IOException.cs: Implemented System.IO.Exception.
966 2001-07-18 Michael Lambert <michaellambert@email.com>
968 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
970 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
972 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
973 "LAMESPEC", but the tests work against the MS implementation so
974 the major functions are right (ie. Read/Write/Seek). Some more
975 tests required for the various constructors and exceptions.
977 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
979 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
980 New class implemenations.
982 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.