mono.git
14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-06-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

14 years ago2009-06-26 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agoUnbreak last broken tests for DynamicData
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

14 years agoNew tests.
Marek Safar [Fri, 26 Jun 2009 15:08:24 +0000 (15:08 -0000)]
New tests.

svn path=/trunk/mcs/; revision=136973

14 years agoNew tests.
Marek Safar [Fri, 26 Jun 2009 15:08:05 +0000 (15:08 -0000)]
New tests.

svn path=/trunk/mcs/; revision=136972

14 years ago2009-06-26 Marek Safar <marek.safar@gmail.com>
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

14 years ago2009-06-26 Zoltan Varga <vargaz@gmail.com>
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

14 years agoFri Jun 26 17:00:04 CEST 2009 Paolo Molaro <lupus@ximian.com>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-06-26 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years agoIn Test/System.Web.Services:
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years agoIn Test/System.Security.Cryptography.X509Certificates:
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

14 years ago2009-06-26 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-26 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-26 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-26 Robert Jordan <robertj@gmx.net>
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

14 years ago2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
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

14 years agonew tests
Gonzalo Paniagua Javier [Fri, 26 Jun 2009 05:28:01 +0000 (05:28 -0000)]
new tests

svn path=/trunk/mcs/; revision=136930

14 years ago2009-06-26 Atsushi Enomoto <atsushi@ximian.com>
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

14 years ago2009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago * metadata.c (mono_metadata_parse_mh_full): Call into the verifier to check
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

14 years ago2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years ago2009-06-25 Rodrigo Kumpera <rkumpera@novell.com>
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

14 years agoanother dos2unix.
Atsushi Eno [Fri, 26 Jun 2009 02:15:22 +0000 (02:15 -0000)]
another dos2unix.

svn path=/trunk/mcs/; revision=136917

14 years agodos2unix.
Atsushi Eno [Fri, 26 Jun 2009 01:44:37 +0000 (01:44 -0000)]
dos2unix.

svn path=/trunk/mcs/; revision=136916

14 years ago2009-06-25 Miguel de Icaza <miguel@novell.com>
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

14 years ago2009-06-10 Gert Driesen <drieseng@users.sourceforge.net>
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

14 years ago2009-06-10 Gert Driesen <drieseng@users.sourceforge.net>
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

14 years ago2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-06-10 Gert Driesen <drieseng@users.sourceforge.net>
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

14 years ago2009-06-25 Miguel de Icaza <miguel@novell.com>
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

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
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

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jun 2009 19:41:51 +0000 (19:41 -0000)]
2009-06-25  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_and_reloc_code): Factor out the code to
determine whenever a method is directly callable to a separate function.

svn path=/trunk/mono/; revision=136876

14 years ago2009-06-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 25 Jun 2009 19:35:20 +0000 (19:35 -0000)]
2009-06-25  Marek Habersack  <mhabersack@novell.com>

* RouteCollectionTest.cs, RouteTest.cs: added new tests for
GetVirtualPath

2009-06-25  Marek Habersack  <mhabersack@novell.com>

* PatternParser.cs: parameter name lookups must be
case-insensitive.
Null and empty (string) parameters are skipped when building query
part of the action path.

2009-06-25  Marek Habersack  <mhabersack@novell.com>

* LinqDataSource.cs: make ContextType not throw an exception when
ContextTypeName is not set, but rather return a null in that
case.

2009-06-25  Marek Habersack  <mhabersack@novell.com>

* MetaTableTest.cs: new GetVirtualPath tests.

* DynamicDataRouteTest.cs: added tests for route.Defaults
modifications on class init.

* DynamicDataRouteHandlerTest.cs: added

2009-06-25  Marek Habersack  <mhabersack@novell.com>

* MetaTable.cs: Fixes to make tests succeed.

* MetaModel.cs: added the GetDataFieldAttributes method for
retrieving attributes associated with data type/field.
Fixes to make tests succeed.

* MetaColumn.cs: refactoring - use
MetaModel.GetDataFieldAttributes instead of the local version.

* DynamicDataRouteHandler.cs: implemented GetRequestContext,
GetRequestMetaTable.

* DynamicDataRoute.cs: when the Action and Table properties are
set before one of GetVirtualPath or GetRouteData methods are
called for the first time, a check is made whether the Defaults
collection exists and whether it contains entries for Action and
Table. Initialization code makes sure those entries are inserted
into the dictionary in those cases.

svn path=/trunk/mcs/; revision=136875

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jun 2009 19:17:12 +0000 (19:17 -0000)]
2009-06-25  Zoltan Varga  <vargaz@gmail.com>

* mini-<ARCH>.c tramp-<ARCH>.c: Remove needless casts and add new
needed ones as a result of the previous change.

svn path=/trunk/mono/; revision=136874

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jun 2009 19:04:37 +0000 (19:04 -0000)]
2009-06-25  Zoltan Varga  <vargaz@gmail.com>

* mini-<ARCH>.c tramp-<ARCH>.c: Use mgreg_t* as the
type of register arrays.

svn path=/trunk/mono/; revision=136873

14 years ago * src/**/*: Sync with DbLinq r1200. Among other fixes, this fixes an
Jonathan Pryor [Thu, 25 Jun 2009 18:57:33 +0000 (18:57 -0000)]
* src/**/*: Sync with DbLinq r1200.  Among other fixes, this fixes an
  issue where AttributeMappingSource.GetModel().GetTables() would
  return duplicate types, which was unexpected by Marek Habersack.

svn path=/trunk/mcs/; revision=136871

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jun 2009 18:54:18 +0000 (18:54 -0000)]
2009-06-25  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c tramp-<ARCH>.c aot-runtime.c: Use mgreg_t* as the
type of register arrays.

svn path=/trunk/mono/; revision=136870

14 years ago2009-06-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 25 Jun 2009 18:43:12 +0000 (18:43 -0000)]
2009-06-25  Mark Probst  <mark.probst@gmail.com>

        * threadpool.c (mono_thread_pool_add): If the domain is unloading
        or unloaded, still return an AsyncResult, but don't add it to the
        threadpool.

2009-06-25  Mark Probst  <mark.probst@gmail.com>

        * appdomain-async-invoke.cs: Fail if BeginInvoke doesn't return an
        AsyncResult.

svn path=/trunk/mono/; revision=136868

14 years ago2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jun 2009 18:41:52 +0000 (18:41 -0000)]
2009-06-25  Atsushi Enomoto  <atsushi@ximian.com>

* TcpChannelListener.cs, TcpDuplexSessionChannel.cs :
  Made required changes for repeated use of message exchanges.
  Hold binary reader session. The channels use it incrementally.
  Preambles are handled at Open, and EndRecords are handled at
  Close, Add session shutdown hook here (not working yet though).

svn path=/trunk/mcs/; revision=136867

14 years ago2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jun 2009 18:37:22 +0000 (18:37 -0000)]
2009-06-25  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : instead of discarding channels, reuse them
  unless it is closed by session manager (session manager does not
  work, so channels are not actually closed automatically yet).

svn path=/trunk/mcs/; revision=136866

14 years ago2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jun 2009 17:57:37 +0000 (17:57 -0000)]
2009-06-25  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcherTest.cs : add some instance provider tests.

svn path=/trunk/mcs/; revision=136861

14 years ago2009-06-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jun 2009 17:53:55 +0000 (17:53 -0000)]
2009-06-25  Atsushi Enomoto  <atsushi@ximian.com>

* InstanceContext.cs : add missing member / cosmetic API fix.
* ServiceBehaviorAttribute.cs : InstanceContextMode is per-session
  by default.

svn path=/trunk/mcs/; revision=136860

14 years ago2009-06-25 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Jun 2009 17:53:23 +0000 (17:53 -0000)]
2009-06-25  Astushi Enomoto  <atsushi@ximian.com>

* SessionInstanceContextProvider.cs : new instance context provider.

* System.ServiceModel.dll.sources:
  add SessionInstanceContextProvider.cs.

svn path=/trunk/mcs/; revision=136859

14 years ago2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 25 Jun 2009 17:40:39 +0000 (17:40 -0000)]
2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threads.c: fix missing colon when DEBUG is defined.

svn path=/trunk/mono/; revision=136854

14 years ago2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 25 Jun 2009 17:37:40 +0000 (17:37 -0000)]
2009-06-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* wait.c: add missing 'break'.

svn path=/trunk/mono/; revision=136852

14 years ago2009-06-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 25 Jun 2009 17:00:53 +0000 (17:00 -0000)]
2009-06-25  Mark Probst  <mark.probst@gmail.com>

        * threadpool.c: Don't add new calls to a threadpool if the domain
        of the call is unloading or unloaded.  When dequeuing a job, null
        the reference in the queue.

2009-06-25  Mark Probst  <mark.probst@gmail.com>

        * appdomain-async-invoke.cs: Test for adding async invokes while a
        domain is unloading.

        * Makefile.am: Test added.

svn path=/trunk/mono/; revision=136849

14 years ago2009-06-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 25 Jun 2009 16:42:05 +0000 (16:42 -0000)]
2009-06-25  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c (null_link_in_range): Add the dislink for the old
        generation if an object was moved.

svn path=/trunk/mono/; revision=136847

14 years ago2009-06-25 Sylvain Dupont <duposyl@gmail.com>
Bill Holmes [Thu, 25 Jun 2009 14:06:50 +0000 (14:06 -0000)]
2009-06-25  Sylvain Dupont <duposyl@gmail.com>

* cominterop.h cominterop.c marshal.c: Added support for marshalling out
  parameters of type SAFEARRAY[VARIANT].

* reflection.c (encode_marshal_blob): Properly generate element type
  (SafeArraySubType marshal attribute option).

* cominterop.cs libtest.c: Added tests for marshalling
  out parameters of type SAFEARRAY[VARIANT].

* CustomAttributeBuilder.cs: Properly handle element type for safe
  arrays (SafeArraySubType marshal attribute option).

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=136836

14 years ago2009-06-25 Sylvain Dupont <duposyl@gmail.com>
Bill Holmes [Thu, 25 Jun 2009 14:06:50 +0000 (14:06 -0000)]
2009-06-25  Sylvain Dupont <duposyl@gmail.com>

* cominterop.h cominterop.c marshal.c: Added support for marshalling out
  parameters of type SAFEARRAY[VARIANT].

* reflection.c (encode_marshal_blob): Properly generate element type
  (SafeArraySubType marshal attribute option).

* cominterop.cs libtest.c: Added tests for marshalling
  out parameters of type SAFEARRAY[VARIANT].

* CustomAttributeBuilder.cs: Properly handle element type for safe
  arrays (SafeArraySubType marshal attribute option).

Code is contributed under MIT/X11 license.

svn path=/trunk/mcs/; revision=136836

14 years agoThu Jun 25 15:48:09 CEST 2009 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Jun 2009 13:51:47 +0000 (13:51 -0000)]
Thu Jun 25 15:48:09 CEST 2009 Paolo Molaro <lupus@ximian.com>

* reflection.c: in mono_method_clear_object () really ensure all the
objects are removed.

svn path=/trunk/mono/; revision=136834

14 years ago2009-06-25 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 25 Jun 2009 11:25:57 +0000 (11:25 -0000)]
2009-06-25  Robert Jordan  <robertj@gmx.net>

* UriTest.cs: Upgrade to new NUnit style.

svn path=/trunk/mcs/; revision=136817

14 years ago2009-06-25 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 25 Jun 2009 11:02:07 +0000 (11:02 -0000)]
2009-06-25  Robert Jordan  <robertj@gmx.net>

* BinaryReaderTest.cs, BinaryWriterTest.cs, BufferedStreamTest.cs,
PathTest.cs, PathTest.cs, StringWriterTest.cs, TextWriterTest.cs:
Upgrade to new NUnit style.

svn path=/trunk/mcs/; revision=136815

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jun 2009 09:57:40 +0000 (09:57 -0000)]
2009-06-25  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136811

14 years ago2009-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Jun 2009 09:38:28 +0000 (09:38 -0000)]
2009-06-25  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136810

14 years ago2009-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Jun 2009 22:45:59 +0000 (22:45 -0000)]
2009-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_signature): Call into the verifier to check
the method signature.

* metadata-verify.c (verify_method_table): Move signature verification
to verify_method_table_full.

* metadata-verify.c: Add mono_verifier_verify_method_signature.

* verify-internals.h: Export mono_verifier_verify_method_signature as
part of the internal API.

svn path=/trunk/mono/; revision=136799

14 years ago2009-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Jun 2009 22:45:45 +0000 (22:45 -0000)]
2009-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_get_header): Call into the verifier to
check the method header.

* metadata-verify.c: Add mono_verifier_verify_method_header.

* verify-internals.h: Export mono_verifier_verify_method_header as
part of the internal API.

svn path=/trunk/mono/; revision=136798

14 years ago2009-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Jun 2009 22:45:30 +0000 (22:45 -0000)]
2009-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_find_enum_basetype): Call into the verifier to
check the field signature. Replace an assert with an explicit check.

* class.c (mono_class_setup_fields): Call into the verifier to check
the field signature.

* metadata-verify.c: Add mono_verifier_verify_field_signature.

* verify-internals.h: Export mono_verifier_verify_field_signature as
part of the internal API.

svn path=/trunk/mono/; revision=136797

14 years ago2009-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Jun 2009 22:45:14 +0000 (22:45 -0000)]
2009-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_find_enum_basetype): Simplify this function
by moving code outside of the loop and not decoding static fields.

svn path=/trunk/mono/; revision=136796

14 years ago2009-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 24 Jun 2009 22:44:59 +0000 (22:44 -0000)]
2009-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_typedef_table): Check the extends
token here. Move to here a flags check from verify_typedef_table_full.

svn path=/trunk/mono/; revision=136795

14 years agoFix wrong date in my entry to ChangeLog files. Sorry! :((
Jerri Maine [Wed, 24 Jun 2009 21:25:11 +0000 (21:25 -0000)]
Fix wrong date in my entry to ChangeLog files. Sorry! :((

svn path=/trunk/mono/; revision=136786

14 years agomini-amd64.c: Added code to convert simd IR to native amd64 sse.
Jerri Maine [Wed, 24 Jun 2009 21:19:29 +0000 (21:19 -0000)]
mini-amd64.c: Added code to convert simd IR to native amd64 sse.
amd64/amd64-codegen.h: Add marcos for coding several specific sse opcodes.

svn path=/trunk/mono/; revision=136785

14 years agoNew test.
Marek Safar [Wed, 24 Jun 2009 16:37:18 +0000 (16:37 -0000)]
New test.

svn path=/trunk/mcs/; revision=136778

14 years ago2009-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Jun 2009 16:36:56 +0000 (16:36 -0000)]
2009-06-24  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, parameter.cs, iterators.cs, convert.cs,
expression.cs, ecore.cs, delegate.cs: Removed unnecessary ArgList
parameter modifier. Also fixes bug #515497.

svn path=/trunk/mcs/; revision=136777

14 years agotypo
Robert Jordan [Wed, 24 Jun 2009 15:38:01 +0000 (15:38 -0000)]
typo

svn path=/trunk/mcs/; revision=136772

14 years ago2009-06-24 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 24 Jun 2009 14:58:20 +0000 (14:58 -0000)]
2009-06-24  Robert Jordan  <robertj@gmx.net>

* ArrayListTest.cs, CollectionBaseTest.cs, DictionaryEntryTest.cs,
HashtableTest.cs: Convert all tests to new-style nunit methods.

* QueueTest.cs: likewise. Convertion revealed 25 test that were
disabled after the NUnit 2.4 update.

* StackTest.cs: likewise. Convertion revealed 24 test that were
disabled after the NUnit 2.4 update.

svn path=/trunk/mcs/; revision=136771

14 years ago2009-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Jun 2009 13:10:37 +0000 (13:10 -0000)]
2009-06-24  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_plt): Define debug labels for most plt entries.

svn path=/trunk/mono/; revision=136768

14 years ago2009-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Jun 2009 13:10:29 +0000 (13:10 -0000)]
2009-06-24  Zoltan Varga  <vargaz@gmail.com>

* metadata-verify.c (is_valid_method_header): Fix a warning.

* metadata-internals.h (MonoImage): Remove the unused
static_rgctx_invoke_wrapper_cache.

* image.c marshal.c: Ditto.

svn path=/trunk/mono/; revision=136767

14 years agoNew tests.
Marek Safar [Wed, 24 Jun 2009 11:34:25 +0000 (11:34 -0000)]
New tests.

svn path=/trunk/mcs/; revision=136766

14 years ago2009-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Jun 2009 11:33:50 +0000 (11:33 -0000)]
2009-06-24  Marek Safar  <marek.safar@gmail.com>

* *.cs: Replaced ArrayList with Arguments in need of a nonsequential
arguments expression to be implemented.

*.sources: Add argument.cs

svn path=/trunk/mcs/; revision=136765

14 years ago2009-06-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 24 Jun 2009 06:41:14 +0000 (06:41 -0000)]
2009-06-24 Gonzalo Paniagua Javier <gonzalo@novell.com>

* WebConnection.cs: 'socket' and 'Data' where being changed by 2
threads at the same time when there were queued requests and the
current one was aborted in Connect().
* HttpWebRequest.cs: 'aborted' is now an int and we use Interlocked to
access it. Added WebConnection field used when aborting the request.

Fixes bug #514591 for good.

svn path=/trunk/mcs/; revision=136753

14 years ago2009-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Jun 2009 04:07:12 +0000 (04:07 -0000)]
2009-06-24  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136751

14 years ago2009-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Jun 2009 04:07:02 +0000 (04:07 -0000)]
2009-06-24  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136750

14 years ago2009-06-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Jun 2009 03:37:39 +0000 (03:37 -0000)]
2009-06-20  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136749

14 years agoFix LCONV_TO_xx and ICONV_TO_xx. Fix leave_method dump of returned
Neale Ferguson [Tue, 23 Jun 2009 23:55:26 +0000 (23:55 -0000)]
Fix LCONV_TO_xx and ICONV_TO_xx. Fix leave_method dump of returned
structure. Fix formatting.
Correct instruction lengths.
Add new instructions.

svn path=/trunk/mono/; revision=136748