mono.git
8 years ago[tests] No declarative security in mobile profile
Marek Habersack [Thu, 11 Jun 2015 18:08:24 +0000 (20:08 +0200)]
[tests] No declarative security in mobile profile

8 years ago[tests] Fix for when CWD is /
Marek Habersack [Thu, 11 Jun 2015 18:02:03 +0000 (20:02 +0200)]
[tests] Fix for when CWD is /

The test case doesn't account for the situation when the tests are ran
at the root of the Unix filesystem. This is, admittedly, a rare case on
Desktop but it's precisely what CWD is for Android processes. The test
would fail because it would get a path of the //Form instead of the /Form

8 years ago[tests] Works in stand-alone app, fails in nunit
Marek Habersack [Thu, 11 Jun 2015 18:00:43 +0000 (20:00 +0200)]
[tests] Works in stand-alone app, fails in nunit

8 years ago[tests] Fails on mobile with no details
Marek Habersack [Thu, 11 Jun 2015 17:59:45 +0000 (19:59 +0200)]
[tests] Fails on mobile with no details

8 years ago[tests] Doesn't work on mobile
Marek Habersack [Thu, 11 Jun 2015 17:58:56 +0000 (19:58 +0200)]
[tests] Doesn't work on mobile

8 years ago[tests] Works in stand-alone app, fails in nunit
Marek Habersack [Thu, 11 Jun 2015 17:58:07 +0000 (19:58 +0200)]
[tests] Works in stand-alone app, fails in nunit

8 years ago[tests] Xamarin.Android has the desktop behavior
Marek Habersack [Thu, 11 Jun 2015 17:56:59 +0000 (19:56 +0200)]
[tests] Xamarin.Android has the desktop behavior

8 years ago[tests] Xamarin.Android already has the namespace
Marek Habersack [Thu, 11 Jun 2015 17:56:12 +0000 (19:56 +0200)]
[tests] Xamarin.Android already has the namespace

8 years ago[build] Update missing file
Marek Safar [Wed, 15 Jul 2015 16:06:11 +0000 (18:06 +0200)]
[build] Update missing file

8 years ago[build] Update profiles path
Marek Safar [Wed, 15 Jul 2015 15:57:01 +0000 (17:57 +0200)]
[build] Update profiles path

8 years ago[build] Update profiles path
Marek Safar [Wed, 15 Jul 2015 15:34:54 +0000 (17:34 +0200)]
[build] Update profiles path

8 years ago[Facades] More missing types
Marek Safar [Wed, 15 Jul 2015 15:30:20 +0000 (17:30 +0200)]
[Facades] More missing types

8 years ago[Facades] Update to 4.6 api
Marek Safar [Wed, 15 Jul 2015 14:35:59 +0000 (16:35 +0200)]
[Facades] Update to 4.6 api

8 years ago[build] Update docs profile paths
Marek Safar [Wed, 15 Jul 2015 14:34:56 +0000 (16:34 +0200)]
[build] Update docs profile paths

8 years ago[build] Switch to 4.6 profile as default profile
Marek Safar [Wed, 15 Jul 2015 14:10:19 +0000 (16:10 +0200)]
[build] Switch to 4.6 profile as default profile

8 years agoBump binary-reference-assemblies
Marek Safar [Wed, 15 Jul 2015 07:34:57 +0000 (09:34 +0200)]
Bump binary-reference-assemblies

8 years ago[xbuild]: Fix ResolveAssemblyReference.ResolveReference() with empty search paths.
Martin Baulig [Tue, 14 Jul 2015 21:38:40 +0000 (23:38 +0200)]
[xbuild]: Fix ResolveAssemblyReference.ResolveReference() with empty search paths.

When using shared projects, the search path and/or framework paths may sometimes
contain empty elements.

This fixes commit 5b12d9ae37ee34aad5f1ceada34cb36f11fb41ce.

8 years ago[llvm] Add support for pass/returning vtypes by ref.
Zoltan Varga [Tue, 14 Jul 2015 21:19:13 +0000 (17:19 -0400)]
[llvm] Add support for pass/returning vtypes by ref.

8 years ago[system] Add missing APIs
Marek Safar [Tue, 14 Jul 2015 18:07:40 +0000 (20:07 +0200)]
[system] Add missing APIs

8 years ago[threadpool-ms-io] Fix epoll socket close/remove race condition
Ludovic Henry [Fri, 10 Jul 2015 21:51:51 +0000 (18:51 -0300)]
[threadpool-ms-io] Fix epoll socket close/remove race condition

With the previous commit, it fixes a range of bug that happens only with epoll. This is because, contrary to poll and kqueue, epoll keeps an internal state that has to be kept in sync with the threadpool_io->states hash table.

This threadpool_io->states hash table is keeping a list of file descriptor to watch, with the corresponding SocketAsyncResult to callback in case of event on the fd. But epoll also keeps its internal state that needs to me modified with EPOLL_CTL_ADD, EPOLL_CTL_MOD and EPOLL_CTL_DEL.
Contrary to kqueue, EPOLLONESHOT does not force epoll to remove the socket from its internal state once an event have been triggered; but it will just not fire this event again, until this event is reset. Also, epoll will remove a fd from its internal state when this fd is closed.

This will lead to a bunch of out-of-sync states like the following :
 - the user start reading asynchronously the STDOUT of a child process, the child process quit (closing the STDOUT fd), this fd is reused by the OS for something else (like a socket), the IO threadpool call epoll_ctl with EPOLL_CTL_MOD (because the fd is still in the states hashtable), but the OS returns an error because the underlying file is different, even if the fd is the same.
 - the user opens a socket, does some asynchronous operation on it, and close it; removing it from the table but not from epoll (as it does not call epoll_ctl with EPOLL_CTL_DEL). For another reason, the fd has not been closed in the OS (and thus in epoll), because it might, for example, still be open by another process. After that, we receive an event for this fd (as it is still in epoll), and between the time of the epoll_wait and the epoll_ctl with EPOLL_CTL_DEL, the fd is actually closed in the OS, leading to a EBADF error.

The g_warning have also been replaced by g_error, so we do not silently discard this kind of error in testing.

8 years ago[bcl] Remove ProcessAsyncReader handle from IO ThreadPool on closing
Ludovic Henry [Mon, 13 Jul 2015 17:54:30 +0000 (14:54 -0300)]
[bcl] Remove ProcessAsyncReader handle from IO ThreadPool on closing

8 years ago[threadpool-ms-io] Rework some utility functions
Ludovic Henry [Fri, 10 Jul 2015 19:16:08 +0000 (16:16 -0300)]
[threadpool-ms-io] Rework some utility functions

8 years ago[threadpool-ms-io] Replace the 2 locks by only 1
Ludovic Henry [Fri, 10 Jul 2015 19:15:39 +0000 (16:15 -0300)]
[threadpool-ms-io] Replace the 2 locks by only 1

8 years ago[runtime] Fix the mono_get_lmf_addr () optimization for x86-ios. Fixes #31921.
Zoltan Varga [Tue, 14 Jul 2015 17:42:51 +0000 (13:42 -0400)]
[runtime] Fix the mono_get_lmf_addr () optimization for x86-ios. Fixes #31921.

8 years ago[utils] Factor lazy initialization of threadpool-ms and threadpool-ms-io for use...
Ludovic Henry [Mon, 22 Jun 2015 17:14:27 +0000 (14:14 -0300)]
[utils] Factor lazy initialization of threadpool-ms and threadpool-ms-io for use by other modules

8 years agoDisable the test added by 37ad145b2f00beb3e1aa9b86e306fbcbc50df3fe, it doesn't work...
Zoltan Varga [Tue, 14 Jul 2015 13:00:40 +0000 (09:00 -0400)]
Disable the test added by 37ad145b2f00beb3e1aa9b86e306fbcbc50df3fe, it doesn't work on all platforms.

8 years ago[ilasm] Imlicitly set enums value__ special flags
Marek Safar [Tue, 14 Jul 2015 09:31:20 +0000 (11:31 +0200)]
[ilasm] Imlicitly set enums value__ special flags

8 years agoLook for resgen2 where mcs is.
Rolf Bjarne Kvinge [Fri, 26 Jun 2015 14:44:18 +0000 (16:44 +0200)]
Look for resgen2 where mcs is.

Fixes an issue on El Capitán where resgen2 isn't necessarily in PATH.

8 years agoMerge pull request #1730 from BrzVlad/feature-arm-fast-tls
Vlad Brezae [Tue, 14 Jul 2015 02:42:56 +0000 (19:42 -0700)]
Merge pull request #1730 from BrzVlad/feature-arm-fast-tls

Feature arm fast tls

8 years ago[threadpool-ms] Add tracing
Ludovic Henry [Mon, 13 Jul 2015 23:22:04 +0000 (20:22 -0300)]
[threadpool-ms] Add tracing

8 years ago[ilasm] Make only structs automatically sealed (partially reverts 541a65ddd3f4b49c4d5...
Marek Safar [Mon, 13 Jul 2015 21:14:43 +0000 (23:14 +0200)]
[ilasm] Make only structs automatically sealed (partially reverts 541a65ddd3f4b49c4d5bb6324bae63f0ed569115)

8 years ago[ilasm] Don't make enums and structs sealed when sealed modifier is not used
Marek Safar [Mon, 13 Jul 2015 20:37:18 +0000 (22:37 +0200)]
[ilasm] Don't make enums and structs sealed when sealed modifier is not used

8 years ago[jit] Fix float32 support for the interlocked opcodes.
Zoltan Varga [Mon, 13 Jul 2015 19:14:24 +0000 (15:14 -0400)]
[jit] Fix float32 support for the interlocked opcodes.

8 years ago[amd64] Fix marshalling of empty structures.
Zoltan Varga [Mon, 13 Jul 2015 17:56:14 +0000 (13:56 -0400)]
[amd64] Fix marshalling of empty structures.

8 years ago[System] Don't assume WebConnectionStream of unknown http methods require write strea...
Marek Safar [Mon, 13 Jul 2015 12:08:08 +0000 (14:08 +0200)]
[System] Don't assume WebConnectionStream of unknown http methods require write stream. Fixes #31830

8 years agoMerge pull request #1927 from borgdylan/x86fix
Zoltan Varga [Mon, 13 Jul 2015 07:52:18 +0000 (03:52 -0400)]
Merge pull request #1927 from borgdylan/x86fix

fix the x86 build

8 years agofix the x86 build
Dylan Borg [Mon, 13 Jul 2015 07:18:03 +0000 (09:18 +0200)]
fix the x86 build

8 years ago[runtime] Add support for portable pdb files without a MODULE table. Fix mono_ppdb_ge...
Zoltan Varga [Sun, 12 Jul 2015 20:34:45 +0000 (16:34 -0400)]
[runtime] Add support for portable pdb files without a MODULE table. Fix mono_ppdb_get_seq_points ().

8 years ago[runtime] Make mono_trace_set_printerr_handler () call g_set_printerr_handler ()...
Zoltan Varga [Sun, 12 Jul 2015 16:37:33 +0000 (12:37 -0400)]
[runtime] Make mono_trace_set_printerr_handler () call g_set_printerr_handler (). Fixes #31451.

8 years ago[runtime] Update portable pdb support for the latest spec.
Zoltan Varga [Sun, 12 Jul 2015 04:14:36 +0000 (00:14 -0400)]
[runtime] Update portable pdb support for the latest spec.

8 years ago[aot] Emit the got into the bss section on osx too.
Zoltan Varga [Fri, 10 Jul 2015 19:01:41 +0000 (15:01 -0400)]
[aot] Emit the got into the bss section on osx too.

8 years ago[tests] Add tls stress test
Vlad Brezae [Fri, 1 May 2015 18:55:54 +0000 (11:55 -0700)]
[tests] Add tls stress test

8 years ago[arm] Add MONO_DEBUG option for using only fallback tls.
Vlad Brezae [Sat, 25 Apr 2015 00:23:20 +0000 (17:23 -0700)]
[arm] Add MONO_DEBUG option for using only fallback tls.

8 years ago[arm] Add fast tls support on ios.
Vlad Brezae [Sat, 4 Apr 2015 00:00:11 +0000 (17:00 -0700)]
[arm] Add fast tls support on ios.

8 years ago[sgen] Use the sgen allocator fastpath also when cross compilling.
Vlad Brezae [Wed, 22 Apr 2015 21:39:35 +0000 (14:39 -0700)]
[sgen] Use the sgen allocator fastpath also when cross compilling.

The platform needs to support tls for it to be generated.

8 years ago[sgen] Fix allocator creation when running with jit disabled.
Vlad Brezae [Fri, 1 May 2015 19:27:15 +0000 (12:27 -0700)]
[sgen] Fix allocator creation when running with jit disabled.

We don't allocate the method header when not jitting.

8 years ago[arm] Add fast tls support on android.
Vlad Brezae [Tue, 7 Apr 2015 21:39:38 +0000 (21:39 +0000)]
[arm] Add fast tls support on android.

8 years ago[sgen] Allocator defines depend on the target not the host.
Vlad Brezae [Fri, 3 Apr 2015 00:29:07 +0000 (17:29 -0700)]
[sgen] Allocator defines depend on the target not the host.

8 years ago[arm] Add fast tls support on linux
Vlad Brezae [Wed, 4 Feb 2015 23:37:33 +0000 (15:37 -0800)]
[arm] Add fast tls support on linux

Add support for OP_TLS operations. The code that implements this is comprised of getter and setter asm thunks, which is either inlined, or it uses external code. At runtime we check the implementation on the system, using the inlined thunks if we can.

8 years ago[mcs] Emit symbol info local variables for compiler generated storey variables. Fixes...
Marek Safar [Fri, 10 Jul 2015 18:06:51 +0000 (20:06 +0200)]
[mcs] Emit symbol info local variables for compiler generated storey variables. Fixes #31784

8 years ago[mcs] Remove NET_4_0 ifdefs
Marek Safar [Fri, 10 Jul 2015 15:25:42 +0000 (17:25 +0200)]
[mcs] Remove NET_4_0 ifdefs

8 years ago[jit] Use a feature macro instead of hardcoding users.
Rodrigo Kumpera [Fri, 10 Jul 2015 17:36:15 +0000 (13:36 -0400)]
[jit] Use a feature macro instead of hardcoding users.

8 years agoRemove duplicated code.
Rodrigo Kumpera [Fri, 10 Jul 2015 16:26:36 +0000 (12:26 -0400)]
Remove duplicated code.

8 years ago[arm] Fixed the max length of seq_point. Fixes #31829.
Rodrigo Kumpera [Fri, 10 Jul 2015 16:20:04 +0000 (12:20 -0400)]
[arm] Fixed the max length of seq_point. Fixes #31829.

8 years ago[jit] Disable fast tls on osx if MONO_HAVE_FAST_TLS is not defined.
Rodrigo Kumpera [Fri, 10 Jul 2015 16:00:17 +0000 (12:00 -0400)]
[jit] Disable fast tls on osx if MONO_HAVE_FAST_TLS is not defined.

8 years ago[utils] Disable fast TLS on darwin until we have proper fallbacks in place.
Rodrigo Kumpera [Fri, 10 Jul 2015 14:07:26 +0000 (10:07 -0400)]
[utils] Disable fast TLS on darwin until we have proper fallbacks  in place.

8 years ago[mini] Add some extra asserts around fast tls to ensure we don't mess up.
Rodrigo Kumpera [Fri, 10 Jul 2015 14:06:40 +0000 (10:06 -0400)]
[mini] Add some extra asserts around fast tls to ensure we don't mess up.

8 years ago[utils] Don't abort at startup if remote TLS reads is not available.
Rodrigo Kumpera [Thu, 9 Jul 2015 14:02:57 +0000 (10:02 -0400)]
[utils] Don't abort at startup if remote TLS reads is not available.

Remote TLS reads is not a required feature for the runtime to work on
mach systems. We still want it available, but can leave the assertion
to happen when someone actually use it.

Usage won't happen today as part of regular code execution, so moving
the assert will make us more robust.

8 years ago[utils] Add fallback TLS offset scanning to X86 and AMD64.
Rodrigo Kumpera [Thu, 9 Jul 2015 13:33:52 +0000 (09:33 -0400)]
[utils] Add fallback TLS offset scanning to X86 and AMD64.

8 years agoMerge pull request #1922 from antonmes/master
Rodrigo Kumpera [Fri, 10 Jul 2015 13:48:54 +0000 (09:48 -0400)]
Merge pull request #1922 from antonmes/master

Add TLS offset for pre-release OS X 10.11 on x86

8 years agoMerge pull request #1924 from bosmacs/master
João Matos [Fri, 10 Jul 2015 12:12:46 +0000 (13:12 +0100)]
Merge pull request #1924 from bosmacs/master

Add TLS offset for pre-release OS X 10.11 x86, as #1919 did for x64

8 years agoAdd TLS offset for pre-release OS X 10.11 x86, as in #1919 for x64
Craig S. Bosma [Fri, 10 Jul 2015 11:56:23 +0000 (06:56 -0500)]
Add TLS offset for pre-release OS X 10.11 x86, as in #1919 for x64

8 years agoAdd TLS offset for pre-release OS X 10.11 on x86
Toxa [Fri, 10 Jul 2015 05:32:54 +0000 (08:32 +0300)]
Add TLS offset for pre-release OS X 10.11 on x86

8 years ago[llvm] Remove the restriction on handlers without invokes, its not needed any more.
Zoltan Varga [Thu, 9 Jul 2015 19:35:30 +0000 (15:35 -0400)]
[llvm] Remove the restriction on handlers without invokes, its not needed any more.

8 years ago[jit] Fix a regression introduced by ce567f4026d0b0c22469dbb54f6bf0f0de18b6f2. cfg...
Zoltan Varga [Thu, 9 Jul 2015 19:32:53 +0000 (15:32 -0400)]
[jit] Fix a regression introduced by ce567f4026d0b0c22469dbb54f6bf0f0de18b6f2. cfg->flags was initialized with a JitFlags value.

8 years ago[llvm] Fix the handling of nested clauses.
Zoltan Varga [Thu, 9 Jul 2015 19:22:54 +0000 (15:22 -0400)]
[llvm] Fix the handling of nested clauses.

8 years agoMerge pull request #1888 from joelmartinez/mdoc-flagsbug
Jonathan Pryor [Thu, 9 Jul 2015 16:26:26 +0000 (12:26 -0400)]
Merge pull request #1888 from joelmartinez/mdoc-flagsbug

[mdoc] Adds custom formatting for the `ObjCRuntime.Platform` enum.

8 years agoBump reference sources
Marek Safar [Thu, 9 Jul 2015 16:01:17 +0000 (18:01 +0200)]
Bump reference sources

8 years ago[System.Net.Http] Reading ContentLength value actually set header property value...
Marek Safar [Thu, 9 Jul 2015 15:46:53 +0000 (17:46 +0200)]
[System.Net.Http] Reading ContentLength value actually set header property value. Fixes #30561

8 years agoMerge pull request #1919 from bosmacs/master
João Matos [Thu, 9 Jul 2015 00:19:07 +0000 (01:19 +0100)]
Merge pull request #1919 from bosmacs/master

Add TLS offset for pre-release OS X 10.11 on amd64

8 years agoAdd TLS offset for pre-release OS X 10.11 on amd64
Craig S. Bosma [Thu, 9 Jul 2015 00:01:55 +0000 (19:01 -0500)]
Add TLS offset for pre-release OS X 10.11 on amd64

8 years ago[sdb] Allow boxed vtypes as this when invoking vtype methods. Fixes #30023.
Zoltan Varga [Wed, 8 Jul 2015 21:09:08 +0000 (17:09 -0400)]
[sdb] Allow boxed vtypes as this when invoking vtype methods. Fixes #30023.

8 years ago[mdoc] Adds custom formatting for the `ObjCRuntime.Platform` enum.
Joel Martinez [Fri, 19 Jun 2015 21:20:30 +0000 (17:20 -0400)]
[mdoc] Adds custom formatting for the `ObjCRuntime.Platform` enum.

This enum, which can be found in Xamarin's iOS and Mac products use a custom encoding
scheme which resulted in invalid values being shown when processed with mdoc. This patch
adds a special case to watch for this particular enumeration value, and decodes the data
correctly.

Additionally, the code that formats the values for flags enumerations was refactored. Future extensibility of this feature can now be done by simply implementing a new `FlagsFormatter`, and applying the proper logic in the `MakeAttributesValueString` function.

8 years ago[llvm] Fix a problem introduced by the previous change.
Zoltan Varga [Tue, 7 Jul 2015 22:32:21 +0000 (18:32 -0400)]
[llvm] Fix a problem introduced by the previous change.

8 years ago[llvm] Refactor the aot code a bit.
Zoltan Varga [Tue, 7 Jul 2015 22:24:05 +0000 (18:24 -0400)]
[llvm] Refactor the aot code a bit.

8 years ago[sdb] Allow invoking of valuetype ctors.
Zoltan Varga [Tue, 7 Jul 2015 20:32:57 +0000 (16:32 -0400)]
[sdb] Allow invoking of valuetype ctors.

8 years agoMerge pull request #1917 from rtollert/bump-nunit-4.5
João Matos [Tue, 7 Jul 2015 18:53:50 +0000 (19:53 +0100)]
Merge pull request #1917 from rtollert/bump-nunit-4.5

Bump nunit from mono/2.0 to mono/4.5.

8 years agoBump nunit from mono/2.0 to mono/4.5.
Richard Tollerton [Tue, 7 Jul 2015 17:17:04 +0000 (12:17 -0500)]
Bump nunit from mono/2.0 to mono/4.5.

8 years agoMerge pull request #1914 from kasthack/master
Marek Safar [Tue, 7 Jul 2015 08:54:40 +0000 (10:54 +0200)]
Merge pull request #1914 from kasthack/master

[System.Web] Added missing HttpRequestBase, HttpRequestWrapper and HttpRequest methods + properties:

8 years ago[aot] Fix static linking support when using llvm.
Zoltan Varga [Tue, 7 Jul 2015 02:01:31 +0000 (22:01 -0400)]
[aot] Fix static linking support when using llvm.

8 years ago[aot] Handle already gsharedvt methods correctly in add_extra_method_with_depth ().
Zoltan Varga [Tue, 7 Jul 2015 00:54:33 +0000 (20:54 -0400)]
[aot] Handle already gsharedvt methods correctly in add_extra_method_with_depth ().

8 years ago[gsharedvt] Handle gsharedvt methods correctly in check_method_sharing(). We need...
Zoltan Varga [Mon, 6 Jul 2015 23:51:04 +0000 (19:51 -0400)]
[gsharedvt] Handle gsharedvt methods correctly in check_method_sharing(). We need to pass mrgctx/vtable arguments for them since at runtime, the specific method called could be a non-gsharedvt method.

8 years ago[runtime] Remove unused MonoDomain fields
Ludovic Henry [Thu, 2 Jul 2015 20:51:18 +0000 (17:51 -0300)]
[runtime] Remove unused MonoDomain fields

8 years agoMerge pull request #1911 from ludovic-henry/threadpool-unhandled-exception
Rodrigo Kumpera [Mon, 6 Jul 2015 19:36:56 +0000 (15:36 -0400)]
Merge pull request #1911 from ludovic-henry/threadpool-unhandled-exception

[threadpool-ms] Fix unhandled exception support

8 years ago[aot] Mark the data arrays emitted using llvm as constant.
Zoltan Varga [Mon, 6 Jul 2015 19:01:13 +0000 (15:01 -0400)]
[aot] Mark the data arrays emitted using llvm as constant.

8 years ago[Mono.Posix] Allow building without [Obsolete] Mono.Posix.
Jonathan Pryor [Mon, 6 Jul 2015 17:57:26 +0000 (13:57 -0400)]
[Mono.Posix] Allow building without [Obsolete] Mono.Posix.

For a future Xamarin.Android release, we'd like to include
Mono.Posix.dll for simple Unix interop support.

That said, since Mono.Posix has never been included with
Xamarin.Andorid before, this makes a perfect opportunity to remove
some [Obsolete] cruft within Mono.Posix.dll, namely the types within
the Mono.Posix namespace.

Unfortunately, simply not compiling the types within the Mono.Posix
directory doesn't result in compilable code, due to references to
types within the Mono.Posix namespace by other types, e.g.
Mono.Unix.PeerCred using Mono.Posix.PeerCredData.

Fix things so that the Mono.Posix sources can be omitted, allowing
compilation of an assembly with fewer [Obsolete] types.

This change shrinks the size of Mono.Posix.dll by ~10.5KB.

8 years agoMerge pull request #1900 from esdrubal/cyclic-ref
Marcos Henrich [Mon, 6 Jul 2015 10:50:16 +0000 (11:50 +0100)]
Merge pull request #1900 from esdrubal/cyclic-ref

[runtime] mono_class_from_name cyclic ref handling

8 years agoMerge pull request #1906 from esdrubal/xbuild-CopyLocal-fix
Marcos Henrich [Mon, 6 Jul 2015 10:49:40 +0000 (11:49 +0100)]
Merge pull request #1906 from esdrubal/xbuild-CopyLocal-fix

[xbuild] Fixes copied TargetFramework assemblies.

8 years agoMerge pull request #1913 from RavuAlHemio/bug31635
João Matos [Mon, 6 Jul 2015 10:10:32 +0000 (11:10 +0100)]
Merge pull request #1913 from RavuAlHemio/bug31635

[Mono.Posix] Special-case UTF-32 in PtrToString. Fixes #31635.

8 years agoAdded missing HttpRequestBase, HttpRequestWrapper and HttpRequest methods + properties:
kasthack [Mon, 6 Jul 2015 06:23:51 +0000 (09:23 +0300)]
Added missing HttpRequestBase, HttpRequestWrapper and HttpRequest methods + properties:
* HttpRequestBase:GetBufferedInputStream, GetBufferlessInputStream,  InsertEntityBody, MapRawImageCoordinates, CurrentExecutionFilePathExtension, TimedOutToken
* HttpRequestWrapper: GetBufferedInputStream, GetBufferlessInputStream, MapRawImageCoordinates, TimedOutToken,
* Fixed MapPath parameter name(overridePath -> virtualPath)
* HttpRequest: GetBufferedInputStream, GetBufferlessInputStream(bool), MapRawImageCoordinates, TimedOutToken

8 years ago[Mono.Posix] Special-case UTF-32 in PtrToString. Fixes #31635.
Ondřej Hošek [Sat, 4 Jul 2015 00:05:30 +0000 (02:05 +0200)]
[Mono.Posix] Special-case UTF-32 in PtrToString. Fixes #31635.

Since UTF32Encoding returns 8 for GetMaxByteCount(1), PtrToString
expects 8 NUL bytes to stop scanning for the end of the string.
Since all the other UTF schemes are special-cased in
GetStringByteLength, do the same for UTF32Encoding.

8 years ago[jit] Add emulation r4 to u8 conversion. Fixes #31582.
Rodrigo Kumpera [Fri, 3 Jul 2015 18:32:04 +0000 (14:32 -0400)]
[jit] Add emulation r4 to u8 conversion. Fixes #31582.

Most targets, like arm and amd64 don't support fast float to ulong conversion.

8 years ago[threadpool-ms] Fix unhandled exception support
Ludovic Henry [Thu, 2 Jul 2015 16:40:32 +0000 (13:40 -0300)]
[threadpool-ms] Fix unhandled exception support

8 years ago[runtime] Fix cpu usage greater than 100% error
Ludovic Henry [Thu, 2 Jul 2015 18:42:44 +0000 (15:42 -0300)]
[runtime] Fix cpu usage greater than 100% error

We simply relax the conditions as we do not need a very high precision.

8 years agoMerge pull request #1907 from alexanderkyte/slow_aot_startup_hash
Rodrigo Kumpera [Thu, 2 Jul 2015 18:03:15 +0000 (14:03 -0400)]
Merge pull request #1907 from alexanderkyte/slow_aot_startup_hash

[runtime] Speed up find_aot_method_in_module

8 years ago[referencesource] Keep Mono's old default provider type value for RSA.
Alexis Christoforides [Thu, 2 Jul 2015 14:04:44 +0000 (17:04 +0300)]
[referencesource] Keep Mono's old default provider type value for RSA.
The value isn't used for the managed crypto code and is still validfor CryptoAPI, but if it changes Mono can't find keypairs made with earlier versions. Fixes #31199

8 years agoMerge pull request #1860 from saper/tz-fix
Marcos Henrich [Thu, 2 Jul 2015 14:06:16 +0000 (15:06 +0100)]
Merge pull request #1860 from saper/tz-fix

[corlib] Assume UTC if no $TZ set. Fixes #30698.

8 years agoBump reference sources
Marcos Henrich [Thu, 2 Jul 2015 09:53:40 +0000 (10:53 +0100)]
Bump reference sources

8 years ago[threadpool-ms] Fix segfault when using sdb
Ludovic Henry [Thu, 2 Jul 2015 01:30:00 +0000 (22:30 -0300)]
[threadpool-ms] Fix segfault when using sdb

8 years ago[runtime] Ease debugging of cpu_usage out of bound bug
Ludovic Henry [Wed, 1 Jul 2015 22:38:35 +0000 (19:38 -0300)]
[runtime] Ease debugging of cpu_usage out of bound bug