mono.git
14 years ago2009-08-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 7 Aug 2009 10:44:50 +0000 (10:44 -0000)]
2009-08-07  Marek Safar  <marek.safar@gmail.com>

* Enumerable.cs (Skip): Optimized and fixed int.MaxValue overflow.

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

14 years agoWrong file name.
Marek Safar [Fri, 7 Aug 2009 08:54:13 +0000 (08:54 -0000)]
Wrong file name.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 08:26:53 +0000 (08:26 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:33:38 +0000 (06:33 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs : change .ctor() args.
  Add proxy hook methods that simply calls those in callback
  ClientRuntimeChannel.

* InputOrReplyRequestProcessor.cs : now it could return an instance
  of dynamically generated proxy over DuplexServiceRuntimeChannel.

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

14 years ago2009-08-07 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:31:22 +0000 (06:31 -0000)]
2009-08-07  Astushi Enomoto  <atsushi@ximian.com>

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

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:27:33 +0000 (06:27 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : add new contract getter to
  create callback contract type (which does not demand
  ServiceContractAttribute).

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:25:58 +0000 (06:25 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : create callback runtime here, if required.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:24:08 +0000 (06:24 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntime.cs : oops, it should have been committed at a time.
  Change .ctor() args. Make some properties auto.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:21:50 +0000 (06:21 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : factory was not fully optional. Add
  contextChannel argument to make room for duplex callback channel.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:20:19 +0000 (06:20 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceEndpoint.cs, ContractDescription.cs : moved client runtime
  creator from former to latter.

* ClientProxyGenerator.cs : split client-specific code generation
  from those common to service callback generation.
* ServiceProxyGenerator.cs : new file, uses common basis above.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:12:21 +0000 (06:12 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* DispatchRuntime.cs : callback runtime is set later.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:07:14 +0000 (06:07 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* IPeerConnectorContract.cs : add callback contract.

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

14 years ago2009-08-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 7 Aug 2009 02:59:03 +0000 (02:59 -0000)]
2009-08-06  Miguel de Icaza  <miguel@novell.com>

* generic.cs: This loop was incorrect, it was increment ii, but
checking for `i'.  This was a change introduced to fix #327497,
now we fix #424012.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 02:47:01 +0000 (02:47 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeader.cs : fill IsReferenceParameter.

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

14 years ago2009-08-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 7 Aug 2009 02:40:27 +0000 (02:40 -0000)]
2009-08-06  Miguel de Icaza  <miguel@novell.com>

* class.cs: Catch another case for cs0533 error, fixes #324782.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 02:30:33 +0000 (02:30 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs : created derived duplex type.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 02:29:12 +0000 (02:29 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : close/abort channels.
  factory is optional now.

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

14 years ago2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 01:58:29 +0000 (01:58 -0000)]
2009-08-06  Rodrigo Kumpera  <rkumpera@novell.com>

* object-internals.h (MonoReflectionMethodOnTypeBuilderInst): Add new fields
to handle inflated generic methods.

* appdomain.c: Bump corlib version.

* reflection.c (mono_image_get_method_on_inst_token): Handle generic method
instances.

* reflection.c (fixup_method): Same

* reflection.c (resolve_object): Same.

* reflection.c (inflate_method): Replace a g_assert_not_reached with a
g_error and a decent message.

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

14 years ago2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 01:56:45 +0000 (01:56 -0000)]
2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* Environment.cs: Bump corlib version.

2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (InflateType): Add support to inflate
generic method arguments.

* MonoGenericClass.cs (GetMethod): Remove restriction
with generic methods.

2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodOnTypeBuilderInstTest.cs: Add tests for
generic method instances over generic type instances.

2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodBuilder.cs: Mark generic_params internal.

* MethodOnTypeBuilderInst.cs: Add fields to support
inflated generic methods. Implement generics related
methods.

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

14 years ago2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 01:56:21 +0000 (01:56 -0000)]
2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* typemanager.cs (GetGenericArguments): SRE returns null for
generic methods on type builder instances if they are not generic
themselves. For example, for Foo<int>::Bar() it returns null, but
not for Foo<int>::Bar<>() or Foo<int>::Bar<double>().

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

14 years ago2009-08-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Aug 2009 19:55:14 +0000 (19:55 -0000)]
2009-08-06  Zoltan Varga  <vargaz@gmail.com>

* *.*: Applied patch from Marcus Griep <marcus@griep.us>. Update
C5 to v.1.1.0.

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

14 years ago * mdoc.exe.sources: Add ../../build/common/Consts.cs to the build.
Jonathan Pryor [Thu, 6 Aug 2009 18:40:22 +0000 (18:40 -0000)]
* mdoc.exe.sources: Add ../../build/common/Consts.cs to the build.
* Mono.Documentation/mdoc.cs: mdoc version is Consts.MonoVersion, not
  some hard-coded, perpetually out-of-date version.

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

14 years ago2009-08-06 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 6 Aug 2009 18:14:23 +0000 (18:14 -0000)]
2009-08-06  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/BaseAssemblyResolver.cs:
Do not crash when the GAC folder can't be found.

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

14 years agoUpdated
Marek Safar [Thu, 6 Aug 2009 15:22:24 +0000 (15:22 -0000)]
Updated

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

14 years agoMissing eol-style
Marek Safar [Thu, 6 Aug 2009 15:18:16 +0000 (15:18 -0000)]
Missing eol-style

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

14 years agoChangeLog
Marek Safar [Thu, 6 Aug 2009 15:04:18 +0000 (15:04 -0000)]
ChangeLog

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

14 years agoGet the domain from the object because it could not yet be available globally.
Massimiliano Mantione [Thu, 6 Aug 2009 14:56:47 +0000 (14:56 -0000)]
Get the domain from the object because it could not yet be available globally.

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

14 years agoProfiler writer thread code cleanup.
Massimiliano Mantione [Thu, 6 Aug 2009 14:56:36 +0000 (14:56 -0000)]
Profiler writer thread code cleanup.

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

14 years ago2009-08-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 6 Aug 2009 14:51:39 +0000 (14:51 -0000)]
2009-08-04  Marek Safar  <marek.safar@gmail.com>

* Updated to r26623.

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

14 years agoAdd some 4.0 bits
Marek Safar [Thu, 6 Aug 2009 14:49:56 +0000 (14:49 -0000)]
Add some 4.0 bits

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 13:53:23 +0000 (13:53 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : unify IChannel field to one.

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

14 years agoMissing eol-style
Marek Safar [Thu, 6 Aug 2009 13:51:41 +0000 (13:51 -0000)]
Missing eol-style

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 13:25:21 +0000 (13:25 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : de-factorying toward callback instancing.

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

14 years ago2009-08-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Aug 2009 12:05:22 +0000 (12:05 -0000)]
2009-08-06  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_compile_method_inner): Throw an exception instead
of asserting when a method is JIT compiled in full-aot mode.

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 11:43:28 +0000 (11:43 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexChannelFactory.cs, ClientRuntimeChannel.cs,
  ChannelFactory_1.cs : more ServiceEndpoint dep reduction.

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 11:41:46 +0000 (11:41 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* ReplyChannelBase.cs, TcpReplyChannel.cs, HttpReplyChannel.cs:
  implement remaining async methods and LocalAddress.

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 08:39:05 +0000 (08:39 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : removing extra deps on ServiceEndpoint.

* ClientRuntime.cs :
  .ctor() just needs contract. Fill some properties.

* ServiceEndpoint.cs : follow ClientRuntime change.

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 03:43:17 +0000 (03:43 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : eliminate dependency on ChannelFactory,
  which will block using it for callback instances.

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 03:39:11 +0000 (03:39 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* WebScriptEnablingBehavior.cs : revert GetQueryStringConverter().
  (MSDN missing entry issue.)

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

14 years ago2009-08-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Aug 2009 03:06:03 +0000 (03:06 -0000)]
2009-08-06  Atsushi Enomoto  <atsushi@ximian.com>

* web.config: add WCF assemblies as references at compilation.
* machine.config: add some missing WCF sections (new in 3.5).

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

14 years agoknown-issues-dmcs: Add testcases that have an assembly version in the error message...
Raja R Harinath [Thu, 6 Aug 2009 02:42:24 +0000 (02:42 -0000)]
known-issues-dmcs: Add testcases that have an assembly version in the error message string.

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

14 years agoUpdated.
Marek Safar [Wed, 5 Aug 2009 17:17:40 +0000 (17:17 -0000)]
Updated.

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

14 years ago2009-08-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 5 Aug 2009 17:17:26 +0000 (17:17 -0000)]
2009-08-05  Marek Safar  <marek.safar@gmail.com>

* argument.cs, dynamic.cs, expression.cs, ecore.cs, class.cs,
delegate.cs: Work on dynamic binding.

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 15:42:11 +0000 (15:42 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : fix 2.1 build.

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

14 years ago2009-08-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 15:03:51 +0000 (15:03 -0000)]
2009-08-05 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (FullName): mcs depends that FullName
doesn't return null for instantiations over generic params
of type builders. We special case this under compiler context.

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

14 years ago2009-08-05 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Wed, 5 Aug 2009 15:02:40 +0000 (15:02 -0000)]
2009-08-05  Jérémie Laval  <jeremie.laval@gmail.com>

In class/corlib/System.Threading.Tasks/:
* Future.cs: Fix for Future, when using TaskCompletionSource
don't try to run Wait before returning value

In class/corlib/Test/System.Collections.Concurrent/:
* ConcurrentDictionaryTests.cs: Re-enable ConcurrentDictionary unit
tests.

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

14 years ago2009-08-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 14:28:28 +0000 (14:28 -0000)]
2009-08-05 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Remove Is(Array|Pointer|ByRef)Impl
and GetElementType since the runtime still produces instances
of MonoGenericClass for those types.

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 09:54:14 +0000 (09:54 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehavior.cs, WebScriptEnablingBehavior.cs :
  implemented properties as in documented way.
  Remove extra derived GetQueryStringConverter().

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 09:28:31 +0000 (09:28 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* WebHttpBehavior.cs, WebScriptEnablingBehavior.cs :
  mostly implemented Validate().

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 07:22:42 +0000 (07:22 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* web.config: add WCF assemblies as references at compilation.
* machine.config: add some missing WCF sections (new in 3.5).

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 06:31:23 +0000 (06:31 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* PeerDuplexChannel.cs : ongoing listener refactoring. Now it uses
  ServiceHost to process neighbor connection (not sure if this is
  right way to go though ...).

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 05:46:11 +0000 (05:46 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : actually CallbackInstance is set and
  should be available.

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 05:38:48 +0000 (05:38 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexChannelFactory.cs, ClientProxyGenerator.cs, ClientBase.cs,
  ChannelFactory_1.cs, DuplexClientBase.cs :
  create IDuplexContextChannel from ClientBase if required.

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 05:36:42 +0000 (05:36 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexClientRuntimeChannel.cs : new proxy base channel.

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

14 years ago2009-08-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Aug 2009 05:35:44 +0000 (05:35 -0000)]
2009-08-05  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs : it should implement IServiceChannel,
  not IClientChannel.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 01:08:15 +0000 (01:08 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClassTest.cs: New file.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 01:07:54 +0000 (01:07 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Implement more methods from MonoType.
Done with all type name related properties.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:08:27 +0000 (00:08 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Implement Is*Impl methods to simply
return false.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:08:05 +0000 (00:08 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Implement Make(Array,ByRef,Pointer) using the
new managed types.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:07:42 +0000 (00:07 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodOnTypeBuilderInstTest.cs: Really fix the test.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:07:21 +0000 (00:07 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodOnTypeBuilderInstTest.cs: Pointer inflation
was fixed. Use the right assert on the test.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:06:57 +0000 (00:06 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (InflateType): Implement it in terms of managed
code and kill the corresponding icall.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:06:36 +0000 (00:06 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* DerivedTypes.cs (DerivedType): Implement ToString ().

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:06:14 +0000 (00:06 -0000)]
2009-08-04  Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_generic_class_get_object): Initialized the
managed type arguments array.

* object-internals.h (MonoReflectionGenericClass): Add type_arguments field.

* appdomain.c: Bump corlib version.

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

14 years ago2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Aug 2009 00:06:13 +0000 (00:06 -0000)]
2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Add type_arguments field and constructor
that initializes it.

2009-08-04 Rodrigo Kumpera  <rkumpera@novell.com>

* Environment.cs: Bump corlib version.

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

14 years agoCheck GC_dont_gc just in case an embedder used it.
Gonzalo Paniagua Javier [Tue, 4 Aug 2009 20:27:21 +0000 (20:27 -0000)]
Check GC_dont_gc just in case an embedder used it.

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

14 years ago2009-08-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 4 Aug 2009 20:07:39 +0000 (20:07 -0000)]
2009-08-04  Miguel de Icaza  <miguel@novell.com>

* Start the split between PLATFORM_WIN32 and TARGET_WIN32.

PLATFORM_WIN32 should be used to configure the runtime while
building it.   TARGET_WIN32 is used for target execution.

This is used by Mono's AOT cross compiler when running on Windows,
but targetting a different operating system.    So we have to tell
those two apart.

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

14 years ago2009-08-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 4 Aug 2009 20:01:38 +0000 (20:01 -0000)]
2009-08-04  Miguel de Icaza  <miguel@novell.com>

* posix.c (_wapi_stdhandle_create): Split this into a new file to
more easily support non-Posix platforms.

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

14 years ago* ParallelConcurrentQueueTests.cs (CountTestCase): Remove call to internal method.
Raja R Harinath [Tue, 4 Aug 2009 15:18:07 +0000 (15:18 -0000)]
* ParallelConcurrentQueueTests.cs (CountTestCase): Remove call to internal method.

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

14 years ago2009-08-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Aug 2009 15:06:51 +0000 (15:06 -0000)]
2009-08-04  Marek Safar <marek.safar@gmail.com>

* RuntimeBinderInternalCompilerException.cs,
RuntimeBinderException.cs: New files.

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

14 years ago * DataGrid.cs: When handling mouse down on a column, don't do any sort
Carlos Alberto Cortez [Tue, 4 Aug 2009 14:50:49 +0000 (14:50 -0000)]
* DataGrid.cs: When handling mouse down on a column, don't do any sort
even if the list supports it if we are empty. This way we avoid an exc
sorting the empty list, and keep the UI compatible with .net.

2009-08-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years ago2009-08-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 4 Aug 2009 14:37:36 +0000 (14:37 -0000)]
2009-08-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGrid.cs: In Edit () check we have any row before trying to use
the current row. Fixes a IOOR exc with an empty data grid.

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

14 years ago2009-08-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Aug 2009 12:13:25 +0000 (12:13 -0000)]
2009-08-04  Zoltan Varga  <vargaz@gmail.com>

* threads.c (thread_cleanup): Free serialized_ui_culture_info. Fixes
#527902.

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

14 years ago2009-08-04 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 4 Aug 2009 10:58:51 +0000 (10:58 -0000)]
2009-08-04 Jérémie Laval  <jeremie.laval@gmail.com>

In class/corlib/System.Collections.Concurrent/:
* ConcurrentDictionary: Fix compilation issue
with IDictionary methods.

In class/corlib/System.Threading/:
* SpinLock: Remove unused private methods.

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

14 years agoNew test.
Marek Safar [Tue, 4 Aug 2009 10:30:36 +0000 (10:30 -0000)]
New test.

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

14 years ago2009-08-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Aug 2009 10:30:10 +0000 (10:30 -0000)]
2009-08-04  Marek Safar  <marek.safar@gmail.com>

A second fix for bug #525342
* class.cs: Attach partial method attributes to method
implementation.

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

14 years ago2009-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Aug 2009 09:55:15 +0000 (09:55 -0000)]
2009-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* IPeerConnectorContract.cs : fix contract and add receiver iface
  (might be unnecessary though).

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

14 years ago2009-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Aug 2009 09:53:47 +0000 (09:53 -0000)]
2009-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* OperationContext.cs : GetCallbackChannel<T>() should just return
  channel (which should also implement T, which must be callback
  type).

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

14 years ago2009-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Aug 2009 08:44:17 +0000 (08:44 -0000)]
2009-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceBehaviorAttribute.cs : cosmetic spelling fix.

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

14 years ago2009-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Aug 2009 08:43:18 +0000 (08:43 -0000)]
2009-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* ReplyHandler.cs : there is better way to check IsOneWay.

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

14 years ago2009-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Aug 2009 08:14:11 +0000 (08:14 -0000)]
2009-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* OperationInvokerHandler.cs : One way operation has no reply.
* ReplyHandler.cs : ditto.

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

14 years ago2009-08-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Aug 2009 06:02:04 +0000 (06:02 -0000)]
2009-08-04  Atsushi Enomoto  <atsushi@ximian.com>

* make_imt_test.sh: fix freebsd build by Makoto Kishimoto
  http://lists.ximian.com/pipermail/mono-devel-list/2008-November/029970.html

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

14 years ago2009-08-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 4 Aug 2009 04:16:37 +0000 (04:16 -0000)]
2009-08-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* GridColumnStylesCollectionTest.cs: New test for #465019. Also make
public the test class, so it is *actually* loaded by nunit.

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

14 years ago2009-08-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 4 Aug 2009 03:48:03 +0000 (03:48 -0000)]
2009-08-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGridColumnStyle.cs: Don't call CheckValidDataSource when setting
the owner DataGrid - even if this seems to be the right thing to do,
.net is not doind this check at this point, but in later operations.
Fixes #465019.

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

14 years agoContributed under the terms of the MIT/X11 license by
Jerri Maine [Tue, 4 Aug 2009 00:36:49 +0000 (00:36 -0000)]
Contributed under the terms of the MIT/X11 license by
Jerry Maine <crashfourit@gail.com>.

* Mono.Simd/VectorOperations.cs: Added packed double method.

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

14 years agosvn path=/trunk/mono/; revision=139311
Jerri Maine [Tue, 4 Aug 2009 00:34:42 +0000 (00:34 -0000)]
svn path=/trunk/mono/; revision=139311

14 years agosvn path=/trunk/mono/; revision=139310
Jerri Maine [Tue, 4 Aug 2009 00:34:07 +0000 (00:34 -0000)]
svn path=/trunk/mono/; revision=139310

14 years agoContributed under the terms of the MIT/X11 license by
Jerri Maine [Tue, 4 Aug 2009 00:31:14 +0000 (00:31 -0000)]
Contributed under the terms of the MIT/X11 license by
Jerry Maine <crashfourit@gail.com>.

* mono/arch/amd64/amd64-codegen.h: Added missing code gen marco for single packed square root.
* mono/mini/basic-simd.cs: added test for packed double square root.
* mono/mini/cpu-amd64.md: added opcode info for packed double square root.
* mono/mini/cpu-x86.md: added opcode info for packed double square root.
* mono/mini/mini-ops.h: added IR opcode for packed double square root.
* mono/mini/mini-x86.c: added IR to native translation code for packed double square root.
* mono/mini/mini-amd64.c: removed todo for packed double square root.
* mono/mini/simd-intrinsics.c: added method to IR opcode converstion for
packed double square root.

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

14 years agoFix
Miguel de Icaza [Tue, 4 Aug 2009 00:19:56 +0000 (00:19 -0000)]
Fix

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

14 years ago2009-08-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 4 Aug 2009 00:10:17 +0000 (00:10 -0000)]
2009-08-03 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (initialize): Remember the number
of events available at initialization time. This is required as
mcs expect this behavior under compiler context that new events
are not returned for an instance that was inflated before.

* MonoGenericClass.cs: Kill GetEvents_internal and implement it
in terms of managed code.

2009-08-03 Rodrigo Kumpera  <rkumpera@novell.com>

* EventBuilder.cs: Make some fields internal.

* TypeBuilder.cs: Make events field internal.
Remove some MonoTODOs that are already done.

* EventOnTypeBuilderInst.cs: New file which implements
the required functionality by compiler context.

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

14 years agomonotouch uses the real HttpWebRequest
Jb Evain [Mon, 3 Aug 2009 22:22:36 +0000 (22:22 -0000)]
monotouch uses the real HttpWebRequest

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

14 years agofix horrible typo
Jb Evain [Mon, 3 Aug 2009 21:19:24 +0000 (21:19 -0000)]
fix horrible typo

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

14 years agoJerry Maine <crashfourit@gail.com>.
Jerri Maine [Mon, 3 Aug 2009 20:12:47 +0000 (20:12 -0000)]
Jerry Maine <crashfourit@gail.com>.

* mini-amd64.c: Added a change to help tell the difference as
to what perpose the xmm register is being used--mainly to help
with debuging.
* mini-amd64.h: Changed callee regs to use 15 out of 16
(one used for special cases) xmm registers for both fp
and simd ops. Added define to turn on new feature in the regalloc
that allows fp and simd ops to share the xmm regs happily.
* codegen.c: Added code to detect for which perpose an xmm reg is
being used (fp or simd) and to translate back and forth to the
correct logical reg bank (fp or simd) for 'spill load's.

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

14 years agoContributed under the terms of the MIT/X11 license by
Jerri Maine [Mon, 3 Aug 2009 19:44:21 +0000 (19:44 -0000)]
Contributed under the terms of the MIT/X11 license by
Jerry Maine <crashfourit@gail.com>.

basic-simd.cs: Added tests for stressing the regalloc when running with
16 simd regs and when simd and fp ops share the same reg bank.

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

14 years ago2009-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Aug 2009 14:03:26 +0000 (14:03 -0000)]
2009-08-03  Zoltan Varga  <vargaz@gmail.com>

* threads.c (ves_icall_System_Threading_Thread_Thread_free_internal):
Avoid a crash if synch_cs is not set.

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

14 years ago2009-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Aug 2009 13:29:08 +0000 (13:29 -0000)]
2009-08-03  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs: Bump corlib version.

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

14 years ago2009-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Aug 2009 13:28:59 +0000 (13:28 -0000)]
2009-08-03  Zoltan Varga  <vargaz@gmail.com>

* Thread.cs: Always call Thread_free_internal from the finalizer, since
it frees other things besides the handle. Fixes #527576.

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

14 years ago2009-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Aug 2009 13:27:33 +0000 (13:27 -0000)]
2009-08-03  Zoltan Varga  <vargaz@gmail.com>

* threads.c (ves_icall_System_Threading_Thread_Thread_free_internal):
Handle the case when the handle is 0.

* appdomain.c: Bump corlib version.

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

14 years ago2009-08-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 3 Aug 2009 12:48:11 +0000 (12:48 -0000)]
2009-08-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Attachment.cs: set the body encoding for multipart attachments.
Fixes bug #527177.

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

14 years agoNew tests.
Marek Safar [Mon, 3 Aug 2009 11:09:41 +0000 (11:09 -0000)]
New tests.

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