Zoltan Varga [Tue, 30 Jun 2009 02:50:34 +0000 (02:50 -0000)]
2009-06-30 Zoltan Varga <vargaz@gmail.com>
* DebugTest.cs TextWriterTraceListenerTest.cs: Convert all tests to
new-style nunit classes/methods.
svn path=/trunk/mcs/; revision=137131
Zoltan Varga [Tue, 30 Jun 2009 02:34:35 +0000 (02:34 -0000)]
2009-06-30 Zoltan Varga <vargaz@gmail.com>
* *.cs: Convert all tests to new-style nunit classes/methods. Enable
some hidden tests.
svn path=/trunk/mcs/; revision=137130
Zoltan Varga [Mon, 29 Jun 2009 23:32:45 +0000 (23:32 -0000)]
2009-06-30 Zoltan Varga <vargaz@gmail.com>
* ObjectTest.cs RandomTest.cs SByteTest.cs SingleTest.cs
TimeZoneTest.cs UInt16Test.cs UInt32Test.cs UInt64Test.cs
UIntPtrTest.cs ValueTypeTest.cs: Convert all tests to new-style nunit
classes/methods. Enable some hidden tests.
svn path=/trunk/mcs/; revision=137121
Zoltan Varga [Mon, 29 Jun 2009 22:53:45 +0000 (22:53 -0000)]
2009-06-30 Zoltan Varga <vargaz@gmail.com>
* driver.c (mini_regression): Handle loading errors. Fixes #508869.
svn path=/trunk/mono/; revision=137119
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:10:45 +0000 (22:10 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Parameter.cs: add new DbType property.
svn path=/trunk/mcs/; revision=137117
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:02:41 +0000 (22:02 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* LicenseProviderAttribute.cs: avoid nullref when provider has not
been set or cannot be loaded.
svn path=/trunk/mcs/; revision=137115
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 22:01:19 +0000 (22:01 -0000)]
2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TemplateControlCompiler.cs: use the 'Empty' field for Unit and
FontUnit.
svn path=/trunk/mcs/; revision=137113
Marek Safar [Mon, 29 Jun 2009 19:46:12 +0000 (19:46 -0000)]
New tests.
svn path=/trunk/mcs/; revision=137100
Marek Safar [Mon, 29 Jun 2009 19:45:19 +0000 (19:45 -0000)]
New tests.
svn path=/trunk/mcs/; revision=137099
Marek Safar [Mon, 29 Jun 2009 19:44:26 +0000 (19:44 -0000)]
2009-06-29 Marek Safar <marek.safar@gmail.com>
* parameter.cs, convert.cs, expression.cs, class.cs: Default
parameter expression can be value-type New.
* cs-parser.jay: Clean up too many parameter modifier boolean flags.
svn path=/trunk/mcs/; revision=137098
Carlos Alberto Cortez [Mon, 29 Jun 2009 17:16:30 +0000 (17:16 -0000)]
2009-06-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MenuAPI.cs: Close any active menu when we get a simple Alt.
Fixes #509299.
svn path=/trunk/mcs/; revision=137094
Atsushi Eno [Mon, 29 Jun 2009 17:08:50 +0000 (17:08 -0000)]
2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : do not iterate extra channel acceptance
and hence close channels a bit more gracefully.
* TcpDuplexSessionChannel.cs : on Abort(), do just Close() within
(almost) no time.
* TcpChannelListener.cs : accept multiple channels at a time.
svn path=/trunk/mcs/; revision=137093
Gonzalo Paniagua Javier [Mon, 29 Jun 2009 15:52:42 +0000 (15:52 -0000)]
increase timeouts to make this work on machines under load
svn path=/trunk/mcs/; revision=137088
Zoltan Varga [Mon, 29 Jun 2009 15:25:29 +0000 (15:25 -0000)]
2009-06-29 Zoltan Varga <vargaz@gmail.com>
* generic-stack-traces.2.cs: Add a test for #509406.
svn path=/trunk/mono/; revision=137082
Zoltan Varga [Mon, 29 Jun 2009 15:25:22 +0000 (15:25 -0000)]
2009-06-29 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (get_generic_context_from_stack_frame): Fix the case
when the generic instance is an instantiation of a subclass of the
methods class. Fixes #517166.
svn path=/trunk/mono/; revision=137081
Zoltan Varga [Mon, 29 Jun 2009 14:39:54 +0000 (14:39 -0000)]
2009-06-29 Zoltan Varga <vargaz@gmail.com>
* threads.c: Store the thread start argument in a hash table instead of
registering it as a root, as libgc doesn't support unregistering roots
under windows, leading to 'too many root sets' errors when many threads
are created.
svn path=/trunk/mono/; revision=137080
Zoltan Varga [Mon, 29 Jun 2009 13:34:22 +0000 (13:34 -0000)]
2009-06-29 Zoltan Varga <vargaz@gmail.com>
* dynamic-method-finalize.2.cs: New test.
svn path=/trunk/mono/; revision=137076
Zoltan Varga [Mon, 29 Jun 2009 13:34:14 +0000 (13:34 -0000)]
2009-06-29 Zoltan Varga <vargaz@gmail.com>
* gc.c (mono_gc_run_finalize): Avoid finalizing dynamic methods during
shutdown, they can still be referenced by the other dying objects.
Fixes #514506.
svn path=/trunk/mono/; revision=137075
Marek Safar [Mon, 29 Jun 2009 11:37:30 +0000 (11:37 -0000)]
2009-06-29 Marek Safar <marek.safar@gmail.com>
* ChangeLog: Add DynamicAttribute.
svn path=/trunk/mcs/; revision=137069
Marek Safar [Mon, 29 Jun 2009 10:41:54 +0000 (10:41 -0000)]
2009-06-29 Marek Safar <marek.safar@gmail.com>
* Makefile: Add Microsoft.CSharp.
svn path=/trunk/mcs/; revision=137065
Marek Safar [Mon, 29 Jun 2009 10:06:14 +0000 (10:06 -0000)]
New test.
svn path=/trunk/mcs/; revision=137064
Marek Safar [Mon, 29 Jun 2009 09:22:38 +0000 (09:22 -0000)]
Updated
svn path=/trunk/mcs/; revision=137063
Atsushi Eno [Mon, 29 Jun 2009 06:07:28 +0000 (06:07 -0000)]
2009-06-29 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : do not output all (stored) writer
session strings but output only those new ones in current message.
This fixes inconsistent body output in repetitive use of sender.
svn path=/trunk/mcs/; revision=137060
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 21:37:45 +0000 (21:37 -0000)]
2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequestTest.cs: sleep between reads as we do in
WebClientTest.
svn path=/trunk/mcs/; revision=137052
Gert Driesen [Sun, 28 Jun 2009 20:39:25 +0000 (20:39 -0000)]
* SocketTest.cs: Added tests for argument checks, and improved tests
for disposed socket.
* Socket.cs: Modified some argument names to match MS. Moved disposed
check before argument checks in Receive. Use SocketError.InvalidArgument
instead of using magic numbers. Added back comments that was
accidentally removed in my previous commit.
* Socket_2_1.cs: Modified some argument names to match MS.
svn path=/trunk/mcs/; revision=137051
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 16:54:59 +0000 (16:54 -0000)]
fix the build
svn path=/trunk/mcs/; revision=137049
Gert Driesen [Sun, 28 Jun 2009 16:35:54 +0000 (16:35 -0000)]
* System_test.dll.sources: Added IPv6MulticastOptionTest.cs and
MulticastOptionTest.cs.
* Socket.cs: In GetSocketOption, throw SocketException when (byte [])
option value is null. Use SocketError fields instead of using "magic"
number. In SetSocketOption (SocketOptionLevel, SocketOptionName, object)
only accept Linger, AddMembership, DropMembership and verify option
value.
* MulticastOption.cs: Added argument checks. Save interfaceIndex that is
passed to .ctor, and removed MonoTODO. Renamed arguments to match MS.
Reset InterfaceIndex when LocalAddress is modified, and reset
LocalAddress when InterfaceIndex is modified.
* UdpClient.cs: Modified exception to more closely match MS. Fixed
(int, AddressFamily) .ctor to construct IPv6 endpoint when family is
InterNetworkV6. Added null check for multicastAddr to (IPAddress)
JoinMulticastGroup overload. In (int, IPAddress) and (IPAddress,
IPAddress) overloads of JoinMulticastGroup throw SocketException when
client is IPv4. Added null check for multicastAddr to (IPAddress, int),
overload, and moved JoinMulticastGroup call after argument checks.
* IPv6MulticastOption.cs: Renamed argument names to match MS. Added
null check to set_Group. Added range check to set_InterfaceIndex.
* IPv6MulticastOptionTest.cs: Added .ctor and property tests.
* MulticastOptionTest.cs: Added .ctor and property tests.
* SocketTest.cs: Fixed compiler warnings. Improved tests for
closed socket. Added tests fr GetSocketOption, and SetSocketOption
overloads (for Linger, DontLinger, AddMembership and DropMembership).
* UdpClientTest.cs: Added .ctor and JoinMulticastGroup tests.
svn path=/trunk/mcs/; revision=137048
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 07:17:33 +0000 (07:17 -0000)]
2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: fix 1.1 only test.
svn path=/trunk/mcs/; revision=137046
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 07:15:41 +0000 (07:15 -0000)]
fix timing issue
svn path=/trunk/mcs/; revision=137045
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 04:03:49 +0000 (04:03 -0000)]
2009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnectionStream.cs: when buffering the response, we have to set
the internal length and regenerate the headers.
svn path=/trunk/mcs/; revision=137043
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 03:50:35 +0000 (03:50 -0000)]
fix test
svn path=/trunk/mcs/; revision=137040
Gonzalo Paniagua Javier [Sun, 28 Jun 2009 02:33:55 +0000 (02:33 -0000)]
2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SocketResponder.cs: the listener might be closed right before
Accept() is called and in that case we get an EINVAL.
* WebClientTest.cs: now that we might send separate packets for
headers and body, wait a little bit before checking socket.Available.
svn path=/trunk/mcs/; revision=137038
Gonzalo Paniagua Javier [Sat, 27 Jun 2009 18:03:35 +0000 (18:03 -0000)]
new test
svn path=/trunk/mcs/; revision=137033
Gonzalo Paniagua Javier [Sat, 27 Jun 2009 18:02:46 +0000 (18:02 -0000)]
2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: turn WSAEINVAL into ArgumentException.
svn path=/trunk/mcs/; revision=137031
Gonzalo Paniagua Javier [Sat, 27 Jun 2009 18:01:10 +0000 (18:01 -0000)]
2009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
* socket-io.c: DontLinger does not allow LingerOptions.
svn path=/trunk/mono/; revision=137029
Marek Habersack [Fri, 26 Jun 2009 22:59:01 +0000 (22:59 -0000)]
2009-06-27 Marek Habersack <mhabersack@novell.com>
* DynamicDataExtensionsTest.cs: added test for ConvertEditedValue
2009-06-27 Marek Habersack <mhabersack@novell.com>
* DynamicDataExtensions.cs: implemented ConvertEditedValue
svn path=/trunk/mcs/; revision=137024
Marek Safar [Fri, 26 Jun 2009 22:58:12 +0000 (22:58 -0000)]
needs gmcs
svn path=/trunk/mcs/; revision=137023
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 22:48:39 +0000 (22:48 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequestTest.cs: add a bunch of tests provided by
Bassan Tabbara.
svn path=/trunk/mcs/; revision=137021
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 22:45:35 +0000 (22:45 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebRequest.cs: don't send Content-Length header when SendChunked
is enabled.
* WebConnectionStream.cs: send the headers immediately when possible.
When writing the request before a Close(), if there was an exception
it was lost.
svn path=/trunk/mcs/; revision=137019
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 22:37:38 +0000 (22:37 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpConnection.cs:
* HttpListenerResponse.cs: force closing the socket when the response
is aborted.
svn path=/trunk/mcs/; revision=137016
Robert Jordan [Fri, 26 Jun 2009 22:30:55 +0000 (22:30 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* StringTest.cs: Convert all tests to new-style nunit
classes/methods.
* ArrayTest.cs, ConvertTest.cs, DecimalTest.cs, TimeSpanTest.cs:
likewise.
* DecimalTest2.cs: likewise, 5 hidden tests enabled.
svn path=/trunk/mcs/; revision=137015
Marek Habersack [Fri, 26 Jun 2009 22:13:39 +0000 (22:13 -0000)]
2009-06-27 Marek Habersack <mhabersack@novell.com>
* MetaModel.cs: implemented DynamicDataFolderVirtualPath
* DynamicDataRouteHandler.cs: implemented SetRequestMetaTable,
GetCustomPageVirtualPath, GetScaffoldPageVirtualPath and
guessed at implementation of CreateHandler.
2009-06-27 Marek Habersack <mhabersack@novell.com>
* MetaModelTest.cs: added test for DynamicDataFolderVirtualPath
* DynamicDataRouteHandlerTest.cs: implemented tests for
CreateHandler (one of them isn't working atm),
GetCustomVirtualPagePath, GetScaffoldVirtualPagePath,
GetRequestMetaTable, SetRequestMetaTable
2009-06-26 Marek Habersack <mhabersack@novell.com>
* DynamicDataRouteTest.cs: MyDataContext3 is safely registered in
the fixture setup method.
Enabled the GetTableFromRouteData3 and GetRouteData tests - the
work fine now.
Added test for the RouteHandler property.
* DynamicDataRouteHandlerTest.cs: added tests for the constructor
and the Model property.
2009-06-26 Marek Habersack <mhabersack@novell.com>
* MetaModel.cs: RegisterContextCore preserves already registered
tables.
* DynamicDataRouteHandler.cs: GetRequestContext must not retrieve
route data from the routes collection (if the matching route
happened to be an instance of DynamicDataRoute it would initialize
its RouteHandler's Model property, which is not correct, according
to tests). Instead a new RouteData instance is created each time
we don't find any cached context.
* DynamicDataRoute.cs: the associated route handler is set its
Model property when we initialize for the first time.
GetRouteData checks whether route data returned by base class
relates to a table which exists in the current context. If no such
table exists, null is returned.
svn path=/trunk/mcs/; revision=137013
Robert Jordan [Fri, 26 Jun 2009 21:53:51 +0000 (21:53 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* UTF8EncodingTest.cs: Fix the NET_1_1 build.
svn path=/trunk/mcs/; revision=137012
Robert Jordan [Fri, 26 Jun 2009 21:29:00 +0000 (21:29 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* StringTest.cs: Convert all tests to new-style nunit
classes/methods.
svn path=/trunk/mcs/; revision=137011
Robert Jordan [Fri, 26 Jun 2009 21:06:21 +0000 (21:06 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=137010
Rodrigo Kumpera [Fri, 26 Jun 2009 20:14:25 +0000 (20:14 -0000)]
2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Fix a cattr-table test
where generic param is allowed as a parent.
svn path=/trunk/mono/; revision=137007
Rodrigo Kumpera [Fri, 26 Jun 2009 20:14:16 +0000 (20:14 -0000)]
2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: The spec doesn't mention that it's possible to add
custom attribute to a generic parameter. Fixed.
svn path=/trunk/mono/; revision=137006
Rodrigo Kumpera [Fri, 26 Jun 2009 20:14:02 +0000 (20:14 -0000)]
2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (inflate_generic_type): Don't crash while trying to output a message
on why we're aborting.
svn path=/trunk/mono/; revision=137005
Carlos Alberto Cortez [Fri, 26 Jun 2009 19:47:22 +0000 (19:47 -0000)]
2009-06-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolBar.cs: In OnButtonClick only change the Pushed value for
buttons with toogle style. We were previously doing it for
DropDownButton's buttons, but that's not what .net is doing.
Fixes #510030.
svn path=/trunk/mcs/; revision=137002
Zoltan Varga [Fri, 26 Jun 2009 18:10:51 +0000 (18:10 -0000)]
2009-06-26 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Fix thread attaching in AOTed
code.
* mini.c (mono_jit_thread_attach): Allow domain to be NULL for calls from
AOTed code.
svn path=/trunk/mono/; revision=136995
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 16:34:58 +0000 (16:34 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SocketTest.cs: tests for DontLinger.
svn path=/trunk/mcs/; revision=136982
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 16:34:20 +0000 (16:34 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: MS throws a SocketException in the byte[] overload when
the value is null.
svn path=/trunk/mcs/; revision=136980
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 16:33:58 +0000 (16:33 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* socket-io.c: DontLinger can take an int or a boolean too.
svn path=/trunk/mono/; revision=136978
Atsushi Eno [Fri, 26 Jun 2009 15:44:16 +0000 (15:44 -0000)]
2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : handle EndRecord for repetitive
operation that does not involve session.
Preserve writer session as well as reader session.
* MessageHeaders.cs : take name and namespace into consideration
when creating a serializer.
svn path=/trunk/mcs/; revision=136975
Marek Habersack [Fri, 26 Jun 2009 15:12:26 +0000 (15:12 -0000)]
Unbreak last broken tests for DynamicData
svn path=/trunk/mcs/; revision=136974
Marek Safar [Fri, 26 Jun 2009 15:08:24 +0000 (15:08 -0000)]
New tests.
svn path=/trunk/mcs/; revision=136973
Marek Safar [Fri, 26 Jun 2009 15:08:05 +0000 (15:08 -0000)]
New tests.
svn path=/trunk/mcs/; revision=136972
Marek Safar [Fri, 26 Jun 2009 15:07:48 +0000 (15:07 -0000)]
2009-06-26 Marek Safar <marek.safar@gmail.com>
* generic.cs, argument.cs, expression.cs, ecore.cs, cs-parser.jay:
Implemented C# 4.0 named arguments.
svn path=/trunk/mcs/; revision=136971
Zoltan Varga [Fri, 26 Jun 2009 15:04:36 +0000 (15:04 -0000)]
2009-06-26 Zoltan Varga <vargaz@gmail.com>
* CMakeLists.txt: Add minimal support for installation.
svn path=/trunk/mono/; revision=136970
Paolo Molaro [Fri, 26 Jun 2009 15:04:24 +0000 (15:04 -0000)]
Fri Jun 26 17:00:04 CEST 2009 Paolo Molaro <lupus@ximian.com>
* gc.c: check for a null argument to SuppressFinalize () and
ReRegisterForFinalize ().
svn path=/trunk/mono/; revision=136969
Robert Jordan [Fri, 26 Jun 2009 15:00:46 +0000 (15:00 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136968
Atsushi Eno [Fri, 26 Jun 2009 14:15:12 +0000 (14:15 -0000)]
2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlFormatterDeserializer.cs : verifyObjectName rather blocked
correct names provided as the root names.
svn path=/trunk/mcs/; revision=136964
Rodrigo Kumpera [Fri, 26 Jun 2009 14:13:45 +0000 (14:13 -0000)]
2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (method_from_methodspec): Call into the verifier to check
the signature.
* metadata-verify.c: Addmono_verifier_verify_methodspec_signature.
* verify-internals.h: Export mono_verifier_verify_methodspec_signature as
part of the internal API.
svn path=/trunk/mono/; revision=136963
Robert Jordan [Fri, 26 Jun 2009 14:00:28 +0000 (14:00 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136962
Robert Jordan [Fri, 26 Jun 2009 13:34:58 +0000 (13:34 -0000)]
In Test/System.Web.Services:
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
In Test/System.Web.Services.Configuration:
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
In Test/System.Web.Services.Discovery:
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136961
Robert Jordan [Fri, 26 Jun 2009 13:31:32 +0000 (13:31 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136960
Robert Jordan [Fri, 26 Jun 2009 13:01:11 +0000 (13:01 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* CodeGeneratorIdentifierTest.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136956
Robert Jordan [Fri, 26 Jun 2009 12:49:57 +0000 (12:49 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* BitVector32Test.cs, NameValueCollectionTest.cs:
Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136954
Robert Jordan [Fri, 26 Jun 2009 12:43:22 +0000 (12:43 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* EventHandlerListTests.cs, LicenseManagerTests.cs:
Upgrade to new NUnit style. Standalone tests (#if !NUNIT)
removed.
svn path=/trunk/mcs/; revision=136952
Robert Jordan [Fri, 26 Jun 2009 12:34:15 +0000 (12:34 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* SwitchesTest.cs, TraceTest.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136951
Robert Jordan [Fri, 26 Jun 2009 12:29:53 +0000 (12:29 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* FileSystemWatcherTest.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136950
Robert Jordan [Fri, 26 Jun 2009 12:20:08 +0000 (12:20 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136949
Robert Jordan [Fri, 26 Jun 2009 11:59:34 +0000 (11:59 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* *.cs: Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136948
Robert Jordan [Fri, 26 Jun 2009 11:22:31 +0000 (11:22 -0000)]
In Test/System.Security.Cryptography.X509Certificates:
2009-06-26 Robert Jordan <robertj@gmx.net>
* X509CertificateCollectionTest.cs,
X509ChainPolicyTest.cs: Upgrade to new NUnit style.
In Test/System.Security.Cryptography:
2009-06-26 Robert Jordan <robertj@gmx.net>
* OidCollectionTest.cs, OidEnumeratorTest.cs:
Upgrade to new NUnit style.
svn path=/trunk/mcs/; revision=136947
Zoltan Varga [Fri, 26 Jun 2009 11:20:13 +0000 (11:20 -0000)]
2009-06-26 Zoltan Varga <vargaz@gmail.com>
* NumberFormatterTest.cs: Convert all tests to new-style nunit
classes/methods.
svn path=/trunk/mcs/; revision=136946
Zoltan Varga [Fri, 26 Jun 2009 11:16:10 +0000 (11:16 -0000)]
2009-06-26 Zoltan Varga <vargaz@gmail.com>
* *.cs: Convert all tests to new-style nunit classes/methods. Add
[Test] attributes to some tests which were missing them.
svn path=/trunk/mcs/; revision=136944
Zoltan Varga [Fri, 26 Jun 2009 11:05:19 +0000 (11:05 -0000)]
2009-06-26 Zoltan Varga <vargaz@gmail.com>
* *.cs: Convert all tests to new-style nunit classes/methods.
svn path=/trunk/mcs/; revision=136942
Robert Jordan [Fri, 26 Jun 2009 08:36:55 +0000 (08:36 -0000)]
2009-06-26 Robert Jordan <robertj@gmx.net>
* BitArrayTest.cs: Upgrade to new NUnit style. Enable
16 tests that were disabled after the NUnit 2.4 update.
svn path=/trunk/mcs/; revision=136935
Atsushi Eno [Fri, 26 Jun 2009 05:43:07 +0000 (05:43 -0000)]
2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
* XplatUICarbon.cs : support multi-byte text input.
Fixed bug #501276.
* KeyboardHandler.cs : support multi-byte text input.
Fixed bug #501276.
svn path=/trunk/mcs/; revision=136932
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 05:28:01 +0000 (05:28 -0000)]
new tests
svn path=/trunk/mcs/; revision=136930
Atsushi Eno [Fri, 26 Jun 2009 05:26:36 +0000 (05:26 -0000)]
2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
* SelectNodesTests.cs
XPathNavigatorCommonTests.cs
XPathAtomicValueTests.cs
XPathNavigatorTests.cs
XPathNavigatorEvaluateTests.cs : convert to newer nunit style.
svn path=/trunk/mcs/; revision=136928
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 05:25:56 +0000 (05:25 -0000)]
2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
report the error. Fix stupid harmless typo.
* DateTimeOffset.cs: report error if the UTC date/time is out of
bounds.
svn path=/trunk/mcs/; revision=136927
Rodrigo Kumpera [Fri, 26 Jun 2009 02:24:39 +0000 (02:24 -0000)]
2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
* metadata.c (mono_type_create_from_typespec): Call into the verifier to check
the signature.
* metadata-verify.c: Add mono_verifier_verify_typespec_signature.
* verify-internals.h: Export mono_verifier_verify_typespec_signature as
part of the internal API.
svn path=/trunk/mono/; revision=136922
Rodrigo Kumpera [Fri, 26 Jun 2009 02:24:25 +0000 (02:24 -0000)]
* metadata.c (mono_metadata_parse_mh_full): Call into the verifier to check
the signature.
* metadata-verify.c: Add mono_verifier_verify_standalone_signature. Fix
blob verification.
* verify-internals.h: Export mono_verifier_verify_memberref_signature as
part of the internal API.
svn path=/trunk/mono/; revision=136921
Rodrigo Kumpera [Fri, 26 Jun 2009 02:24:11 +0000 (02:24 -0000)]
2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Use is_valid_blob_object to verify blob validity
when doing basic verification.
This check must be done since the runtime peeks into signatures in much
more places than it does decoding so it makes sense to ensure that all
pointers to blob objects are well formed.
svn path=/trunk/mono/; revision=136920
Rodrigo Kumpera [Fri, 26 Jun 2009 02:23:58 +0000 (02:23 -0000)]
2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (is_valid_blob_object): Add extra minsize argument.
Use proper overflow dectection. Fix usage of it.
svn path=/trunk/mono/; revision=136919
Rodrigo Kumpera [Fri, 26 Jun 2009 02:23:45 +0000 (02:23 -0000)]
2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (field_from_memberref): Call into the verifier to check
the signature.
* loader.c (mono_method_get_signature_full): Same.
* loader.c (method_from_memberref): Same.
* metadata-verify.c: Add mono_verifier_verify_memberref_signature.
* verify-internals.h: Export mono_verifier_verify_memberref_signature as
part of the internal API.
svn path=/trunk/mono/; revision=136918
Atsushi Eno [Fri, 26 Jun 2009 02:15:22 +0000 (02:15 -0000)]
another dos2unix.
svn path=/trunk/mcs/; revision=136917
Atsushi Eno [Fri, 26 Jun 2009 01:44:37 +0000 (01:44 -0000)]
dos2unix.
svn path=/trunk/mcs/; revision=136916
Miguel de Icaza [Fri, 26 Jun 2009 00:47:19 +0000 (00:47 -0000)]
2009-06-25 Miguel de Icaza <miguel@novell.com>
* Timer.cs: Throw ArgumentNullException if the callback is null.
svn path=/trunk/mcs/; revision=136912
Miguel de Icaza [Fri, 26 Jun 2009 00:15:37 +0000 (00:15 -0000)]
2009-06-10 Gert Driesen <drieseng@users.sourceforge.net>
* corlib_test.dll.sources: Added test for InternalVisibleToAttribute.
svn path=/trunk/mcs/; revision=136908
Miguel de Icaza [Thu, 25 Jun 2009 23:36:03 +0000 (23:36 -0000)]
2009-06-10 Gert Driesen <drieseng@users.sourceforge.net>
* corlib_test.dll.sources: Added test for InternalVisibleToAttribute.
2009-06-10 Marek Safar <marek.safar@gmail.com>
svn path=/trunk/mcs/; revision=136902
Gonzalo Paniagua Javier [Thu, 25 Jun 2009 23:23:24 +0000 (23:23 -0000)]
2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebAsyncResult.cs: new field that tells us if the request is being
written automatically because we reached the content length.
* WebConnection.cs:
* WebConnectionStream.cs: make sure we only access the NetworkStream
while we own it. Automatically write the request when we reach
ContentLength number of bytes. Kill the write buffer as soon as
possible. Don't use the buffer at all when chunked encoding is
enabled.
Fixes bugs #515931 and #510642.
svn path=/trunk/mcs/; revision=136900
Miguel de Icaza [Thu, 25 Jun 2009 23:19:41 +0000 (23:19 -0000)]
2009-06-10 Gert Driesen <drieseng@users.sourceforge.net>
* corlib_test.dll.sources: Added test for InternalVisibleToAttribute.
2009-06-10 Marek Safar <marek.safar@gmail.com>
svn path=/trunk/mcs/; revision=136898
Miguel de Icaza [Thu, 25 Jun 2009 22:46:50 +0000 (22:46 -0000)]
2009-06-25 Miguel de Icaza <miguel@novell.com>
* Int32.cs: Fix regression introduced in 2005, we need to throw
ArgumentNullException on Parse.
svn path=/trunk/mcs/; revision=136895
Zoltan Varga [Thu, 25 Jun 2009 21:02:46 +0000 (21:02 -0000)]
2009-06-25 Zoltan Varga <vargaz@gmail.com>
* *.cs: Convert all tests to new-style nunit classes/methods.
svn path=/trunk/mcs/; revision=136888
Zoltan Varga [Thu, 25 Jun 2009 20:55:57 +0000 (20:55 -0000)]
2009-06-25 Zoltan Varga <vargaz@gmail.com>
* *.cs: Convert all tests to new-style nunit classes/methods.
svn path=/trunk/mcs/; revision=136887
Zoltan Varga [Thu, 25 Jun 2009 20:45:27 +0000 (20:45 -0000)]
2009-06-25 Zoltan Varga <vargaz@gmail.com>
* *.cs: Convert all tests to new-style nunit classes/methods.
svn path=/trunk/mcs/; revision=136886
Gonzalo Paniagua Javier [Thu, 25 Jun 2009 20:40:31 +0000 (20:40 -0000)]
2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* sockets.c: add the error number to the message so we can figure out
when this happens.
svn path=/trunk/mono/; revision=136883
Zoltan Varga [Thu, 25 Jun 2009 20:16:53 +0000 (20:16 -0000)]
2009-06-25 Zoltan Varga <vargaz@gmail.com>
* *.cs: Convert all tests to new-style nunit classes/methods.
svn path=/trunk/mcs/; revision=136880