1 2002-05-08 Nick Drochak <ndrochak@gol.com>
3 * StreamWriter.cs: Add paramter check to constructors and throw
4 exceptions where appropriate.
6 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
8 * StreamReader.cs: return the number of chars read even if we diddn't
9 fill the whole buffer (makes Sergey's ilasm work with mono).
11 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
13 * FileInfo.cs (Create): Implement missing method.
15 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
17 * File.cs: Implemented CreateText method, and fixed dst compares
18 to compare against "" instead of null twice.
20 2002-05-05 Nick Drochak <ndrochak@gol.com>
22 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
23 use new internal class since null cannot be passed to constructor
24 anymore. Also, fix a coule of small bugs.
26 2002-05-03 Nick Drochak <ndrochak@gol.com>
28 * MemoryStream.cs: Refrain from allocating array until the space is
29 really needed. This fixes a bug in the Length property when the
30 constructor without the byte array is used.
32 2002-05-01 Duncan Mak <duncan@ximian.com>
34 * DirectoryNotFoundException.cs (constructor): Added missing
35 serialization constructor.
37 2002-04-30 Duncan Mak <duncan@ximian.com>
39 * FileLoadException.cs (constructors): Added missing (string,
40 string) ctor, as well as (string, string, Exception) ctor.
42 (Message): Added more info to the error message
44 (ToString): Added. We'll need to add the StackTrace stuff when
47 * FileShare.cs: Add a missing field, Inheritable.
49 * TextReader.cs: Renamed Synchronised method to Synchronized.
51 * TextWriter.cs: Renamed Synchronised method to Synchronized.
52 Renamed protected member coreNewLine to CoreNewLine.
54 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
56 * BinaryReader.cs: Allocate buffer before its first use.
57 Handle end of stream properly. Methods to read native types
58 (ReadInt* etc.) are little-endian (see Compact Framework docs).
60 * BinaryWriter.cs: Store data in little-endian format.
61 Use internal buffer for conversions.
63 2002-03-31 Dick Porter <dick@ximian.com>
65 * Directory.cs: Strip out "." and ".." from returned list
67 * FileAttributes.cs: Get the right enum values
69 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
71 * TextWriter.cs (write): added check for null
73 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
75 * Directory.cs: Throws DirectoryNotFoundException.
76 * MonoIO.cs: Fixed to work around enum problem.
78 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
80 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
82 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
84 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
85 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
86 wrapper and PAL classes.
88 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
90 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
92 * MemoryStream.cs (Read): Fixed bug in exception throw.
94 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
96 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
98 2002-03-23 Martin Baulig <martin@gnome.org>
100 * StreamReader.cs: Always do buffered reading, use 4k blocks.
101 (Read (char[], int, int)): Implemented.
102 (DiscardBufferedData): Implemented.
104 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
106 * StreamReader.cs : Fill out, add buffering, and use encoding.
108 2002-03-19 Martin Baulig <martin@gnome.org>
110 * StreamWriter.cs (StreamWriter (string)): The default is to override
111 the file, not to append to it.
112 (StreamWriter (string path, bool append)): When appending, seek to the
113 end of the file, otherwise truncate the file to zero length.
114 (Dispose (bool)): Close the internalStream.
115 (Flush): Flush the interalStream.
116 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
118 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
120 * FileStream.cs: Flush buffer before FileSetLength.
122 2002-02-28 Miguel de Icaza <miguel@ximian.com>
124 * Stream.cs (NullStream): Do not track position, this beast does
127 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
129 * SearchPattern.cs: New class. Glob matching code for Directory.
130 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
132 2002/03/15 Nick Drochak <ndrochak@gol.com>
134 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
135 This code seemed to be copied from somewhere, and it was close,
136 but didn't match the docs. This was the last bit needed to get
137 NAnt to compile with our class libs.
139 2002-03-12 Duncan Mak <duncan@ximian.com>
141 * EndOfStreamException.cs:
142 * FileLoadException.cs:
143 * FileNotFoundException.cs:
144 * PathTooLongException.cs: Changed the base classes to IOException
145 instead of SystemException.
147 * IOException.cs: Added missing constructors.
149 2002-03-07 Nick Drochak <ndrochak@gol.com>
151 * FileMode.cs: Docs don't say this should be explicitly derived from
152 int, so just make it a normal Enum.
154 2002-03-02 Jason Diamond <jason@injektilo.org>
156 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
158 2002-02-12 Nick Drochak <ndrochak@gol.com>
160 * PathTooLongException.cs: put it in the correct namespace
161 * EndOfStreamException.cs: put it in the correct namespace
163 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
165 * Directory.cs: handle opendir() return NULL and absolute filenames.
167 2002-01-31 Duncan Mak <duncan@ximian.com>
169 * FileLoadException.cs:
170 * FileNotFoundException: Added missing bits for serialization.
172 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
174 * Directory.cs: allow directories in GetFiles() mask.
176 2002-01-23 Miguel de Icaza <miguel@ximian.com>
178 * FileInfo.c (CopyTo, MoveTo): Implement.
180 * FileStream.cs: Add argument checking to the constructor.
182 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
183 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
185 * Directory.cs (Delete): reimplement without using DirectoryInfo.
186 (Delete): Implement the recursive version.
187 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
189 (getNames): dead code removal.
191 * Path.cs: define an internal DirectorySeparatorStr that we use in
194 * Wrapper.cs: Updated to new version.
196 * DirectoryInfo (Delete): Implement using the Directory API.
198 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
199 Delete, Create, Parent, Exists, MoveTo): Implement.
201 * Directory.cs (GetListing): implement new utility function.
202 (GetDirectories): Implement.
203 (GetFileSystemEntries): Implement.
204 (GetFiles): Implement.
206 * CheckArgument.cs (Path): Do not allow null by default.
208 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
210 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
213 2002-01-20 Nick Drochak <ndrochak@gol.com>
215 * SeekOrigin.cs: Added Serializable attribute.
217 2002-01-19 Duncan Mak <duncan@ximian.com>
219 * PathTooLongException.cs:
220 * EndOfStreamException.cs: Added to CVS.
222 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
224 * BufferedStream.cs: Initial implemenation. The synchronous
225 methods for both reading and writing are implemented. I'll do the
226 asynchronous methods in a bit.
228 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
230 * BinaryWriter.cs: Initial implementation. And it's all there.
232 * BinaryReader.cs: The constructor now uses the passed in encoding,
235 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
237 * BinaryReader.cs: Initial implementation. I think it's complete.
239 2002-01-04 Ravi Pratap <ravi@ximian.com>
241 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
242 attribute decorations.
244 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
245 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
247 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
250 2001-12-11 Dick Porter <dick@ximian.com>
252 * FileStream.cs: Use handles rather than casting file descriptors.
253 Added Handle property.
255 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
257 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
258 * FileStream.cs: only trow an exception if the read failed in ReadByte().
259 * StreamReader.cs: implement Peek and Read.
260 * TextWriter.cs: CLSCompliant updates.
262 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
264 * FileNotFoundException.cs: Added some constructors
266 * Path.cs (GetFullPath): Fixed implementation
268 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
270 * DirectoryNotFoundException.cs: implemented.
272 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
274 * File.cs: fix signatures of the Open() and OpenRead() functions
277 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
279 * FileLoadException.cs, FileNotFoundException.cs: added.
281 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
283 * TextReader.cs: implemented the Read method
285 * StreamReader.cs: impl. stubs
287 * StreamWriter.cs: impl.
289 * TextWriter.cs: implemented Write and WriteLine methods
291 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
293 * FileAccess.cs, FileMode.cs: change values to be compatible with
296 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
298 * IOException.cs: Implemented System.IO.Exception.
300 2001-07-18 Michael Lambert <michaellambert@email.com>
302 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
304 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
306 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
307 "LAMESPEC", but the tests work against the MS implementation so
308 the major functions are right (ie. Read/Write/Seek). Some more
309 tests required for the various constructors and exceptions.
311 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
313 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
314 New class implemenations.
316 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.