Alexis Christoforides [Mon, 31 Oct 2016 17:29:35 +0000 (13:29 -0400)]
[bockbuild] Fix regex matching on a deploy-time sanity check on the Mono package
Alexis Christoforides [Mon, 31 Oct 2016 17:11:37 +0000 (13:11 -0400)]
Bump bockbuild
Alexis Christoforides [Tue, 25 Oct 2016 23:43:48 +0000 (19:43 -0400)]
Bump bockbuild
Alexis Christoforides [Tue, 25 Oct 2016 22:12:51 +0000 (18:12 -0400)]
Couple more 'bockbuild split' mixups
Alexis Christoforides [Tue, 25 Oct 2016 22:12:09 +0000 (18:12 -0400)]
'storage.box.xamarin.com' is now 'xamarin-storage' (internal URL)
Alexis Christoforides [Tue, 25 Oct 2016 21:01:37 +0000 (17:01 -0400)]
Bumped bockbuild
Alexis Christoforides [Fri, 21 Oct 2016 14:30:48 +0000 (10:30 -0400)]
WIP
Alexis Christoforides [Fri, 21 Oct 2016 14:12:51 +0000 (10:12 -0400)]
Bump bockbuild
Alexis Christoforides [Fri, 21 Oct 2016 13:43:34 +0000 (09:43 -0400)]
More fixes for the Release ('Xamarin') profile
Alexis Christoforides [Fri, 21 Oct 2016 10:22:25 +0000 (06:22 -0400)]
Fixes for the 'xamarin' profile.
Re-renamed profile (now 'MacSDK') to remove hyphen which was prohibiting Python module importing
Alexis Christoforides [Tue, 18 Oct 2016 22:55:02 +0000 (18:55 -0400)]
[bockbuild] Moved Gtk+ files back to main bockbuild repo
Alexis Christoforides [Mon, 17 Oct 2016 20:41:34 +0000 (16:41 -0400)]
Fix 'mono' package typo
Alexis Christoforides [Sat, 15 Oct 2016 23:51:20 +0000 (19:51 -0400)]
Bump bockbuild
Alexis Christoforides [Fri, 14 Oct 2016 23:11:53 +0000 (19:11 -0400)]
Cleanup
Alexis Christoforides [Fri, 14 Oct 2016 23:11:30 +0000 (19:11 -0400)]
Removed autotools from the shipped distribution
Alexis Christoforides [Fri, 14 Oct 2016 23:10:39 +0000 (19:10 -0400)]
Bump bockbuild
Alexis Christoforides [Fri, 14 Oct 2016 18:37:21 +0000 (14:37 -0400)]
Added missing gdk-pixbuf patches
Alexis Christoforides [Thu, 29 Sep 2016 11:31:39 +0000 (14:31 +0300)]
Transfer the Mac SDK bockbuild profiles & resources inside the Mono repository.
This includes all distributable packages,patches etc. Toolchain packages remain part of the bockbuild repository.
The profiles were also renamed:
'mono-mac-release' -> 'mac-sdk'
'mono-mac-xamarin' -> 'mac-sdk-xamarin'
Alexis Christoforides [Thu, 29 Sep 2016 11:08:56 +0000 (14:08 +0300)]
Added Bockbuild as a submodule
Marek Safar [Thu, 13 Oct 2016 21:58:18 +0000 (23:58 +0200)]
[System.Xml] Update supported time formats for mobile version of XML deserializer. Fixes #42843
Marek Safar [Thu, 13 Oct 2016 21:53:32 +0000 (23:53 +0200)]
[System.Xml] Enable more tests
Henric Müller [Fri, 14 Oct 2016 06:48:39 +0000 (08:48 +0200)]
Merge pull request #3756 from henricm/named-pipe-alertable-on-windows
Making named pipe connects alertable on Windows
Vlad Brezae [Thu, 13 Oct 2016 22:35:49 +0000 (01:35 +0300)]
Merge pull request #3766 from BrzVlad/feature-default-conc
[sgen] Switch to default concurrent on desktop
Rodrigo Kumpera [Thu, 13 Oct 2016 18:24:48 +0000 (14:24 -0400)]
Merge pull request #3761 from kumpera/fix-maccore-linking-regression
[icalls] Change get_bundled_machine_config to ICALL_EXPORT so maccore can link it.
Rodrigo Kumpera [Thu, 13 Oct 2016 18:00:58 +0000 (14:00 -0400)]
Merge pull request #3716 from vargaz/unbox-stobj-null
[jit] Add a small optimization for unbox.any+stobj called with a null…
Marek Safar [Thu, 13 Oct 2016 14:43:38 +0000 (16:43 +0200)]
[System] SocketAsyncEventArgs::Dispose does not free any managed resources. Fixes #44757
Bernhard Urban [Thu, 13 Oct 2016 14:39:38 +0000 (16:39 +0200)]
Merge pull request #3591 from directhex/mono_libdir_fallback
Handle relocatable libMonoPosixHelper.so when --libdir= isn't lib/
Martin Baulig [Thu, 13 Oct 2016 14:26:40 +0000 (16:26 +0200)]
[System]: Move MonoBtlsProvider.IsSupported() -> MonoTlsProviderFactory.IsBtlsSupported() (#3760)
* [System]: Move MonoBtlsProvider.IsSupported() -> MonoTlsProviderFactory.IsBtlsSupported().
Move the intern-call which is used to determine whether we're using BTLS out of MonoBtlsProvider
to allow the managed linker to eliminate the Mono.Btls.* classes when it's not supported.
* Fix Android build.
(cherry picked from commit
90699022b6fed7fd273ba3379a2e3696bbd8956f)
Vlad Brezae [Thu, 13 Oct 2016 14:06:59 +0000 (17:06 +0300)]
[tests] Select sgen major explicitly in tests
On configurations where we were only testing serial (using the default collector), we now explicitly test concurrent to put emphasis on it.
Vlad Brezae [Thu, 13 Oct 2016 13:53:02 +0000 (16:53 +0300)]
[sgen] Enable concurrent gc by default on desktop
Linux (except android), MacOS and Windows.
Alexander Köplinger [Thu, 13 Oct 2016 11:48:40 +0000 (13:48 +0200)]
Merge pull request #3762 from akoeplinger/fix-ftp-ipv6
[System] Add IPv6 support to FtpWebRequest
Johan Lorensson [Thu, 13 Oct 2016 10:47:29 +0000 (12:47 +0200)]
Merge pull request #3738 from lateralusX/jlorenss/win-api-family-support-libmonoruntime
Build libmonoruntime under none desktop Windows API family.
lateralusX [Thu, 13 Oct 2016 07:41:12 +0000 (09:41 +0200)]
Build libmonoruntime under none desktop Windows API family.
Initial work to build libmonoruntime under none desktop Windows API families.
Rodrigo Kumpera [Wed, 12 Oct 2016 15:50:19 +0000 (08:50 -0700)]
[icalls] Multiple fixes to get_bundled_machine_config.
Enviroment::get_bundled_machine_config icall should be ves_icall_System_Environment_get_bundled_machine_config.
Mark all icalls doing get_bundled_machine_config as ICALL_EXPORT so maccore can link them in/out.
Rodrigo Kumpera [Wed, 12 Oct 2016 16:46:46 +0000 (12:46 -0400)]
Merge pull request #3755 from kumpera/async-reader-hardering-2
[System] Another round of hardening around disposal of Process while doing async reads.
Alexander Köplinger [Wed, 12 Oct 2016 16:32:32 +0000 (18:32 +0200)]
[System] Add tests for IPv6-enabled FtpWebRequest
Alexander Köplinger [Wed, 12 Oct 2016 13:49:13 +0000 (15:49 +0200)]
[System] Add IPv6 support to FtpWebRequest
When connecting to an FTP server we weren't handling the RFC2428
extension to the FTP protocol which allows connections over IPv6
for the data channel.
We'd try to connect via IPv4 and the server would return an error
saying that this protocol is not supported.
The fix is to add handling for the protocol extension, namely
to use EPSV (for passive FTP) or EPRT (for active FTP) when opening
the data channel and send/parse the IPv6 addresses.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=44025
Note: we're now using the IP address of the the control channel we connected to for the
data channel instead of the address that is returned by the server in the FTP response message.
The reason is that for EPSV there's no IP returned by the server, and it should be
more reliable for normal PASV as well since the server might not know the
correct external address. This is also what MS does in referencesource.
Marek Safar [Wed, 12 Oct 2016 15:31:47 +0000 (17:31 +0200)]
[mcs] Handle interpolated strings with escaped quotes. Fixes #45286
Alexander Köplinger [Wed, 12 Oct 2016 14:16:06 +0000 (16:16 +0200)]
[System] Make sure FtpWebRequest processing happens in a background thread
We don't want it to block app shutdown.
Marek Safar [Wed, 12 Oct 2016 13:29:33 +0000 (15:29 +0200)]
Bump ikvm for mcs fixes
Henric Müller [Wed, 12 Oct 2016 13:18:08 +0000 (15:18 +0200)]
Enable System.Runtime.Remoting tests on Windows
Henric Müller [Wed, 12 Oct 2016 13:04:10 +0000 (15:04 +0200)]
Making named pipe connects alertable on Windows
This fix makes sure that an aborted thread will wake up
a blocking named pipe connect.
Marek Safar [Wed, 12 Oct 2016 12:53:16 +0000 (14:53 +0200)]
Merge pull request #3754 from marek-safar/rs-sockets
[System] More Socket types from referencesource
Marek Safar [Wed, 12 Oct 2016 10:04:19 +0000 (12:04 +0200)]
[Mono.Data.Sqlite] Regression introduced by
04162ffbbdfed88ba298341f0384a35949b3c0f9 which changed _datetimeFormats order. Fixes #40603
Marek Safar [Wed, 12 Oct 2016 09:55:36 +0000 (11:55 +0200)]
[Mono.Data.Sqlite] Enable more tests
Vlad Brezae [Wed, 12 Oct 2016 08:56:10 +0000 (11:56 +0300)]
Merge pull request #3749 from BrzVlad/fix-mips-fix
[mips] Fix mips
Niklas Therning [Wed, 12 Oct 2016 08:40:09 +0000 (10:40 +0200)]
Merge pull request #3753 from henricm/enable-windowsbase-tests-on-windows
Enable WinowsBase tests on Windows
Marek Safar [Wed, 12 Oct 2016 08:18:43 +0000 (10:18 +0200)]
[System] Warnings cleanup
Marek Safar [Tue, 11 Oct 2016 16:27:03 +0000 (18:27 +0200)]
[System] More Socket types from referencesource
Marek Safar [Wed, 12 Oct 2016 08:09:18 +0000 (10:09 +0200)]
Merge pull request #3750 from marek-safar/socket
[System] More Socket pieces from referencesource
Vlad Brezae [Mon, 10 Oct 2016 20:40:59 +0000 (23:40 +0300)]
[mips] Disable div with mul on 32bit mips
Zoltan Varga [Tue, 11 Oct 2016 20:03:55 +0000 (16:03 -0400)]
[llvm] Avoid generating invalid IL for valuetypes+vphi+volatile variables in gsharedvt methods. Fixes part of #45270.
Alexander Köplinger [Tue, 11 Oct 2016 19:25:50 +0000 (21:25 +0200)]
[corlib] Fix UdpClient tests on watchos
They were reenabled in
1fa85ad4afb4139e607876121a080a3be122a7a9,
but UdpClient throws PlatformNotSupportedException on watchos.
Rodrigo Kumpera [Tue, 11 Oct 2016 18:31:04 +0000 (14:31 -0400)]
Merge pull request #3715 from kumpera/fix-44707
[corlib] Don't load the machine config file if it's missing. Fixes #44707
Rodrigo Kumpera [Tue, 11 Oct 2016 18:25:51 +0000 (11:25 -0700)]
[System] Another round of hardening around disposal of Process while doing async reads.
This round ensures stream and decoder are protected from dispose and that we properly
bail out to the EOS case.
Martin Baulig [Tue, 11 Oct 2016 16:12:06 +0000 (18:12 +0200)]
[cert-sync]: Change back to using the '--btls' argument.
Without arguments, 'cert-sync' now operates on the old certificate store
again, like it was before. To test BTLS, you need to explicitly run it
with '--btls'.
(cherry picked from commit
46379bda6d13e6e216ca3fc35654eb910c891c41)
Alexander Köplinger [Tue, 11 Oct 2016 15:28:08 +0000 (17:28 +0200)]
Merge pull request #3745 from akoeplinger/fix-bug44937
[io-layer] Correctly detect a PE32+ assembly as managed when starting process
Marek Safar [Tue, 11 Oct 2016 14:56:16 +0000 (16:56 +0200)]
[System.ServiceModel] Split unreliable tests
Marek Safar [Tue, 11 Oct 2016 12:23:55 +0000 (14:23 +0200)]
[System] Set more error details on failed https proxy connect. Fixes #45108
Marek Safar [Tue, 4 Oct 2016 16:57:55 +0000 (18:57 +0200)]
[mono] Fixes hardcoded stack limit in EnsureSufficientExecutionStack check
Marek Safar [Tue, 11 Oct 2016 08:44:34 +0000 (10:44 +0200)]
[System] More Socket pieces from referencesource
Henric Müller [Tue, 11 Oct 2016 12:37:14 +0000 (14:37 +0200)]
Enable WinowsBase tests on Windows
Henric Müller [Tue, 11 Oct 2016 12:02:10 +0000 (14:02 +0200)]
Merge pull request #3662 from henricm/fix-windowsbase-on-win
WindowsBase zlib, ZipSharp and Package fixes for Windows
Henric Müller [Wed, 5 Oct 2016 12:43:06 +0000 (14:43 +0200)]
Making sure stream is closed when exception is thrown
Stream will never be closed if we throw exception in Open
which leads to file being locked in Windows and that we
leak file handles.
Henric Müller [Wed, 5 Oct 2016 12:38:08 +0000 (14:38 +0200)]
Setting Culture to en-us for ToStringTest
Henric Müller [Wed, 5 Oct 2016 12:35:25 +0000 (14:35 +0200)]
Make ZipSharp work on Windows
This patch adds the zlib functions needed by ZipSharp to the VS
MonoPosixHelper.def export file.
This patch also changes the ZipSharp code to use different code paths
depending on the size of the C long type on the underlying platform. On
gcc/clang the C long type follows the bitness of the targeted architecture,
it's 32-bit on 32-bit systems and 64-bit on 64-bit systems. With the VS
compiler however, the C long type is always 32-bit regardless of the target
architecture. zlib and minizip uses C long in a number of different function
signatures and structs.
Alexander Köplinger [Tue, 11 Oct 2016 10:22:37 +0000 (12:22 +0200)]
Merge pull request #3746 from ntherning/fix-SocketResponder-on-windows
Fix SocketResponder on Windows
Marek Safar [Tue, 11 Oct 2016 09:23:58 +0000 (11:23 +0200)]
Merge pull request #3747 from marek-safar/updclient
UpdClient from referencesource
Vlad Brezae [Mon, 10 Oct 2016 20:27:52 +0000 (23:27 +0300)]
[mips] Add missing define
Vlad Brezae [Mon, 10 Oct 2016 20:20:15 +0000 (23:20 +0300)]
[mips] Don't assert when decomposing longs
There is no point in asserting if we encounter an unhandled long op. These ops may still get removed, if emulated later on, or maybe from other passes. Asserting happens as a last resort when emitting the native code for the method.
Alexander Köplinger [Mon, 10 Oct 2016 18:13:55 +0000 (20:13 +0200)]
[corlib] Add missing constructors to RNGCryptoServiceProvider on monotouch
Those were missed in
cb46f78eef5263ce24ba12c583e4c72ac64734c1 because there's a separate
implementation for monotouch in an unrelated file.
Martin Baulig [Mon, 10 Oct 2016 16:29:27 +0000 (18:29 +0200)]
[System]: Fix a typo in X500DistinguishedName.AreEqual().
(cherry picked from commit
1ac809aad7a2ca1d69c6d26e7ac18b36d5c90610)
Alexander Köplinger [Mon, 10 Oct 2016 16:03:39 +0000 (18:03 +0200)]
[btls] Use UTC for the Unix epoch in the managed BTLS code (#3702)
The epoch is specified as being in UTC, but the DateTime(int, int, int) constructor
creates a DateTime with an 'Unspecified' timezone, which could lead to problems later on.
Martin Baulig [Mon, 10 Oct 2016 16:02:26 +0000 (18:02 +0200)]
[BTLS]: Correctly handle certificates with negative serial numbers. (#3719)
In mono_btls_x509_get_serial_number(), first call i2c_ASN1_INTEGER()
which takes care of padding and computing the 2s complement for negative
numbers, then reverse the buffer.
(cherry picked from commit
1a55680bfaffa3fa00881889133e5313a6cd9ab4)
Marek Safar [Mon, 10 Oct 2016 15:39:33 +0000 (17:39 +0200)]
[System.Core] Remove unused files
Niklas Therning [Mon, 10 Oct 2016 14:04:49 +0000 (16:04 +0200)]
Fix SocketResponder on Windows
There seems to be a race in some tests in the System test suite that use
SocketResponder on Windows. Some tests fail with an exception that the socket
has been closed before they get a chance to see the response sent by the
SocketResponder. The same happens occasionally when using SocketResponder on
.NET. This patch changes the order of the Socket.Shutdown() calls and adds a
Socket.Receive() before Shutdown() is called to give the sender a chance to
actually send any data before the responder shuts down and closes its side of
the connection.
Marek Safar [Mon, 10 Oct 2016 15:04:31 +0000 (17:04 +0200)]
[System] Enable more tests
Marek Safar [Mon, 10 Oct 2016 14:52:03 +0000 (16:52 +0200)]
[System] UdpClient from referencesource
Marek Safar [Mon, 10 Oct 2016 14:21:17 +0000 (16:21 +0200)]
[System.Data] Use same socket family for data receiver as it has its client. Fixes #44624
Vlad Brezae [Mon, 10 Oct 2016 13:43:54 +0000 (16:43 +0300)]
Merge pull request #3740 from Unity-Technologies/gc-options-command-line
GC debug and params command line options
Alexander Köplinger [Mon, 10 Oct 2016 11:28:43 +0000 (13:28 +0200)]
[io-layer] Correctly detect a PE32+ assembly as managed when starting process
We weren't checking whether a PE file is in PE32 or PE32+ format,
causing us to use the PE32 offsets on the newer format as well.
This means that using Process.Start() on a managed assembly didn't
always work when a PE32+ file was in play. Such a file is created
when targeting x64 e.g. via the -platform:x64 csc.exe/mcs option.
The reason why we probably didn't notice until now is that in an
assembly produced by mcs there happens to be some data at the PE32
CLR header offset even in a PE32+ file, causing the check to "work".
This doesn't apply to csc.exe/roslyn though and so we couldn't
execute those assemblies via Process.Start() even though they're
perfectly managed. Since the .NET Core project.json toolchain
produces x64-targeted assemblies by default more people ran into
the issue trying to run those on Mono: https://github.com/cake-build/cake/issues/1247
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=44937
PE/COFF spec at https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx
Alexander Köplinger [Mon, 10 Oct 2016 11:39:06 +0000 (13:39 +0200)]
Merge pull request #3739 from akoeplinger/add-more-netstandard-api
[bcl] Expose a few more APIs on mobile to match with netstandard
Alexander Köplinger [Fri, 7 Oct 2016 15:08:20 +0000 (17:08 +0200)]
[bcl] Expose a few more APIs on mobile to match with netstandard
See https://github.com/dotnet/standard/issues/47.
Niklas Therning [Mon, 10 Oct 2016 11:30:31 +0000 (13:30 +0200)]
Merge pull request #3653 from ntherning/alertable-socket-wait
Make blocking socket calls on Windows interruptible
Niklas Therning [Mon, 10 Oct 2016 11:20:35 +0000 (13:20 +0200)]
Merge pull request #3744 from ntherning/enable-system-security-tests-in-pr-builds-on-windows
Enable System.Security tests in PR builds on Windows
Niklas Therning [Mon, 10 Oct 2016 08:27:41 +0000 (10:27 +0200)]
Enable System.Security tests in PR builds on Windows
Alex Rønne Petersen [Sat, 8 Oct 2016 11:23:10 +0000 (13:23 +0200)]
Merge pull request #3742 from alexrp/profiler-c9-fixes
[profiler] Start the helper thread before the writer thread.
Alex Rønne Petersen [Sat, 8 Oct 2016 09:55:07 +0000 (11:55 +0200)]
[profiler] Start the helper thread before the writer thread.
This fixes a regression introduced in
0db428169a42373a73cd5c502bd40033629f3f8d
which caused the profiler to not report the correct command port in the file
header on startup.
Zoltan Varga [Sat, 8 Oct 2016 00:43:04 +0000 (20:43 -0400)]
[SRE] Set the wastypebuilder flag on completed generic param builder … (#3712)
* [SRE] Set the wastypebuilder flag on completed generic param builder classes to remove a workaround from mono_type_get_object_checked ().
* [SRE] Remove unused verify_safe_for_managed_space () function.
Zoltan Varga [Sat, 8 Oct 2016 00:42:32 +0000 (20:42 -0400)]
[llvm] Make sure the initlocals_bb is not treated as part of a try block if one starts at IL offset 0, since it could mess up the control flow if it contains calls. (#3718)
Alexander Köplinger [Fri, 7 Oct 2016 22:17:22 +0000 (00:17 +0200)]
Merge pull request #3741 from akoeplinger/fix-aot-DoAssemblyResolve
[aot] Fix AppDomain.DoAssemblyResolve runtime invoke wrapper
Alexander Köplinger [Fri, 7 Oct 2016 20:04:52 +0000 (22:04 +0200)]
[aot] Fix AppDomain.DoAssemblyResolve runtime invoke wrapper
In https://github.com/mono/mono/pull/1528 the DoAssemblyResolve method was changed
from two parameters to three, but the code in aot-compiler.c was not updated to match.
Jonathan Chambers [Fri, 7 Oct 2016 17:54:00 +0000 (13:54 -0400)]
Document --gc-debug and --gc-params command line options
Jonathan Chambers [Fri, 7 Oct 2016 17:31:58 +0000 (13:31 -0400)]
Add --gc-params and --gc-debug command line options
Aleksey Kliger (λgeek) [Fri, 7 Oct 2016 17:13:44 +0000 (13:13 -0400)]
Merge pull request #3731 from lambdageek/dev-handles-gbmc
[runtime] System.Configuration.InternalConfigurationHost:get_bundled_machine_config needs HANDLES
Niklas Therning [Fri, 7 Oct 2016 17:08:01 +0000 (19:08 +0200)]
Merge pull request #3729 from ntherning/fix-failures-in-msbuild-tests-on-windows
Fix failures in MSBuild tests on Windows
Zoltan Varga [Fri, 7 Oct 2016 15:37:19 +0000 (11:37 -0400)]
[runtime] Fix the blittable flag and the instance size for pointer types. Fixes #45131. (#3735)
Alexander Köplinger [Fri, 7 Oct 2016 13:30:19 +0000 (15:30 +0200)]
Merge pull request #3737 from akoeplinger/fix-babysitter
[ci] Set the env var in a new subshell to fix babysitter processing
Niklas Therning [Thu, 6 Oct 2016 17:58:32 +0000 (19:58 +0200)]
Fix failures in MSBuild tests on Windows
Marek Safar [Fri, 7 Oct 2016 13:03:34 +0000 (15:03 +0200)]
Merge pull request #3727 from henricm/fix-system-web-on-windows
Fixes for System.Web to work on windows