* File.cs: Add stubs for Encrypt and Decrypt that throws
NotSupportedException just like non-NTFS file systems would with MS.
Remove nested #if NET_2_0.
* FileInfo.cs: Add stubs for Encrypt and Decrypt that throws
NotSupportedException just like non-NTFS file systems would with MS.
svn path=/trunk/mcs/; revision=69956
* CheckPermission.cs:
* File.cs:
* FileInfo.cs:
* MonoIO.cs:
* FileStream.cs: Give the filename when throwing
FileNotFoundException. Fixes bug 61120, based on patch from
Carlos Alberto Cesario <[email protected]>.
svn path=/trunk/mcs/; revision=30744
* FileInfo.cs: Reformat the whole file to use DOS line endings.
(MoveTo): Return if the destination of Move is the same as the file's
current location.
svn path=/trunk/mcs/; revision=27996
classes can override to perform class specific refreshing.
* FileInfo.cs: Refresh existence flag when Refresh is called.
* TextWriter.cs: Applied patch by Benjamin Jemlich for bug #52512.
The method Write(char) should do nothing by default.
svn path=/trunk/mcs/; revision=24901
* BufferedStream.cs:
- Removed unusefull code.
- Added ObjectDisposedException to Position
- Dont flush if stream is allready closed.
- Flush throws also ObjectDisposedException.
* Directory.cs:
- GetFileSystemEtries: ArgumentNullException if pattern is null
* DirectoryInfo.cs: Fixed little MoveTo () bug.
* FileInfo.cs:
- Exists: If file does not exists when instance is created the
value of the Exists property does not change even if file is created
afterwards.
- Delete: If path is a directory UnauthorizedException is thrown.
- CopyTo: Now we can overwrite file if wanted.
* Path.cs:
- GetFullPath: Now throws exception when path is " ".
svn path=/trunk/mcs/; revision=14370
* FileStream.cs: Fix buffering properly this time. Also kludge
around broken pipe errors, treating them as EOF instead of
throwing an IO exception.
* MonoIO.cs: Return the error status in a parameter, as the
GetLastError() value has long since been blown away if we try and
look it up in a subsequent internal call invocation.
* Process.cs:
* Environment.cs:
* FileSystemInfo.cs:
* FileInfo.cs:
* File.cs:
* Directory.cs: MonoIO methods now have an error parameter
2002-10-31 Dick Porter <[email protected]>
* list.unix: Added MonoIO and MonoIOError to the build
svn path=/trunk/mcs/; revision=8712
corlib/
* corlib.build: removed seperate windows/linux builds. excluded
wrapper and PAL classes from all builds.
corlib/System/
* Console.cs: Modified to get std handles from MonoIO.
* Environment.cs: removed PAL dependencies.
corlib/System.IO/
* Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
wrapper and PAL classes.
* MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.
svn path=/trunk/mcs/; revision=3379
* Unix/Errno.cs: Added
* Unix/Wrapper.cs: Updated to new Wrapper
2002-01-23 Miguel de Icaza <[email protected]>
* FileInfo.c (CopyTo, MoveTo): Implement.
* FileStream.cs: Add argument checking to the constructor.
* File.cs: Rewrote most of the file. Implement Copy, Open, Create,
OpenText, OpenWrite, Move. Made pending methods flagged as MonoTODO.
* Directory.cs (Delete): reimplement without using DirectoryInfo.
(Delete): Implement the recursive version.
(GetCreationTime, GetLastWriteTime, GetLastAccessTime): Implement.
(Move): Reimplement.
(getNames): dead code removal.
* Path.cs: define an internal DirectorySeparatorStr that we use in
a few spots.
* Wrapper.cs: Updated to new version.
* DirectoryInfo (Delete): Implement using the Directory API.
2002-01-23 Miguel de Icaza <[email protected]>
* DateTime.cs (UnixEpoch): The Begining of the Unix epoch.
svn path=/trunk/mcs/; revision=2138
* IReflect.cs: corrected GetMember() return type.
* InterfaceMapping.cs, TypeDelegator.cs: implemented.
Tue Jan 22 23:01:11 CET 2002 Paolo Molaro <[email protected]>
* EnumBuilder.cs, TypeBuilder.cs: updates for changes in Type.cs.
* ModuleBuilder.cs: fix lookup of nested types.
Tue Jan 22 22:53:23 CET 2002 Paolo Molaro <[email protected]>
* DirectoryInfo.cs, FileInfo.cs: do not use Debug from the system
assembly in corlib.
Tue Jan 22 22:51:48 CET 2002 Paolo Molaro <[email protected]>
* MonoType.cs, Type.cs: many updates, corrected implementation,
completed stubs.
Tue Jan 22 22:50:29 CET 2002 Paolo Molaro <[email protected]>
* Linux.cs: comment out call to Debug.Assert(): stuff from the System
assembly cannot be used in corlib.
svn path=/trunk/mcs/; revision=2095
for errors because the status line that says No Errors found "lies"
Fixed the compiler errors and vow to be more careful with copy/paste
svn path=/trunk/mcs/; revision=583