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