2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
[mono.git] / mcs / class / corlib / System.IO / ChangeLog
1 2003-04-19  Ville Palo <vi64pa@kolumbus.fi>
2
3         * BufferedStream.cs: Some fixes, mostly throwing exceptions.
4         * MemoryStream.cs: Changed the order of exception checking
5         * StringReader.cs: little clean up
6         
7 2003-04-14  Ville Palo <vi64pa@kolumbus.fi>
8
9         * BinaryWriter.cs: Fixed decimal writing and lots of 
10         ObjectDisposedExceptions added.
11         
12 2003-04-13  Ville Palo <vi64pa@kolumbus.fi>
13
14         * BinaryReader.cs: Fix to ReadDecimal() method.
15         
16 2003-04-13  Ville Palo <vi64pa@kolumbus.fi>
17
18         * StringReader.cs: Added some ObjectDisposedExceptions.
19         * StringWriter.cs: Added some ObjectDisposedExceptions.
20         * BinaryReader.cs: Added some ObjectDisposedExceptions.
21         
22 2003-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
23
24         * FileStream.cs: fixed the windows build. This is an mcs bug. I'll
25         fill a bug report.
26
27 2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
28
29         * FileStream.cs: fixed bug #40182 and made more unit test pass.
30
31 2003-04-11  Ville Palo <vi64pa@kolumbus.fi>
32
33         * FileStream.cs: Added new methods Lock () and Unlock ()
34         
35 2003-04-11  Ville Palo <vi64pa@kolumbus.fi>
36
37         * StringReader.cs: Throws exceptions if constructor parameter is null.
38         
39 2003-04-11  Ville Palo <vi64pa@kolumbus.fi>
40
41         * StringWriter.cs: Now throws an exception if StringBuilder parameter
42         is null
43         
44 2003-04-05  Miguel de Icaza  <miguel@ximian.com>
45
46         * TextWriter.cs: Implemented Synchronized method.
47
48         * TextReader.cs: Implemented Synchronized method.
49
50 2003-04-04  Miguel de Icaza  <miguel@ximian.com>
51
52         * FileStream.cs (Read, ReadByte, Seek): throw
53         ObjectDisposedException if the handle has been released.
54         
55         (Read): Throw exceptions specified in the spec.
56
57         (Read, Write, ReadSegment, WriteSegment): There is no requirement for any
58         instance methods of FileStream to be thread safe, so remove all
59         the calls to lock on the object
60
61 2003-03-31  Nick Drochak <ndrochak@gol.com>
62
63         * Path.cs (GetDirectoryName): Throw proper execption when path is empty.
64
65 2003-03-20  Lluis Sanchez Gual <lluis@ideary.com>
66
67         * FileNotFoundException.cs: fixed serialization bug.
68
69 2003-03-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
70
71         * StringWriter.cs : don't release internalString on Dispose().
72
73 2003-03-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
74
75         * StreamReader.cs: fixed bug #39280.
76
77 2003-03-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
78
79         * Directory.cs: readded mkdir -p behavior. Thanks to kiwnix for
80         pointing it out.
81
82 2003-03-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * MemoryStream.cs: general fixes and reformatted. Passes all tests in
85         the new MemoryStreamTest.
86
87 2003-03-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
88
89         * MemoryStream.cs: undo my bogus fix in ToArray. Allow GetBuffer and
90         ToArray even after closing the stream.
91
92 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
93
94         * Directory.cs:
95         (Move): don't use File.Move.
96         * DirectoryInfo.cs: fixed Name property.
97         
98         Fixes bug #37755.
99
100 2003-03-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
101
102         * DirectoryInfo.cs: changed ToString to match MS behavior.
103         * Path.cs: further fixes to GetDirectoryName to return null in the
104         same cases that MS does.
105
106         Fixes bug #38387.
107
108 2003-03-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
109
110         * Path.cs: fixed a couple of bugs reported in #35906.
111
112 2003-03-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
113
114         * Directory.cs: fixed bugs #38939 and #38940. No need for separate
115         unix/windows/unc shares code paths.
116
117 2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
118
119         * File.cs: fix by Elan Feingold <efeingold@mn.rr.com> for
120         SetCreationTime, SetLastAccessTime and SetLastWriteTime.
121
122 2003-02-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
123
124         * MemoryStream.cs:
125         (ToArray): return only the portion of the buffer that contains
126         data, not the whole buffer. (note: this makes XmlDocument.Load work
127         again with documents that have a <?xml without the 'encoding'
128         attribute, which makes gtk-sharp generator work again).
129
130 2003-02-25  Nick Drochak <ndrochak@gol.com>
131
132         * File.cs (GetCreationTime): Throw proper execption when path is not
133         found.
134
135 Tue Feb 25 11:55:35 CET 2003 Paolo Molaro <lupus@ximian.com>
136
137         * MemoryStream.cs: make it behave sanely when the stream is
138         incrementally expanded.
139
140 2003-02-21  Dick Porter  <dick@ximian.com>
141
142         * FileStream.cs: Use locks around buffer manipulations.  Fixes bug
143         32344
144
145 2003-02-18  Dick Porter  <dick@ximian.com>
146
147         * FileStream.cs: Make FileMode.Append work, and check for Seeking
148         back over old data (undocumented ms behaviour, throws an exception
149         if you try).  Fixes bug 35975.
150
151 2003-02-17  Dick Porter  <dick@ximian.com>
152
153         * FileStream.cs: Don't close the handle if the stream doesn't own
154         it.  Patch from Raymond Penners (raymond@dotsphinx.com), bug
155         35623.
156
157 2003-02-14  Zoltan Varga  <vargaz@freemail.hu>
158
159         * FileStream.cs (Write): flush after writing the last segment as well.
160
161 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
162
163         * StringReader.cs:
164         (ReadLine): fixed the case when the string ends with a '\n'.
165
166 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
167
168         * MemoryStream.cs: create the buffer of the specified capacity.
169
170 2003-01-31  Patrik Torstensson
171
172         * MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
173         the same way as MS does it (performance improvement)
174
175 2003-01-29  Zoltan Varga  <vargaz@freemail.hu>
176
177         * Directory.cs (GetFileSystemEntries): moved error handling to the
178         correct instance of GetFileSystemEntries so all callers can enjoy it.
179
180 2003-01-28  Zoltan Varga  <vargaz@freemail.hu>
181
182         * File.cs: add error handling to Get...Time methods.
183
184 2003-01-26  Zoltan Varga  <vargaz@freemail.hu>
185
186         * Directory.cs: fix GetParent so it actually works.
187
188 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
189
190         * Path.cs: fixlet to ChangeExtension for the case when the path is
191         empty.
192
193 2003-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
194
195         * BufferedStream.cs: don't try to write a 0 sized array on when
196         flushing the stream.
197         
198         Fixes bug #37045.
199
200 2003-01-18  Jonathan Pryor <jonpryor@vt.edu>
201
202         * FileStream.cs: Add IsAsync property.  (Documented in "C# In A Nutshell".)
203
204 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
205
206         * MemoryStream.cs: fixed bug #36319.
207
208 2002-12-16  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
209         
210         * Directory.cs: Some fixes to SMB shares handling, and not compiling 
211         with csc, mcs compiles it correctly (mcs bug 35652)
212
213 2002-12-14  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
214
215         * Directory.cs: Some fixes related to correct some exceptions thrown
216
217 2002-12-11  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
218
219         * Directory.cs: Some Exceptions added, fixed GetParent(),
220         CreateDirectory() should work with unix, native windows and
221         windows samba shares. Converted end-lines from dos-mode to unix-mode
222
223 2002-12-08  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
224
225         * Directory.cs: CreateDirectory  works now with Absolute paths
226         too, not only with relative ones.
227
228 2002-12-07  Peter Williams  <peterw@ximian.com>
229
230         * Directory.cs: Don't use the uninitialized pathsumm here.
231         Don't try and create "" if we're using an absolute path.
232
233 2002-12-07  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
234
235         * Directory.cs: Now the creation of a new directory works recursively
236         it will make parents as needed.
237
238 2002-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
239
240         * BufferedStream.cs: applied patch from <carlosga@telefonica.net> that
241         fixes Flush ().
242
243 Tue Nov 19 13:01:22 CET 2002 Paolo Molaro <lupus@ximian.com>
244
245         * StreamWriter.cs: output the encoding preamble at the start of a
246         stream if needed.
247
248 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
249
250         * StreamReader.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
251
252 2002-11-06  Miguel de Icaza  <miguel@ximian.com>
253
254         * StreamWriter.cs: Changed all Encoding.UTF8 to Encoding.UTF8Unmarked.
255
256 2002-10-31  Dick Porter  <dick@ximian.com>
257
258         * FileStream.cs: Fix buffering properly this time.  Also kludge
259         around broken pipe errors, treating them as EOF instead of
260         throwing an IO exception.
261
262         * MonoIO.cs: Return the error status in a parameter, as the
263         GetLastError() value has long since been blown away if we try and
264         look it up in a subsequent internal call invocation.
265
266         * FileSystemInfo.cs: 
267         * FileInfo.cs: 
268         * File.cs: 
269         * Directory.cs: MonoIO methods now have an error parameter
270
271 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
272
273         * TextReader.cs: implemented ReadBlock ().
274
275 2002-10-30  Miguel de Icaza  <miguel@ximian.com>
276
277         * StreamWriter.cs: Ditto for Null stream.
278
279         * BinaryReader.cs: Use Unmarked here too.
280
281         * BinaryWriter.cs: Use the UTF8Unmarker encoding by default, this
282         is what .NET does.
283
284 2002-10-23  Dick Porter  <dick@ximian.com>
285
286         * FileStream.cs: Implemented CanSeek, and used it around all the
287         calls to MonoIO.Seek.  Fixed buffering in Read() so that it
288         doesn't block forever on short reads.
289
290         * MonoFileType.cs: New enum for GetFileType
291         
292         * MonoIO.cs: Added GetFileType
293
294 2002-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
295
296         * StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
297         \n (this is what MS does).
298
299 2002-10-18  Dick Porter  <dick@ximian.com>
300
301         * FileStream.cs: SeekOrigin.End still calculates the offset from
302         the end of the file with positive values extending the length.
303         Fixes bug 32471.
304
305 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
306
307         * Path.cs: some cleanup. Thanks to Martin Aliger.
308
309 2002-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
310
311         * FileStream.cs: throw an exception if trying to open a directory.
312         Thanks to Martin Aliger.
313
314 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
315
316         * Path.cs: fixes bug #28046.
317
318 2002-09-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
319
320         * StreamReader.cs: give more information when wrong parameters passed.
321
322 2002-09-21  Miguel de Icaza  <miguel@ximian.com>
323
324         * FileStream.cs: Do not call FSync on the file.
325
326 2002-09-16  Miguel de Icaza  <miguel@ximian.com>
327
328         * TextWriter.cs (Null): The Null field should be an instance of a
329         TextWriter class that does nothing, so it is an instance of the
330         NullTextWriter class.
331
332 2002-09-16  Nick Drochak  <ndrochak@gol.com>
333
334         * MemoryStream.cs (Close): Don't throw an exception if the stream
335         is already closed.
336
337 2002-09-15  Miguel de Icaza  <miguel@ximian.com>
338
339         * FileStream.cs (Dispose): Call FlushBuffer(), and not Flush, as
340         Flush calls fsync().  
341
342         The API docs show no explicit mention that Flush() should even do
343         an fsync, I am thinking that we should drop that from the
344         runtime. 
345
346 2002-09-09  Miguel de Icaza  <miguel@ximian.com>
347
348         * StreamWriter.cs: When no encoding is provided, create an
349         encoding without markers, this is what MS does.
350
351 2002-09-06  Miguel de Icaza  <miguel@ximian.com>
352
353         * StreamReader.cs: Implement detection of byte marks and skipping
354         of byte marks at the beginning of the stream.
355
356         (ReadToEnd): Use buffered read instead of char-by-char
357         processing. 
358
359         Correct the default arguments for creating the StreamReader.
360
361 2002-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
362
363         * CheckArgument.cs: fixed check for empty string.
364         * Path.cs: various fixes. It passes all the tests in new PathTest.
365
366 2002-08-29  Duncan Mak  <duncan@ximian.com>
367
368         * StreamWriter.cs: Set DisposedAlready after calling flush. Fixes
369         the build for gtk#.
370
371 2002-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
372
373         * BinaryReader.cs:
374         * BinaryWriter.cs:
375         * MemoryStream.cs:
376         * StreamReader.cs:
377         * StreamWriter.cs:
378         * StringReader.cs:
379         * StringWriter.cs:
380         * TextWriter.cs: IDisposable fixes.
381
382 2002-08-24  Miguel de Icaza  <miguel@ximian.com>
383
384         * StreamReader.cs: Removed TODOs, as the code seems to be
385         complete. 
386
387         * Path.cs (GetTempFileName): Make this routine atomic by not
388         testing and then creating, but using the create call to ensure
389         that we own the filename.
390
391 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
392
393         * FileLoadException.cs: implemented ToString.
394
395         * StreamWriter.cs: added Null field and implemented Write (char) and
396         Write (char []).
397
398 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
399
400         * StreamReader.cs: implemented NullStreamReader.
401
402 2002-08-21  Miguel de Icaza  <miguel@ximian.com>
403
404         * Path.cs (GetDirectoryName): Fix for filenames with size = 1
405
406         * File.cs: Removed all references that threw exceptions when the
407         paths contains a colon, as this is a valid part of an identifier
408         on Unix.
409
410         Everywhere: The String.Empty return from GetDirectoryName means
411         that there is no directory information about the path.
412
413 2002-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
414
415         * FileNotFoundException.cs: use Message and InnerException from base
416         class. Changed Message and ToString ().
417
418 2002-08-19  Dick Porter  <dick@ximian.com>
419
420         * BinaryWriter.cs: The length of a string is counted in bytes, not
421         chars
422
423 2002-08-18  Dick Porter  <dick@ximian.com>
424
425         * BinaryReader.cs: Fixed buffering
426
427 2002-08-09  Nick Drochak  <ndrochak@gol.com>
428
429         * BinaryReader.cs: added virtual to Dispose(bool).
430
431 2002-08-03  Jason Diamond  <jason@injektilo.org>
432
433         * StringWriter.cs: Return UnicodeEncoding for Encoding property.
434
435 2002-08-03  Jason Diamond  <jason@injektilo.org>
436
437         * StreamWriter.cs: Use GetByteCount() to get exact length instead
438         of GetMaxByteCount when converting chars to bytes.
439
440 2002-07-31  Duncan Mak  <duncan@ximian.com>
441
442         * StreamReader.cs: 
443         (Dispose): Added and implmented.
444
445         * StreamWriter.cs: 
446         (Dispose): Fixed visibility.
447         (Initialize): Fixed visibility, made internal.
448
449         * BinaryReader.cs:
450         (Dispose): Fixed visibility.
451
452 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
453
454         * File.cs:
455         (Create): allow file names without path.
456
457 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
458
459         * FileStream.cs: patch from erik@bagfors.nu to add
460         Name property support.
461
462 2002-07-20  Dick Porter  <dick@ximian.com>
463
464         * MonoIO.cs: Added icall to CreatePipe
465
466 2002-07-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
467
468         * FileInfo.cs: fixes buglet #27940
469
470 2002-07-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
471
472         * Path.cs: removed unneeded line from GetExtension.
473
474 2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
475
476         * FileStream.cs:
477         (.ctor): call MonoIO.GetException with the file name.
478
479 2002-07-02  Mike Kestner  <mkestner@speakeasy.net>
480
481         * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
482
483 2002-07-02  Mike Kestner  <mkestner@speakeasy.net>
484
485         * StreamReader.cs: Revert the last Peek change and fix the ReadLine
486         end of line detection code instead.
487
488 2002-07-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
489
490         * StreamReader.cs:
491         (Peek): no need to have seek capabilitites. 
492
493 2002-06-17  Dietmar Maurer  <dietmar@ximian.com>
494
495         * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
496
497         * File.cs (Delete): only call Directory.Exists() if DirName != ""
498
499 2002-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
500
501         * Directory.cs: fixed bug #26133 and also test if the directory exist
502         before performing the search.
503
504 2002-06-12  Nick Drochak  <ndrochak@gol.com>
505
506         * StringReader.cs (ReadLine): Return null when we get to end of the
507         string.
508
509 2002-05-22  Lawrence Pit  <loz@cable.a2000.nl>
510
511         * StreamWriter.cs: added ability to write null value
512         
513 2002-05-19  Lawrence Pit  <loz@cable.a2000.nl>
514
515         * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
516         prevent endless loops.
517
518 2002-05-17  Dan Lewis  <dihlewis@yahoo.co.uk>
519
520         * FileStream.cs: Enforce lower bound on buffer size.
521
522 2002-05-16  Piers Haken <piersh@friskit.com>
523
524         * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
525
526 2002-05-17  Nick Drochak  <ndrochak@gol.com>
527
528         * StreamWriter.cs: Implement buffering.  Also implemented dispose
529         pattern as recommended by the MS docs.  Must call Close() now
530         to ensure the buffer is flushed.
531
532 2002-05-15  Nick Drochak  <ndrochak@gol.com>
533
534         * Path.cs (GetDirectoryName): Return String.Empty if there is no
535         directory
536
537         * StreamReader.cs: Add some parameter checking on file names.
538
539         * StreamWriter.cs: Add some parameter checking on file names.
540
541 2002-05-14 Nick Drochak  <ndrochak@gol.com>
542
543         * File.cs: Add parameter checks to most methods. Not completely done,
544         but all current unit tests pass.
545
546         * Path.cs: Implement GetTempFileName().
547
548 2002-05-10  Nick Drochak  <ndrochak@gol.com>
549
550         * StreamWriter.cs (Flush): Throw proper exception if internal stream
551         has already been closed when we try to flush.
552
553 2002/05/10  Nick Drochak <ndrochak@gol.com>
554
555         * FileNotFoundException.cs (ToString): Don't try to use the inner
556         exception, because it might be null.  Use the message instead.
557
558 2002-05-09  Nick Drochak  <ndrochak@gol.com>
559
560         * File.cs (Delete): Do not throw an exception if the file does not
561         exist.
562
563 2002-05-08  Mike Gray     <mikeg@mikegray.org>
564
565         * File.cs: According to ECMA spec and MS docs Copy(src, dest)
566         should not overwrite dest by default.
567
568 2002-05-08  Nick Drochak  <ndrochak@gol.com>
569
570         * StreamWriter.cs: Add paramter check to constructors and throw
571         exceptions where appropriate.
572
573 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
574
575         * StreamReader.cs: return the number of chars read even if we diddn't
576         fill the whole buffer (makes Sergey's ilasm work with mono).
577
578 2002-05-07  Mike Gray     <mikeg_us@hotmail.com> 
579
580         * FileInfo.cs (Create): Implement missing method.
581
582 2002-05-07  Mike Gray     <mikeg_us@hotmail.com>
583
584         * File.cs: Implemented CreateText method, and fixed dst compares
585         to compare against "" instead of null twice.
586
587 2002-05-05  Nick Drochak  <ndrochak@gol.com>
588
589         * StreamReader.cs: Throw exceptions where needed. Changed Null field to
590         use new internal class since null cannot be passed to constructor 
591         anymore. Also, fix a coule of small bugs.
592
593 2002-05-03  Nick Drochak  <ndrochak@gol.com>
594
595         * MemoryStream.cs: Refrain from allocating array until the space is
596         really needed. This fixes a bug in the Length property when the
597         constructor without the byte array is used.
598
599 2002-05-01  Duncan Mak  <duncan@ximian.com>
600
601         * DirectoryNotFoundException.cs (constructor): Added missing
602         serialization constructor.
603
604 2002-04-30  Duncan Mak  <duncan@ximian.com>
605
606         * FileLoadException.cs (constructors): Added missing (string,
607         string) ctor, as well as (string, string, Exception) ctor.
608
609         (Message): Added more info to the error message
610
611         (ToString): Added. We'll need to add the StackTrace stuff when
612         that works.
613
614         * FileShare.cs: Add a missing field, Inheritable.
615         
616         * TextReader.cs: Renamed Synchronised method to Synchronized.
617
618         * TextWriter.cs: Renamed Synchronised method to Synchronized.
619         Renamed protected member coreNewLine to CoreNewLine.
620
621 2002-04-30  Sergey Chaban  <serge@wildwestsoftware.com>
622
623         * BinaryReader.cs: Allocate buffer before its first use.
624         Handle end of stream properly. Methods to read native types
625         (ReadInt* etc.) are little-endian (see Compact Framework docs).
626
627         * BinaryWriter.cs: Store data in little-endian format.
628         Use internal buffer for conversions.
629
630 2002-03-31  Dick Porter  <dick@ximian.com>
631
632         * Directory.cs: Strip out "." and ".." from returned list
633
634         * FileAttributes.cs: Get the right enum values
635
636 2002-03-28  Dietmar Maurer  <dietmar@ximian.com>
637
638         * TextWriter.cs (write): added check for null
639
640 2002-03-28  Dan Lewis  <dihlewis@yahoo.co.uk>
641
642         * Directory.cs: Throws DirectoryNotFoundException.
643         * MonoIO.cs: Fixed to work around enum problem.
644
645 2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>
646
647         * StreamReader.cs: Implemented ReadLine() and ReadEnd().
648
649 2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>
650
651         * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
652         DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
653         wrapper and PAL classes.
654
655         * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
656
657 2002-03-25  Mike Kestner <mkestner@speakeasy.net>
658
659         * MemoryStream.cs (Read): Fixed bug in exception throw.
660
661 2002-03-24  Mike Kestner <mkestner@speakeasy.net>
662
663         * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
664
665 2002-03-23  Martin Baulig  <martin@gnome.org>
666
667         * StreamReader.cs: Always do buffered reading, use 4k blocks.
668         (Read (char[], int, int)): Implemented.
669         (DiscardBufferedData): Implemented.
670
671 2002-03-21  Mike Kestner <mkestner@speakeasy.net>
672
673         * StreamReader.cs : Fill out, add buffering, and use encoding.
674
675 2002-03-19  Martin Baulig  <martin@gnome.org>
676
677         * StreamWriter.cs (StreamWriter (string)): The default is to override
678         the file, not to append to it.
679         (StreamWriter (string path, bool append)): When appending, seek to the
680         end of the file, otherwise truncate the file to zero length.
681         (Dispose (bool)): Close the internalStream.
682         (Flush): Flush the interalStream.
683         (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
684
685 2002-03-19  Dan Lewis <dihlewis@yahoo.co.uk>
686
687         * FileStream.cs: Flush buffer before FileSetLength.
688
689 2002-02-28  Miguel de Icaza  <miguel@ximian.com>
690
691         * Stream.cs (NullStream): Do not track position, this beast does
692         nothing in practice.
693
694 2002-03-15  Dan Lewis <dihlewis@yahoo.co.uk>
695
696         * SearchPattern.cs: New class. Glob matching code for Directory.
697         * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
698
699 2002/03/15 Nick Drochak <ndrochak@gol.com>
700
701         * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
702         This code seemed to be copied from somewhere, and it was close,
703         but didn't match the docs.  This was the last bit needed to get
704         NAnt to compile with our class libs.
705
706 2002-03-12  Duncan Mak  <duncan@ximian.com>
707
708         * EndOfStreamException.cs:
709         * FileLoadException.cs:
710         * FileNotFoundException.cs:
711         * PathTooLongException.cs: Changed the base classes to IOException
712         instead of SystemException.
713
714         * IOException.cs: Added missing constructors.
715         
716 2002-03-07  Nick Drochak  <ndrochak@gol.com>
717
718         * FileMode.cs: Docs don't say this should be explicitly derived from
719         int, so just make it a normal Enum.
720
721 2002-03-02  Jason Diamond  <jason@injektilo.org>
722
723         * StringReader.cs: Fixed off-by-one error in Peek() and Read().
724
725 2002-02-12  Nick Drochak  <ndrochak@gol.com>
726
727         * PathTooLongException.cs: put it in the correct namespace
728         * EndOfStreamException.cs: put it in the correct namespace
729
730 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
731
732         * Directory.cs: handle opendir() return NULL and absolute filenames.
733
734 2002-01-31  Duncan Mak  <duncan@ximian.com>
735
736         * FileLoadException.cs:
737         * FileNotFoundException: Added missing bits for serialization.
738
739 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
740
741         * Directory.cs: allow directories in GetFiles() mask.
742
743 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
744
745         * FileInfo.c (CopyTo, MoveTo): Implement.
746
747         * FileStream.cs: Add argument checking to the constructor.
748
749         * File.cs: Rewrote most of the file.  Implement Copy, Open, Create,
750         OpenText, OpenWrite, Move.  Made pending methods flagged as MonoTODO. 
751         
752         * Directory.cs (Delete): reimplement without using DirectoryInfo.
753         (Delete): Implement the recursive version.
754         (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
755         (Move): Reimplement.
756         (getNames): dead code removal.
757
758         * Path.cs: define an internal DirectorySeparatorStr that we use in
759         a few spots.
760
761         * Wrapper.cs: Updated to new version.
762         
763         * DirectoryInfo (Delete): Implement using the Directory API.
764
765         * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
766         Delete, Create, Parent, Exists, MoveTo): Implement. 
767
768         * Directory.cs (GetListing): implement new utility function.
769         (GetDirectories): Implement.
770         (GetFileSystemEntries): Implement.
771         (GetFiles): Implement.
772
773         * CheckArgument.cs (Path): Do not allow null by default.
774
775 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
776
777         * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
778         assembly in corlib.
779
780 2002-01-20 Nick Drochak  <ndrochak@gol.com>
781
782         * SeekOrigin.cs: Added Serializable attribute.
783
784 2002-01-19  Duncan Mak  <duncan@ximian.com>
785
786         * PathTooLongException.cs: 
787         * EndOfStreamException.cs: Added to CVS.
788
789 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
790
791         * BufferedStream.cs: Initial implemenation.  The synchronous
792         methods for both reading and writing are implemented.  I'll do the
793         asynchronous methods in a bit.
794         
795 Wed Jan  9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
796
797         * BinaryWriter.cs: Initial implementation.  And it's all there.
798
799         * BinaryReader.cs: The constructor now uses the passed in encoding,
800         not UTF8 always.
801
802 Wed Jan  9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
803
804         * BinaryReader.cs: Initial implementation.  I think it's complete.
805
806 2002-01-04  Ravi Pratap  <ravi@ximian.com>
807
808         * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
809         attribute decorations.
810
811         * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
812         Path.cs, TextReader.cs, TextWriter.cs : Ditto.
813
814         * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs: 
815         Ditto.
816
817 2001-12-11  Dick Porter  <dick@ximian.com>
818
819         * FileStream.cs: Use handles rather than casting file descriptors.
820         Added Handle property.
821
822 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
823
824         * CheckPermission.cs: disable ModeAccess() code: it's wrong.
825         * FileStream.cs: only trow an exception if the read failed in ReadByte().
826         * StreamReader.cs: implement Peek and Read.
827         * TextWriter.cs: CLSCompliant updates.
828
829 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
830
831         * FileNotFoundException.cs: Added some constructors
832
833         * Path.cs (GetFullPath): Fixed implementation
834
835 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
836
837         * DirectoryNotFoundException.cs: implemented.
838
839 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
840
841         * File.cs: fix signatures of the Open() and OpenRead() functions
842         (they are static).
843
844 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
845
846         * FileLoadException.cs, FileNotFoundException.cs: added.
847
848 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
849
850         * TextReader.cs: implemented the Read method
851
852         * StreamReader.cs: impl. stubs
853
854         * StreamWriter.cs: impl.
855
856         * TextWriter.cs: implemented Write and WriteLine methods
857
858 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
859
860         * FileAccess.cs, FileMode.cs: change values to be compatible with
861         the ms ones.
862         
863 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
864
865         * IOException.cs: Implemented System.IO.Exception.
866
867 2001-07-18  Michael Lambert <michaellambert@email.com>
868
869         *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
870
871 2001-07-19  Marcin Szczepanski <marcins@zipworld.com.au>
872
873         * System.IO.MemoryStream.cs: Added.  Had quite a few cases of
874         "LAMESPEC", but the tests work against the MS implementation so
875         the major functions are right (ie. Read/Write/Seek).  Some more
876         tests required for the various constructors and exceptions.
877
878 2001-07-16  Marcin Szczepanski <marcins@zipworld.com.au>
879
880         * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
881         New class implemenations.
882
883         * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.
884