Commit Graph
16 Commits
Author SHA1 Message Date
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Gonzalo Paniagua Javier e74faa5cd0 2009-02-12 Gonzalo Paniagua Javier <[email protected]>
* MonoIO.cs:
	* MonoIOError.cs: enable ERROR_NOT_SAME_DEVICE.


svn path=/trunk/mcs/; revision=126688
2009-02-12 07:43:30 +00:00
Dick Porter 025c9917e4 2007-02-22 Dick Porter <[email protected]>
* MonoIOError.cs: 
	* MonoIO.cs: Handle ERROR_CANNOT_MAKE.



svn path=/trunk/mcs/; revision=73322
2007-02-22 16:21:13 +00:00
Miguel de Icaza 2b3a7db7cb 2006-04-26 Miguel de Icaza <[email protected]>
* FileStream.cs: Implement the FileOptions usage by passing all
	the information to the C layer.  Remove the "isAsync" argument for
	MonoIO.Open, and instead pass it on the FileOptions.

	* FileOptions.cs: Make it build when including WriteThrough

	* MonoIO.cs: Update MonoIO.Open signature to drop the async
	argument and take FileOptions instead. 

2006-04-26  Miguel de Icaza  <[email protected]>

	* MethodBuilder.cs: better error messages when we close the
	method. 



svn path=/trunk/mcs/; revision=59960
2006-04-26 23:18:28 +00:00
Joerg Rosenkranz 450e42412f 2006-02-22 Joerg Rosenkranz <[email protected]>
* MonoIO.cs, MonoIOError.cs: Verbose exception for error 39
          (disk full).


svn path=/trunk/mcs/; revision=57155
2006-02-22 14:06:15 +00:00
Kornél Pál b58e211d86 Added DriveNotFoundException.cs. MonoIO.cs: Added ERROR_INVALID_DRIVE handling. Pass HResult to IOException constructors.
svn path=/trunk/mcs/; revision=55102
2006-01-05 14:32:22 +00:00
Miguel de Icaza 72c74f3667 2005-09-05 Miguel de Icaza <[email protected]>
* MonoType.cs: Patch from Jonathan Chambers to implement
	Type.GUID. 

	* AppDomainSetup.cs: Full-pathization of the appBase should only
	be done on Windows, the ":" condition never applied to Linux.

2005-09-05  Miguel de Icaza  <[email protected]>

	* MonoIOError.cs: expose the ERROR_DIR_NOT_EMPTY as we are
	throwing it. 

	* MonoIO.cs: Return a properly named error.




svn path=/trunk/mcs/; revision=49483
2005-09-05 16:48:02 +00:00
Dick Porter dc2160434e 2005-07-05 Dick Porter <[email protected]>
* MonoIO.cs:
	* MonoIOError.cs: Add error message for ERROR_WRITE_FAULT.


svn path=/trunk/mcs/; revision=46941
2005-07-05 12:19:51 +00:00
Gonzalo Paniagua Javier 72ba6e6fee 2005-03-17 Gonzalo Paniagua Javier <[email protected]>
* MonoIO.cs:
	* MonoIOError.cs: handle ERROR_LOCK_VIOLATION.


svn path=/trunk/mcs/; revision=41962
2005-03-17 20:48:04 +00:00
Dick Porter 757c3419eb 2005-03-09 Dick Porter <[email protected]>
* MonoIOError.cs: 
        * MonoIO.cs: Add a few more exception messages



svn path=/trunk/mcs/; revision=41612
2005-03-09 19:51:26 +00:00
Gonzalo Paniagua Javier 82c2339c3d 2005-02-06 Gonzalo Paniagua Javier <[email protected]>
* Test/System.IO/FileTest.cs: test for invalid characters in file names.
	* System.IO/File.cs: Exists does not throw when there are invalid
	characters in the file name.
	* System.IO/MonoIOError.cs: uncommented INVALID_NAME.


svn path=/trunk/mcs/; revision=40208
2005-02-06 17:10:45 +00:00
Dick Porter 16c9a7a559 2004-11-19 Dick Porter <[email protected]>
* MonoIOError.cs: 
        * MonoIO.cs: Add a proper message for sharing violation



svn path=/trunk/mcs/; revision=36306
2004-11-19 12:13:46 +00:00
Ben Maurer 53eaf1b545 2004-11-01 Ben Maurer <[email protected]>
* MonoIOError.cs: All of these fields just take up room in corlib,
	bloating things up. To make it worse, we need to malloc data at
	runtime about them. Since most are not used, am commenting them
	out

svn path=/trunk/mcs/; revision=35543
2004-11-01 22:16:39 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Dick Porter 542709a35c 2002-10-31 Dick Porter <[email protected]>
* 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
2002-10-31 15:55:48 +00:00
Dan Lewis d6e7b06471 2002-03-27 Dan Lewis <[email protected]>
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
2002-03-27 00:51:39 +00:00