monojenkins [Thu, 23 Feb 2017 16:57:08 +0000 (16:57 +0000)]
[msvc] Update csproj files
Zoltan Varga [Thu, 23 Feb 2017 22:26:46 +0000 (17:26 -0500)]
[jit] Remove an #ifdef ENABLE_LLVM from mini-os.h, the cross-compile genmdesc.pl can't handle it.
Rodrigo Kumpera [Thu, 23 Feb 2017 21:14:23 +0000 (13:14 -0800)]
Merge pull request #4419 from BrzVlad/fix-oom-nre
[sgen] Fix oom nre
Zoltan Varga [Thu, 23 Feb 2017 20:37:15 +0000 (15:37 -0500)]
[linker] Update the mscorlib descriptor with missing generic interfaces.
Alexis Christoforides [Thu, 23 Feb 2017 20:13:05 +0000 (15:13 -0500)]
Update Bockbuild
Alexander Köplinger [Thu, 23 Feb 2017 15:11:40 +0000 (16:11 +0100)]
Force LF line endings for .sources and Makefiles too
This should fix the Windows build.
Marek Safar [Thu, 23 Feb 2017 15:09:13 +0000 (16:09 +0100)]
[mcs] Use correct types comparer for comparing hidden imported interface members. Fixes #51522
Alexander Köplinger [Thu, 23 Feb 2017 13:21:55 +0000 (14:21 +0100)]
Fix Windows build due to line ending changes in sed
The recent sed update in cygwin [1] changed the way sed handles
carriage returns. This meant that every .in file we processed
still contained CR, which doesn't work for .sh files.
Force LF line endings for those files (and also other shell scripts).
[1] https://cygwin.com/ml/cygwin-announce/2017-02/msg00036.html
Marek Safar [Thu, 23 Feb 2017 11:29:13 +0000 (12:29 +0100)]
[mcs] Emit leave for redirected jumps out of rewritten finally exit scope. Fixes #52599
Marek Safar [Thu, 23 Feb 2017 10:33:05 +0000 (11:33 +0100)]
[System] Tweak socket test
Marek Safar [Wed, 22 Feb 2017 16:13:23 +0000 (17:13 +0100)]
Fixes windows po/ build
Marek Safar [Thu, 23 Feb 2017 10:07:12 +0000 (11:07 +0100)]
[System] Update flaky test
Egor Bogatov [Thu, 23 Feb 2017 00:02:54 +0000 (03:02 +0300)]
[System.Data] referencesource -> corefx: ProviderBase & SqlClient stuff (#4383)
* [System.Data] referencesource -> corefx
* [System.Data] referencesource -> corefx
* [System.Data] corefx migration, fix ActivityCorrelator
* [System.Data] use DbProviderFactory, DbConnectionPoolGroupProviderInfo, OperationAbortedException from corefx
Vlad Brezae [Wed, 22 Feb 2017 23:29:27 +0000 (01:29 +0200)]
[sgen] Throw OOM also from the managed allocator
Allocation functions from object.c correctly throw OOM when sgen allocation returns NULL. When allocating with the managed allocator we invoke sgen directly (as a fallback) and we didn't handle the NULL return case.
Fixes #52437
Vlad Brezae [Wed, 22 Feb 2017 22:56:29 +0000 (00:56 +0200)]
[sgen] Rename confusing variable
Vlad Brezae [Wed, 22 Feb 2017 22:35:22 +0000 (00:35 +0200)]
Merge pull request #4403 from BrzVlad/fix-workers-par-context
[sgen] Lock around worker start, not only finishing
Zoltan Varga [Wed, 22 Feb 2017 20:06:08 +0000 (15:06 -0500)]
[arm] Fix the passing of structs with 8 byte alignment with llvm on armeabi, they need to be passed as an int64 array to let llvm know that it might need to insert a dummy argument so they are passed in a even register pair. Fixes #52548.
Ludovic Henry [Wed, 22 Feb 2017 19:55:59 +0000 (14:55 -0500)]
[threads] Ensure we have balanced appdomain push/pop when attaching the thread on shutdown (#4416)
Marek Safar [Wed, 22 Feb 2017 10:02:09 +0000 (11:02 +0100)]
Bump corefx
Zoltan Varga [Wed, 22 Feb 2017 17:49:10 +0000 (12:49 -0500)]
[runtime] Use TARGET_WIN32 instead of HOST_WIN32 when setting calling conventions, so cross compilers running on windows do the right thing. (#4412)
Zoltan Varga [Wed, 22 Feb 2017 17:47:47 +0000 (12:47 -0500)]
[runtime] Fix mono_bitset_count () so it works on win64 as well. (#4413)
Marek Safar [Wed, 22 Feb 2017 10:19:49 +0000 (11:19 +0100)]
Bump ikvm
Marek Safar [Wed, 22 Feb 2017 09:35:08 +0000 (10:35 +0100)]
[System] Test fix for watch
Ludovic Henry [Tue, 21 Feb 2017 23:42:42 +0000 (18:42 -0500)]
[Process] Fix NonChildProcessWaitForExit Exited callback (#4409)
Alexis Christoforides [Tue, 21 Feb 2017 23:21:35 +0000 (18:21 -0500)]
Update bockbuild
Rodrigo Kumpera [Tue, 21 Feb 2017 21:45:51 +0000 (16:45 -0500)]
Merge pull request #4380 from alexanderkyte/conflicting_attrs
[runtime] Fail gracefully when method has conflicting attributes
Zoltan Varga [Tue, 21 Feb 2017 21:04:52 +0000 (16:04 -0500)]
[jit] Remove some dead code.
Ludovic Henry [Tue, 21 Feb 2017 20:34:03 +0000 (15:34 -0500)]
[threadpool] Do not swallow exception in RegisterWaitForSingleObject callback (#4408)
Alexis Christoforides [Tue, 21 Feb 2017 19:40:14 +0000 (14:40 -0500)]
Update bockbuild
Marek Safar [Tue, 21 Feb 2017 18:49:47 +0000 (19:49 +0100)]
Revert "[configure] Remove mcs endianess check (it shouldn't be needed)"
This reverts commit
9aa9822808a622648d3235bc931c6ca675cf7bf0.
Alexis Christoforides [Tue, 21 Feb 2017 18:41:23 +0000 (13:41 -0500)]
Merge pull request #4169 from evincarofautumn/fix-xmm-scanning-mac-x86
Fix XMM scanning on Mac x86.
Marek Safar [Tue, 21 Feb 2017 16:58:46 +0000 (17:58 +0100)]
Bump cecil
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
Vlad Brezae [Mon, 20 Feb 2017 16:11:52 +0000 (18:11 +0200)]
[sgen] Lock around worker start, not only finishing
If we don't take the finished_lock when starting workers, the workers that we started could have already finished the work and switch to non-parallel context before we are even able to signal all of them.
Marek Safar [Sat, 18 Feb 2017 14:18:31 +0000 (15:18 +0100)]
[Mono.CSharp] Simplify .sources structure
Alexander Kyte [Tue, 14 Feb 2017 18:30:36 +0000 (13:30 -0500)]
[runtime] Fail gracefully when method has conflicting attributes
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