Rodrigo Kumpera [Mon, 4 Aug 2014 16:29:43 +0000 (12:29 -0400)]
Merge pull request #1066 from esdrubal/bug19313
Changed DeflateStream to stop reading base_stream sooner. Fixes #19313.
Rodrigo Kumpera [Mon, 4 Aug 2014 16:28:50 +0000 (12:28 -0400)]
Merge pull request #1063 from esdrubal/bug18482
Resets all private key values on RSAManaged.ImportParameters. Fixes #18482.
Marek Safar [Mon, 4 Aug 2014 15:32:15 +0000 (17:32 +0200)]
[mcs] null propagating operator on index expressions
Zoltan Varga [Thu, 17 Jul 2014 21:34:21 +0000 (23:34 +0200)]
[runtime] Remove unneccesary locking from some metadata functions.
Zoltan Varga [Sun, 3 Aug 2014 20:09:26 +0000 (22:09 +0200)]
[runtime] Initialize klass->supertypes properly for dynamic classes.
Marek Safar [Sun, 3 Aug 2014 17:10:45 +0000 (19:10 +0200)]
[system.xml] Dispose XmlReader using correct value. Fixes #21771
Marek Safar [Sun, 3 Aug 2014 12:07:03 +0000 (14:07 +0200)]
[mcs] decimal constants modulo folding. Fixes #21743
Marek Safar [Fri, 1 Aug 2014 10:10:50 +0000 (12:10 +0200)]
[mcs] null propagating operator cannot work on pointer types
Marek Habersack [Thu, 31 Jul 2014 23:43:15 +0000 (19:43 -0400)]
Turns out some devices can have network interfaces without names.
If we encounter such a device we assign it an empty name followed by index number, so that we can
put any number of such devices in the dictionary and report them to the user.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=21741
Mark Probst [Tue, 29 Jul 2014 23:31:38 +0000 (16:31 -0700)]
[sgen] File size limit for binary protocols.
We can now pass a file size limit to the `binary-protocol` option. It will
create numbered binary protocol files, and only keep the last two around.
This is useful for cases where the only way to reproduce a bug is through
a long run that would otherwise create a protocol that's much too big.
Mark Probst [Tue, 29 Jul 2014 23:29:39 +0000 (16:29 -0700)]
[sgen] Debug option for `clear-at-tlab-creation` nursery clear policy.
With the debug policy, we do clear at TLAB creation, but at GC time, whenever
we would clear with `clear-at-gc`, instead of not clearing, we fill with 0xff.
Zoltan Varga [Thu, 31 Jul 2014 19:55:27 +0000 (21:55 +0200)]
[jit] Avoid making generic calls from gsharedvt methods normally, go through the rgctx infrastructure instead. Fixes #21677.
Marek Safar [Thu, 31 Jul 2014 16:40:19 +0000 (18:40 +0200)]
[mcs] Update codegen for boolean loads. Fixes #21685
Marek Safar [Thu, 31 Jul 2014 14:43:17 +0000 (16:43 +0200)]
[mcs] null coallescing operator can end up working on value types
Zoltan Varga [Thu, 31 Jul 2014 14:40:36 +0000 (16:40 +0200)]
Merge pull request #1184 from directhex/kfreebsd
Support for GNU/kFreeBSD
Zoltan Varga [Thu, 31 Jul 2014 14:38:23 +0000 (16:38 +0200)]
Merge pull request #1183 from directhex/xinerama
Don't do the soname checking dance for Xinerama.
Marek Safar [Thu, 31 Jul 2014 13:21:46 +0000 (15:21 +0200)]
[xbuild] Fix handling of reference aliases
Jo Shields [Thu, 31 Jul 2014 11:04:59 +0000 (12:04 +0100)]
Define PLATFORM_GNU which covers any OS with GNU userland.
This define covers kFreeBSD, not just Linux. This is required because
the error which
120d194d10ad351dd95450749cc4a62331331d8a works around is
a GNU problem, not a Linux problem, so causes FTBFS on kFreeBSD.
Jo Shields [Thu, 31 Jul 2014 10:58:47 +0000 (11:58 +0100)]
Use host_win32 not platform_win32 in kfreebsd defines
Jo Shields [Thu, 31 Jul 2014 10:40:36 +0000 (11:40 +0100)]
Don't do the soname checking dance for Xinerama.
Xinerama has only ever had a soname of 1.
Checking for 1, 2, and 3 is just weird and pointless. And by not using a
default value, we duplicate the bug which
add24aaa1 fixed.
Jo Shields [Thu, 31 Jul 2014 10:38:00 +0000 (11:38 +0100)]
Fix warning message when libX11.so.* are not found.
We complain that we can't find "X development files", but the reverse
is true - if we had X development files, we'd find libX11.so (which
we aren't looking for). What we look for (and find) are the runtime files.
Jo Shields [Thu, 31 Jul 2014 09:26:34 +0000 (10:26 +0100)]
Support for GNU/kFreeBSD.
GNU/kFreeBSD is an experimental OS provided by the Debian project, consisting
of a FreeBSD kernel and GNU userland/libc. For a small number of cases, this
offers advantages over a more common GNU/Linux combination, such as fast
in-kernel support for ZFS storage.
This patch changes various ifdefs, either using __FreeBSD_kernel__ where a
trait from the kernel is what matters, or __GLIBC__ where a trait from the
C library matters.
This patch set has been carried downstream, in one form or another, since
1.2.3.1-1.
https://bugzilla.novell.com/show_bug.cgi?id=321634
Marek Safar [Thu, 31 Jul 2014 09:53:09 +0000 (11:53 +0200)]
[mcs] Fixes bootsrap with older mcs
Marek Safar [Thu, 31 Jul 2014 09:04:50 +0000 (11:04 +0200)]
[mcs] Member access null propagating operator
Marek Safar [Thu, 24 Jul 2014 12:18:11 +0000 (14:18 +0200)]
[mcs] Finalizers cannot use expression_block syntax
Marek Habersack [Fri, 30 May 2014 14:35:56 +0000 (16:35 +0200)]
Implement the Mono side of Android support for NetworkInterface.GetAllNetworkInterfaces ()
Added code to call Xamarin.Android internal implementation of getifaddrs/freeifaddrs to provide us
with the required information to fulfill the request.
Added a handful of Linux ARP hardware IDs which are considered to be tunnel devices and which may occur
on Android devices.
Part of fix for https://bugzilla.xamarin.com/show_bug.cgi?id=1969
Alexis Christoforides [Wed, 30 Jul 2014 18:52:33 +0000 (14:52 -0400)]
Bump Mono version -> 3.8.1
Zoltan Varga [Wed, 30 Jul 2014 15:41:41 +0000 (17:41 +0200)]
[xbuild] Disable some tests which fail on wrench.
Ludovic Henry [Wed, 30 Jul 2014 15:13:24 +0000 (11:13 -0400)]
[PLinq] Avoid cache thrashing of locals array when looping over enumerator
Zoltan Varga [Tue, 29 Jul 2014 21:59:45 +0000 (23:59 +0200)]
[jit] Fix another native-types problem. Hopefully fixes #21670 and #21636.
Zoltan Varga [Tue, 29 Jul 2014 21:42:33 +0000 (23:42 +0200)]
Merge pull request #1181 from directhex/master
Delete assemblies from external/ when building "make dist" tarballs
Marek Habersack [Tue, 29 Jul 2014 19:29:35 +0000 (15:29 -0400)]
Do not assume the GetCurrentTimeZone method exists in Mono.Android
Not checking whether the method exists caused a null reference exception in CreateDelegate.
Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=21603
Jo Shields [Tue, 29 Jul 2014 16:01:58 +0000 (12:01 -0400)]
Delete assemblies from external/ when building "make dist" tarballs
Marek Safar [Tue, 29 Jul 2014 11:44:46 +0000 (13:44 +0200)]
Merge pull request #1178 from dougrathbone/master
Bug fix caused by Dispose failing because 'Initialize' method throws exception
Zoltan Varga [Tue, 29 Jul 2014 09:56:27 +0000 (11:56 +0200)]
Zoltan Varga [Tue, 29 Jul 2014 09:47:50 +0000 (11:47 +0200)]
[bcl] Disable some tests which are expected to fail in mt.
Rodrigo Kumpera [Tue, 29 Jul 2014 04:31:10 +0000 (01:31 -0300)]
[jit] Use alias information to eliminate explicit null checks. Fixes #21645.
Rodrigo Kumpera [Tue, 29 Jul 2014 04:17:37 +0000 (01:17 -0300)]
[jit] Handle second order aliases. Based on patch by Vlad Brezae.
In some cases, usually when dealing with IntPtr <> void* conversions, 2nd order aliases arises.
To handle them, first we consider the lowered load/stores for alias information, second
we iterate over handle globals/dce while aliases can still be eliminated.
Zoltan Varga [Tue, 29 Jul 2014 00:47:26 +0000 (02:47 +0200)]
[runtime] Initialize fields in MonoField:GetFieldOffset () if needed. Fixes part of #21604.
Rodrigo Kumpera [Sun, 27 Jul 2014 21:58:11 +0000 (18:58 -0300)]
[runtime] Properly handle rethrow outside of catch blocks. Fixes #20412
Fix the verifier to fail a rethrow in a filter block.
Change the JIT to emit an exception instead of asserting.
Doug Rathbone [Sun, 27 Jul 2014 19:21:37 +0000 (12:21 -0700)]
Fixing bug caused by Dispose failing because the `Initialize` method threw a `CryptographicException` before the private variables `m_p, m_G, m_X` could be set.
Marek Safar [Fri, 25 Jul 2014 21:27:07 +0000 (23:27 +0200)]
Merge pull request #1176 from RyanMelenaNoesis/patch-1
Implement missing constructor
RyanMelenaNoesis [Fri, 25 Jul 2014 21:07:55 +0000 (16:07 -0500)]
Implement missing constructor
http://msdn.microsoft.com/en-us/library/hh194482(v=vs.110).aspx
Martin Baulig [Thu, 24 Jul 2014 22:37:16 +0000 (00:37 +0200)]
[http]: Correctly handle partial chunk sizes; fixes #20583.
Marek Habersack [Wed, 11 Jun 2014 06:42:51 +0000 (08:42 +0200)]
Use Android-specific code to get the current system time zone
Marek Safar [Thu, 24 Jul 2014 11:51:35 +0000 (13:51 +0200)]
[System.ComponentModel.Composition] Remove ReadOnlyDictionary. It's not used in 4.5 profile (it implements different interfaces compare to public ReadOnlyDictionary anyway)
Marek Safar [Thu, 24 Jul 2014 11:07:59 +0000 (13:07 +0200)]
[mcs] Implements expression bodied members
Zoltan Varga [Wed, 23 Jul 2014 17:00:36 +0000 (13:00 -0400)]
[runtime] Disable runtime unit tests on linux, because it cannot be linked due to circular dependencies between libraries. Fixes #21520.
Marek Safar [Wed, 23 Jul 2014 13:48:00 +0000 (15:48 +0200)]
[mcs] Better betterness for ambiguous lambda expressions
Zoltan Varga [Wed, 23 Jul 2014 10:58:17 +0000 (12:58 +0200)]
Merge pull request #1174 from rhapsodyn/patch-1
fix a typo in comment
rhapsodyn [Wed, 23 Jul 2014 08:17:36 +0000 (16:17 +0800)]
fix a typo in comment
Marek Safar [Wed, 23 Jul 2014 08:15:53 +0000 (10:15 +0200)]
[corlib] Allow reading serialized delegate format from pre 2.0 era
Marek Safar [Wed, 23 Jul 2014 08:15:16 +0000 (10:15 +0200)]
Update test binary data
Marek Safar [Wed, 23 Jul 2014 07:20:34 +0000 (09:20 +0200)]
Marek Safar [Tue, 22 Jul 2014 18:33:11 +0000 (20:33 +0200)]
[corlib] Fix multicast delegates serialization to handle curried delegates and more than 1 subscriber
Marek Safar [Tue, 22 Jul 2014 16:52:23 +0000 (18:52 +0200)]
[mcs] Pickup params modifier from base member for overload verification as well
Marek Safar [Tue, 22 Jul 2014 12:18:48 +0000 (14:18 +0200)]
[mcs] Use closed delegate over static generated methods from anonymous methods
Marek Safar [Tue, 22 Jul 2014 12:13:15 +0000 (14:13 +0200)]
[mcs] Effective base class can include inherited types. Fixes #21390
Marek Safar [Tue, 22 Jul 2014 11:40:22 +0000 (13:40 +0200)]
[mcs] Handle duplicate resume point registration. Fixes #21387
Rolf Bjarne Kvinge [Tue, 22 Jul 2014 09:53:51 +0000 (11:53 +0200)]
Disable a few tests that don't compile without SRE.
Marek Safar [Tue, 22 Jul 2014 08:28:38 +0000 (10:28 +0200)]
Fixes broken test
Rodrigo Kumpera [Mon, 21 Jul 2014 21:55:17 +0000 (18:55 -0300)]
[corlib] Add regression test for #21388.
Rodrigo Kumpera [Mon, 21 Jul 2014 21:49:51 +0000 (18:49 -0300)]
[runtime] When parsing a method header, ensure we pass any available generic context. Fixes #21388.
We need to pass the right generic context to the method parsing so local variables with
generic argument types get the owner properly set.
In addition to that, harden the icall in case the owner is not set.
Rodrigo Kumpera [Mon, 21 Jul 2014 21:39:57 +0000 (18:39 -0300)]
[corlib] Fix regression in Delegate::Equal found by gtest-etree-01.
Zoltan Varga [Mon, 21 Jul 2014 20:32:06 +0000 (22:32 +0200)]
[jit] Fix the DISABLE_JIT build.
Marek Safar [Mon, 21 Jul 2014 18:34:04 +0000 (20:34 +0200)]
[corlib] Tweak Dictionary initial capacity to be more conservative. Fixes #21375
Marek Safar [Mon, 21 Jul 2014 18:22:43 +0000 (20:22 +0200)]
Merge pull request #1173 from Serguzest/upstream
wrong behaviour in ClaimsIdentity's constructor
Serguzest [Sat, 19 Jul 2014 18:24:49 +0000 (21:24 +0300)]
wrong behaviour in ClaimsIdentity's constructor
claims must be added regardless of identity parameter
Since constructors are chained in that class, this wrong behaviour causes chained trouble of claims to be never added
Zoltan Varga [Mon, 21 Jul 2014 17:14:08 +0000 (19:14 +0200)]
[arm] Fix native types support in the dyn call code on arm.
Alexis Christoforides [Thu, 29 May 2014 21:52:30 +0000 (17:52 -0400)]
[appdomain] Allocate core AppDomain objects with mono_object_new_pinned().
The objects end up being pinned anyway, but in SGen's case they are placed in the nursery, creating permanent fragmentation.
Marek Safar [Mon, 21 Jul 2014 15:12:10 +0000 (17:12 +0200)]
[mcs] Initializers with parameters scope and primary constructors
Marek Safar [Mon, 21 Jul 2014 12:13:52 +0000 (14:13 +0200)]
[bcl] Remove old projects
Jeffrey Stedfast [Mon, 21 Jul 2014 10:21:50 +0000 (06:21 -0400)]
[System.Web] Oops, there really is a .moov file extension
Rodrigo Kumpera [Mon, 21 Jul 2014 01:57:38 +0000 (22:57 -0300)]
[corlib] Add regression test for #21196.
Rodrigo Kumpera [Mon, 21 Jul 2014 01:53:37 +0000 (22:53 -0300)]
[corlib] Handle closed-over-null delegates created with IL when using InvokeDynamic. Fixes #21196.
The previous fix to handle curried delegates with DynamicInvoke did not correctly handle
those create with IL (in contrast to Delegate.CreateDelegate), as they don't hit any managed code.
The solution is to always require DelegateData to be filled for InvokeDynamic, if not, lazily
calculate it.
Jeffrey Stedfast [Mon, 21 Jul 2014 00:54:16 +0000 (20:54 -0400)]
[System.Web] Fixed some mime types
Zoltan Varga [Sun, 20 Jul 2014 23:27:27 +0000 (01:27 +0200)]
[runtime] Avoid loading marshal info for types without field marshallers when calling FieldInfo:get_marshal_info ().
Zoltan Varga [Sat, 19 Jul 2014 21:42:23 +0000 (23:42 +0200)]
[runtime] Add method_is_dynamic () inline function to allow code to be optimized away when DISABLE_REFLECTION_EMIT is defined.
Zoltan Varga [Sat, 19 Jul 2014 20:28:03 +0000 (22:28 +0200)]
[runtime] Add image_is_dynamic ()/assembly_is_dynamic () inline functions to allow code to be optimized away when DISABLE_REFLECTION_EMIT is defined.
Marek Safar [Sat, 19 Jul 2014 20:02:15 +0000 (22:02 +0200)]
Revert "[mcs] Initializers with parameters scope and primary constructors"
This reverts commit
221b9c920d8729a405ef67785dc3b9ee1b2ec12d.
Marek Safar [Sat, 19 Jul 2014 15:07:19 +0000 (17:07 +0200)]
[mcs] Initializers with parameters scope and primary constructors
Marek Safar [Thu, 17 Jul 2014 09:10:55 +0000 (11:10 +0200)]
[mcs] Less cascading errors
Zoltan Varga [Sat, 19 Jul 2014 14:32:14 +0000 (16:32 +0200)]
Revert "[runtime] Force inlining of membar functions."
This reverts commit
4935a15fc6ce489dca2ff9a0faa8a2ffa7ade058.
Revert this as it is causing a huge amount of warnings.
Zoltan Varga [Thu, 17 Jul 2014 21:15:49 +0000 (23:15 +0200)]
[bcl] Increase a timeout to fix a corlib+llvm test failure.
Zoltan Varga [Thu, 17 Jul 2014 20:27:45 +0000 (22:27 +0200)]
[runtime] Add a mono_reflection_assembly_get_assembly () public api function to get a MonoAssembly* from a System.Reflection.Assembly object.
Joao Matos [Thu, 17 Jul 2014 17:22:58 +0000 (18:22 +0100)]
Fixed MSVC build by explicitly providing "ssize_t".
Zoltan Varga [Thu, 17 Jul 2014 16:38:08 +0000 (18:38 +0200)]
Bump required windows version to xp sp2.
Zoltan Varga [Thu, 17 Jul 2014 16:37:09 +0000 (18:37 +0200)]
Fix the windows build.
Zoltan Varga [Thu, 17 Jul 2014 16:11:32 +0000 (18:11 +0200)]
Fix the windows build.
Zoltan Varga [Thu, 17 Jul 2014 15:51:31 +0000 (17:51 +0200)]
[jit] Fix some build problems when cross compiling.
Rodrigo Kumpera [Thu, 17 Jul 2014 15:01:48 +0000 (11:01 -0400)]
[jit] Move runtime_invoke_hash to use the concurrent hashtable. Big wins on TP workloads.
Rodrigo Kumpera [Thu, 17 Jul 2014 15:01:06 +0000 (11:01 -0400)]
[runtime] Move field_cache to use the concurrent hashtable as it was showing up on profiling.
Rodrigo Kumpera [Thu, 17 Jul 2014 14:55:08 +0000 (10:55 -0400)]
[runtime] Add tests for concurrent hashtable.
Rodrigo Kumpera [Thu, 17 Jul 2014 14:52:36 +0000 (10:52 -0400)]
[runtime] Add a lock-free read hashtable.
Rodrigo Kumpera [Thu, 17 Jul 2014 14:50:51 +0000 (10:50 -0400)]
[runtime] Force inlining of membar functions.
Alexis Christoforides [Wed, 16 Jul 2014 21:40:22 +0000 (17:40 -0400)]
Revert "Reimplemented much of the kqueue-based file watcher so that watching subdirectories works."
This reverts commit
fa9bbe14876057338d8148ccdf5fd77de131ed95.
Alexis Christoforides [Wed, 16 Jul 2014 21:40:19 +0000 (17:40 -0400)]
Revert "Revert some whitespace changes."
This reverts commit
dd19aacb906a052d3460463ae1cfef78c40ddd7c.
Alexis Christoforides [Wed, 16 Jul 2014 21:40:11 +0000 (17:40 -0400)]
Revert "Add a test for Creation event on FileSystemWatcher."
This reverts commit
66416d2655bda555f52e7fb73f97d3984cf2fbde.
Stephen McConnel [Wed, 16 Jul 2014 19:29:57 +0000 (14:29 -0500)]
Fix error in tooltip display for ListView.ShowGroups
This fixes Xamarin bug 21346 " SWF.ListView does not handle item
tooltips when Groups are used".
Cody Russell [Tue, 24 Jun 2014 16:28:18 +0000 (11:28 -0500)]
Add a test for Creation event on FileSystemWatcher.