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