mono.git
12 years agoXamarin-2938: Fix Screen.FromControl
Eberhard Beilharz [Tue, 17 Jan 2012 16:18:35 +0000 (17:18 +0100)]
Xamarin-2938: Fix Screen.FromControl

We have to convert the location of the control to screen coordinates
so that we end up with the correct screen in a multi-monitor setup.
This patch fixes Screen.FromControl, Screen.FromHandle, and
Screen.GetWorkingArea.

Change-Id: I6c4fd65833d012e832d97d610c79abc792e57adf

12 years agoFix -O=shared support in mono_delegate_ctor ().
Zoltan Varga [Fri, 20 Jan 2012 01:35:22 +0000 (02:35 +0100)]
Fix -O=shared support in mono_delegate_ctor ().

12 years agoUploadFile+PUT does not wrap the file in a multipart envelope
Gonzalo Paniagua Javier [Thu, 19 Jan 2012 17:23:24 +0000 (12:23 -0500)]
UploadFile+PUT does not wrap the file in a multipart envelope

When using PUT as the method to upload a file using WebClient, the file
is uploaded as-is, without the multipart boundaries, headers,...
Fixes bug #2970.

12 years agoRestore original compiler generated block when linq expression cannot be parsed
Marek Safar [Thu, 19 Jan 2012 12:07:26 +0000 (12:07 +0000)]
Restore original compiler generated block when linq expression cannot be parsed

12 years agoFix range variable name collision check for nested linq queries
Marek Safar [Thu, 19 Jan 2012 11:59:11 +0000 (11:59 +0000)]
Fix range variable name collision check for nested linq queries

12 years agoFix bug 998 - in XmlResolver.ResolveUri(), make some policy change on "how to determi...
Atsushi Eno [Thu, 19 Jan 2012 11:45:42 +0000 (20:45 +0900)]
Fix bug 998 - in XmlResolver.ResolveUri(), make some policy change on "how to determine a string as an absolute URI.

It's a bit difficult decision, as the "relative URI" could be any path string
that contain colons as a *valid* path (especially on *nix land).
We historically did allow such string that contain "http:" etc. as to be
treated as absolute (which historically worked long time).
But this test case uncovered possible other cases.
Hopefully this does not bring issues that is pretty much anticipated. Such
issues could also happen in older code anyways.

12 years agoFix bug #1558 - return editable XPathNavigator from editable navigator's CreateNaviga...
Atsushi Eno [Thu, 19 Jan 2012 11:01:04 +0000 (20:01 +0900)]
Fix bug #1558 - return editable XPathNavigator from editable navigator's CreateNavigator().

12 years agoFix bug #2146 - create snapshot copy of nodes before removal in Remove<T>().
Atsushi Eno [Thu, 19 Jan 2012 10:51:44 +0000 (19:51 +0900)]
Fix bug #2146 - create snapshot copy of nodes before removal in Remove<T>().

12 years agoFix bug #2383 patch by Weeble - in XPathExtensions.Evaluate(), return IEnumerable...
Atsushi Eno [Thu, 19 Jan 2012 10:39:08 +0000 (19:39 +0900)]
Fix bug #2383 patch by Weeble - in XPathExtensions.Evaluate(), return IEnumerable of the underlying object, not XPathNavigator, for node-set values.

12 years agoFix bug #2564 - give .NET compatible namespace prefixes for XElement with namespace...
Atsushi Eno [Thu, 19 Jan 2012 10:21:06 +0000 (19:21 +0900)]
Fix bug #2564 - give .NET compatible namespace prefixes for XElement with namespace that XAttribute provides.

This makes XElement.WriteTo() pretty much slower.

12 years agoFix bug #2956: XmlReader.HasValue became virtual (from abstract) in .NET 4.
Atsushi Eno [Thu, 19 Jan 2012 09:52:36 +0000 (18:52 +0900)]
Fix bug #2956: XmlReader.HasValue became virtual (from abstract) in .NET 4.

12 years agoFix bug #2927: lookup event bound methods from root instance, not current object.
Atsushi Eno [Thu, 19 Jan 2012 09:30:33 +0000 (18:30 +0900)]
Fix bug #2927: lookup event bound methods from root instance, not current object.

12 years agoFix my last commit
Miguel de Icaza [Thu, 19 Jan 2012 05:08:19 +0000 (00:08 -0500)]
Fix my last commit

12 years agoImplemented more System.Net.Http.Headers
Marek Safar [Wed, 18 Jan 2012 17:40:45 +0000 (17:40 +0000)]
Implemented more System.Net.Http.Headers

12 years agoPrevent race conditions for this cached variable, by using a temporary variable,...
Miguel de Icaza [Wed, 18 Jan 2012 16:18:51 +0000 (11:18 -0500)]
Prevent race conditions for this cached variable, by using a temporary variable, fixes #2952

12 years agoDateTime.FromFileTimeUtc should return a DateTime with DateTimeKind.Utc. Fixes #2936.
Rolf Bjarne Kvinge [Tue, 17 Jan 2012 23:44:50 +0000 (00:44 +0100)]
DateTime.FromFileTimeUtc should return a DateTime with DateTimeKind.Utc. Fixes #2936.

12 years agoSystem.Data: DataTable.ImportRow should be able to handle columns with different...
Rolf Bjarne Kvinge [Tue, 17 Jan 2012 21:15:31 +0000 (22:15 +0100)]
System.Data: DataTable.ImportRow should be able to handle columns with different types. Fixes #2926.

12 years agoFix ParsedValue buffer length when putback character is doubled
Marek Safar [Tue, 17 Jan 2012 14:06:29 +0000 (14:06 +0000)]
Fix ParsedValue buffer length when putback character is doubled

12 years agoUse correct offset when setting comples struct field assignment. Fixes #2861
Marek Safar [Tue, 17 Jan 2012 12:32:50 +0000 (12:32 +0000)]
Use correct offset when setting comples struct field assignment. Fixes #2861

12 years agoDon't report ambiguous error when a user operator conflicts with build-in type user...
Marek Safar [Tue, 17 Jan 2012 11:26:45 +0000 (11:26 +0000)]
Don't report ambiguous error when a user operator conflicts with build-in type user operator

12 years agoDon't delete some RabbitMQ.Client generated files since they are checked in.
Zoltan Varga [Tue, 17 Jan 2012 02:21:10 +0000 (03:21 +0100)]
Don't delete some RabbitMQ.Client generated files since they are checked in.

12 years agoDon't delete some RabbitMQ.Client generated files since they are checked in.
Zoltan Varga [Tue, 17 Jan 2012 02:15:14 +0000 (03:15 +0100)]
Don't delete some RabbitMQ.Client generated files since they are checked in.

12 years agoDon't delete basic-profile-check.{exe,out} if the profile check fails.
Zoltan Varga [Tue, 17 Jan 2012 02:00:44 +0000 (03:00 +0100)]
Don't delete basic-profile-check.{exe,out} if the profile check fails.

12 years agothreadpool: Disable the gc for threadpool threads while waiting for work. Fixes ...
Rolf Bjarne Kvinge [Fri, 13 Jan 2012 12:47:28 +0000 (13:47 +0100)]
threadpool: Disable the gc for threadpool threads while waiting for work. Fixes #2619

12 years agosgen: Add support for disabling the gc for a thread
Rolf Bjarne Kvinge [Fri, 13 Jan 2012 12:45:57 +0000 (13:45 +0100)]
sgen: Add support for disabling the gc for a thread

12 years agoAvoid passing methodspec tokens to mono_aot_get_method_from_token ().
Zoltan Varga [Mon, 16 Jan 2012 22:16:39 +0000 (23:16 +0100)]
Avoid passing methodspec tokens to mono_aot_get_method_from_token ().

12 years agoFix delegate invokes in shared mode.
Zoltan Varga [Mon, 16 Jan 2012 22:15:44 +0000 (23:15 +0100)]
Fix delegate invokes in shared mode.

12 years agoFix typo
Marek Safar [Mon, 16 Jan 2012 19:46:11 +0000 (19:46 +0000)]
Fix typo

12 years agoInlcude leading dot in constant ParsedValue
Marek Safar [Mon, 16 Jan 2012 17:10:16 +0000 (17:10 +0000)]
Inlcude leading dot in constant ParsedValue

12 years agoKeep incomplete constructor initializer colon location
Marek Safar [Mon, 16 Jan 2012 16:37:54 +0000 (16:37 +0000)]
Keep incomplete constructor initializer colon location

12 years agoRename mcs files which now have different content
Marek Safar [Mon, 16 Jan 2012 16:13:19 +0000 (16:13 +0000)]
Rename mcs files which now have different content

12 years agoImplements TimeZoneInfo.Local for Windows
Miguel de Icaza [Sun, 15 Jan 2012 20:08:55 +0000 (15:08 -0500)]
Implements TimeZoneInfo.Local for Windows
Fixes #2791, contributed by Jonathan Shore <jonathan.shore@gmail.com>

12 years agoApply patch from Tom Hindle to fix ##2893 and add a test case.
Miguel de Icaza [Sat, 14 Jan 2012 20:35:29 +0000 (15:35 -0500)]
Apply patch from Tom Hindle to fix ##2893 and add a test case.

The serializer interpreted was broken, but the compiled version was fine,
running MONO_XMLSERIALIZER_THS=0 allowed this to run

12 years ago* fix tasklets crash on x86
Tristan Caulfield [Wed, 11 Jan 2012 16:40:23 +0000 (16:40 +0000)]
* fix tasklets crash on x86

12 years agoRespect the SizeConst parameter to UnmanagedType.ByValTStr. Fixes #2567.
Zoltan Varga [Sat, 14 Jan 2012 17:58:21 +0000 (18:58 +0100)]
Respect the SizeConst parameter to UnmanagedType.ByValTStr. Fixes #2567.

12 years agoMerge pull request #213 from linquize/linquize-master
Miguel de Icaza [Sat, 14 Jan 2012 16:45:55 +0000 (08:45 -0800)]
Merge pull request #213 from linquize/linquize-master

Copy file should preserve modified time and access time

12 years agoRework top-level type AST hierarchy to include namespaces. Allows MD to iterate full...
Marek Safar [Sat, 14 Jan 2012 09:57:11 +0000 (09:57 +0000)]
Rework top-level type AST hierarchy to include namespaces. Allows MD to iterate full AST exactly as it was parsed, fixes bugs where namespace without types was ignored completely.

12 years agoFix MemoryStreamTest tests to compile under 2.0 profile
Marek Safar [Sat, 14 Jan 2012 09:40:57 +0000 (09:40 +0000)]
Fix MemoryStreamTest tests to compile under 2.0 profile

12 years agoApply fix for 2839 from Michael Mudge
Miguel de Icaza [Fri, 13 Jan 2012 23:58:53 +0000 (18:58 -0500)]
Apply fix for 2839 from Michael Mudge

12 years agoRemove debugging statement
Miguel de Icaza [Fri, 13 Jan 2012 21:48:54 +0000 (16:48 -0500)]
Remove debugging statement

12 years agoRemove the limit on the buffer size, the spec actually calls for supporting messages...
Miguel de Icaza [Fri, 13 Jan 2012 21:48:47 +0000 (16:48 -0500)]
Remove the limit on the buffer size, the spec actually calls for supporting messages of up to 0xffffffff bytes in size

12 years agosgen: report LOS objects pinned by interior pointers as roots to the profiler
Rolf Bjarne Kvinge [Fri, 13 Jan 2012 13:52:08 +0000 (14:52 +0100)]
sgen: report LOS objects pinned by interior pointers as roots to the profiler

12 years agoBring TaskExtensions to the mobile profile. Fix bug #2769
Sebastien Pouliot [Thu, 12 Jan 2012 21:30:52 +0000 (16:30 -0500)]
Bring TaskExtensions to the mobile profile. Fix bug #2769

12 years agoDo not build a managed X509Chain in MonoTouch and simply ask iOS about the chain...
Sebastien Pouliot [Thu, 12 Jan 2012 20:47:37 +0000 (15:47 -0500)]
Do not build a managed X509Chain in MonoTouch and simply ask iOS about the chain. Other SSL related checks about the leaf certificate are still required/done. Avoid many internal exceptions since Mono's machine store does not exists inside iOS devices (note: already part of MonoTouch since 4.3)

12 years agoHeavy IO load might cause obj to be NULL
Gonzalo Paniagua Javier [Thu, 12 Jan 2012 17:04:27 +0000 (12:04 -0500)]
Heavy IO load might cause obj to be NULL

Fixes novell bug #704264.

12 years agoAdd [Exports] from MonoTouch/MonoMac to the documentation index
Miguel de Icaza [Thu, 12 Jan 2012 01:02:30 +0000 (20:02 -0500)]
Add [Exports] from MonoTouch/MonoMac to the documentation index

12 years agoupdate copyrights
Miguel de Icaza [Thu, 5 Jan 2012 21:25:08 +0000 (16:25 -0500)]
update copyrights

12 years agoDisable shared mode for non-corlib and inflated methods since appdomain unloads can...
Zoltan Varga [Wed, 11 Jan 2012 20:39:56 +0000 (21:39 +0100)]
Disable shared mode for non-corlib and inflated methods since appdomain unloads can invalidate them.

12 years agoMerge pull request #214 from QuickJack/cd2c570c5543963d987f51080218715407c5d4b9
Marek Safar [Wed, 11 Jan 2012 19:27:25 +0000 (11:27 -0800)]
Merge pull request #214 from QuickJack/cd2c570c5543963d987f51080218715407c5d4b9

Fixes 2 problems in Mono's configuration stack.

12 years agoAdd constructed constructor expression into AST when parsing header
Marek Safar [Wed, 11 Jan 2012 17:51:20 +0000 (17:51 +0000)]
Add constructed constructor expression into AST when parsing header

12 years agoDon't create intermediate NamespaceContainer when iterating parent namespaces
Marek Safar [Wed, 11 Jan 2012 11:12:59 +0000 (11:12 +0000)]
Don't create intermediate NamespaceContainer when iterating parent namespaces

12 years agoRemove DeclSpace
Marek Safar [Tue, 10 Jan 2012 14:06:35 +0000 (14:06 +0000)]
Remove DeclSpace

12 years agoRemove GenericMethod
Marek Safar [Tue, 10 Jan 2012 12:36:14 +0000 (12:36 +0000)]
Remove GenericMethod

12 years agoRemove GenericMethod from member name construction
Marek Safar [Tue, 10 Jan 2012 10:31:02 +0000 (10:31 +0000)]
Remove GenericMethod from member name construction

12 years agoRemove IsGeneric from DeclSpace
Marek Safar [Mon, 9 Jan 2012 22:34:38 +0000 (22:34 +0000)]
Remove IsGeneric from DeclSpace

12 years agoDon't compile dynamic methods in shared mode.
Zoltan Varga [Tue, 10 Jan 2012 21:53:16 +0000 (22:53 +0100)]
Don't compile dynamic methods in shared mode.

12 years agoUse the right socket for the data stream
Gonzalo Paniagua Javier [Tue, 10 Jan 2012 21:33:45 +0000 (16:33 -0500)]
Use the right socket for the data stream

This fixes bug active data connections.
Fixes xamarin bug #1294.

12 years agoFix an IndexOutOfBounds exception in the sdb packet writer.
Zoltan Varga [Tue, 10 Jan 2012 21:15:03 +0000 (22:15 +0100)]
Fix an IndexOutOfBounds exception in the sdb packet writer.

12 years agoAllows write access to web.config files below an app's root.
QuickJack [Tue, 10 Jan 2012 20:01:16 +0000 (21:01 +0100)]
Allows write access to web.config files below an app's root.

12 years agoUse mdoc.exe from class/lib since it is now built there.
Zoltan Varga [Tue, 10 Jan 2012 19:59:32 +0000 (20:59 +0100)]
Use mdoc.exe from class/lib since it is now built there.

12 years agoAdd test for the previous commit - iteraction between bridge and major evacuation.
Rodrigo Kumpera [Tue, 10 Jan 2012 18:02:09 +0000 (16:02 -0200)]
Add test for the previous commit - iteraction between bridge and major evacuation.

12 years agoFix the iteraction between bridge and major evacuation on a minor overflow major...
Rodrigo Kumpera [Tue, 10 Jan 2012 17:25:14 +0000 (15:25 -0200)]
Fix the iteraction between bridge and major  evacuation on a minor overflow major collection.

* sgen-gc.c: The bridge code is split into 3 steps, one done when we collect finalizable objects,
one done before we restart the world and the last right after.

The first step can be executed twice if an overflow major collection happens. We handled this
situation by avoiding duplicates in the registration code.

This works fine except if a registered bridge object is moved by the second collection, which can
happen when defragmentation kicks in.

Instead of fixing those pointers, which is quite tricky, we move hash building to happen in the second
step and discard all elements on the registered bridge array before each collection.  Since all bridges
collected by the first collection will be collected again on the second, we can do it.

12 years ago[monodoc] Add a full title field to search result so that more information (like...
Jeremie Laval [Fri, 6 Jan 2012 16:12:03 +0000 (17:12 +0100)]
[monodoc] Add a full title field to search result so that more information (like namespace) can be given back

12 years ago[monodoc] Append member type (method, property, ...) to member name
Jeremie Laval [Fri, 6 Jan 2012 16:11:27 +0000 (17:11 +0100)]
[monodoc] Append member type (method, property, ...) to member name

12 years ago[monodoc] Don't show the massive amount of obsolete warning for bundled Lucene.NET
Jeremie Laval [Fri, 6 Jan 2012 16:09:25 +0000 (17:09 +0100)]
[monodoc] Don't show the massive amount of obsolete warning for bundled Lucene.NET

12 years agoAdd memory barriers to interlocked operations on ARM, since the runtime code depends...
Zoltan Varga [Tue, 10 Jan 2012 16:42:15 +0000 (17:42 +0100)]
Add memory barriers to interlocked operations on ARM, since the runtime code depends on it.

12 years agoMake System.Web.Script.Serialization.JavaScriptSerializer.ConvertToType(Type, object...
Marek Safar [Mon, 9 Jan 2012 21:45:58 +0000 (21:45 +0000)]
Make System.Web.Script.Serialization.JavaScriptSerializer.ConvertToType(Type, object) public. Fixes #2781

12 years agoMerge pull request #211 from symform/master
Gonzalo Paniagua Javier [Mon, 9 Jan 2012 17:07:48 +0000 (09:07 -0800)]
Merge pull request #211 from symform/master

Fixed a race condition in WebConnection that was causing it to throw NullReferenceException on Close/Dispose

12 years agoRemove another layout from TypeParameters parsing, makes it easier for MD to track...
Marek Safar [Mon, 9 Jan 2012 16:58:27 +0000 (16:58 +0000)]
Remove another layout from TypeParameters parsing, makes it easier for MD to track original locations. Add better caching for resolved type parameter types.

12 years agoRevert "do a signal safe unwind on the native crash handler." We're better of taking...
Rodrigo Kumpera [Mon, 9 Jan 2012 16:44:41 +0000 (14:44 -0200)]
Revert "do a signal safe unwind on the native crash handler." We're better of taking the chance here.

This reverts commit dd67beedf20cc39f6391f52eaa17088c200fdc66.

12 years agoRemove a spurious assert.
Rodrigo Kumpera [Fri, 6 Jan 2012 02:16:56 +0000 (00:16 -0200)]
Remove a spurious assert.

12 years agoCopy file should preserve modified time and access time
Linquize [Sat, 7 Jan 2012 15:31:54 +0000 (23:31 +0800)]
Copy file should preserve modified time and access time

12 years agoAllow enum->basetype argument conversion in CreateDelegate(). Fixes #794.
Zoltan Varga [Fri, 6 Jan 2012 23:39:13 +0000 (00:39 +0100)]
Allow enum->basetype argument conversion in CreateDelegate(). Fixes #794.

12 years agoCall mono_create_jit_trampoline_in_domain () in mono_resolve_patch_target () so share...
Zoltan Varga [Fri, 6 Jan 2012 21:35:30 +0000 (22:35 +0100)]
Call mono_create_jit_trampoline_in_domain () in mono_resolve_patch_target () so shared methods don't end up calling trampolines in another domain.

12 years agoMerge pull request #212 from jordanbtucker/master
Zoltan Varga [Fri, 6 Jan 2012 20:58:27 +0000 (12:58 -0800)]
Merge pull request #212 from jordanbtucker/master

Bug 2761 - BigInteger constructed with zero-filled byte array raises IndexOutOfRangeException

12 years agoFixed Bug 2761: BigInteger constructed with zero-filled byte array raises IndexOutOfR...
Jordan Tucker [Fri, 6 Jan 2012 20:13:51 +0000 (12:13 -0800)]
Fixed Bug 2761: BigInteger constructed with zero-filled byte array raises IndexOutOfRangeException

12 years agoInsert constructor into AST before initializer is parsed
Marek Safar [Fri, 6 Jan 2012 12:58:43 +0000 (12:58 +0000)]
Insert constructor into AST before initializer is parsed

12 years agoBetter detection of errors when building anonymous types. Fixes #2656
Marek Safar [Fri, 6 Jan 2012 11:17:43 +0000 (11:17 +0000)]
Better detection of errors when building anonymous types. Fixes #2656

12 years agoDefault non-profile mcs.exe build to build profile
Marek Safar [Fri, 6 Jan 2012 11:16:40 +0000 (11:16 +0000)]
Default non-profile mcs.exe build to build profile

12 years agoAvoid displaying the 'no thread info in suspend' message in sgen which can happen...
Zoltan Varga [Fri, 6 Jan 2012 03:46:01 +0000 (04:46 +0100)]
Avoid displaying the 'no thread info in suspend' message in sgen which can happen during normal use.

12 years agoFix stack alignment calculation in mono_arch_setup_async_callback () on amd64.
Zoltan Varga [Fri, 6 Jan 2012 02:53:41 +0000 (03:53 +0100)]
Fix stack alignment calculation in mono_arch_setup_async_callback () on amd64.

12 years agoRemove hazard pointer use from mono_get_cached_unwind_info (), it is still slower...
Zoltan Varga [Fri, 6 Jan 2012 02:06:50 +0000 (03:06 +0100)]
Remove hazard pointer use from mono_get_cached_unwind_info (), it is still slower than doing no locking at all.

12 years agodo a signal safe unwind on the native crash handler.
Rodrigo Kumpera [Thu, 5 Jan 2012 23:27:26 +0000 (21:27 -0200)]
do a signal safe unwind on the native crash handler.

12 years agoFix the build.
Zoltan Varga [Thu, 5 Jan 2012 22:48:07 +0000 (23:48 +0100)]
Fix the build.

12 years agoExtract the SGEN debugging code into a separate file.
Zoltan Varga [Thu, 5 Jan 2012 22:29:46 +0000 (23:29 +0100)]
Extract the SGEN debugging code into a separate file.

12 years agoExtract SGEN object allocation rountines to sgen-alloc.c.
Zoltan Varga [Thu, 5 Jan 2012 22:07:53 +0000 (23:07 +0100)]
Extract SGEN object allocation rountines to sgen-alloc.c.

12 years agoImplement mono_gc_set_stack_end () for Boehm/null GC to remove the #ifdef HAVE_SGEN_G...
Zoltan Varga [Thu, 5 Jan 2012 19:48:37 +0000 (20:48 +0100)]
Implement mono_gc_set_stack_end () for Boehm/null GC to remove the #ifdef HAVE_SGEN_GC dependency from driver.c.

12 years agoMerge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Thu, 5 Jan 2012 17:50:18 +0000 (12:50 -0500)]
Merge branch 'master' of ssh://github.com/mono/mono

12 years agoIf a parameter is NULL or DBNull then its size needs to be zero otherwise the paramet...
Neale Ferguson [Thu, 5 Jan 2012 17:48:02 +0000 (12:48 -0500)]
If a parameter is NULL or DBNull then its size needs to be zero otherwise the parameter gets treated as an empty string which is a different thing to a NULL. Microsoft will send a true NULL, this will get mono to do the same.

12 years agoBuild programs directly into class/lib. Fixes random make -j failures
Marek Safar [Thu, 5 Jan 2012 16:32:59 +0000 (16:32 +0000)]
Build programs directly into class/lib. Fixes random make -j failures

12 years agoFix crashes in the precise stack marking code if a thread is interrupted during startup.
Zoltan Varga [Thu, 5 Jan 2012 16:06:37 +0000 (17:06 +0100)]
Fix crashes in the precise stack marking code if a thread is interrupted during startup.

12 years agoReference equality of identical reference types cannot involve implicit conversion...
Marek Safar [Wed, 4 Jan 2012 22:03:53 +0000 (22:03 +0000)]
Reference equality of identical reference types cannot involve implicit conversion to predefined types. Fixes #2684

12 years agoUse reference comparison when checking interlocked delegate combine/remove
Marek Safar [Wed, 4 Jan 2012 12:39:36 +0000 (12:39 +0000)]
Use reference comparison when checking interlocked delegate combine/remove

12 years agoType parameters can be now stored in MemberName directly
Marek Safar [Wed, 4 Jan 2012 10:03:22 +0000 (10:03 +0000)]
Type parameters can be now stored in MemberName directly

12 years agoAdd JIT support for 4.5 MethodImplOptions.AggressiveInlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:59:27 +0000 (10:59 -0200)]
Add JIT support for 4.5 MethodImplOptions.AggressiveInlining.

12 years agodisassemble the agressive-inlining flag correctly.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:41:25 +0000 (10:41 -0200)]
disassemble the agressive-inlining flag correctly.

12 years agoAdd define for new 4.5 method impl flag agressive-inlining.
Rodrigo Kumpera [Thu, 5 Jan 2012 12:40:17 +0000 (10:40 -0200)]
Add define for new 4.5 method impl flag agressive-inlining.

12 years agoAdd regression test for bxc #1147.
Rodrigo Kumpera [Thu, 5 Jan 2012 11:11:34 +0000 (09:11 -0200)]
Add regression test for bxc #1147.

12 years agoProperly initialize a rgctx template. Fixes bxc #1147.
Rodrigo Kumpera [Thu, 5 Jan 2012 11:07:09 +0000 (09:07 -0200)]
Properly initialize a rgctx template. Fixes bxc #1147.

* mini-generic-sharing.c (mono_class_get_runtime_generic_context_template):
When initializing a new rgctx template, we fill it with its parent
slots.

When the parent is a non generic class extending a generic class,
has multiple templates and, finally, the first template has more
slots that the rest, we would fill more entries than we should
and later cause an assertion when trying to use those extra slots.

To fix that we handle it just like a generic parent class and
count the number of slots each template has.

Fixes bxc #1147.

12 years ago[System.ServiceModel.Web] Support `null` as value for `DateTime?` field.
Jonathan Pryor [Wed, 4 Jan 2012 21:31:55 +0000 (16:31 -0500)]
[System.ServiceModel.Web] Support `null` as value for `DateTime?` field.

Fixes assistly #5863.