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