monojenkins [Tue, 21 Feb 2017 16:23:20 +0000 (16:23 +0000)]
[msvc] Update csproj files
Edward Betts [Tue, 21 Feb 2017 11:03:07 +0000 (11:03 +0000)]
correct spelling mistakes (#4405)
Marek Safar [Tue, 21 Feb 2017 10:55:44 +0000 (11:55 +0100)]
[mcs] Add codegen for null operator on result of awaited instance expression of property access. Fixes #52578
Marek Safar [Mon, 20 Feb 2017 16:23:39 +0000 (17:23 +0100)]
[configure] Remove mcs endianess check (it shouldn't be needed)
Marek Safar [Fri, 10 Feb 2017 11:15:47 +0000 (12:15 +0100)]
[Microsoft.CSharp] Replaced with CoreFX implementation
Marek Safar [Mon, 20 Feb 2017 16:26:47 +0000 (17:26 +0100)]
Merge pull request #4398 from marek-safar/mono.csharp
[Mono.CSharp] Remove type conflicts with mscorlib types. Fixes #52590
Marek Safar [Sat, 18 Feb 2017 13:09:18 +0000 (14:09 +0100)]
Bump corefx
Marek Safar [Mon, 20 Feb 2017 16:12:52 +0000 (17:12 +0100)]
[mcs] Inflate constraints of compiler generated proxy base call methods. Fixes #52294
Marek Safar [Sat, 18 Feb 2017 14:18:31 +0000 (15:18 +0100)]
[Mono.CSharp] Simplify .sources structure
Zoltan Varga [Sat, 18 Feb 2017 21:37:10 +0000 (16:37 -0500)]
[jit] Fix support for gsharedvt constrained calls which return enums. Fixes #52600.
Ludovic Henry [Fri, 17 Feb 2017 19:47:24 +0000 (14:47 -0500)]
[threadpool] Let the runtime abort and wait for threads on shutdown (#4348)
* [threadpool] Let the runtime abort and wait for threads on shutdown
We would previously have the threadpool abort and wait for its threads during runtime shutdown, but it would tend to be buggy or leaky. The runtime already takes care of aborting and waiting all the other threads, so we simply also let it take care of the threadpool threads.
* [threadpool] Wake up all parked threads on shutdown
This fixes a hang at shutdown, where one or more threadpool threads might not be unparked and only exit after the timeout, delaying runtime shutdown.
Ankit Jain [Fri, 17 Feb 2017 18:32:13 +0000 (13:32 -0500)]
[xbuild] Show the deprecation notice with logo, and so hide it with (#4399)
`/nologo`. It is not controlled by logging levels now.
But we also show the deprecation notice if we couldn't parse
the arguments, which would be more likely to be noticed by a user.
Ludovic Henry [Fri, 17 Feb 2017 14:23:39 +0000 (09:23 -0500)]
[ProcessTest] Ensure we enable raising Exited event (#4397)
Marek Safar [Fri, 17 Feb 2017 13:50:47 +0000 (14:50 +0100)]
[Mono.CSharp] Remove type conflicts with mscorlib types. Fixes #52590
Jonathan Pryor [Thu, 16 Feb 2017 22:17:37 +0000 (17:17 -0500)]
Merge pull request #4396 from radical/xbuild-deprec-fix
[xbuild] Don't show the deprecation notice for minimal or quiet logging
Bernhard Urban [Wed, 15 Feb 2017 23:40:51 +0000 (00:40 +0100)]
[interpreter] move interpreter specific trampoline definition to mini.h, also move trampoline outside of DISABLE_JIT guard
Bernhard Urban [Thu, 9 Feb 2017 19:42:19 +0000 (20:42 +0100)]
[interpreter] clean up exported symbols and header organization
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] remove temporary generic-interp.cs, and use Category attribute to disable testcases that fail with the interpreter
add objects.cs as well and disable test cases accordingly.
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] respect Category Attribute for --regression tests
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] hacky implementation for create_method_pointer
not quite sure yet what the requirements are, but this works now for
executing a simple hello world :-) in metadata/gc.c we use this
interface to call the Finalize method on objects.
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] force vtable setup before method lookup
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] skip boxing if it's already a non-valuetype
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] fix misc type resolving issues
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] pop from value type stack when loading field from value type
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] fix off-by-one errors around loading and storing args
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] implement constrained.callvirt insn
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] special casing for string objects
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] implement {st,ld}elem for value types
Bernhard Urban [Thu, 9 Feb 2017 19:42:18 +0000 (20:42 +0100)]
[interpreter] use runtime helper to unbox `this'
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[interpreter] make mint_{ldind_i,box} so that it can also operate on elements deeper on the stack
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[interpreter] allow value types to be passed in interp->native transition and up to six args
won't work for windows.
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[interpreter] simplify {ld,st}sfld insns and use runtime helpers
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[interpreter] be more verbose for debugging
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[interpreter] respect GENERICINST in stackval_from_data
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[interpreter] use `mono_value_copy` instead of doing a manual memcpy.
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[interpreter] add more regression tests to generics-interp.cs
Bernhard Urban [Thu, 9 Feb 2017 19:42:17 +0000 (20:42 +0100)]
[driver] allow --interpreter for regular execution
Ankit Jain [Thu, 16 Feb 2017 21:56:28 +0000 (16:56 -0500)]
[xbuild] Don't show the deprecation notice for minimal or quiet logging
.. levels. This is useful for scripts that might depend on minimal/quiet
levels, to parse output of a specific target execution, eg.
Xamarin.Android .
Ludovic Henry [Mon, 13 Feb 2017 19:19:21 +0000 (14:19 -0500)]
[threadpool] Extract ThreadPoolDomain creation from tpdomain_get
Ludovic Henry [Wed, 8 Feb 2017 19:32:00 +0000 (14:32 -0500)]
[threadpool] Make sure we check if the runtime is shutting down in case of interruption
Ludovic Henry [Wed, 8 Feb 2017 16:35:28 +0000 (11:35 -0500)]
[threadpool] Make ThreadPoolWorker staticaly allocated
Ludovic Henry [Tue, 7 Feb 2017 21:50:34 +0000 (16:50 -0500)]
[threadpool] Make ThreadPool global variable staticaly allocated
We wouldn't free it on cleanup, so we would end up leaking it anyway.
Aleksey Kliger [Wed, 15 Feb 2017 20:58:21 +0000 (15:58 -0500)]
[w2file] Fix shutdown assert in checked mode
console_close triggered a MONO_REQ_GC_SAFE_MODE assert in checked mode on
because the console handles were unref'd which caused them to close.
Until w32handle is coop-aware, just transition to GC unsafe mode (a noop if
it's already in unsafe) in these callbacks.
Aleksey Kliger [Wed, 15 Feb 2017 19:43:34 +0000 (14:43 -0500)]
[w32file] Transition to GC safe mode when file handles unref'd.
And don't transition around calls to mono_w32file_close which does its own coop transition
Aleksey Kliger [Wed, 15 Feb 2017 19:39:55 +0000 (14:39 -0500)]
[checked] Include file and line number in thread state assertions.
Alexander Köplinger [Thu, 16 Feb 2017 18:40:35 +0000 (19:40 +0100)]
Revert "[ci] Temporarily use http url to download server until cert is fixed"
This reverts commit
9281d4a7e6a644a73c87819139a5d3047052c1bb.
SSL works again now on the download server
Ludovic Henry [Thu, 16 Feb 2017 18:10:33 +0000 (13:10 -0500)]
[process] Allocate a handle even for non-child processes (#4393)
Rodrigo Kumpera [Thu, 16 Feb 2017 17:42:57 +0000 (09:42 -0800)]
Merge pull request #4385 from mono/work-btls-
02152017
[btls]: Make configure fail when building on Android without '--with-btls-android-ndk'
monojenkins [Thu, 16 Feb 2017 16:35:07 +0000 (17:35 +0100)]
[msvc] Update csproj files (#4395)
Ludovic Henry [Thu, 16 Feb 2017 12:20:41 +0000 (07:20 -0500)]
[treadpool] Fix flaky System.Threading.ThreadTest.SetNameInThreadPoolThread test (#4392)
Ludovic Henry [Thu, 16 Feb 2017 12:18:12 +0000 (07:18 -0500)]
[socket] Add EPROTOTYPE error case (#4391)
Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=52549
Rodrigo Kumpera [Thu, 16 Feb 2017 09:01:33 +0000 (01:01 -0800)]
Merge pull request #4376 from kumpera/test-hardneing
Disable some flaky tests and harden another one.
Alexander Köplinger [Thu, 16 Feb 2017 01:58:08 +0000 (02:58 +0100)]
[System] Fix failing ClientWebSocket test
The wrong part of the ifdef was deleted in
a4df7d4923aa,
we need to InvalidOperationException instead of PNSE.
Ludovic Henry [Thu, 16 Feb 2017 01:56:49 +0000 (20:56 -0500)]
[socket] Fix bad parameter passed to select (#4390)
If fd is equals to FD_SETSIZE, then we pass (FD_SETSIZE + 1) as first parameter to select, making it return EINVAL.
Alexander Köplinger [Thu, 16 Feb 2017 01:55:45 +0000 (02:55 +0100)]
Merge pull request #4386 from akoeplinger/fix-netstandard
Fix netstandard facade build and remove the NETSTANDARD ifdef from profiles
Ludovic Henry [Thu, 16 Feb 2017 01:46:26 +0000 (20:46 -0500)]
[socket] Fix race on SocketAsyncResult (#4389)
It might be possible that the callback modifies the current SocketAsyncResult via the Init method. We observe it with AcceptAsync with a ReceiveAsync in the callback.
Marek Safar [Wed, 15 Feb 2017 23:04:19 +0000 (00:04 +0100)]
[System] Fixes failing tests on mobile
Rodrigo Kumpera [Wed, 15 Feb 2017 22:34:29 +0000 (14:34 -0800)]
[corlib] Assert of wait failure.
Alexander Köplinger [Wed, 15 Feb 2017 18:53:59 +0000 (19:53 +0100)]
[bcl] Remove the NETSTANDARD ifdef from profiles
We're always using the code now and will deal with the
differences to .NET 4.x by producing reference assemblies.
Alexander Köplinger [Wed, 15 Feb 2017 18:33:25 +0000 (19:33 +0100)]
[Facades] Fix netstandard facade build
Martin Baulig [Wed, 15 Feb 2017 18:13:58 +0000 (19:13 +0100)]
[btls]: Make configure fail when building on Android without '--with-btls-android-ndk'.
When building on Android with BTLS support, the '--with-btls-android-ndk' argument
is required to teach the underlying cmake the NDK location. Fixes #52511.
monojenkins [Wed, 15 Feb 2017 16:33:08 +0000 (17:33 +0100)]
[msvc] Update csproj files (#4384)
Marek Safar [Wed, 15 Feb 2017 16:17:44 +0000 (17:17 +0100)]
[mcs] lifted binary operator for decimal arguments need to call user operator for comparison. Fixes #52086
Alexander Köplinger [Wed, 15 Feb 2017 16:01:34 +0000 (17:01 +0100)]
[man] Remove outdated version numbers (#4382)
We haven't been consistent in keeping those version numbers
up to date as we bump Mono's version so it's less confusing
to not show them in the manual pages.
`mono --version` is and has been the source of truth.
Marek Safar [Wed, 15 Feb 2017 13:34:06 +0000 (14:34 +0100)]
[mcs] Always resolve new initializers with conditional access receivers enabled. Fixes #52340
Marek Safar [Tue, 14 Feb 2017 15:20:31 +0000 (16:20 +0100)]
[System.Net.Http] Add Transfer-Encoding: chunked special handling. Fixes #47599
Marek Safar [Wed, 15 Feb 2017 11:07:58 +0000 (12:07 +0100)]
Merge pull request #4371 from marek-safar/cecil-update
Cecil update
Marek Safar [Tue, 14 Feb 2017 16:04:21 +0000 (17:04 +0100)]
[Mono.CodeContracts] Read debug symbols only when they are going to be used
Marek Safar [Mon, 13 Feb 2017 11:35:38 +0000 (12:35 +0100)]
Cecil update
Rodrigo Kumpera [Wed, 15 Feb 2017 00:33:28 +0000 (16:33 -0800)]
[corlib] Rewrite the timer tests to something that can actually be verified.
Alexander Köplinger [Tue, 14 Feb 2017 21:13:47 +0000 (22:13 +0100)]
[System.ServiceModel.Internals] Use the mobile sources for testing_aot_full and orbis profile (#4378)
Aleksey Kliger [Tue, 14 Feb 2017 17:39:59 +0000 (12:39 -0500)]
[w32file] transition to GC unsafe in file handle close callbacks.
Followup to last commit (
f238640c9ff855bc5c2ab812cf21fd747a624dc9).
We need to transition to unsafe to call file_share_release and the _wapi_
functions, and then back to safe to call close(2).
Aleksey Kliger (λgeek) [Tue, 14 Feb 2017 16:41:38 +0000 (11:41 -0500)]
[w32file] Push coop transitions into functions, closer to syscalls (#4370)
* [w32file] Push coop transitions into functions, closer to syscalls
Previous the coop transitions happened in the icalls and high level
platform-independent functions. Now they surround syscalls and platform API
calls, instead.
(Among other benefits, this fixes a problem where MoveFile on unix was
implemented in some circumstances in terms of CopyFile which resulted in an
illegal coop transition from blocking to blocking.)
* There is a FIXME with `mono_w32handle_new_fd` and `mono_w32handle_close`: the w32handle API is not coop-friendly yet, so we have to switch to gc safe mode around calls to `w32handle_new_fd` and `w32handle_close`. In the case of `w32handle_close`, it calls back into the w32file functions `pipe_close`, `console_close` and `file_close`. So the calls to `close(2)` inside those functions are not surrounded by transitions to GC safe mode - instead they require that we're already in safe mode (as is the case when they're called from w32handle).
Neale Ferguson [Tue, 14 Feb 2017 13:47:21 +0000 (08:47 -0500)]
Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
* During the ambiguous hour .NET will return the DST version of the time whereas mono is returning the base time. Rather than use the transitions array we look up the Adjustment rules (which are created from the transition rules in the first place).
In addition, CurrentTimeToUtc() also has problems around the transition time.
Added test and fixed another.
Fixes #43805.
* Despite the tutorial on msdn about daylight saving time, .NET interprets the 'ambiguous' hour of DST as being DST rather than standard time which is what mono did.
Rodrigo Kumpera [Tue, 14 Feb 2017 05:51:55 +0000 (21:51 -0800)]
[corlib] Harden a GC test against possible false pinnig.
Rodrigo Kumpera [Tue, 14 Feb 2017 05:38:52 +0000 (21:38 -0800)]
[corlib] Disable broken tests that depend on crazy precise scheduling and system timers.
The disabled tests assume perfect scheduling and non-coalescing system timers. Neither exists
on OSX Sierra, iOS or Android. This tests fail there regularly.
mathieubourgeois [Tue, 14 Feb 2017 02:53:05 +0000 (21:53 -0500)]
Fix when() clause cutting stack traces when filtering doesn't succeed (fix for 46661) (#4328)
* * [exceptions] When encountering a filter (when) clause, don't setup the stack trace before we know if the filter is going to work. Otherwise, any exception that isn't blocked by the when clause will have its stack trace cut at the point of the parent of the function containing the when clause
* Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=46661
* + Added test case for bug 46661
Alexander Köplinger [Tue, 14 Feb 2017 02:38:02 +0000 (03:38 +0100)]
[Facades] Update netstandard facade to latest
Includes latest changes from dotnet/standard repo.
Vincent Povirk [Mon, 13 Feb 2017 23:26:39 +0000 (17:26 -0600)]
[tests] Fix out of tree build. (#4372)
Alexis Christoforides [Mon, 13 Feb 2017 23:13:23 +0000 (18:13 -0500)]
[MacSDK] Updated location of bundled PCL assemblies
Alexis Christoforides [Mon, 13 Feb 2017 22:22:07 +0000 (17:22 -0500)]
Bump Bockbuild
Alexis Christoforides [Mon, 13 Feb 2017 22:05:24 +0000 (17:05 -0500)]
[MacSDK] Switch back to xbuild for IronPython build. MSBuild seems to be having trouble
Alexis Christoforides [Mon, 13 Feb 2017 22:02:14 +0000 (17:02 -0500)]
Bump Bockbuild
Marek Safar [Mon, 13 Feb 2017 15:05:54 +0000 (16:05 +0100)]
[System.Net.Http] Allow re-sending StreamContent. Fixes #52448
Zoltan Varga [Mon, 13 Feb 2017 19:35:41 +0000 (14:35 -0500)]
[jit] Disable llvm for overly complex methods, to avoid compilation slowdowns. Fixes #52475.
Zoltan Varga [Mon, 13 Feb 2017 19:34:59 +0000 (14:34 -0500)]
[ssa] Fix an assertion if the buffer used to keep renaming history gets full.
Alexis Christoforides [Mon, 13 Feb 2017 19:19:02 +0000 (14:19 -0500)]
Bump Bockbuild
Alexis Christoforides [Mon, 13 Feb 2017 18:47:00 +0000 (13:47 -0500)]
Bump bockbuild
Alexis Christoforides [Mon, 13 Feb 2017 14:56:11 +0000 (09:56 -0500)]
Bump bockbuild
Alexis Christoforides [Mon, 13 Feb 2017 13:29:39 +0000 (08:29 -0500)]
Bump bockbuild
Alexis Christoforides [Mon, 13 Feb 2017 12:47:31 +0000 (07:47 -0500)]
[MacSDK] updates
Alexis Christoforides [Mon, 13 Feb 2017 12:14:09 +0000 (07:14 -0500)]
[MacSDK] Update F#
Marek Safar [Mon, 13 Feb 2017 11:49:38 +0000 (12:49 +0100)]
[System] Fixes failing tests on watch
Alexis Christoforides [Mon, 13 Feb 2017 11:37:41 +0000 (06:37 -0500)]
Bump bockbuild
Alexis Christoforides [Mon, 13 Feb 2017 08:55:16 +0000 (03:55 -0500)]
[MacSDK] Use full Mono version, incl. build number in build
Also add a VERSION file in the package.
Alexis Christoforides [Mon, 13 Feb 2017 10:32:56 +0000 (05:32 -0500)]
[MacSDK] Update MSBuild
Alexis Christoforides [Mon, 13 Feb 2017 04:40:37 +0000 (23:40 -0500)]
Move Mac package command to scripts so that it's available without configuring
Marek Safar [Mon, 13 Feb 2017 09:09:01 +0000 (10:09 +0100)]
[System.ServiceModel] Disable unreliable test
Marek Safar [Fri, 10 Feb 2017 15:13:25 +0000 (16:13 +0100)]
Bump roslyn to rc4
Ludovic Henry [Sun, 12 Feb 2017 16:10:42 +0000 (11:10 -0500)]
[finalizer] Suspend finalizer thread on after shutdown timeout (#4363)
Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=52429