Johan Lorensson [Wed, 28 Sep 2016 06:40:30 +0000 (08:40 +0200)]
Merge pull request #3626 from lateralusX/jlorenss/win-api-family-support-eglib
Build eglib under none desktop Windows API family.
Rodrigo Kumpera [Wed, 28 Sep 2016 00:11:23 +0000 (20:11 -0400)]
Merge pull request #3658 from kumpera/fix-ios-logging
[logging] Fix logging on iOS. We lost asl redirection and it was sending to stdout instead.
Ludovic Henry [Tue, 27 Sep 2016 21:44:51 +0000 (23:44 +0200)]
[threads] Signal the w32handle later in the thread destruction process (#3652)
Rodrigo Kumpera [Tue, 27 Sep 2016 21:39:24 +0000 (14:39 -0700)]
[logging] Fix logging on iOS. We lost asl redirection and it was sending to stdout instead.
Aleksey Kliger (λgeek) [Tue, 27 Sep 2016 21:02:18 +0000 (17:02 -0400)]
[coop handles] Add some memory fences (#3617)
When running with async suspend (ie, not coop), a user thread might be
suspended while its manipulating the coop handle stack. In that case,
we want to present a consitent view to mono_handle_stack_scan () by
adding memory fences to code that updates the stack chunks. In
particular we want to ensure that the chunk size is increased after
the new slot has a valid (null) value. Also when creating new chunks
make sure their size is initialized before the chunk stack is updated.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=43921 (at least the
one stack trace observed in [comment 1](https://bugzilla.xamarin.com/show_bug.cgi?id=43921#c1)).
Martin Baulig [Tue, 27 Sep 2016 09:53:05 +0000 (11:53 +0200)]
[Mono.Security.Interface] Cleanup and simplify MonoTlsProviderFactory.
The "global" TLS Provider (returned by MonoTlsProviderFactory.GetProvider())
may only be modified at application startup (before any of the TLS / Certificate
code has been used).
* MonoTlsProviderFactory.HasProvider has been removed.
This property used to initialize the TLS Subsystem without throwing any
exceptions. However, properties with side-effects is a bad design principle.
* Add MonoTlsProviderFactory.IsInitialized.
Does not have any side-effects.
* Add MonoTlsProviderFactory.Initialize() and Initialize(string).
May only be called at application startup and explicitly initializes the
TLS Subsystem.
* Rename MonoTlsProviderFactory.GetDefaultProvider() into GetProvider()
and removed MonoTlsProviderFactory.GetCurrentProvider().
We do not distinguish between a "default" and a "current" provider anymore;
there is only one "global" provider.
* Add MonoTlsProviderFactory.IsProviderSupported(string).
Checks whether a specific TLS Provider is supported, without having side-effects.
* Make the old APIs [Obsolete] until products have been updated.
* Add some documentation to MonoTlsProviderFactory.
(cherry picked from commit
7c3ae83b31a2456d00daf2949706719e3e694d15)
Zoltan Varga [Tue, 27 Sep 2016 19:23:40 +0000 (15:23 -0400)]
[llvm] Enable support for large basic blocks again.
llc has some performance problems with large basic blocks so we have to break them up into smaller ones. Use some hacks to prevent opt/llc from merging them back again.
Marek Safar [Tue, 27 Sep 2016 19:24:11 +0000 (21:24 +0200)]
Merge pull request #3656 from marek-safar/bootstrap
[build] Bootstrap extension for roslyn
Aleksey Kliger [Fri, 23 Sep 2016 20:08:52 +0000 (16:08 -0400)]
[runtime] Fix MonoMethod.get_base_method when abstract methods are not overridden
When there is an abstract class in the middle of an inheritance
hierarchy that doesn't override a method, get_base_methods needs to search
the parent class instead aborting early.
Example:
```
abstract class Root {
public abstract void Foo ();
}
abstract class Abs : Root { }
class Derived : Abs {
public override void Foo () { }
}
```
If we ask for the base method of Derived.Foo we used to get Derived.Foo
back because Abs did not provide an override. Instead we should skip
abs and look in Root.
Marek Habersack [Tue, 27 Sep 2016 18:31:19 +0000 (20:31 +0200)]
Fix trace logging on Android
Introduction of the structured trace logger accidentally broke Android
logcat logging. The reason for this is that the default logging handler
defined in eglib (in goutput.c) for Android was never called, instead it
was superseeded by the log file logger defined in mono-logger.c
The net effect was that Mono tried to write the messages to some file on
Android leaving logcat devoid of any trace of life :)
This commit fixes the issue by introducing a set of structured logging
functions for Android.
As a side note - file logging on Android is not that useful. Writing to
a file on external storage medium requires app permissions and writing
to a location on internal storage medium, while allowed, might be
subject to space limitations and should not be used for possibly
voluminous data. It's therefore not very practical on Android.
Marek Safar [Tue, 27 Sep 2016 07:19:05 +0000 (09:19 +0200)]
[build] Bootstrap extension for roslyn
Rolf Bjarne Kvinge [Tue, 27 Sep 2016 11:13:38 +0000 (13:13 +0200)]
[System*] Throw a PlatformNotSupported exception when using the networking stack on watchOS. (#3606)
* [System] Fix line endings for a few files.
Best reviewed by not showing whitespace changes (should be empty diff in that case).
* [System] Fix potential crash in CookieParserTests.
Socket.EndAccept can throw an exception, which will crash the process if it
happens on a threadpool. So handle any exceptions when calling
Socket.EndAccept, and propagate those exceptions out of any threadpool code.
* [System.Net.Http] Throw a PlatformNotSupported exception when using HttpClientHandler on watchOS.
* [System.Net.Http] Tweak tests after watchOS API change.
Unfortunately the [ExpectedException] attribute can't be put on an entire
class, so remove the [Category ("RequiresBSDSockets")] attribute on the class
and instead decorate each test with an [ExpectedException] attribute.
* [System] Extract the HttpListenerResponseHelper class to a separate file.
Extract the HttpListenerResponseHelper class to a separate file so that it's
easier to replace the HttpListenerResponse implementation by using a different
file.
* [System] Throw a PlatformNotSupported exception when using the networking stack on watchOS.
* [System] Tweak tests after watchOS API changes.
Unfortunately the [ExpectedException] attribute can't be put on an entire
class, so remove the [Category ("RequiresBSDSockets")] attribute on the class
and instead decorate each test with an [ExpectedException] attribute.
* [System] Fix potential crash in SocketAcceptAsyncTest.
Fix potential crash in SocketAcceptAsyncTest by catching any exceptions in
code executed on the threadpool so that we never end up with unhandled
exceptions (which may terminate the process).
* [System] Avoid logic in SetUp attributes in tests.
Any type of exception in [SetUp] attributes causes all tests to fail with that
exception.
This even happens for tests that do not need the logic in the [SetUp]
attribute.
So rewrite tests a bit to not use [SetUp] when we can reasonably avoid it, and
instead instantiate class-level variables on first use. This ensures that any
exceptions that occur when initializing those variables are attributed to the
corresponding test, and not all of them.
* [System] Make exception handler (for test) catch more exceptions to avoid unhandled exceptions causing process termination.
* [System] Remove Obsolete attribute on API that throws PNSE.
Rolf Bjarne Kvinge [Fri, 23 Sep 2016 11:53:36 +0000 (13:53 +0200)]
[corlib] Add API to uninstall/reinstall signal handlers.
This API is provided to be used by libraries providing crash reporting, so
that those libraries can install signal handlers and at the same time not
interfere with Mono's signals.
The intended pattern is this:
Mono.Runtime.RemoveSignalHandlers ();
InstallThirdPartySignalHandlers ();
Mono.Runtime.InstallSignalHandlers ();
This ensures that Mono is always notified first of any signals, and will then
chain to the third-party signal handlers if the signal did not originate in
managed code.
Mono's signals must first be removed, so that if third-party signal handler
does signal chaining, we don't end up in Mono's signal handler again.
Mailing-list thread: http://lists.dot.net/pipermail/macios-devel/2016-September/000016.html [Signal-chaining & crash reporters]
Example usage: https://github.com/rolfbjarne/HockeySDK-Xamarin/commit/
862721199f1adec210bfc7b1943f975ffb8048a9
Rolf Bjarne Kvinge [Tue, 13 Sep 2016 11:18:10 +0000 (13:18 +0200)]
[mini] Provide a free function to the saved signal handler hash table.
This makes the cleanup code simpler, and also makes it easier to
replace saved signal handlers without having to worry about
leaking memory.
Vlad Brezae [Tue, 27 Sep 2016 10:10:01 +0000 (13:10 +0300)]
Merge pull request #3647 from BrzVlad/fix-sgen-internal-alloc
[sgen] Fix sgen internal alloc
Martin Baulig [Mon, 26 Sep 2016 10:39:29 +0000 (12:39 +0200)]
[Mono.Security]: Cleanup Mono.Security.Interface.CertificateValidationHelper.
* CertificateValidationHelper.GetDefaultValidator(): rename this internal method into
GetInternalValidator() (keeping the old as [Obsolete] until products have been updated).
* CertificateValidationHelper.GetValidator(): remove the 'provider' argument.
This is part of a set of cleanups and simplifications for the upcoming BTLS integration.
lateralusX [Tue, 27 Sep 2016 09:28:57 +0000 (11:28 +0200)]
Build eglib under none desktop Windows API family.
Initial work to build eglib under none desktop Windows API family. Classic
Windows API have been split into families and partitions in order to support
different subsets on different Windows platforms. In order to build against
other Windows targets/platforms Mono needs to follow these families/partitions
in order to successfully build where API’s have been removed/replaced. Since most
Mono platforms uses the Windows API signatures a new defined has been added to all
platforms, HAVE_CLASSIC_WINAPI_SUPPORT, used to decide what implementation to include.
On none Windows platforms this is always defined and on Windows platforms it follows the
winapifamily.h. In order to keep down regressions, the existing API’s are kept for HAVE_CLASSIC_WINAPI_SUPPORT
even if there are more modern replacements available.
Ludovic Henry [Tue, 27 Sep 2016 08:43:59 +0000 (10:43 +0200)]
[w32handle] Ensure we initialize begore the gc attach the current thread (#3644)
Marek Safar [Tue, 27 Sep 2016 06:20:05 +0000 (08:20 +0200)]
Merge pull request #3643 from marek-safar/bootstrap
[build] Bump mono bootstrap dependency to Mono 4.0+
Miguel de Icaza [Tue, 27 Sep 2016 02:16:49 +0000 (22:16 -0400)]
[mini] Add some documentation comments to some IR generating macros
Vlad Brezae [Mon, 26 Sep 2016 20:33:56 +0000 (23:33 +0300)]
[sgen] Untag the vtable during concurrent mark
For now, concurrent mark runs concurrently with bridge during minors. Since bridge processing might tag object vtables, make sure we don't crash when we scan such objects.
Vlad Brezae [Mon, 26 Sep 2016 17:04:51 +0000 (20:04 +0300)]
[sgen] Fix internal allocation
After recent header size change in
883e0a2d899a6a19db2c1d5222d45b8423ce36a2, we had some slot sizes unaligned which was leading to unaligned memory allocation and therefore SIGBUS-es on some ARMs.
We used to have all allocators use 16k blocks and slot sizes optimized for this. After we switched to allocating in 4k, 8k and 16k blocks the slot sizes were not optimized for the new format.
This commit fixes unaligned problems, at the same time optimizing the size of allocator slots.
Zoltan Varga [Mon, 26 Sep 2016 18:54:37 +0000 (14:54 -0400)]
[aot] Make sure generic wrappers are unique by creating shared versions of the them in the same order that AOT creates them (shared method -> wrapper).
Marek Safar [Mon, 26 Sep 2016 18:45:48 +0000 (20:45 +0200)]
[System] Fixes SendGenericExceedBuffer test
Zoltan Varga [Mon, 26 Sep 2016 17:24:51 +0000 (13:24 -0400)]
[aot] Fix the linux bitcode build.
Marek Safar [Mon, 26 Sep 2016 17:19:23 +0000 (19:19 +0200)]
[build] Bump mono bootstrap dependency to Mono 4.0+
Marek Safar [Mon, 26 Sep 2016 14:56:19 +0000 (16:56 +0200)]
Marek Safar [Mon, 26 Sep 2016 14:51:37 +0000 (16:51 +0200)]
[System] netstandard compatible Process collections
Alexander Köplinger [Mon, 26 Sep 2016 13:46:03 +0000 (15:46 +0200)]
Restructure and update build status section in README
Add links to Windows/OSX builds on Jenkins.
Alexander Köplinger [Mon, 26 Sep 2016 13:45:03 +0000 (15:45 +0200)]
Remove appveyor.yml from repository
We now have our own set of Windows bots on our Jenkins CI for building and testing Mono on Windows.
Special thanks to AppVeyor for providing us with build capacity over the last two years <3
Zoltan Varga [Mon, 26 Sep 2016 05:21:58 +0000 (01:21 -0400)]
[runtime] Make a copy of the wrapper date when instantiating generic wrapper methods, to be able to store a different WrapperInfo for them. (#3634)
Ludovic Henry [Sun, 25 Sep 2016 17:54:07 +0000 (19:54 +0200)]
[Socket] Use SemaphoreSlim instead of Queue (#3633)
This uses the same approach as corefx's FileStream. This simplifies the code, as well as make the intent of the queue clearer.
Alexander Köplinger [Sun, 25 Sep 2016 15:01:55 +0000 (17:01 +0200)]
[corlib] Remove unnecessary net_4_x_corlib.dll.sources
It only imports corlib.dll.sources, removing the file has the same effect.
Alexander Köplinger [Sun, 25 Sep 2016 11:59:53 +0000 (13:59 +0200)]
[System] Add ISupportInitialize on mobile FileSystemWatcher
The interface was missing on the mobile stub.
Alexander Köplinger [Sun, 25 Sep 2016 11:02:48 +0000 (13:02 +0200)]
[System] Remove obsolete HttpWebRequest/Response constructors again
They were removed from a later revision of netstandard2.0 so we don't need to add them.
Zoltan Varga [Sun, 25 Sep 2016 07:15:48 +0000 (03:15 -0400)]
[jit] Resurrect the Monitor.Enter () v4 optimization. (#3632)
Alexander Köplinger [Sat, 24 Sep 2016 23:54:27 +0000 (01:54 +0200)]
Merge pull request #3631 from slide/bz44714
Fix issue with VB projects
Alexander Köplinger [Sat, 24 Sep 2016 23:45:00 +0000 (01:45 +0200)]
Fix tarball build
Ludovic Henry [Sat, 24 Sep 2016 18:10:01 +0000 (20:10 +0200)]
[referencesource] Import parts of System.Net.Sockets.Socket (#3618)
Alexander Köplinger [Sat, 24 Sep 2016 17:16:55 +0000 (19:16 +0200)]
Fix tarball build
The file was removed in
18ada43d3d4c170269c544bbb684fbfdd1f56408.
Alex Earl [Sat, 24 Sep 2016 15:43:20 +0000 (08:43 -0700)]
Fix issue with VB projects
Fixed GenerateFullPathToTool for Vbc task to match behavior of the Csc
task. This allows VB.NET projects to build successfully.
See https://bugzilla.xamarin.com/show_bug.cgi?id=44714
Zoltan Varga [Sat, 24 Sep 2016 13:41:14 +0000 (09:41 -0400)]
[SRE] Implement the ModuleBuilder:create_modified_icall () in managed code. Use user types instead of creating derived types of unfinished typebuilders. (#3629)
Alexander Köplinger [Sat, 24 Sep 2016 10:20:40 +0000 (12:20 +0200)]
Bump corlib version
18ada43d3d4c170269c544bbb684fbfdd1f56408 didn't bump the corlib version and this breaks building with monolite.
Marek Safar [Sat, 24 Sep 2016 07:33:19 +0000 (09:33 +0200)]
Merge pull request #3625 from slide/master
Fix 16628
Martin Baulig [Fri, 23 Sep 2016 15:42:05 +0000 (17:42 +0200)]
[AppleTls]: Flush the write queue before finishing the handshake.
It is possible for SSLHandshake() to return SslStatus.Success while we're still
having a pending write (AsyncOperationStatus.WantWrite).
This is because our managed write callback must never return 'WouldBlock', so
SSLHandshake() things that all data have been sent while we still have them in
our write queue.
When this happens, we currently flush the write queue then call SSLHandshake()
again via AsyncOperationStatus.WantWrite -> AsyncOperationStatus.Continue.
This returns SslStatus.Protocol on iOS 10.
Vlad Brezae [Fri, 23 Sep 2016 20:15:44 +0000 (23:15 +0300)]
[gc] Warn if we fail to switch gc
Zoltan Varga [Fri, 23 Sep 2016 19:39:49 +0000 (15:39 -0400)]
[aot] Fix aot support on android.
Disable the binary writer in llc since it doesn't seem to work. Use $tool_prefix/ld for linking if the tool prefix is set.
Alexander Köplinger [Fri, 23 Sep 2016 15:01:44 +0000 (17:01 +0200)]
[bcl] Add missing APIs for netstandard parity and expose a few APIs on mobile
This ensures we're compliant with the upcoming netstandard2.0 API surface area.
Alexander Köplinger [Thu, 22 Sep 2016 20:16:54 +0000 (22:16 +0200)]
[bcl] Add CLSComplaint(false) to a few types/methods that aren't compliant
Alex Earl [Fri, 23 Sep 2016 14:47:35 +0000 (07:47 -0700)]
Fix 16628
This changes the IL parser to have the same behavior as ilasm.exe from
MS
https://bugzilla.xamarin.com/show_bug.cgi?id=16628
Zoltan Varga [Fri, 23 Sep 2016 13:49:51 +0000 (09:49 -0400)]
[llvm] Add static rgctx trampolines to array access methods in the aot+llvm case too. (#3616)
Alexander Köplinger [Fri, 23 Sep 2016 12:31:43 +0000 (14:31 +0200)]
Merge pull request #3622 from rolfbjarne/remove-stray-file
Remove stray file.
Marek Safar [Fri, 23 Sep 2016 12:17:55 +0000 (14:17 +0200)]
[corcompare] More hacks to make breaking change not too disruptive
Rolf Bjarne Kvinge [Fri, 23 Sep 2016 10:07:07 +0000 (12:07 +0200)]
Remove stray file.
Marek Safar [Fri, 23 Sep 2016 11:36:11 +0000 (13:36 +0200)]
[System.Core] Fixes warnings
Marek Safar [Fri, 23 Sep 2016 11:29:03 +0000 (13:29 +0200)]
Merge pull request #3621 from kloun/patch-9
fix Another Typo
kloun [Fri, 23 Sep 2016 11:26:51 +0000 (14:26 +0300)]
fix Another Typo
Marek Safar [Fri, 23 Sep 2016 10:10:11 +0000 (12:10 +0200)]
[bcl] Base type update to match netstandard apis
Marek Safar [Fri, 23 Sep 2016 08:26:17 +0000 (10:26 +0200)]
[mono-symbolicate] Include pdb debug symbols support file
Marek Safar [Fri, 23 Sep 2016 06:47:21 +0000 (08:47 +0200)]
Merge pull request #3615 from kloun/patch-8
fix typo, "j-j"
Marek Safar [Fri, 23 Sep 2016 06:46:36 +0000 (08:46 +0200)]
Merge pull request #3614 from kloun/patch-6
fix identical sub-expressions
Zoltan Varga [Thu, 22 Sep 2016 23:29:53 +0000 (19:29 -0400)]
[arm64] Handle thunks with ARM64_B relocations as well.
Marek Safar [Thu, 22 Sep 2016 21:37:47 +0000 (23:37 +0200)]
Merge pull request #3613 from kloun/patch-4
fix another ERIC
kloun [Thu, 22 Sep 2016 21:24:37 +0000 (00:24 +0300)]
fix typo, "j-j"
kloun [Thu, 22 Sep 2016 21:17:38 +0000 (00:17 +0300)]
Update generic.cs
kloun [Thu, 22 Sep 2016 21:15:47 +0000 (00:15 +0300)]
Update generic.cs
kloun [Thu, 22 Sep 2016 21:12:05 +0000 (00:12 +0300)]
fix identical sub-expressions
Marek Safar [Thu, 22 Sep 2016 20:58:57 +0000 (22:58 +0200)]
Merge pull request #3603 from ninjarobot/socket-write
Send all data to a socket before exit from Socket.Send.
kloun [Thu, 22 Sep 2016 20:54:36 +0000 (23:54 +0300)]
fix another ERIC
Alexander Köplinger [Thu, 22 Sep 2016 20:29:21 +0000 (22:29 +0200)]
Merge pull request #3611 from kloun/patch-2
Fix copy-paste error in WinForms DataGrid
kloun [Thu, 22 Sep 2016 20:22:54 +0000 (23:22 +0300)]
fix copy-paste ERIC error)
monojenkins [Thu, 22 Sep 2016 20:15:03 +0000 (22:15 +0200)]
Merge pull request #3609 from xmcclure/checked-imageset
Fix outstanding failures in "metadata" checked build mode
Fix two problems with the checked build metadata mode which were causing spurious failures, one a bug introduced by my last commit, one of which has been present since the start:
- Check assemblies in `references[]` are non-NULL before looking up their images
- A "from" imageset only needs to reference every image in the "to" imageset, it does not need to actually contain every image.
Also added support for a checked build jenkins lane.
Ludovic Henry [Thu, 22 Sep 2016 20:09:29 +0000 (22:09 +0200)]
[mono-threads] Move platform unregister after detach (#3604)
This is important as platform unregister is where we signal the thread handle, and that should be done as late as possible, but still before we switch the thread state to DETACHED and remove it from the thread list.
The fact that we do under the suspend lock shouldn't be an issue as we shouldn't call in any other code than w32handle code.
Andi McClure [Thu, 22 Sep 2016 18:08:06 +0000 (14:08 -0400)]
New run-jenkins tags to allow a checked build job and fix partial checked build support in the coop job
Andi McClure [Thu, 22 Sep 2016 16:27:43 +0000 (12:27 -0400)]
Fix imageset->imageset audits in checked-build "metadata" mode
An imageset can reference another imageset if every image in the "to"
imageset is referenced by some image in the "from" imageset.
Previously the checked build code was requiring the stricter criteria
of every image in the "to" imageset being present in the "from"
imageset, which was not only inconsistent with image->imageset and
imageset->image reference checking, but lead to spurious failures.
An example of a scenario where the previous check logic would fail is:
Assembly A:
class ClassA<T>
Assembly B:
class ClassB<T> extends ClassA<T>, ClassB2
Attempting to run the constructor for ClassB<ClassB2> would result in
a pointer to memory in imageset [A,B] being written into a structure
located in imageset [B]. This is valid since B references A, however
the MONO_CHECK_MODE=metadata checker would flag it as an error.
Marek Safar [Thu, 22 Sep 2016 18:12:16 +0000 (20:12 +0200)]
[corcompare] Another try to make breaking change not too discruptive
Zoltan Varga [Thu, 22 Sep 2016 14:05:52 +0000 (10:05 -0400)]
[sdb] Add a SetThis () method to StackFrame which can be used to set the fields of the receiver for valuetype instance methods. Fixes #44341. (#3605)
Henric Müller [Thu, 22 Sep 2016 13:57:26 +0000 (15:57 +0200)]
Merge pull request #3600 from henricm/fix-win-network-info-tests
Fix NetworkInformation tests on Windows
Joshua Peterson [Thu, 22 Sep 2016 13:49:18 +0000 (09:49 -0400)]
Try to use an IPv4 address first for TCP remoting (#3507)
* In the .NET implementation of TcpServerChannel, if IPv4 is supported, the address for the host will use the first IPv4 address.
* Even if the first address is an IPv6 address, it should be skipped, as the server side will expect and IPv4 address.
* Change this implementation to look for an IPv4 address first, then fall back to whatever the first address is (IPv4 or IPv6) if things don't work out.
Miguel de Icaza [Thu, 22 Sep 2016 13:28:17 +0000 (09:28 -0400)]
[mkbundle] - Add support for bundling native libraries.
* [mkbundle] add support for bundling native libraries
* [glib] add g_mkdtemp
* mono: Load the various library payloads for bundled executables
* [msvc] Export mono_dl_open and mono_loader_register_module
Marek Safar [Thu, 22 Sep 2016 12:44:42 +0000 (14:44 +0200)]
Add missing file
Marek Safar [Thu, 22 Sep 2016 12:43:00 +0000 (14:43 +0200)]
Marek Safar [Thu, 22 Sep 2016 10:26:27 +0000 (12:26 +0200)]
[corcompare] Drop ParameterAttributes from method signature
Johan Lorensson [Thu, 22 Sep 2016 06:54:23 +0000 (08:54 +0200)]
Merge pull request #3585 from lateralusX/jlorenss/win-counter-warning
Resolve "you are registering twice the same counter address" warning on Windows Release builds.
Martin Baulig [Thu, 22 Sep 2016 05:36:29 +0000 (07:36 +0200)]
[Mono.Security]: Add 'MonoTlsConnectionInfo.PeerDomainName'.
(cherry picked from commit
0bafe8c3c7aaa58d28bbea51fe8756e053718c68)
Martin Baulig [Thu, 22 Sep 2016 05:20:00 +0000 (07:20 +0200)]
Remove obsolete Mono.Security.Providers.* assemblies (#3595)
* Remove Mono.Security.Providers.NewSystemSource and Mono.Security.Providers.NewTls.
* Remove InternalVisible for "Xamarin.BoringTls".
* Remove Mono.Security.Providers.OldTls and Mono.Security.Providers.DotNet.
(cherry picked from commit
7b7b7c9b64212843842f957f6c0b84c99fc90f26)
Andi McClure [Wed, 21 Sep 2016 21:52:51 +0000 (17:52 -0400)]
Back out trivial crash when running metadata checked-build mode
introduced by
f822445711c1
Zoltan Varga [Wed, 21 Sep 2016 21:51:38 +0000 (17:51 -0400)]
[runtime] Fix the managed name of the ReRegisterForFinalize () icall.
Dave Curylo [Wed, 21 Sep 2016 18:18:38 +0000 (14:18 -0400)]
Returning during Send in case of error. Splitting send and receive into separate tasks in test.
Niklas Therning [Wed, 21 Sep 2016 17:36:03 +0000 (19:36 +0200)]
Merge pull request #3548 from cmp-/fix-sgen-resume-thread-win32
[sgen] Fix sgen_resume_thread return value on Windows
cmp [Fri, 9 Sep 2016 17:02:16 +0000 (18:02 +0100)]
[sgen] Fix sgen_resume_thread return value on Windows
According to sgen_resume_thread in sgen-os-mach.c, the function is
supposed to return false if the thread was not suspended.
Aleksey Kliger (λgeek) [Wed, 21 Sep 2016 16:49:12 +0000 (12:49 -0400)]
[gacutil] Use IKVM.Reflection instead of System.Reflection (#3582)
* gacutil should use System.Reflection.Assembly.ReflectionOnlyLoadFrom() since it doesn't need to run the assemblies;
* but in fact, it could also use a managed reflection library. So in this PR we change it to use IKVM.Reflection
Ludovic Henry [Wed, 21 Sep 2016 16:10:38 +0000 (18:10 +0200)]
[w32mutex] Move own/disown code to w32mutex-unix.c (#3599)
* [w32handle] Fix race condition
* [w32mutex] Improve logging
* [w32mutex] Only add to owned mutex when we own it for the first time
* [w32mutex] Move own/disown code to w32mutex-unix.c
Dave Curylo [Wed, 21 Sep 2016 14:55:56 +0000 (10:55 -0400)]
Send all data to a socket before exit from Socket.Send.
Andi McClure [Wed, 21 Sep 2016 14:37:19 +0000 (10:37 -0400)]
Merge pull request #3583 from xmcclure/test-418-checked
Fix issues (leaks, possible crash) around netmodule loading
Alexander Köplinger [Wed, 21 Sep 2016 13:38:51 +0000 (15:38 +0200)]
Merge pull request #3602 from henricm/fix-configuration-symlink-removed
Removing symlink to make Configuration tests run on Windows
Henric Müller [Wed, 21 Sep 2016 13:32:05 +0000 (15:32 +0200)]
Removing symlink to make Configuration tests run on Windows
Marek Safar [Wed, 21 Sep 2016 13:27:35 +0000 (15:27 +0200)]
[corlib] Simplify terminal evaluator nesting expression
Niklas Therning [Wed, 21 Sep 2016 12:42:49 +0000 (14:42 +0200)]
Merge pull request #3547 from cmp-/remove-obsolete-stack-checks-win32
Remove obsolete stack limit checks on Windows
Alexander Köplinger [Tue, 20 Sep 2016 18:02:28 +0000 (20:02 +0200)]
[System.Core] Expose a few more System.IO.Pipes APIs on mobile
Required for netstandard matching.