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