Commit Graph
34 Commits
Author SHA1 Message Date
Dick Porter 0cdd3ac3a2 2008-06-02 Dick Porter <[email protected]>
* Win32Exception.cs: Turn W32ErrorMessage into an icall so it can
	use the FormatMessage API.  Fixes bug 321827.



svn path=/trunk/mcs/; revision=104702
2008-06-02 18:15:48 +00:00
Dick Porter 6ffa6c9dbc 2007-12-19 Dick Porter <[email protected]>
* Process.cs: Check that the process has been started before
	getting or setting the priority class.  Fixes bug 348415.

2007-12-19  Dick Porter  <[email protected]>

	* Win32Exception.cs: Add text for error 5, Access denied.



svn path=/trunk/mcs/; revision=91629
2007-12-19 14:25:14 +00:00
Gert Driesen d904080ad7 * System_test.dll.sources: Added Win32ExceptionTest.cs.
* Win32Exception.cs: Do not pass native error to base ctors.
* Win32ExceptionTest.cs: Added ctor tests.

svn path=/trunk/mcs/; revision=90633
2007-12-04 10:43:32 +00:00
Igor Zelmanovich 6f3ec291af 2007-05-09 Igor Zelmanovich <[email protected]>
* Win32Exception.cs:
	added MonoNotSupported attribute for TARGATE_JVM.	
		
	* NetworkStream.cs:
	* TcpClient.cs:
	* TcpListener.cs:
	* UdpClient.cs:			
	added MonoNotSupported attribute for TARGATE_JVM.	

svn path=/trunk/mcs/; revision=76996
2007-05-09 11:15:35 +00:00
Dick Porter 556648b407 2007-01-11 Dick Porter <[email protected]>
* System.dll.sources: Add System.Net.Sockets/{IOControlCode,SocketInformation,SocketInformationOptions,TransmitFileOptions}.cs

2007-01-11  Dick Porter  <[email protected]>

	* Win32Exception.cs: Add error 50 (ERROR_NOT_SUPPORTED)

2007-01-11  Dick Porter  <[email protected]>

	* IOControlCode.cs: 
	* SocketInformation.cs: 
	* Socket.cs: 
	* UdpClient.cs: 2.0 profile updates, loosely based on a patch by
	Sridhar Kulkarni.

	* SocketInformationOptions.cs: 
	* TransmitFileOptions.cs: Implemented by Sridhar Kulkarni
	([email protected])



svn path=/trunk/mcs/; revision=70853
2007-01-11 13:30:28 +00:00
Sebastien Pouliot 7af1580018 2006-07-31 Sebastien Pouliot <[email protected]>
* InvalidEnumArgumentException.cs: Updated to 2.0.
	* LicenseException.cs: Updated to 2.0. Add a demand for 
	SerializationFormatter on GetObjectData method.
	* TypeDescriptor.cs: Add linkdemand for ReflectionPermission on 
	CreateEvent and CreateProperties methods. Add linkdemand for 
	unrestricted on ComNativeDescriptorHandler get/set.
	* WarningException.cs: Updated to 2.0. Add a demand for 
	SerializationFormatter on GetObjectData method.
	* Win32Exception.cs: Add a demand for SerializationFormatter on 
	GetObjectData method.


svn path=/trunk/mcs/; revision=63178
2006-07-31 13:30:22 +00:00
Dick Porter ac7dabd937 2005-10-31 Dick Porter <[email protected]>
* Win32Exception.cs: Add another error code.



svn path=/trunk/mcs/; revision=52414
2005-10-31 18:37:08 +00:00
Sebastien Pouliot 7da281952c comment security attributes as CSC has trouble digesting them
svn path=/trunk/mcs/; revision=48557
2005-08-19 14:05:47 +00:00
Miguel de Icaza 7aeeea3f25 Small update
svn path=/trunk/mcs/; revision=47568
2005-07-22 20:16:26 +00:00
Sebastien Pouliot 0921872c78 2005-06-30 Sebastien Pouliot <[email protected]>
* Win32Exception.cs: Added some declarative security (permission from
	corlib) as an initial test (outside corlib). Added new constructors
	for NET_2_0.


svn path=/trunk/mcs/; revision=46779
2005-06-30 18:03:55 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Gert Driesen c60b61668a * Win32Exception.cs: improve error message for error 10047.
svn path=/trunk/mcs/; revision=45421
2005-06-04 21:29:41 +00:00
Gonzalo Paniagua Javier a67985a789 2005-05-31 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: add 10049 WSAEADDRNOTAVAIL. Fixes bug #75106.


svn path=/trunk/mcs/; revision=45266
2005-05-31 19:18:32 +00:00
Lluis Sanchez 99a43738fe 2005-01-25 LLuis Sanchez Gual <[email protected]>
* Win32Exception.cs: Set the correct name for the serialized
	NativeErrorCode. This fixes bug #71572. Fix by Aleksandar Dezelin.


svn path=/trunk/mcs/; revision=39519
2005-01-25 17:53:23 +00:00
Dick Porter f75c54ffea 2004-12-09 Dick Porter <[email protected]>
* Win32Exception.cs: Add another socket error, fix the message of
	some old ones.


svn path=/trunk/mcs/; revision=37525
2004-12-09 22:00:11 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier df807a0282 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10024 (WSAEMFILE).

svn path=/trunk/mcs/; revision=25201
2004-04-07 23:06:04 +00:00
Gonzalo Paniagua Javier b0cbd68a34 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added ERROR_PATH_NOT_FOUND that reports the same
	message as ERROR_FILE_NOT_FOUND.

svn path=/trunk/mcs/; revision=24348
2004-03-19 20:23:09 +00:00
Gonzalo Paniagua Javier 6b85ff307f 2003-12-10 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: use a switch instead of creating a hashtable when
	mapping from an error code to a message.

svn path=/trunk/mcs/; revision=20977
2003-12-10 16:49:33 +00:00
Gonzalo Paniagua Javier 7cdca5e2fb 2003-07-22 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added message for 10054.

svn path=/trunk/mcs/; revision=16529
2003-07-22 14:34:59 +00:00
Gonzalo Paniagua Javier 64667b0cee added 10040 - message too long
svn path=/trunk/mcs/; revision=16018
2003-07-07 12:48:25 +00:00
Andreas N 152be6c2cc 2003-07-05 Andreas Nahr <[email protected]>
* EnumConverter.cs: Fixed signature
	* EventDescriptorCollection.cs: Fixed signature
	* InheritanceLevel.cs: Fixed enum values; little restyling
	* License.cs: Removed undefined member
	* LicenseManager.cs: Fixed signature, little implementation added
	* PropertyDescriptorCollection.cs: Removed unused field (fixes last remaining compiler warning in this namespace)
	* WarningException.cs: Removed wrong attribute
	* Win32Exception.cs: Added missing attribute

svn path=/trunk/mcs/; revision=15956
2003-07-05 12:57:44 +00:00
Dick Porter 4be18ef0a5 2003-03-20 Dick Porter <[email protected]>
* Win32Exception.cs: Made the fallback error more useful by
	reporting the error number

svn path=/trunk/mcs/; revision=12699
2003-03-20 09:49:03 +00:00
Gonzalo Paniagua Javier 019f67dea2 2003-03-13 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added error code 2.

svn path=/trunk/mcs/; revision=12476
2003-03-13 19:16:38 +00:00
Gonzalo Paniagua Javier fd91897a61 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: implemented GetObjectData ().

svn path=/trunk/mcs/; revision=12194
2003-03-04 20:44:31 +00:00
Gonzalo Paniagua Javier 9019e3ef4c 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10065 (WSA_EHOSTUNREACH).

svn path=/trunk/mcs/; revision=11257
2003-02-06 03:23:16 +00:00
Dick Porter 58d5f4b1e1 2003-01-08 Dick Porter <[email protected]>
* Win32Exception.cs (ComponentModel): Added EWOULDBLOCK

svn path=/trunk/mcs/; revision=10281
2003-01-08 15:59:42 +00:00
Gonzalo Paniagua Javier 557bfcd615 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: added 10107 -> WASSYSCALLFAILURE.

svn path=/trunk/mcs/; revision=8919
2002-11-11 18:29:43 +00:00
Dick Porter b5a59a3011 2002-10-03 Dick Porter <[email protected]>
* Win32Exception.cs: Added ETIMEDOUT

svn path=/trunk/mcs/; revision=7967
2002-10-03 15:48:43 +00:00
Dick Porter 367d52afe7 2002-09-30 Dick Porter <[email protected]>
* Win32Exception.cs: Sorted the errors, added EINPROGRESS

svn path=/trunk/mcs/; revision=7895
2002-09-30 14:42:48 +00:00
Miguel de Icaza d19679d12c Jaroslaw Kowalski <[email protected]>: Update w32 error descriptions
svn path=/trunk/mcs/; revision=4694
2002-05-16 16:14:50 +00:00
Lawrence Pit 41ebe002d2 added error code for Dns.c
svn path=/trunk/mcs/; revision=4095
2002-04-27 18:52:58 +00:00
Dick Porter 734a34aa23 2002-01-23 Dick Porter <[email protected]>
* System.build: Start build System.Net.Sockets.Socket.cs,
	TcpClient.cs and TcpListener.cs

2002-01-23  Dick Porter  <[email protected]>

	* SocketException.cs: Implemented

	* Socket.cs: Implemented most methods

	* LingerOption.cs: Made compile

	* AddressFamily.cs: Removed empty auto-generated comments

2002-01-23  Dick Porter  <[email protected]>

	* SocketAddress.cs: Implemented.

	* IPEndPoint.cs: Turned 'Address' field into a real property.
	Implemented Create() and Serialize() methods.

	* IPAddress.cs: Fixed class constructor, turned 'Address' field
	into a real property. Removed undocumented "public
	IPAddress(string)" constructor.

	* EndPoint.cs: Implemented.  All methods return
	NotSupportedException to enforce subclass overriding.

	* Dns.cs: Replaced fixed-layout Hostent struct and cygwin
	P/Invokes with portable internal calls.

2002-01-23  Dick Porter  <[email protected]>

	* Win32Exception.cs: implement, with support for looking up
	runtime errors.

2002-01-23  Dick Porter  <[email protected]>

	* Marshal.cs: Added GetLastWin32Error()

	* ExternalException.cs: Implemented

2002-01-23  Dick Porter  <[email protected]>

	* System.Xml/XmlNode.cs: Fixed IndexerName attribute so it
	compiles under .net 1.0

2002-01-23  Dick Porter  <[email protected]>

	* Linux.cs: GetFileTime and SetFileTime need to be static

2002-01-23  Dick Porter  <[email protected]>

	* ManualResetEvent.cs:
	* AutoResetEvent.cs: Fixed DOS line endings

svn path=/trunk/mcs/; revision=2127
2002-01-23 19:19:34 +00:00
Miguel de Icaza db1bb4f4eb Mostly changes to get System.dll compiling again. Removes a bunch
of excludes, and now we actually build things.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Win32Exception.cs: Add.

2002-01-17  Miguel de Icaza  <[email protected]>

	* TraceListenerCollection.cs: Remove Warnings.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Dns.cs: Updated to API changes.

	* IPAddress.cs: Updated API.  Much left to implement.

	* Dns.cs: Remove IPToString method

2002-01-17  Miguel de Icaza  <[email protected]>

	* SocketException.cs: Reimplemented.

svn path=/trunk/mcs/; revision=2023
2002-01-17 18:51:01 +00:00