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
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
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
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
Marek Safar [Wed, 5 Aug 2009 17:17:40 +0000 (17:17 -0000)]
Updated.
svn path=/trunk/mcs/; revision=139414
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Tue, 4 Aug 2009 10:30:36 +0000 (10:30 -0000)]
New test.
svn path=/trunk/mcs/; revision=139336
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
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
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
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
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
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
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
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
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
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
Jerri Maine [Tue, 4 Aug 2009 00:34:42 +0000 (00:34 -0000)]
svn path=/trunk/mono/; revision=139311
Jerri Maine [Tue, 4 Aug 2009 00:34:07 +0000 (00:34 -0000)]
svn path=/trunk/mono/; revision=139310
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
Miguel de Icaza [Tue, 4 Aug 2009 00:19:56 +0000 (00:19 -0000)]
Fix
svn path=/trunk/mcs/; revision=139308
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
Jb Evain [Mon, 3 Aug 2009 22:22:36 +0000 (22:22 -0000)]
monotouch uses the real HttpWebRequest
svn path=/trunk/mcs/; revision=139300
Jb Evain [Mon, 3 Aug 2009 21:19:24 +0000 (21:19 -0000)]
fix horrible typo
svn path=/trunk/mcs/; revision=139298
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
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
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
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
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
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
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
Marek Safar [Mon, 3 Aug 2009 11:09:41 +0000 (11:09 -0000)]
New tests.
svn path=/trunk/mcs/; revision=139276
Marek Safar [Mon, 3 Aug 2009 11:09:27 +0000 (11:09 -0000)]
2009-08-03 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, parameter.cs, support.cs, class.cs: Dynamic type
restrictions.
* rootcontext.cs: Default to langversion v4.
svn path=/trunk/mcs/; revision=139275
Marek Safar [Mon, 3 Aug 2009 10:11:27 +0000 (10:11 -0000)]
New test.
svn path=/trunk/mcs/; revision=139273
Marek Safar [Mon, 3 Aug 2009 10:11:14 +0000 (10:11 -0000)]
2009-08-03 Marek Safar <marek.safar@gmail.com>
* pending.cs: Check return type before member info is set.
svn path=/trunk/mcs/; revision=139272
Marek Safar [Mon, 3 Aug 2009 09:30:00 +0000 (09:30 -0000)]
2009-08-03 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Fully initialize generic hoisted field expression.
svn path=/trunk/mcs/; revision=139269
Miguel de Icaza [Mon, 3 Aug 2009 04:45:00 +0000 (04:45 -0000)]
2009-08-03 Miguel de Icaza <miguel@novell.com>
* Extensions.cs: Add a null guard and return null on failure,
instead of crashing.
svn path=/trunk/mcs/; revision=139263
Miguel de Icaza [Sun, 2 Aug 2009 21:38:52 +0000 (21:38 -0000)]
2009-08-02 Miguel de Icaza <miguel@novell.com>
* cs-parser.jay: Flag variables declared on the interactive shell
as used to prevent the 168 warning about local variable not being
used.
svn path=/trunk/mcs/; revision=139261
Jb Evain [Sun, 2 Aug 2009 21:11:29 +0000 (21:11 -0000)]
fix monotouch build
svn path=/trunk/mcs/; revision=139260
Jb Evain [Sun, 2 Aug 2009 20:08:38 +0000 (20:08 -0000)]
add custom dirs for monotouch
svn path=/trunk/mcs/; revision=139259
Jb Evain [Sun, 2 Aug 2009 15:43:12 +0000 (15:43 -0000)]
use a 2.0 network stack for MONOTOUCH
svn path=/trunk/mcs/; revision=139255
Jb Evain [Sun, 2 Aug 2009 14:29:00 +0000 (14:29 -0000)]
2009-08-02 Jb Evain <jbevain@novell.com>
* XElement.cs: fix the monotouch build.
svn path=/trunk/mcs/; revision=139254
Zoltan Varga [Sun, 2 Aug 2009 13:33:15 +0000 (13:33 -0000)]
2009-08-02 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_type_get_object): Fix a warning.
svn path=/trunk/mono/; revision=139253
Jonathan Pryor [Sun, 2 Aug 2009 11:42:45 +0000 (11:42 -0000)]
* Mono.Documentation/monodocer.cs: Sometimes <AssemblyVersion/> is
found twice when it's actually present only once (!). Attempt to
work around this by usinq LINQ instead of a foreach (which oddly
works...).
svn path=/trunk/mcs/; revision=139252
Miguel de Icaza [Sat, 1 Aug 2009 17:57:00 +0000 (17:57 -0000)]
2009-08-01 Miguel de Icaza <miguel@novell.com>
* Various changes to support the non-XAP XmlSchema resolution on
the Moonlight build.
Major missing feature: WebRequest resolution.
svn path=/trunk/mcs/; revision=139248
Miguel de Icaza [Sat, 1 Aug 2009 16:31:08 +0000 (16:31 -0000)]
2009-08-01 Miguel de Icaza <miguel@novell.com>
* Various changes to support the non-XAP XmlSchema resolution on
the Moonlight build.
Major missing feature: WebRequest resolution.
svn path=/trunk/mcs/; revision=139246
Miguel de Icaza [Sat, 1 Aug 2009 16:12:22 +0000 (16:12 -0000)]
Do not use Xap loading on MonoTouch profile
svn path=/trunk/mcs/; revision=139245
Gert Driesen [Sat, 1 Aug 2009 14:38:27 +0000 (14:38 -0000)]
* SqlDataReaderTest.cs: Fixes for SQL Server 7.0 / TDS 7. Avoid
catching and rethrowing AssertionException. Minor code formatting
changes.
svn path=/trunk/mcs/; revision=139244
Mark Probst [Sat, 1 Aug 2009 14:16:18 +0000 (14:16 -0000)]
2009-08-01 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c (mono_gc_wbarrier_value_copy): Don't compute the GC
descriptor here. We assume it's already been computed.
* generic-sharing.c (instantiate_other_info): Compute the GC
descriptor for info type MONO_RGCTX_INFO_KLASS.
2009-08-01 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mini_emit_stobj): If we call mono_value_copy()
in shared generic code, we might have to look up the class in the
RGCTX. If we use the class directly, compute its GC descriptor.
svn path=/trunk/mono/; revision=139243
Gert Driesen [Sat, 1 Aug 2009 13:07:28 +0000 (13:07 -0000)]
* SqlCommandBuilderTest.cs: Fixes for SQL Server 7.0 / TDS 7.
* SqlCommandTest.cs: Fixes for SQL Server 7.0 / TDS 7.
* SqlConnectionTest.cs: Fixes for SQL Server 7.0 / TDS 7.
* SqlDataAdapterTest.cs: Added tests for Update. Fixed Fill_Test_Data,
Fill_Test_PriKey and Fill_Test_FillErrorTest to pass on SQL Server 7.0.
Avoid catching and rethrowing AssertionException. Minor improvements.
* SqlParameterTest.cs: Fixes for SQL Server 7.0 / TDS 7. Updated
ZeroLengthString to pass on 1.0 profile.
* SqlTransactionTest.cs: Fixes for SQL Server 7.0 / TDS 7.
svn path=/trunk/mcs/; revision=139242
Gert Driesen [Sat, 1 Aug 2009 13:01:05 +0000 (13:01 -0000)]
* SqlParameter.cs (ConvertToFrameworkType): Only wrap FormatException
on 2.0 profile.
svn path=/trunk/mcs/; revision=139241
Mark Probst [Sat, 1 Aug 2009 12:14:43 +0000 (12:14 -0000)]
2009-08-01 Mark Probst <mark.probst@gmail.com>
* reflection.c (mono_type_get_object): MonoDomain is an unmanaged
type, so don't use MONO_OBJECT_SETREF to set a field.
svn path=/trunk/mono/; revision=139240
Mark Probst [Sat, 1 Aug 2009 12:06:21 +0000 (12:06 -0000)]
2009-08-01 Mark Probst <mark.probst@gmail.com>
* gc.c: We were missing one case where invoking a finalizer would
not reset the domain. Also, in the finalizer thread loop, assert
that we're in the root domain.
svn path=/trunk/mono/; revision=139239
Gert Driesen [Sat, 1 Aug 2009 12:01:37 +0000 (12:01 -0000)]
* app-net_1.1.config: added engine config for SQL Server 7.0. Fixed
values of clientVersion.
* app-net_2.0.config: added engine config for SQL Server 7.0. Fixed
values of clientVersion.
svn path=/trunk/mcs/; revision=139238
Zoltan Varga [Sat, 1 Aug 2009 11:16:12 +0000 (11:16 -0000)]
2009-08-01 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h (UCONTEXT_GREGS): Fix freebsd definition.
svn path=/trunk/mono/; revision=139237
Jonathan Pryor [Sat, 1 Aug 2009 02:36:49 +0000 (02:36 -0000)]
Oops.
svn path=/trunk/mcs/; revision=139231
Rodrigo Kumpera [Sat, 1 Aug 2009 02:32:27 +0000 (02:32 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
TypeTest.cs: Add test for Type::GetArrayRank.
svn path=/trunk/mcs/; revision=139230
Rodrigo Kumpera [Sat, 1 Aug 2009 02:32:20 +0000 (02:32 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_MonoType_GetArrayRank): Throw ArgumentException
if the type is not an array.
svn path=/trunk/mono/; revision=139229
Jonathan Pryor [Sat, 1 Aug 2009 02:20:01 +0000 (02:20 -0000)]
* Mono.Documentation/monodocer.cs: Record attributes that are placed
on property get/set and event add/remove accessors.
* Test/DocTest-v1.cs: Add attributes to some accessors.
* Test/en.expected.importslashdoc/Mono.DocTest/Widget.xml,
Test/en.expected.since/Mono.DocTest/Widget.xml,
Test/en.expected/Mono.DocTest/Widget.xml,
Test/html.expected/Mono.DocTest/Widget.html,
Test/msxdoc-expected.importslashdoc.xml: Flush.
svn path=/trunk/mcs/; revision=139227
Rodrigo Kumpera [Sat, 1 Aug 2009 02:17:11 +0000 (02:17 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
TypeTest.cs: Add test for Type::DeclaringMethod.
In special for throwing when the type is not a
generic param and for DeclaringMethod returning
a method bound to the right type.
svn path=/trunk/mcs/; revision=139226
Rodrigo Kumpera [Sat, 1 Aug 2009 02:13:54 +0000 (02:13 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_MonoType_get_DeclaringMethod): Return the
method bound to the declaring type of the method. Raise an exception
if the type is not a generic param.
svn path=/trunk/mono/; revision=139225
Rodrigo Kumpera [Sat, 1 Aug 2009 00:07:05 +0000 (00:07 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mono_jit_runtime_invoke): Fix a warning.
svn path=/trunk/mono/; revision=139223
Rodrigo Kumpera [Sat, 1 Aug 2009 00:06:49 +0000 (00:06 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (print_unimplemented_interface_method_info): Print the
full type name.
* class.c (mono_class_setup_vtable_general): When dealing with a
generic instance first check if the generic type definition is
not broken.
svn path=/trunk/mono/; revision=139222
Rodrigo Kumpera [Sat, 1 Aug 2009 00:06:34 +0000 (00:06 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mono_jit_runtime_invoke): Initialize the class and
check for errors. Fixed the case when the class with the Main
method is broken.
svn path=/trunk/mono/; revision=139221
Rodrigo Kumpera [Sat, 1 Aug 2009 00:06:19 +0000 (00:06 -0000)]
2009-07-31 Rodrigo Kumpera <rkumpera@novell.com>
* generic_type_definition.2.cs: This test verifies for a lot of stuff
that must work under compiler context. A few of those used to work outside
of it, so this test worked by pure luck.
The fix is to run the test under compiler context.
svn path=/trunk/mono/; revision=139220
Jerri Maine [Fri, 31 Jul 2009 23:28:30 +0000 (23:28 -0000)]
cpu-amd64.md: Fixed simple bug in machine discrition file.
Contributed under the terms of the MIT/X11 license by
Jerry Maine <crashfourit@gail.com>.
svn path=/trunk/mono/; revision=139218
Jérémie Laval [Fri, 31 Jul 2009 18:08:49 +0000 (18:08 -0000)]
In class/corlib/:
* corlib.dll.sources: Added TaskCompletionSource
* corlib_test.dll.sources: Removed SnziTests due to
visibility change in Snzi.
Added TaskCompletionSource tests.
In class/corlib/System.Collections.Concurrent/:
* ConcurrentBag.cs:
* ConcurrentQueue.cs:
* ConcurrentStack.cs:
* ConcurrentSkipList.cs:
* ConcurrentDictionary.cs:
* IProducerConsumerCollection.cs: Make the namespace comply to 4.0b1
In class/corlib/System.Threading.Tasks/:
* Task.cs:
* Future.cs:
* TaskFactory.cs:
* TaskCanceledException.cs:
* TaskSchedulerException.cs:
* Internal/SchedulerProxy.cs: Make System.Threading.Tasks API fully 4.0 b1 compliant.
* TaskCompletionSource.cs: Add TaskCompletionSource class
In class/corlib/System.Threading/:
* Snzi.cs:
* Parallel.cs:
* SpinLock.cs:
* SpinWait.cs:
* ThreadLocal.cs:
* SemaphoreSlim.cs:
* CountdownEvent.cs:
* ManualResetEventSlim.cs:
* CancellationTokenSource.cs: Various 4.0 b1 API mismatch fixes.
In class/corlib/Test/System.Collections.Concurrent/:
* ConcurrentDictionary: Ignore tests until runtime/compiler
is fixed
svn path=/trunk/mcs/; revision=139206
Zoltan Varga [Fri, 31 Jul 2009 17:10:30 +0000 (17:10 -0000)]
2009-02-11 Tom Hindke <tom_hindle@sil.org>
* marshal.c (mono_array_to_lparray): Implemented so managed object types are converted to native types.
* marshal.c: Added new method mono_free_lparray to free memory allocated by mono_array_to_lparray
* marshal.c (emit_marshal_array): call emit mono_free_lparray where approprate.
* marshal.c (conv_to_icall): added MONO_MARSHAL_FREE_LPARRAY case
* metadata.h (MonoMarshalConv enum): added MONO_MARSHAL_FREE_LPARRAY
Code is contributed under MIT/X11 license
svn path=/trunk/mono/; revision=139201
Atsushi Eno [Fri, 31 Jul 2009 16:10:27 +0000 (16:10 -0000)]
2009-07-31 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : raise error on multiple endpoint match
(documented at EndpointDispatcher.FilterPriority).
svn path=/trunk/mcs/; revision=139194