1 2002-08-09 Nick Drochak <ndrochak@gol.com>
3 * BinaryReader.cs: added virtual to Dispose(bool).
5 2002-08-03 Jason Diamond <jason@injektilo.org>
7 * StringWriter.cs: Return UnicodeEncoding for Encoding property.
9 2002-08-03 Jason Diamond <jason@injektilo.org>
11 * StreamWriter.cs: Use GetByteCount() to get exact length instead
12 of GetMaxByteCount when converting chars to bytes.
14 2002-07-31 Duncan Mak <duncan@ximian.com>
17 (Dispose): Added and implmented.
20 (Dispose): Fixed visibility.
21 (Initialize): Fixed visibility, made internal.
24 (Dispose): Fixed visibility.
26 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
29 (Create): allow file names without path.
31 Fri Jul 26 15:45:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
33 * FileStream.cs: patch from erik@bagfors.nu to add
34 Name property support.
36 2002-07-20 Dick Porter <dick@ximian.com>
38 * MonoIO.cs: Added icall to CreatePipe
40 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
42 * FileInfo.cs: fixes buglet #27940
44 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
46 * Path.cs: removed unneeded line from GetExtension.
48 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51 (.ctor): call MonoIO.GetException with the file name.
53 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
55 * StreamReader.cs: Guard against ^\n lines as pointed out by Gonzalo.
57 2002-07-02 Mike Kestner <mkestner@speakeasy.net>
59 * StreamReader.cs: Revert the last Peek change and fix the ReadLine
60 end of line detection code instead.
62 2002-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
65 (Peek): no need to have seek capabilitites.
67 2002-06-17 Dietmar Maurer <dietmar@ximian.com>
69 * Path.cs (ChangeExtension): handle some special cases (fixes bug #25319)
71 * File.cs (Delete): only call Directory.Exists() if DirName != ""
73 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
75 * Directory.cs: fixed bug #26133 and also test if the directory exist
76 before performing the search.
78 2002-06-12 Nick Drochak <ndrochak@gol.com>
80 * StringReader.cs (ReadLine): Return null when we get to end of the
83 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
85 * StreamWriter.cs: added ability to write null value
87 2002-05-19 Lawrence Pit <loz@cable.a2000.nl>
89 * Stream.cs: NullStream.ReadByte now returns -1 instead of 0 to
90 prevent endless loops.
92 2002-05-17 Dan Lewis <dihlewis@yahoo.co.uk>
94 * FileStream.cs: Enforce lower bound on buffer size.
96 2002-05-16 Piers Haken <piersh@friskit.com>
98 * Stream.cs: Implement synchronous {Begin|End}{Read|Write}() methods.
100 2002-05-17 Nick Drochak <ndrochak@gol.com>
102 * StreamWriter.cs: Implement buffering. Also implemented dispose
103 pattern as recommended by the MS docs. Must call Close() now
104 to ensure the buffer is flushed.
106 2002-05-15 Nick Drochak <ndrochak@gol.com>
108 * Path.cs (GetDirectoryName): Return String.Empty if there is no
111 * StreamReader.cs: Add some parameter checking on file names.
113 * StreamWriter.cs: Add some parameter checking on file names.
115 2002-05-14 Nick Drochak <ndrochak@gol.com>
117 * File.cs: Add parameter checks to most methods. Not completely done,
118 but all current unit tests pass.
120 * Path.cs: Implement GetTempFileName().
122 2002-05-10 Nick Drochak <ndrochak@gol.com>
124 * StreamWriter.cs (Flush): Throw proper exception if internal stream
125 has already been closed when we try to flush.
127 2002/05/10 Nick Drochak <ndrochak@gol.com>
129 * FileNotFoundException.cs (ToString): Don't try to use the inner
130 exception, because it might be null. Use the message instead.
132 2002-05-09 Nick Drochak <ndrochak@gol.com>
134 * File.cs (Delete): Do not throw an exception if the file does not
137 2002-05-08 Mike Gray <mikeg@mikegray.org>
139 * File.cs: According to ECMA spec and MS docs Copy(src, dest)
140 should not overwrite dest by default.
142 2002-05-08 Nick Drochak <ndrochak@gol.com>
144 * StreamWriter.cs: Add paramter check to constructors and throw
145 exceptions where appropriate.
147 Tue May 7 11:47:46 CEST 2002 Paolo Molaro <lupus@ximian.com>
149 * StreamReader.cs: return the number of chars read even if we diddn't
150 fill the whole buffer (makes Sergey's ilasm work with mono).
152 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
154 * FileInfo.cs (Create): Implement missing method.
156 2002-05-07 Mike Gray <mikeg_us@hotmail.com>
158 * File.cs: Implemented CreateText method, and fixed dst compares
159 to compare against "" instead of null twice.
161 2002-05-05 Nick Drochak <ndrochak@gol.com>
163 * StreamReader.cs: Throw exceptions where needed. Changed Null field to
164 use new internal class since null cannot be passed to constructor
165 anymore. Also, fix a coule of small bugs.
167 2002-05-03 Nick Drochak <ndrochak@gol.com>
169 * MemoryStream.cs: Refrain from allocating array until the space is
170 really needed. This fixes a bug in the Length property when the
171 constructor without the byte array is used.
173 2002-05-01 Duncan Mak <duncan@ximian.com>
175 * DirectoryNotFoundException.cs (constructor): Added missing
176 serialization constructor.
178 2002-04-30 Duncan Mak <duncan@ximian.com>
180 * FileLoadException.cs (constructors): Added missing (string,
181 string) ctor, as well as (string, string, Exception) ctor.
183 (Message): Added more info to the error message
185 (ToString): Added. We'll need to add the StackTrace stuff when
188 * FileShare.cs: Add a missing field, Inheritable.
190 * TextReader.cs: Renamed Synchronised method to Synchronized.
192 * TextWriter.cs: Renamed Synchronised method to Synchronized.
193 Renamed protected member coreNewLine to CoreNewLine.
195 2002-04-30 Sergey Chaban <serge@wildwestsoftware.com>
197 * BinaryReader.cs: Allocate buffer before its first use.
198 Handle end of stream properly. Methods to read native types
199 (ReadInt* etc.) are little-endian (see Compact Framework docs).
201 * BinaryWriter.cs: Store data in little-endian format.
202 Use internal buffer for conversions.
204 2002-03-31 Dick Porter <dick@ximian.com>
206 * Directory.cs: Strip out "." and ".." from returned list
208 * FileAttributes.cs: Get the right enum values
210 2002-03-28 Dietmar Maurer <dietmar@ximian.com>
212 * TextWriter.cs (write): added check for null
214 2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
216 * Directory.cs: Throws DirectoryNotFoundException.
217 * MonoIO.cs: Fixed to work around enum problem.
219 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
221 * StreamReader.cs: Implemented ReadLine() and ReadEnd().
223 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
225 * Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
226 DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
227 wrapper and PAL classes.
229 * MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
231 2002-03-25 Mike Kestner <mkestner@speakeasy.net>
233 * MemoryStream.cs (Read): Fixed bug in exception throw.
235 2002-03-24 Mike Kestner <mkestner@speakeasy.net>
237 * StreamReader.cs (ReadBuffer): Fix buffer merging bugs.
239 2002-03-23 Martin Baulig <martin@gnome.org>
241 * StreamReader.cs: Always do buffered reading, use 4k blocks.
242 (Read (char[], int, int)): Implemented.
243 (DiscardBufferedData): Implemented.
245 2002-03-21 Mike Kestner <mkestner@speakeasy.net>
247 * StreamReader.cs : Fill out, add buffering, and use encoding.
249 2002-03-19 Martin Baulig <martin@gnome.org>
251 * StreamWriter.cs (StreamWriter (string)): The default is to override
252 the file, not to append to it.
253 (StreamWriter (string path, bool append)): When appending, seek to the
254 end of the file, otherwise truncate the file to zero length.
255 (Dispose (bool)): Close the internalStream.
256 (Flush): Flush the interalStream.
257 (Write (char[], int, int)): Flush the internalStream in auto-flush-mode.
259 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
261 * FileStream.cs: Flush buffer before FileSetLength.
263 2002-02-28 Miguel de Icaza <miguel@ximian.com>
265 * Stream.cs (NullStream): Do not track position, this beast does
268 2002-03-15 Dan Lewis <dihlewis@yahoo.co.uk>
270 * SearchPattern.cs: New class. Glob matching code for Directory.
271 * Directory.cs: Changed to use SearchPattern instead of mono_glob_*()
273 2002/03/15 Nick Drochak <ndrochak@gol.com>
275 * DirectoryInfo.cs: Fixed the overloaded GetDirectories and GetFiles.
276 This code seemed to be copied from somewhere, and it was close,
277 but didn't match the docs. This was the last bit needed to get
278 NAnt to compile with our class libs.
280 2002-03-12 Duncan Mak <duncan@ximian.com>
282 * EndOfStreamException.cs:
283 * FileLoadException.cs:
284 * FileNotFoundException.cs:
285 * PathTooLongException.cs: Changed the base classes to IOException
286 instead of SystemException.
288 * IOException.cs: Added missing constructors.
290 2002-03-07 Nick Drochak <ndrochak@gol.com>
292 * FileMode.cs: Docs don't say this should be explicitly derived from
293 int, so just make it a normal Enum.
295 2002-03-02 Jason Diamond <jason@injektilo.org>
297 * StringReader.cs: Fixed off-by-one error in Peek() and Read().
299 2002-02-12 Nick Drochak <ndrochak@gol.com>
301 * PathTooLongException.cs: put it in the correct namespace
302 * EndOfStreamException.cs: put it in the correct namespace
304 Thu Jan 31 17:32:32 CET 2002 Paolo Molaro <lupus@ximian.com>
306 * Directory.cs: handle opendir() return NULL and absolute filenames.
308 2002-01-31 Duncan Mak <duncan@ximian.com>
310 * FileLoadException.cs:
311 * FileNotFoundException: Added missing bits for serialization.
313 Thu Jan 24 17:42:54 CET 2002 Paolo Molaro <lupus@ximian.com>
315 * Directory.cs: allow directories in GetFiles() mask.
317 2002-01-23 Miguel de Icaza <miguel@ximian.com>
319 * FileInfo.c (CopyTo, MoveTo): Implement.
321 * FileStream.cs: Add argument checking to the constructor.
323 * File.cs: Rewrote most of the file. Implement Copy, Open, Create,
324 OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
326 * Directory.cs (Delete): reimplement without using DirectoryInfo.
327 (Delete): Implement the recursive version.
328 (GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
330 (getNames): dead code removal.
332 * Path.cs: define an internal DirectorySeparatorStr that we use in
335 * Wrapper.cs: Updated to new version.
337 * DirectoryInfo (Delete): Implement using the Directory API.
339 * DirectoryInfo.cs (GetFiles, GetDirectories, GetFileSystemInfos,
340 Delete, Create, Parent, Exists, MoveTo): Implement.
342 * Directory.cs (GetListing): implement new utility function.
343 (GetDirectories): Implement.
344 (GetFileSystemEntries): Implement.
345 (GetFiles): Implement.
347 * CheckArgument.cs (Path): Do not allow null by default.
349 Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <lupus@ximian.com>
351 * DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
354 2002-01-20 Nick Drochak <ndrochak@gol.com>
356 * SeekOrigin.cs: Added Serializable attribute.
358 2002-01-19 Duncan Mak <duncan@ximian.com>
360 * PathTooLongException.cs:
361 * EndOfStreamException.cs: Added to CVS.
363 Thu Jan 10 12:06:46 MST 2002 Matt Kimball <matt@kimball.net>
365 * BufferedStream.cs: Initial implemenation. The synchronous
366 methods for both reading and writing are implemented. I'll do the
367 asynchronous methods in a bit.
369 Wed Jan 9 16:04:39 MST 2002 Matt Kimball <matt@kimball.net>
371 * BinaryWriter.cs: Initial implementation. And it's all there.
373 * BinaryReader.cs: The constructor now uses the passed in encoding,
376 Wed Jan 9 13:54:28 MST 2002 Matt Kimball <matt@kimbal.net>
378 * BinaryReader.cs: Initial implementation. I think it's complete.
380 2002-01-04 Ravi Pratap <ravi@ximian.com>
382 * CheckArgument.cs, CheckPermission.cs, Directory.cs: MonoTODO
383 attribute decorations.
385 * DirectoryInfo.cs, File.cs, FileInfo.cs, FileSystemInfo.cs,
386 Path.cs, TextReader.cs, TextWriter.cs : Ditto.
388 * FileLoadException.cs, FileNotFoundException.cs, StreamReader.cs:
391 2001-12-11 Dick Porter <dick@ximian.com>
393 * FileStream.cs: Use handles rather than casting file descriptors.
394 Added Handle property.
396 Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>
398 * CheckPermission.cs: disable ModeAccess() code: it's wrong.
399 * FileStream.cs: only trow an exception if the read failed in ReadByte().
400 * StreamReader.cs: implement Peek and Read.
401 * TextWriter.cs: CLSCompliant updates.
403 2001-11-10 Sean MacIsaac <macisaac@ximian.com>
405 * FileNotFoundException.cs: Added some constructors
407 * Path.cs (GetFullPath): Fixed implementation
409 Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <lupus@ximian.com>
411 * DirectoryNotFoundException.cs: implemented.
413 Tue Sep 25 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
415 * File.cs: fix signatures of the Open() and OpenRead() functions
418 Thu Sep 13 18:04:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
420 * FileLoadException.cs, FileNotFoundException.cs: added.
422 2001-08-28 Dietmar Maurer <dietmar@ximian.com>
424 * TextReader.cs: implemented the Read method
426 * StreamReader.cs: impl. stubs
428 * StreamWriter.cs: impl.
430 * TextWriter.cs: implemented Write and WriteLine methods
432 Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
434 * FileAccess.cs, FileMode.cs: change values to be compatible with
437 Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
439 * IOException.cs: Implemented System.IO.Exception.
441 2001-07-18 Michael Lambert <michaellambert@email.com>
443 *SeekOrigin.cs.cs, FileShare.cs, FileMode.cs, FileAccess.cs: Add.
445 2001-07-19 Marcin Szczepanski <marcins@zipworld.com.au>
447 * System.IO.MemoryStream.cs: Added. Had quite a few cases of
448 "LAMESPEC", but the tests work against the MS implementation so
449 the major functions are right (ie. Read/Write/Seek). Some more
450 tests required for the various constructors and exceptions.
452 2001-07-16 Marcin Szczepanski <marcins@zipworld.com.au>
454 * StringReader.cs, StringWriter.cs, TextReader.cs, TextWriter.cs:
455 New class implemenations.
457 * StringReaderTest.cs, StringWriterTest.cs: Test suite for the above.