mono.git
9 years ago[runtime] Convert String.InternalSetLength to an icall. Needed for canary support.
Alexis Christoforides [Mon, 6 Oct 2014 05:21:15 +0000 (22:21 -0700)]
[runtime] Convert String.InternalSetLength to an icall. Needed for canary support.
The change does not have a negative impact on StringBuilder performance; under variable-string-length microbenchmarks it seems to perform ~15-20% faster than the managed implementation.

9 years ago[runtime] Implement nursery canaries.
Alexis Christoforides [Mon, 6 Oct 2014 05:16:27 +0000 (22:16 -0700)]
[runtime] Implement nursery canaries.
Use the new MONO_GC_DEBUG option "nursery-canaries"  to suffix each nursery object with a canary (guard) word, which is checked on each minor collection. Can be used to detect/debug
heap corruption issues.

Adding canaries to LOS is also easy if wanted - not sure about major heap.

9 years ago[runtime] Fix allocation size calculation for strings in 64-bit builds.
Alexis Christoforides [Fri, 3 Oct 2014 04:04:13 +0000 (21:04 -0700)]
[runtime] Fix allocation size calculation for strings in 64-bit builds.
Depending on alignment and packing, part of the string might be inside the MonoString struct boundaries. This e.g. shows up on 64-bit builds of mono where we were allocating 4 extra bytes per string.

9 years ago[bcl] Use random ports for the HttpListener tests.
Zoltan Varga [Fri, 3 Oct 2014 03:29:53 +0000 (23:29 -0400)]
[bcl] Use random ports for the HttpListener tests.

9 years ago[jit] Implement 5dbf97e66057f8626c53fcea30f1988d6627e5a2 for calls made from NEWOBJ...
Zoltan Varga [Fri, 3 Oct 2014 01:29:51 +0000 (21:29 -0400)]
[jit] Implement 5dbf97e66057f8626c53fcea30f1988d6627e5a2 for calls made from NEWOBJ too. Fixes #23557.

9 years ago[jit] Get rid of unused MONO_ARCH_THIS_AS_FIRST_ARG define.
Zoltan Varga [Fri, 3 Oct 2014 00:40:38 +0000 (20:40 -0400)]
[jit] Get rid of unused MONO_ARCH_THIS_AS_FIRST_ARG define.

9 years ago[arm] Implement handler block guards.
Zoltan Varga [Fri, 3 Oct 2014 00:35:42 +0000 (20:35 -0400)]
[arm] Implement handler block guards.

9 years ago[amd64] Simplify mono_arch_install_handler_block_guard ().
Zoltan Varga [Thu, 2 Oct 2014 23:04:27 +0000 (19:04 -0400)]
[amd64] Simplify mono_arch_install_handler_block_guard ().

9 years ago[arm] Increase the length of the tls_get opcode.
Zoltan Varga [Thu, 2 Oct 2014 22:41:42 +0000 (18:41 -0400)]
[arm] Increase the length of the tls_get opcode.

9 years ago[mono-api-html] Add filter for new namespaces/types
Chris Hamons [Thu, 2 Oct 2014 20:34:48 +0000 (15:34 -0500)]
[mono-api-html] Add filter for new namespaces/types

- Reviewed by Sebastien

9 years agoFix a warning.
Zoltan Varga [Thu, 2 Oct 2014 20:06:24 +0000 (16:06 -0400)]
Fix a warning.

9 years agoFix the arm build.
Zoltan Varga [Thu, 2 Oct 2014 20:06:01 +0000 (16:06 -0400)]
Fix the arm build.

9 years ago[sgen] Reorganize sgen-archdep.h to remove unused defines.
Zoltan Varga [Thu, 2 Oct 2014 19:49:00 +0000 (15:49 -0400)]
[sgen] Reorganize sgen-archdep.h to remove unused defines.

9 years ago[jit] Remove unused defines.
Zoltan Varga [Thu, 2 Oct 2014 18:32:11 +0000 (14:32 -0400)]
[jit] Remove unused defines.

9 years ago[amd64] Define MONO_ARCH_NOMAP32BIT on all non-linux platforms instead of defining...
Zoltan Varga [Thu, 2 Oct 2014 18:23:15 +0000 (14:23 -0400)]
[amd64] Define MONO_ARCH_NOMAP32BIT on all non-linux platforms instead of defining it once for each platform.

9 years agoRevert "Finish test changes started in 7ece665d16714db0979bde5df254231c5be24f10"
Sebastien Pouliot [Thu, 2 Oct 2014 17:45:11 +0000 (13:45 -0400)]
Revert "Finish test changes started in 7ece665d16714db0979bde5df254231c5be24f10"

This reverts commit d171cdf5e281973c06f2751f4e33098f1a624a95.

9 years agoRevert "Refresh HashAlgorithmTest to match changed NullStream behaviour in 8b9c60075f...
Sebastien Pouliot [Thu, 2 Oct 2014 17:44:58 +0000 (13:44 -0400)]
Revert "Refresh HashAlgorithmTest to match changed NullStream behaviour in 8b9c60075f7b97fe88c3c588968977ff9bcf8c28"

This reverts commit 7ece665d16714db0979bde5df254231c5be24f10.

9 years agoRevert "Missing Args checks."
Sebastien Pouliot [Thu, 2 Oct 2014 17:44:35 +0000 (13:44 -0400)]
Revert "Missing Args checks."

This reverts commit 8b9c60075f7b97fe88c3c588968977ff9bcf8c28.

9 years ago[jit] Define NOMAP32BIT on winx64.
Zoltan Varga [Thu, 2 Oct 2014 02:49:18 +0000 (22:49 -0400)]
[jit] Define NOMAP32BIT on winx64.

9 years ago[sgen] Fix concurrent mark with split nursery.
Mark Probst [Wed, 1 Oct 2014 21:51:20 +0000 (14:51 -0700)]
[sgen] Fix concurrent mark with split nursery.

9 years ago[jit] Remove the unused MONO_DISABLE_PENDING_EXCEPTIONS env var, the functionality...
Zoltan Varga [Wed, 1 Oct 2014 20:42:47 +0000 (16:42 -0400)]
[jit] Remove the unused MONO_DISABLE_PENDING_EXCEPTIONS env var, the functionality it disable is not experimental anymore.

9 years ago[x86] Remove the now unused push based parameter passing code.
Zoltan Varga [Wed, 1 Oct 2014 20:36:16 +0000 (16:36 -0400)]
[x86] Remove the now unused push based parameter passing code.

9 years agoMerge pull request #1306 from joelmartinez/docs-privateinterface
Jonathan Pryor [Wed, 1 Oct 2014 19:23:08 +0000 (15:23 -0400)]
Merge pull request #1306 from joelmartinez/docs-privateinterface

mdoc no longer documents private interfaces

9 years ago[corlib] Fix UnicodeEncoding GetMaxByteCount and GetMaxCharCount to return the same...
Rodrigo Kumpera [Wed, 1 Oct 2014 19:10:37 +0000 (15:10 -0400)]
[corlib] Fix UnicodeEncoding GetMaxByteCount and GetMaxCharCount to return the same values as .net.

9 years ago[runtime] Add a missing call to mono_thread_notify_pending_exc_fn () to the thread...
Zoltan Varga [Wed, 1 Oct 2014 19:02:25 +0000 (15:02 -0400)]
[runtime] Add a missing call to mono_thread_notify_pending_exc_fn () to the thread abort code.

9 years agoFix some warnings by not including utils/mono-threads.h into threads-types.h.
Zoltan Varga [Wed, 1 Oct 2014 18:27:18 +0000 (14:27 -0400)]
Fix some warnings by not including utils/mono-threads.h into threads-types.h.

9 years ago[jit] Make each CASTCLASS_CACHE patch unique by generating a unique identifier from...
Zoltan Varga [Wed, 1 Oct 2014 02:12:53 +0000 (22:12 -0400)]
[jit] Make each CASTCLASS_CACHE patch unique by generating a unique identifier from the method index and an per-method counter. Fixes #23478.

9 years agoFinish test changes started in 7ece665d16714db0979bde5df254231c5be24f10
Jo Shields [Tue, 30 Sep 2014 13:51:13 +0000 (14:51 +0100)]
Finish test changes started in 7ece665d16714db0979bde5df254231c5be24f10

9 years agoAdd new cert-sync command to scripts/.gitignore
Jo Shields [Tue, 30 Sep 2014 12:21:16 +0000 (13:21 +0100)]
Add new cert-sync command to scripts/.gitignore

9 years agoRefresh HashAlgorithmTest to match changed NullStream behaviour in 8b9c60075f7b97fe88...
Jo Shields [Tue, 30 Sep 2014 12:20:19 +0000 (13:20 +0100)]
Refresh HashAlgorithmTest to match changed NullStream behaviour in 8b9c60075f7b97fe88c3c588968977ff9bcf8c28

9 years ago[mcs] Undo bool loads normalization from byte arrays
Marek Safar [Tue, 30 Sep 2014 11:02:32 +0000 (13:02 +0200)]
[mcs] Undo bool loads normalization from byte arrays

9 years ago[mcs] Correctly identify constant switch section when value match is not section...
Marek Safar [Tue, 30 Sep 2014 09:12:24 +0000 (11:12 +0200)]
[mcs] Correctly identify constant switch section when value match is not section start. Fixes #23475

9 years ago[mcs] struct initializers are still experimental
Marek Safar [Tue, 30 Sep 2014 07:47:24 +0000 (09:47 +0200)]
[mcs] struct initializers are still experimental

9 years agoMerge pull request #1318 from AlexanderBekrenev/baa-membershipuser
Marek Safar [Tue, 30 Sep 2014 07:28:19 +0000 (22:28 -0900)]
Merge pull request #1318 from AlexanderBekrenev/baa-membershipuser

MembershipUser::UpdateUser method fix

9 years agoMembershipUser::UpdateUser method fix
Alexander Bekrenev [Tue, 30 Sep 2014 06:46:14 +0000 (10:46 +0400)]
MembershipUser::UpdateUser method fix

9 years agoFix build on pre-C99 compilers.
Mark Probst [Mon, 29 Sep 2014 20:52:00 +0000 (13:52 -0700)]
Fix build on pre-C99 compilers.

9 years ago[sgen] Remove useless internal allocation
Ludovic Henry [Mon, 29 Sep 2014 20:00:45 +0000 (16:00 -0400)]
[sgen] Remove useless internal allocation

9 years ago[runtime] Enable the new interrupt code on ios.
Zoltan Varga [Mon, 29 Sep 2014 18:30:09 +0000 (14:30 -0400)]
[runtime] Enable the new interrupt code on ios.

9 years ago[sgen] Don't use callback for pinning cemented objects.
Mark Probst [Wed, 3 Sep 2014 01:57:25 +0000 (18:57 -0700)]
[sgen] Don't use callback for pinning cemented objects.

9 years ago[sgen] Tag block pointers with whether the blocks contain references.
Mark Probst [Tue, 2 Sep 2014 20:29:56 +0000 (13:29 -0700)]
[sgen] Tag block pointers with whether the blocks contain references.

9 years ago[sgen] Macro abstractions for pointer tagging.
Mark Probst [Tue, 2 Sep 2014 20:09:29 +0000 (13:09 -0700)]
[sgen] Macro abstractions for pointer tagging.

9 years ago[sgen] Shift, don't divide, just to make sure.
Mark Probst [Tue, 16 Sep 2014 08:01:34 +0000 (10:01 +0200)]
[sgen] Shift, don't divide, just to make sure.

9 years ago[sgen] Move SGen statistics out of gc-internal.h.
Mark Probst [Sun, 7 Sep 2014 12:16:40 +0000 (14:16 +0200)]
[sgen] Move SGen statistics out of gc-internal.h.

This introduced a dependency from sgen-conf.h to a lot of compilation units
in metadata, leading to long build times when experimenting with SGen.

9 years ago[sgen] Don't unroll run-length scanning loop.
Mark Probst [Fri, 5 Sep 2014 18:50:47 +0000 (20:50 +0200)]
[sgen] Don't unroll run-length scanning loop.

9 years ago[sgen] Keep allocated blocks in array instead of linked list.
Mark Probst [Tue, 2 Sep 2014 19:38:48 +0000 (12:38 -0700)]
[sgen] Keep allocated blocks in array instead of linked list.

We were spending a lot of time in major_iterate_live_block_ranges() on
the lcscbench benchmark, mainly from following the linked block list.
This change makes it much faster.

9 years ago[sgen] Move GRAY_OBJECT_ENQUEUE/DEQUEUE to sgen-gray.h.
Mark Probst [Thu, 28 Aug 2014 23:33:00 +0000 (16:33 -0700)]
[sgen] Move GRAY_OBJECT_ENQUEUE/DEQUEUE to sgen-gray.h.

9 years ago[sgen] Move HEAVY_STAT macro to sgen-conf.h.
Mark Probst [Thu, 28 Aug 2014 23:32:06 +0000 (16:32 -0700)]
[sgen] Move HEAVY_STAT macro to sgen-conf.h.

That's where we define HEAVY_STATISTICS, too.

9 years ago[sgen] Scoping fix in a macro.
Mark Probst [Wed, 27 Aug 2014 21:37:24 +0000 (14:37 -0700)]
[sgen] Scoping fix in a macro.

9 years ago[sgen] Heavy statistics counters for scanned object descriptors.
Mark Probst [Wed, 27 Aug 2014 21:37:03 +0000 (14:37 -0700)]
[sgen] Heavy statistics counters for scanned object descriptors.

9 years ago[sgen] do-while loop instead of 1-unrolled while loop in bitmap scan.
Mark Probst [Wed, 27 Aug 2014 21:35:51 +0000 (14:35 -0700)]
[sgen] do-while loop instead of 1-unrolled while loop in bitmap scan.

9 years ago[sgen] Added some comments.
Mark Probst [Wed, 27 Aug 2014 21:33:56 +0000 (14:33 -0700)]
[sgen] Added some comments.

9 years ago[sgen] Simplify sgen_drain_gray_stack().
Mark Probst [Fri, 22 Aug 2014 21:58:24 +0000 (14:58 -0700)]
[sgen] Simplify sgen_drain_gray_stack().

This seems to have accumulated code duplication by accident.

9 years ago[sgen] Free gray queue sections after GC, not at start of next.
Mark Probst [Fri, 22 Aug 2014 21:14:50 +0000 (14:14 -0700)]
[sgen] Free gray queue sections after GC, not at start of next.

We trim the free list of the gray queue to a maximum number of
sections, but we did it at each collection start, so the extraneous
sections were kept around between collections.

9 years ago[sgen] Enqueue objects with their descriptors.
Mark Probst [Fri, 22 Aug 2014 21:06:45 +0000 (14:06 -0700)]
[sgen] Enqueue objects with their descriptors.

At the point where we enqueue objects we have already fetched their
descriptors, and when we later scan them (after dequeuing) we need the
descriptor again, so we avoid cache misses by enqueuing them together.

9 years ago[sgen] Pass descriptor, not vtable, to OBJ_COMPLEX_ARR_FOREACH_PTR.
Mark Probst [Fri, 22 Aug 2014 21:04:33 +0000 (14:04 -0700)]
[sgen] Pass descriptor, not vtable, to OBJ_COMPLEX_ARR_FOREACH_PTR.

Later on, when we enqueue objects with their GC descriptors, we won't
load the vtable before scanning (because we'll already have the
descriptor), so the scanning macros shouldn't take them as arguments.

9 years ago[sgen] GrayQueueEntry struct instead of just char*.
Mark Probst [Fri, 22 Aug 2014 18:36:28 +0000 (11:36 -0700)]
[sgen] GrayQueueEntry struct instead of just char*.

This makes it easier to later enqueue the GC descriptor with the
object.

9 years ago[sgen] Remove obsolete check in #ifdef.
Mark Probst [Fri, 22 Aug 2014 18:30:34 +0000 (11:30 -0700)]
[sgen] Remove obsolete check in #ifdef.

That macro doesn't exist anymore.

9 years ago[sgen] Abstract block info->block via macro.
Mark Probst [Wed, 20 Aug 2014 22:17:21 +0000 (15:17 -0700)]
[sgen] Abstract block info->block via macro.

If we want to experiment with putting the block info into the block this
makes it easy.

9 years ago[sgen] Implement get_and_reset_num_major_objects_marked() for non-conc, too.
Mark Probst [Wed, 20 Aug 2014 20:45:50 +0000 (13:45 -0700)]
[sgen] Implement get_and_reset_num_major_objects_marked() for non-conc, too.

This is used for profiling and debugging.  There's no reason to only
have it for concurrent.

9 years ago[sgen] Remove parallel collector.
Mark Probst [Sat, 13 Sep 2014 07:47:06 +0000 (09:47 +0200)]
[sgen] Remove parallel collector.

This was almost completely untested and performance was
erratic.

9 years ago[sgen] Remove SGen fixed heap configuration.
Mark Probst [Sat, 13 Sep 2014 07:13:07 +0000 (09:13 +0200)]
[sgen] Remove SGen fixed heap configuration.

It's not well-tested, not widely used, we can surpass its speed with
upcoming improvements and we won't put those into the fixed
configuration because it's too much of a diversion.

9 years ago[facades] Add ComInterfaceType type forwarder
Marek Safar [Mon, 29 Sep 2014 17:49:40 +0000 (19:49 +0200)]
[facades] Add ComInterfaceType type forwarder

9 years agoFix a warning.
Zoltan Varga [Mon, 29 Sep 2014 17:37:03 +0000 (13:37 -0400)]
Fix a warning.

9 years ago[x86] Reenable the no pushes code again.
Zoltan Varga [Mon, 29 Sep 2014 17:01:41 +0000 (13:01 -0400)]
[x86] Reenable the no pushes code again.

9 years ago[mcs] Don't consider loads from captured local cheap
Marek Safar [Mon, 29 Sep 2014 14:44:12 +0000 (16:44 +0200)]
[mcs] Don't consider loads from captured local cheap

9 years ago[mcs] null operator on unconstrained generic values
Marek Safar [Mon, 29 Sep 2014 13:13:05 +0000 (15:13 +0200)]
[mcs] null operator on unconstrained generic values

9 years agoUpdated links in CONTRIBUTING.md
Alexander Köplinger [Mon, 29 Sep 2014 12:11:06 +0000 (14:11 +0200)]
Updated links in CONTRIBUTING.md

9 years ago[mcs] Handle crash in binary operators when enum is used and nullable type is undefined
Marek Safar [Mon, 29 Sep 2014 09:39:52 +0000 (11:39 +0200)]
[mcs] Handle crash in binary operators when enum is used and nullable type is undefined

9 years agoMerge pull request #1316 from Therzok/addSealed
Marek Safar [Mon, 29 Sep 2014 06:27:08 +0000 (21:27 -0900)]
Merge pull request #1316 from Therzok/addSealed

Improvements in CorCompare

9 years agoRevert "[jit] Enable deadce on fp instructions on x86. Fixes #23392."
Zoltan Varga [Mon, 29 Sep 2014 05:06:50 +0000 (01:06 -0400)]
Revert "[jit] Enable deadce on fp instructions on x86. Fixes #23392."

This reverts commit a32e2c7fe6ffabcb6b06e4ab28e3ea1a58f9c6a3.

Revert this as it breaks the build.

9 years agoFix a warning.
Zoltan Varga [Sun, 28 Sep 2014 23:57:52 +0000 (19:57 -0400)]
Fix a warning.

9 years ago[bcl] Add AppDomain.FirstChangeException event, not implemented yet.
Zoltan Varga [Sun, 28 Sep 2014 23:56:53 +0000 (19:56 -0400)]
[bcl] Add AppDomain.FirstChangeException event, not implemented yet.

9 years ago[runtime] Disallow generic classes with explicit layout. Fixes #23438.
Zoltan Varga [Sun, 28 Sep 2014 23:44:10 +0000 (19:44 -0400)]
[runtime] Disallow generic classes with explicit layout. Fixes #23438.

9 years ago[CorCompare] Add pointer as a class type.
Marius Ungureanu [Sun, 28 Sep 2014 20:50:39 +0000 (23:50 +0300)]
[CorCompare] Add pointer as a class type.

9 years ago[CorCompare] Add sealed methods parsing.
Marius Ungureanu [Sun, 28 Sep 2014 20:48:58 +0000 (23:48 +0300)]
[CorCompare] Add sealed methods parsing.

9 years agoMerge pull request #1315 from rjvdboon/BootstrapContext
Marek Safar [Sun, 28 Sep 2014 05:59:02 +0000 (20:59 -0900)]
Merge pull request #1315 from rjvdboon/BootstrapContext

Add System.IdentityModel.BootstrapContext to .Net 4.5 profile, fixes #22560

9 years ago[runtime] Implement and enable the new interrupt code on amd64.
Zoltan Varga [Sun, 28 Sep 2014 05:49:33 +0000 (01:49 -0400)]
[runtime] Implement and enable the new interrupt code on amd64.

9 years agomore coding style changes
rjvdboon [Sat, 27 Sep 2014 19:32:46 +0000 (21:32 +0200)]
more coding style changes

9 years agoAdhere to mono coding guidelines.
rjvdboon [Sat, 27 Sep 2014 19:27:44 +0000 (21:27 +0200)]
Adhere to mono coding guidelines.

9 years ago[corlib] Timespan ticks formatting rewrite. Fixes #23376
Marek Safar [Sat, 27 Sep 2014 14:40:57 +0000 (16:40 +0200)]
[corlib] Timespan ticks formatting rewrite. Fixes #23376

9 years agoMerge pull request #1314 from alesliehughes/master
Marek Safar [Sat, 27 Sep 2014 11:13:34 +0000 (02:13 -0900)]
Merge pull request #1314 from alesliehughes/master

Add basic implement of ManagementObjectSearcher

9 years agoAdd basic implement of ManagementObjectSearcher
Alistair Leslie-Hughes [Sat, 27 Sep 2014 10:10:18 +0000 (20:10 +1000)]
Add basic implement of ManagementObjectSearcher

This change is released under the MIT license.

9 years ago[jit] Enable deadce on fp instructions on x86. Fixes #23392.
Zoltan Varga [Fri, 26 Sep 2014 23:48:13 +0000 (19:48 -0400)]
[jit] Enable deadce on fp instructions on x86. Fixes #23392.

9 years ago[sdb] Add an option to make debugger invokes virtual. Part of the fix for #23385.
Zoltan Varga [Fri, 26 Sep 2014 22:16:09 +0000 (18:16 -0400)]
[sdb] Add an option to make debugger invokes virtual. Part of the fix for #23385.

9 years agoMerge pull request #1282 from madrang/MinorChangesOfPull1281
Sebastien Pouliot [Fri, 26 Sep 2014 20:24:22 +0000 (16:24 -0400)]
Merge pull request #1282 from madrang/MinorChangesOfPull1281

Add missing argument validations and set disposed flag to true once Dispose is called

9 years ago[corlib] Move iOS-specific code to a separate file for System.Environment
Sebastien Pouliot [Fri, 26 Sep 2014 19:40:23 +0000 (15:40 -0400)]
[corlib] Move iOS-specific code to a separate file for System.Environment

9 years ago[Mono.Security] Clear Certificates after Import or Remove [part of PR #1004]
Sebastien Pouliot [Fri, 26 Sep 2014 18:23:33 +0000 (14:23 -0400)]
[Mono.Security] Clear Certificates after Import or Remove [part of PR #1004]

PR: https://github.com/mono/mono/pull/1004

commit: https://github.com/rahvee/mono/commit/9fa2a1928a50114eb144202b939269f3f8d823f2

Modified to match Mono guidelines.

9 years ago[mcs] Check for true/false user operators on unwrapped nullable type. Fixes #23199
Marek Safar [Fri, 26 Sep 2014 18:32:42 +0000 (20:32 +0200)]
[mcs] Check for true/false user operators on unwrapped nullable type. Fixes #23199

9 years agoRevert "[runtime] Implement lazy resolution of array interfaces."
Rodrigo Kumpera [Fri, 26 Sep 2014 18:12:32 +0000 (14:12 -0400)]
Revert "[runtime] Implement lazy resolution of array interfaces."

This reverts commit 6ee08cf772eb95c59ea81270523b210cb5948bc1.

This broke corlib compilation in a very weird way. Reverting it for now as I have no idea on why things break.

9 years agoRevert "[runtime] Remove a bit chunk of what's dead code now."
Rodrigo Kumpera [Fri, 26 Sep 2014 18:12:22 +0000 (14:12 -0400)]
Revert "[runtime] Remove a bit chunk of what's dead code now."

This reverts commit cab1c00168a773bd75ea3bee155dca12e88c9b78.

9 years ago[mcs] Add check for parameterless user constructor used as default parameter value
Marek Safar [Fri, 26 Sep 2014 12:31:01 +0000 (14:31 +0200)]
[mcs] Add check for parameterless user constructor used as default parameter value

9 years agoMerge pull request #1312 from esdrubal/xmltext
Marek Safar [Fri, 26 Sep 2014 11:47:15 +0000 (02:47 -0900)]
Merge pull request #1312 from esdrubal/xmltext

Property with attribute XmlTest is now set from ReadString only.

9 years agoProperty with attribute XmlTest is now set from ReadString only.
Marcos Henrich [Fri, 26 Sep 2014 09:35:57 +0000 (10:35 +0100)]
Property with attribute XmlTest is now set from ReadString only.
Before the change when the property default value was not null or empty the deserialized value would be the concatenation of the default value and the serialized value.
The correct behavior is to use the serialized value only.
Fixes 18908.

9 years agoTest Xml serialization of a property with attribute XmlText.
Marcos Henrich [Fri, 26 Sep 2014 09:31:51 +0000 (10:31 +0100)]
Test Xml serialization of a property with attribute XmlText.
The tested property has a default value that is not null.
Covers 18908.

9 years ago[mcs] Fix codegen for coalescing operator involving user operator conversion to resul...
Marek Safar [Fri, 26 Sep 2014 07:23:33 +0000 (09:23 +0200)]
[mcs] Fix codegen for coalescing operator involving user operator conversion to result type

9 years ago[aot] Pass additional arguments to llc on x86.
Zoltan Varga [Thu, 25 Sep 2014 20:55:12 +0000 (16:55 -0400)]
[aot] Pass additional arguments to llc on x86.

9 years agoAdded serialization of SecurityToken with Handler
Robert J. van der Boon [Thu, 25 Sep 2014 20:39:48 +0000 (05:39 +0900)]
Added serialization of SecurityToken with Handler

9 years ago[runtime] Remove a bit chunk of what's dead code now.
Rodrigo Kumpera [Thu, 25 Sep 2014 20:22:29 +0000 (16:22 -0400)]
[runtime] Remove a bit chunk of what's dead code now.

9 years ago[runtime] Implement lazy resolution of array interfaces.
Rodrigo Kumpera [Thu, 25 Sep 2014 19:02:38 +0000 (15:02 -0400)]
[runtime] Implement lazy resolution of array interfaces.

To resolve casting we make all relevant interfaces to use the generic variance casting code.
This only affected ICollection`1 and IList`1, which are not terribly popular.

To fix dispatch we augment vtable resolution to treat those interfaces as variant and use
the already in place machinery.

Memory reduction numbers for the corlib test suite:

Initialized classes 8004 -> 7470 (7% reduction)
Corlib mempool size: 2719832 -> 2678872 (1.5% reduction)

Inflated classes 4500: 3.972 (12% reduction)
Inflated signatures size: 166128 -> 139812 (16% reduction)
Inflated methods size: 565152 -> 485664 (15$ reduction)

9 years agoUpdate unit tests for binary serialization
rjvdboon [Thu, 25 Sep 2014 20:09:21 +0000 (22:09 +0200)]
Update unit tests for binary serialization