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