1 2003-04-22 Ville Palo <vi64pa@kolumbus.fi>
3 * Directory.cs: clean up --> performance improvment. Some exceptions
4 are now checked in File.cs.
5 * File.cs: Implemented Get/SetXXXTimeUtc () methods. Some bugfixes.
7 2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
9 * Directory.cs: lots of fixes.
10 - Added GetXXXtimeUtc () (v1.1) methods.
11 - Added SetXXXtimeUtc () (v1.1) methods.
13 2003-04-20 Igor Nosyryev <nosyryev@attbi.com>
15 * StringReader.cs (Read): Increment nextChar by charsToRead
16 instead of count, that will guarantee that the next time the
17 method is called, it will return 0 on an empty string rather than
20 2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
22 * BufferedStream.cs: Some fixes, mostly throwing exceptions.
23 * MemoryStream.cs: Changed the order of exception checking
24 * StringReader.cs: little clean up
26 2003-04-14 Ville Palo <vi64pa@kolumbus.fi>
28 * BinaryWriter.cs: Fixed decimal writing and lots of
29 ObjectDisposedExceptions added.
31 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
33 * BinaryReader.cs: Fix to ReadDecimal() method.
35 2003-04-13 Ville Palo <vi64pa@kolumbus.fi>
37 * StringReader.cs: Added some ObjectDisposedExceptions.
38 * StringWriter.cs: Added some ObjectDisposedExceptions.
39 * BinaryReader.cs: Added some ObjectDisposedExceptions.
41 2003-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
43 * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
46 2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
48 * FileStream.cs: fixed bug #40182 and made more unit test pass.
50 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
52 * FileStream.cs: Added new methods Lock () and Unlock ()
54 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
56 * StringReader.cs: Throws exceptions if constructor parameter is null.
58 2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
60 * StringWriter.cs: Now throws an exception if StringBuilder parameter
63 2003-04-05 Miguel de Icaza <miguel@ximian.com>
65 * TextWriter.cs: Implemented Synchronized method.
67 * TextReader.cs: Implemented Synchronized method.
69 2003-04-04 Miguel de Icaza <miguel@ximian.com>
71 * FileStream.cs (Read, ReadByte, Seek): throw
72 ObjectDisposedException if the handle has been released.
74 (Read): Throw exceptions specified in the spec.
76 (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
77 instance methods of FileStream to be thread safe, so remove all
78 the calls to lock on the object
80 2003-03-31 Nick Drochak <ndrochak@gol.com>
82 * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
84 2003-03-20 Lluis Sanchez Gual <lluis@ideary.com>
86 * FileNotFoundException.cs: fixed serialization bug.
88 2003-03-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
90 * StringWriter.cs : don't release internalString on Dispose().
92 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
94 * StreamReader.cs: fixed bug #39280.
96 2003-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98 * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
101 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103 * MemoryStream.cs: general fixes and reformatted. Passes all tests in
104 the new MemoryStreamTest.
106 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
108 * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
109 ToArray even after closing the stream.
111 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
114 (Move): don't use File.Move.
115 * DirectoryInfo.cs: fixed Name property.
119 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
121 * DirectoryInfo.cs: changed ToString to match MS behavior.
122 * Path.cs: further fixes to GetDirectoryName to return null in the
123 same cases that MS does.
127 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
129 * Path.cs: fixed a couple of bugs reported in #35906.
131 2003-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
133 * Directory.cs: fixed bugs #38939 and #38940. No need for separate
134 unix/windows/unc shares code paths.
136 2003-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
138 * File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
139 SetCreationTime, SetLastAccessTime and SetLastWriteTime.
141 2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 (ToArray): return only the portion of the buffer that contains
145 data, not the whole buffer. (note: this makes XmlDocument.Load work
146 again with documents that have a <?xml without the 'encoding'
147 attribute, which makes gtk-sharp generator work again).
149 2003-02-25 Nick Drochak <ndrochak@gol.com>
151 * File.cs (GetCreationTime): Throw proper execption when path is not
154 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
156 * MemoryStream.cs: make it behave sanely when the stream is
157 incrementally expanded.
159 2003-02-21 Dick Porter <dick@ximian.com>
161 * FileStream.cs: Use locks around buffer manipulations. Fixes bug
164 2003-02-18 Dick Porter <dick@ximian.com>
166 * FileStream.cs: Make FileMode.Append work, and check for Seeking
167 back over old data (undocumented ms behaviour, throws an exception
168 if you try). Fixes bug 35975.
170 2003-02-17 Dick Porter <dick@ximian.com>
172 * FileStream.cs: Don't close the handle if the stream doesn't own
173 it. Patch from Raymond Penners (raymond@dotsphinx.com), bug
176 2003-02-14 Zoltan Varga <vargaz@freemail.hu>
178 * FileStream.cs (Write): flush after writing the last segment as well.
180 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
183 (ReadLine): fixed the case when the string ends with a '\n'.
185 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
187 * MemoryStream.cs: create the buffer of the specified capacity.
189 2003-01-31 Patrik Torstensson
191 * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
192 the same way as MS does it (performance improvement)
194 2003-01-29 Zoltan Varga <vargaz@freemail.hu>
196 * Directory.cs (GetFileSystemEntries): moved error handling to the
197 correct instance of GetFileSystemEntries so all callers can enjoy it.
199 2003-01-28 Zoltan Varga <vargaz@freemail.hu>
201 * File.cs: add error handling to Get...Time methods.
203 2003-01-26 Zoltan Varga <vargaz@freemail.hu>
205 * Directory.cs: fix GetParent so it actually works.
207 2003-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
209 * Path.cs: fixlet to ChangeExtension for the case when the path is
212 2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
214 * BufferedStream.cs: don't try to write a 0 sized array on when
219 2003-01-18 Jonathan Pryor <jonpryor@vt.edu>
221 * FileStream.cs: Add IsAsync property. (Documented in "C# In A Nutshell".)
223 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
225 * MemoryStream.cs: fixed bug #36319.
227 2002-12-16 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
229 * Directory.cs: Some fixes to SMB shares handling, and not compiling
230 with csc, mcs compiles it correctly (mcs bug 35652)
232 2002-12-14 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
234 * Directory.cs: Some fixes related to correct some exceptions thrown
236 2002-12-11 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
238 * Directory.cs: Some Exceptions added, fixed GetParent(),
239 CreateDirectory() should work with unix, native windows and
240 windows samba shares. Converted end-lines from dos-mode to unix-mode
242 2002-12-08 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
244 * Directory.cs: CreateDirectory works now with Absolute paths
245 too, not only with relative ones.
247 2002-12-07 Peter Williams <peterw@ximian.com>
249 * Directory.cs: Don't use the uninitialized pathsumm here.
250 Don't try and create "" if we're using an absolute path.
252 2002-12-07 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
254 * Directory.cs: Now the creation of a new directory works recursively
255 it will make parents as needed.
257 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 * BufferedStream.cs: applied patch from <carlosga@telefonica.net> that
262 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <lupus@ximian.com>
264 * StreamWriter.cs: output the encoding preamble at the start of a
267 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
271 2002-11-06 Miguel de Icaza <miguel@ximian.com>
273 * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
275 2002-10-31 Dick Porter <dick@ximian.com>
277 * FileStream.cs: Fix buffering properly this time. Also kludge
278 around broken pipe errors, treating them as EOF instead of
279 throwing an IO exception.
281 * MonoIO.cs: Return the error status in a parameter, as the
282 GetLastError() value has long since been blown away if we try and
283 look it up in a subsequent internal call invocation.
288 * Directory.cs: MonoIO methods now have an error parameter
290 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 * TextReader.cs: implemented ReadBlock ().
294 2002-10-30 Miguel de Icaza <miguel@ximian.com>
296 * StreamWriter.cs: Ditto for Null stream.
298 * BinaryReader.cs: Use Unmarked here too.
300 * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
303 2002-10-23 Dick Porter <dick@ximian.com>
305 * FileStream.cs: Implemented CanSeek, and used it around all the
306 calls to MonoIO.Seek. Fixed buffering in Read() so that it
307 doesn't block forever on short reads.
309 * MonoFileType.cs: New enum for GetFileType
311 * MonoIO.cs: Added GetFileType
313 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
315 * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
316 \n (this is what MS does).
318 2002-10-18 Dick Porter <dick@ximian.com>
320 * FileStream.cs: SeekOrigin.End still calculates the offset from
321 the end of the file with positive values extending the length.
324 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
326 * Path.cs: some cleanup. Thanks to Martin Aliger.
328 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
330 * FileStream.cs: throw an exception if trying to open a directory.
331 Thanks to Martin Aliger.
333 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
335 * Path.cs: fixes bug #28046.
337 2002-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * StreamReader.cs: give more information when wrong parameters passed.
341 2002-09-21 Miguel de Icaza <miguel@ximian.com>
343 * FileStream.cs: Do not call FSync on the file.
345 2002-09-16 Miguel de Icaza <miguel@ximian.com>
347 * TextWriter.cs (Null): The Null field should be an instance of a
348 TextWriter class that does nothing, so it is an instance of the
349 NullTextWriter class.
351 2002-09-16 Nick Drochak <ndrochak@gol.com>
353 * MemoryStream.cs (Close): Don't throw an exception if the stream
356 2002-09-15 Miguel de Icaza <miguel@ximian.com>
358 * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
361 The API docs show no explicit mention that Flush() should even do
362 an fsync, I am thinking that we should drop that from the
365 2002-09-09 Miguel de Icaza <miguel@ximian.com>
367 * StreamWriter.cs: When no encoding is provided, create an
368 encoding without markers, this is what MS does.
370 2002-09-06 Miguel de Icaza <miguel@ximian.com>
372 * StreamReader.cs: Implement detection of byte marks and skipping
373 of byte marks at the beginning of the stream.
375 (ReadToEnd): Use buffered read instead of char-by-char
378 Correct the default arguments for creating the StreamReader.
380 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 * CheckArgument.cs: fixed check for empty string.
383 * Path.cs: various fixes. It passes all the tests in new PathTest.
385 2002-08-29 Duncan Mak <duncan@ximian.com>
387 * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
390 2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
399 * TextWriter.cs: IDisposable fixes.
401 2002-08-24 Miguel de Icaza <miguel@ximian.com>
403 * StreamReader.cs: Removed TODOs, as the code seems to be
406 * Path.cs (GetTempFileName): Make this routine atomic by not
407 testing and then creating, but using the create call to ensure
408 that we own the filename.
410 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * FileLoadException.cs: implemented ToString.
414 * StreamWriter.cs: added Null field and implemented Write (char) and
417 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419 * StreamReader.cs: implemented NullStreamReader.
421 2002-08-21 Miguel de Icaza <miguel@ximian.com>
423 * Path.cs (GetDirectoryName): Fix for filenames with size = 1
425 * File.cs: Removed all references that threw exceptions when the
426 paths contains a colon, as this is a valid part of an identifier
429 Everywhere: The String.Empty return from GetDirectoryName means
430 that there is no directory information about the path.
432 2002-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
434 * FileNotFoundException.cs: use Message and InnerException from base
435 class. Changed Message and ToString ().
437 2002-08-19 Dick Porter <dick@ximian.com>
439 * BinaryWriter.cs: The length of a string is counted in bytes, not
442 2002-08-18 Dick Porter <dick@ximian.com>
444 * BinaryReader.cs: Fixed buffering
446 2002-08-09 Nick Drochak <ndrochak@gol.com>
448 * BinaryReader.cs: added virtual to Dispose(bool).
450 2002-08-03 Jason Diamond <jason@injektilo.org>
452 * StringWriter.cs: Return UnicodeEncoding for Encoding property.
454 2002-08-03 Jason Diamond <jason@injektilo.org>
456 * StreamWriter.cs: Use GetByteCount() to get exact length instead
457 of GetMaxByteCount when converting chars to bytes.
459 2002-07-31 Duncan Mak <duncan@ximian.com>
462 (Dispose): Added and implmented.
465 (Dispose): Fixed visibility.
466 (Initialize): Fixed visibility, made internal.
469 (Dispose): Fixed visibility.
471 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
474 (Create): allow file names without path.
476 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
478 * FileStream.cs: patch from erik@bagfors.nu to add
479 Name property support.
481 2002-07-20 Dick Porter <dick@ximian.com>
483 * MonoIO.cs: Added icall to CreatePipe
485 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
487 * FileInfo.cs: fixes buglet #27940
489 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491 * Path.cs: removed unneeded line from GetExtension.
493 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
496 (.ctor): call MonoIO.GetException with the file name.
498 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
500 * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
502 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
504 * StreamReader.cs: Revert the last Peek change and fix the ReadLine
505 end of line detection code instead.
507 2002-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
510 (Peek): no need to have seek capabilitites.
512 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
514 * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
516 * File.cs (Delete): only call Directory.Exists() if DirName != ""
518 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520 * Directory.cs: fixed bug #26133 and also test if the directory exist
521 before performing the search.
523 2002-06-12 Nick Drochak <ndrochak@gol.com>
525 * StringReader.cs (ReadLine): Return null when we get to end of the
528 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
530 * StreamWriter.cs: added ability to write null value
532 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
534 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
535 prevent endless loops.
537 2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
539 * FileStream.cs: Enforce lower bound on buffer size.
541 2002-05-16 Piers Haken <piersh@friskit.com>
543 * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
545 2002-05-17 Nick Drochak <ndrochak@gol.com>
547 * StreamWriter.cs: Implement buffering. Also implemented dispose
548 pattern as recommended by the MS docs. Must call Close() now
549 to ensure the buffer is flushed.
551 2002-05-15 Nick Drochak <ndrochak@gol.com>
553 * Path.cs (GetDirectoryName): Return String.Empty if there is no
556 * StreamReader.cs: Add some parameter checking on file names.
558 * StreamWriter.cs: Add some parameter checking on file names.
560 2002-05-14 Nick Drochak <ndrochak@gol.com>
562 * File.cs: Add parameter checks to most methods. Not completely done,
563 but all current unit tests pass.
565 * Path.cs: Implement GetTempFileName().
567 2002-05-10 Nick Drochak <ndrochak@gol.com>
569 * StreamWriter.cs (Flush): Throw proper exception if internal stream
570 has already been closed when we try to flush.
572 2002/05/10 Nick Drochak <ndrochak@gol.com>
574 * FileNotFoundException.cs (ToString): Don't try to use the inner
575 exception, because it might be null. Use the message instead.
577 2002-05-09 Nick Drochak <ndrochak@gol.com>
579 * File.cs (Delete): Do not throw an exception if the file does not
582 2002-05-08 Mike Gray <mikeg@mikegray.org>
584 * File.cs: According to ECMA spec and MS docs Copy(src, dest)
585 should not overwrite dest by default.
587 2002-05-08 Nick Drochak <ndrochak@gol.com>
589 * StreamWriter.cs: Add paramter check to constructors and throw
590 exceptions where appropriate.
592 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
594 * StreamReader.cs: return the number of chars read even if we diddn't
595 fill the whole buffer (makes Sergey's ilasm work with mono).
597 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
599 * FileInfo.cs (Create): Implement missing method.
601 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
603 * File.cs: Implemented CreateText method, and fixed dst compares
604 to compare against "" instead of null twice.
606 2002-05-05 Nick Drochak <ndrochak@gol.com>
608 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
609 use new internal class since null cannot be passed to constructor
610 anymore. Also, fix a coule of small bugs.
612 2002-05-03 Nick Drochak <ndrochak@gol.com>
614 * MemoryStream.cs: Refrain from allocating array until the space is
615 really needed. This fixes a bug in the Length property when the
616 constructor without the byte array is used.
618 2002-05-01 Duncan Mak <duncan@ximian.com>
620 * DirectoryNotFoundException.cs (constructor): Added missing
621 serialization constructor.
623 2002-04-30 Duncan Mak <duncan@ximian.com>
625 * FileLoadException.cs (constructors): Added missing (string,
626 string) ctor, as well as (string, string, Exception) ctor.
628 (Message): Added more info to the error message
630 (ToString): Added. We'll need to add the StackTrace stuff when
633 * FileShare.cs: Add a missing field, Inheritable.
635 * TextReader.cs: Renamed Synchronised method to Synchronized.
637 * TextWriter.cs: Renamed Synchronised method to Synchronized.
638 Renamed protected member coreNewLine to CoreNewLine.
640 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
642 * BinaryReader.cs: Allocate buffer before its first use.
643 Handle end of stream properly. Methods to read native types
644 (ReadInt* etc.) are little-endian (see Compact Framework docs).
646 * BinaryWriter.cs: Store data in little-endian format.
647 Use internal buffer for conversions.
649 2002-03-31 Dick Porter <dick@ximian.com>
651 * Directory.cs: Strip out "." and ".." from returned list
653 * FileAttributes.cs: Get the right enum values
655 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
657 * TextWriter.cs (write): added check for null
659 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
661 * Directory.cs: Throws DirectoryNotFoundException.
662 * MonoIO.cs: Fixed to work around enum problem.
664 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
666 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
668 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
670 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
671 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
672 wrapper and PAL classes.
674 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
676 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
678 * MemoryStream.cs (Read): Fixed bug in exception throw.
680 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
682 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
684 2002-03-23 Martin Baulig <martin@gnome.org>
686 * StreamReader.cs: Always do buffered reading, use 4k blocks.
687 (Read (char[], int, int)): Implemented.
688 (DiscardBufferedData): Implemented.
690 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
692 * StreamReader.cs : Fill out, add buffering, and use encoding.
694 2002-03-19 Martin Baulig <martin@gnome.org>
696 * StreamWriter.cs (StreamWriter (string)): The default is to override
697 the file, not to append to it.
698 (StreamWriter (string path, bool append)): When appending, seek to the
699 end of the file, otherwise truncate the file to zero length.
700 (Dispose (bool)): Close the internalStream.
701 (Flush): Flush the interalStream.
702 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
704 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
706 * FileStream.cs: Flush buffer before FileSetLength.
708 2002-02-28 Miguel de Icaza <miguel@ximian.com>
710 * Stream.cs (NullStream): Do not track position, this beast does
713 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
715 * SearchPattern.cs: New class. Glob matching code for Directory.
716 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
718 2002/03/15 Nick Drochak <ndrochak@gol.com>
720 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
721 This code seemed to be copied from somewhere, and it was close,
722 but didn't match the docs. This was the last bit needed to get
723 NAnt to compile with our class libs.
725 2002-03-12 Duncan Mak <duncan@ximian.com>
727 * EndOfStreamException.cs:
728 * FileLoadException.cs:
729 * FileNotFoundException.cs:
730 * PathTooLongException.cs: Changed the base classes to IOException
731 instead of SystemException.
733 * IOException.cs: Added missing constructors.
735 2002-03-07 Nick Drochak <ndrochak@gol.com>
737 * FileMode.cs: Docs don't say this should be explicitly derived from
738 int, so just make it a normal Enum.
740 2002-03-02 Jason Diamond <jason@injektilo.org>
742 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
744 2002-02-12 Nick Drochak <ndrochak@gol.com>
746 * PathTooLongException.cs: put it in the correct namespace
747 * EndOfStreamException.cs: put it in the correct namespace
749 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
751 * Directory.cs: handle opendir() return NULL and absolute filenames.
753 2002-01-31 Duncan Mak <duncan@ximian.com>
755 * FileLoadException.cs:
756 * FileNotFoundException: Added missing bits for serialization.
758 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
760 * Directory.cs: allow directories in GetFiles() mask.
762 2002-01-23 Miguel de Icaza <miguel@ximian.com>
764 * FileInfo.c (CopyTo, MoveTo): Implement.
766 * FileStream.cs: Add argument checking to the constructor.
768 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
769 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
771 * Directory.cs (Delete): reimplement without using DirectoryInfo.
772 (Delete): Implement the recursive version.
773 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
775 (getNames): dead code removal.
777 * Path.cs: define an internal DirectorySeparatorStr that we use in
780 * Wrapper.cs: Updated to new version.
782 * DirectoryInfo (Delete): Implement using the Directory API.
784 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
785 Delete, Create, Parent, Exists, MoveTo): Implement.
787 * Directory.cs (GetListing): implement new utility function.
788 (GetDirectories): Implement.
789 (GetFileSystemEntries): Implement.
790 (GetFiles): Implement.
792 * CheckArgument.cs (Path): Do not allow null by default.
794 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
796 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
799 2002-01-20 Nick Drochak <ndrochak@gol.com>
801 * SeekOrigin.cs: Added Serializable attribute.
803 2002-01-19 Duncan Mak <duncan@ximian.com>
805 * PathTooLongException.cs:
806 * EndOfStreamException.cs: Added to CVS.
808 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
810 * BufferedStream.cs: Initial implemenation. The synchronous
811 methods for both reading and writing are implemented. I'll do the
812 asynchronous methods in a bit.
814 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
816 * BinaryWriter.cs: Initial implementation. And it's all there.
818 * BinaryReader.cs: The constructor now uses the passed in encoding,
821 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
823 * BinaryReader.cs: Initial implementation. I think it's complete.
825 2002-01-04 Ravi Pratap <ravi@ximian.com>
827 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
828 attribute decorations.
830 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
831 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
833 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
836 2001-12-11 Dick Porter <dick@ximian.com>
838 * FileStream.cs: Use handles rather than casting file descriptors.
839 Added Handle property.
841 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
843 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
844 * FileStream.cs: only trow an exception if the read failed in ReadByte().
845 * StreamReader.cs: implement Peek and Read.
846 * TextWriter.cs: CLSCompliant updates.
848 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
850 * FileNotFoundException.cs: Added some constructors
852 * Path.cs (GetFullPath): Fixed implementation
854 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
856 * DirectoryNotFoundException.cs: implemented.
858 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
860 * File.cs: fix signatures of the Open() and OpenRead() functions
863 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
865 * FileLoadException.cs, FileNotFoundException.cs: added.
867 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
869 * TextReader.cs: implemented the Read method
871 * StreamReader.cs: impl. stubs
873 * StreamWriter.cs: impl.
875 * TextWriter.cs: implemented Write and WriteLine methods
877 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
879 * FileAccess.cs, FileMode.cs: change values to be compatible with
882 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
884 * IOException.cs: Implemented System.IO.Exception.
886 2001-07-18 Michael Lambert <michaellambert@email.com>
888 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
890 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
892 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
893 "LAMESPEC", but the tests work against the MS implementation so
894 the major functions are right (ie. Read/Write/Seek). Some more
895 tests required for the various constructors and exceptions.
897 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
899 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
900 New class implemenations.
902 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.