2002-03-21 Mike Kestner <mkestner@speakeasy.net>
[mono.git] / mcs / class / corlib / System.IO / ChangeLog
1 2002-03-21  Mike Kestner <mkestner@speakeasy.net>
2
3         * StreamReader.cs : Fill out, add buffering, and use encoding.
4
5 2002-03-19  Martin Baulig  <martin@gnome.org>
6
7         * StreamWriter.cs (StreamWriter (string)): The default is to override
8         the file, not to append to it.
9         (StreamWriter (string path, bool append)): When appending, seek to the
10         end of the file, otherwise truncate the file to zero length.
11         (Dispose (bool)): Close the internalStream.
12         (Flush): Flush the interalStream.
13         (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
14
15 2002-03-19  Dan Lewis <dihlewis@yahoo.co.uk>
16
17         * FileStream.cs: Flush buffer before FileSetLength.
18
19 2002-02-28  Miguel de Icaza  <miguel@ximian.com>
20
21         * Stream.cs (NullStream): Do not track position, this beast does
22         nothing in practice.
23
24 2002-03-15  Dan Lewis <dihlewis@yahoo.co.uk>
25
26         * SearchPattern.cs: New class. Glob matching code for Directory.
27         * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
28
29 2002/03/15 Nick Drochak <ndrochak@gol.com>
30
31         * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
32         This code seemed to be copied from somewhere, and it was close,
33         but didn't match the docs.  This was the last bit needed to get
34         NAnt to compile with our class libs.
35
36 2002-03-12  Duncan Mak  <duncan@ximian.com>
37
38         * EndOfStreamException.cs:
39         * FileLoadException.cs:
40         * FileNotFoundException.cs:
41         * PathTooLongException.cs: Changed the base classes to IOException
42         instead of SystemException.
43
44         * IOException.cs: Added missing constructors.
45         
46 2002-03-07  Nick Drochak  <ndrochak@gol.com>
47
48         * FileMode.cs: Docs don't say this should be explicitly derived from
49         int, so just make it a normal Enum.
50
51 2002-03-02  Jason Diamond  <jason@injektilo.org>
52
53         * StringReader.cs: Fixed off-by-one error in Peek() and Read().
54
55 2002-02-12  Nick Drochak  <ndrochak@gol.com>
56
57         * PathTooLongException.cs: put it in the correct namespace
58         * EndOfStreamException.cs: put it in the correct namespace
59
60 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
61
62         * Directory.cs: handle opendir() return NULL and absolute filenames.
63
64 2002-01-31  Duncan Mak  <duncan@ximian.com>
65
66         * FileLoadException.cs:
67         * FileNotFoundException: Added missing bits for serialization.
68
69 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
70
71         * Directory.cs: allow directories in GetFiles() mask.
72
73 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
74
75         * FileInfo.c (CopyTo, MoveTo): Implement.
76
77         * FileStream.cs: Add argument checking to the constructor.
78
79         * File.cs: Rewrote most of the file.  Implement Copy, Open, Create,
80         OpenText, OpenWrite, Move.  Made pending methods flagged as MonoTODO. 
81         
82         * Directory.cs (Delete): reimplement without using DirectoryInfo.
83         (Delete): Implement the recursive version.
84         (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
85         (Move): Reimplement.
86         (getNames): dead code removal.
87
88         * Path.cs: define an internal DirectorySeparatorStr that we use in
89         a few spots.
90
91         * Wrapper.cs: Updated to new version.
92         
93         * DirectoryInfo (Delete): Implement using the Directory API.
94
95         * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
96         Delete, Create, Parent, Exists, MoveTo): Implement. 
97
98         * Directory.cs (GetListing): implement new utility function.
99         (GetDirectories): Implement.
100         (GetFileSystemEntries): Implement.
101         (GetFiles): Implement.
102
103         * CheckArgument.cs (Path): Do not allow null by default.
104
105 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
106
107         * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
108         assembly in corlib.
109
110 2002-01-20 Nick Drochak  <ndrochak@gol.com>
111
112         * SeekOrigin.cs: Added Serializable attribute.
113
114 2002-01-19  Duncan Mak  <duncan@ximian.com>
115
116         * PathTooLongException.cs: 
117         * EndOfStreamException.cs: Added to CVS.
118
119 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
120
121         * BufferedStream.cs: Initial implemenation.  The synchronous
122         methods for both reading and writing are implemented.  I'll do the
123         asynchronous methods in a bit.
124         
125 Wed Jan  9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
126
127         * BinaryWriter.cs: Initial implementation.  And it's all there.
128
129         * BinaryReader.cs: The constructor now uses the passed in encoding,
130         not UTF8 always.
131
132 Wed Jan  9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
133
134         * BinaryReader.cs: Initial implementation.  I think it's complete.
135
136 2002-01-04  Ravi Pratap  <ravi@ximian.com>
137
138         * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
139         attribute decorations.
140
141         * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
142         Path.cs, TextReader.cs, TextWriter.cs : Ditto.
143
144         * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs: 
145         Ditto.
146
147 2001-12-11  Dick Porter  <dick@ximian.com>
148
149         * FileStream.cs: Use handles rather than casting file descriptors.
150         Added Handle property.
151
152 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
153
154         * CheckPermission.cs: disable ModeAccess() code: it's wrong.
155         * FileStream.cs: only trow an exception if the read failed in ReadByte().
156         * StreamReader.cs: implement Peek and Read.
157         * TextWriter.cs: CLSCompliant updates.
158
159 2001-11-10  Sean MacIsaac  <macisaac@ximian.com>
160
161         * FileNotFoundException.cs: Added some constructors
162
163         * Path.cs (GetFullPath): Fixed implementation
164
165 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
166
167         * DirectoryNotFoundException.cs: implemented.
168
169 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
170
171         * File.cs: fix signatures of the Open() and OpenRead() functions
172         (they are static).
173
174 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
175
176         * FileLoadException.cs, FileNotFoundException.cs: added.
177
178 2001-08-28  Dietmar Maurer  <dietmar@ximian.com>
179
180         * TextReader.cs: implemented the Read method
181
182         * StreamReader.cs: impl. stubs
183
184         * StreamWriter.cs: impl.
185
186         * TextWriter.cs: implemented Write and WriteLine methods
187
188 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
189
190         * FileAccess.cs, FileMode.cs: change values to be compatible with
191         the ms ones.
192         
193 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
194
195         * IOException.cs: Implemented System.IO.Exception.
196
197 2001-07-18  Michael Lambert <michaellambert@email.com>
198
199         *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
200
201 2001-07-19  Marcin Szczepanski <marcins@zipworld.com.au>
202
203         * System.IO.MemoryStream.cs: Added.  Had quite a few cases of
204         "LAMESPEC", but the tests work against the MS implementation so
205         the major functions are right (ie. Read/Write/Seek).  Some more
206         tests required for the various constructors and exceptions.
207
208 2001-07-16  Marcin Szczepanski <marcins@zipworld.com.au>
209
210         * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
211         New class implemenations.
212
213         * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.
214