Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
Alex Soto 9c791dcd07
[mono] Bump mono to bring iOS binaries built with xcode12.4 (#10943)
* [mono] Bump mono to bring iOS binaries built with xcode12.4

Also bumping system mono pkg to the one that contains arm64 support

New commits in mono/mono:

* mono/mono@eb4c3116eb Build iOS SDK archives on Xcode 12.4
* mono/mono@acb8d8ed6f [2020-02][marshal] Fix VARIANT and BSTR marshaling in structs (#20918)

Diff: be9218f4d1..eb4c3116eb

* [mtouch] fix version logic check

Fixes Unexpected minOS version (expected 8.0.0, found 7.0.0) in MonoTouch.iphonesimulator.sdk/lib/libmono-native-compat.dylib ()

we really only care if it is over the version we expect not below.

* Fix version test
2021-03-24 17:34:30 -04:00
Alex Soto 4bde41c508
[mono] Bump mono to get M1 binaries (#10836)
* [mono] Bump mono to get M1 binaries

New commits in mono/mono:

* mono/mono@be9218f4d1 Don't include mono-dtrace.h when generating offsets
* mono/mono@14ac6d4f0b [2020-02] Backport Apple silicon support (#20909)
* mono/mono@7dc02abf99 Build Mac/MacCat SDK archives on Xcode 12.4
* mono/mono@fdf57e7744 Disable DebuggerTests.Crash since it fails on Linux i386 in CI
* mono/mono@8c552e98bd Bump bockbuild to include https://github.com/mono/bockbuild/pull/168
* mono/mono@b1e2a54c6a Remove signing from Jenkins MSI pipeline
* mono/mono@a8f265550b Remove signing from Jenkins PKG/MSI pipelines
* mono/mono@c621c35ffa Fix early return in Process.Start (#20833)
* mono/mono@715757301f [2020-02][System.Drawing] Work around libgdiplus Metafile dispose ordering (#20828)
* mono/mono@305b6cff96 Revert some unrelated bumps
* mono/mono@c66141a8c7 [AOT] Make native linker name configurable (#20816)
* mono/mono@64368a00d8 Bump msbuild
* mono/mono@364c87b1a7 Disable acceptance-tests/roslyn.mk
* mono/mono@9b139294c0 Bump msbuild to fix build break
* mono/mono@b9c050faf2 [aot] Quote the -Wl,install_name argument to clang. (#20660)

Diff: 5e9cb6d1c1..be9218f4d1

* [Make.Config] Use actual mono binaries

Since mac binaries are built using Xcode 12.4 and iOS using
Xcode 11.3 we are not accounting for this difference and we
are building mono from source. Fix this scenario.

* [tests] mmptests account for the arm64 binaries in mono
2021-03-12 12:33:40 -05:00
Alex Soto 2417bd4d40 [mono] Bump mono to match Android
New commits in mono/mono:

* mono/mono@5e9cb6d1c1 Use explicit arithmetic checks in the amd64 watchOS simulator. (#20647)
* mono/mono@4fdfb5b1fd Bump bockbuild for gtk+ patch
* mono/mono@6f6c3286b6 [runtime] Avoid checking for hardened runtime on ios, its not needed, and it causes alerts because of PROT_WRITE|PROT_EXEC. (#20623)
* mono/mono@124f115714 Fix iOS sdks build on Xcode 12 (#20574)

Diff: dfbfe5eed1..5e9cb6d1c1
2020-12-10 09:52:03 -05:00
Rolf Bjarne Kvinge 03e010c747 Bump mono to a version that ships catalyst binaries and download those binaries.
New commits in mono/mono:

* mono/mono@dfbfe5eed1 [2020-02] Build makefile to support Mac Catalyst (#20566)

Diff: ac596375c7..dfbfe5eed1
2020-12-03 10:42:25 +01:00
Alex Soto 42bec7dfa0
[mono] Bump mono to match android (#10069)
New commits in mono/mono:

* mono/mono@ac596375c7 Add support for OP_FCONV_TO_I to mini-arm64.c. (#20548)
* mono/mono@392fe5b87b [2020-02][watchOS] Add simwatch64 support (#20552)
* mono/mono@a22ed3f094 Fix potential crash for Encoder.Convert (#20522)
* mono/mono@970783731f Bump to F# 5.0 (#20511)
* mono/mono@32ab5066f7 Bump msbuild to fix a build issue
* mono/mono@93a7fe77e8 Ensure special static slots respect alignment. (#20506)
* mono/mono@3db5b35841 [debugger] Switch to GC Unsafe in signal handler callbacks (#20495)
* mono/mono@af315f44c4 [2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)

Diff: ca11fb0fd8..ac596375c7
2020-11-09 11:16:25 -05:00
Manuel de la Pena ffd59b8b4a
[Mono] Bump mono to ca11fb0f to match Xamarin.Android. (#9849)
Commits:

  * mono/mono@ca11fb0fd8: [2020-02] Bump ikvm-fork to include https://github.com/mono/ikvm-fork/pull/20 (#20452)

Full diff: be2226b5a1...ca11fb0fd8
Related PR: https://github.com/xamarin/xamarin-android/pull/5194
2020-10-14 07:33:21 -04:00
Manuel de la Pena e72ef18beb
[Mono] Bump mono to match xamarin-android on be2226b (#9663)
Commits:

  * mono/mono@be2226b5a1: Revert "[crashing] Improve crash chaining (#19973)"
  * mono/mono@cdeef84f3c: Added hard limit to sub-make jobs. Fixes #19784 (#20389)
  * mono/mono@9b9e4ba6e8: WiX cannot package UNIX symlinks; force Cygwin to use Windows symlinks (#20374)
  * mono/mono@7507fb2859: [2020-02] Issue18826 fix (#20358)
  * mono/mono@e368cf51d8: Bump external/llvm-project to 2ca761dc8b83a75ad950f468fb68e764e61d9cfa (#20365)
  * mono/mono@abfd341464: [Android] Enable access to up-to-date tzdata on Android 10+ (#20350)
  * mono/mono@32c0b1aaf9: Support overriding SDK_DIR/NDK_DIR in sdks/android/Makefile
  * mono/mono@620cf53820: [2020-02] Avoid following invalid pointers in mono_w32process_get_modules on Darwin. (#20297)
  * mono/mono@41494af55d: Bump corefx to disable DateTime test
  * mono/mono@66e2b84002: [aot] Fix an assert which is hit for generic instances with a lot of arguments. (#20239)
  * mono/mono@d3daacdaa8: Bump msbuild to latest commit
  * mono/mono@e59c1cd70f: Fix Cairo issue on macOS Big Sur (#20154)
  * mono/mono@648655b86d: [aot] Avoid a crash in generic sharing for invalid generic instances. (#20158)
  * mono/mono@ec71e8a7ae: [2020-02] Reapply "Emit DWARF debug_abbrev offset for compile units as a label instead of 0" (#20046)
  * mono/mono@20bb4f9a6d: [mono][mini] Do a non-virtual call for bound delegates (#20039)
  * mono/mono@9ca6fa646a: [merp] Remove dead code (#20043)
  * mono/mono@2ff424be29: [crashing] Improve crash chaining (#20018)

Full diff: 83105ba224...be2226b5a1
Related android PR: https://github.com/xamarin/xamarin-android/pull/5128
2020-09-18 15:42:10 -04:00
Manuel de la Pena 92c1e0f553
Revert "[Mono] Bump to match android on 66e2b840 (#9380)" (#9534)
This reverts commit c60759d857.

Android has issues with the bump due to the designer. At the moment we
are ahead, which is not a good situation. We rever to be in sync with
the other projects.
2020-08-27 18:03:04 -04:00
Manuel de la Pena c60759d857
[Mono] Bump to match android on 66e2b840 (#9380)
Commits:
* mono/mono@66e2b84: [aot] Fix an assert which is hit for generic instances with a lot of arguments. (#20239)
* mono/mono@d3daacd: Bump msbuild to latest commit
* mono/mono@e59c1cd: Fix Cairo issue on macOS Big Sur (#20154)
* mono/mono@648655b: [aot] Avoid a crash in generic sharing for invalid generic instances. (#20158)
* mono/mono@ec71e8a: [2020-02] Reapply "Emit DWARF debug_abbrev offset for compile units as a label instead of 0" (#20046)
* mono/mono@20bb4f9: [mono][mini] Do a non-virtual call for bound delegates (#20039)
* mono/mono@9ca6fa6: [merp] Remove dead code (#20043)
* mono/mono@2ff424b: [crashing] Improve crash chaining (#20018)

Complete diff:

mono/mono@83105ba...66e2b84

Related Android: https://github.com/xamarin/xamarin-android/pull/5014
2020-08-14 21:35:08 -04:00
Alex Soto a9be2f510c
[mono] bump mono to match android (#8928)
* [mono] bump momo to match android

New commits in mono/mono:

* mono/mono@109b4b6f44 [jit] Fix the Activator.CreateInstance () intrinsic for primitive types. (#19989) (#19994)
* mono/mono@15782aa740 If there is a crash and the debugger is attached, we call mini_get_dbg_callbacks ()->send_crash(). That call ends up in mono_debugger_agent_send_crash which does all kinds of questionable stuff like trying to take the loader lock. Eventually it ends up calling socket_transport_send which tries to do a transition to GC Safe mode. I inserted a MONO_ENTER_GC_UNSAFE in mono_debugger_agent_send_crash function and this fixes the assert. (#19992)
* mono/mono@6ea4cbcee0 [2020-02] [merp] Add API methods for getting hashcode/reason of last crash (#19978)
* mono/mono@d45ff3af75 [merp] Add tests for crashing via POSIX signal (#19977)
* mono/mono@bc1dd071a7 [merp] Add a test for Mono.Runtime.SendExceptionToTelemetry() (#19966)
* mono/mono@87ef555701 Emit DWARF debug_abbrev offset for compile units as a label instead of 0 (#19794)

Diff: 8c085a99b3..109b4b6f44

* Bump mono

* Revert "Emit DWARF debug_abbrev offset for compile units as a label instead of 0"
2020-06-24 13:17:58 -04:00
Alex Soto b17205e64c
[mono] Bump mono to match android (#8684)
New commits in mono/mono:

* mono/mono@8c085a99b3 [reflection] Check whether a pointer is valid before dereferencing (#19842)
* mono/mono@89d772a3ab Always include Unicode charinfo, so tar made in csc mode works in mcs mode (#19813)
* mono/mono@e9d3af508e Bump bockbuild to get https://github.com/mono/bockbuild/pull/159
* mono/mono@d6f0c25d34 [2020-02] Bump msbuild to track mono-2019-12 (#19661)

Diff: 075c3f0619..8c085a99b3
2020-05-27 13:19:22 -04:00
Manuel de la Pena baf361309d
[Master][Mono] Bup mono to 075c3f0 (#8469)
Bump mono to the head of 2020. Match android.
Commits:

  * mono/mono@075c3f0619: Fix if already send error to http client, do not callback. (#19668)
  * mono/mono@35cc82cc6c: [2020-02] [debugger] Remove assert when the DebuggerTypeProxy cannot be instantiated (#19632)
  * mono/mono@00ae178a04: Bump corefx (#19656)
  * mono/mono@c23ad4f5b3: [2020-02] Bump msbuild to track mono-2019-12 (#19623)
  * mono/mono@83558de96b: [System.Runtime.Serialization] Work around `specified cast is not valid` error (#19640)

Full diff: 051408e0be...075c3f0619
Related android PR: https://github.com/xamarin/xamarin-android/pull/4630
2020-04-29 12:33:22 -04:00
Manuel de la Pena 71a25ecd0c
[Bump Mono] Bump mono to the latest of 2020-02. (#8451)
Commits:

  * mono/mono@051408e0be: Bump CoreFX to pickup https://github.com/mono/corefx/pull/398. (#19566)

Full diff: 58b04da0d7...051408e0be

Bump and match android: https://github.com/xamarin/xamarin-android/pull/4608
2020-04-24 19:10:00 -04:00
Manuel de la Pena 644af3c80f
[Mono] Bump mono to the head of 2020-02 (#8414)
Bump mono to the head of 2020-02 and match with android.
Commits:

  * mono/mono@58b04da0d7: Bump CoreFX to pickup https://github.com/mono/corefx/pull/397. (#19548)
  * mono/mono@f51cb7ad85: [2020-02][debugger] Bump protocol for multi threaded single step implementation (#19437) (#19477)
  * mono/mono@62414d588b: [2020-02] Add BeginRead/BeginWrite/EndRead/EndWrite overloads back to SslStream (#19476)
  * mono/mono@259ec2ef65: [2020-02][debugger] Bump protocol for this commit https://github.com/mono/mono/pull/19248 (#19318) (#19473)

Diff : 165f4b0341...58b04da0d7
Android PR: https://github.com/xamarin/xamarin-android/pull/4568
2020-04-17 10:05:15 -04:00
Manuel de la Pena a6955968fa
[Master] Bump mono to 165f4b03 to match android. (#8326)
Commits:

* mono/mono@165f4b0341: [2020-02][debugger] Fix NOT_IMPLEMENTED while debugging. (#19450)
* mono/mono@b04dc7e6a4: Bump corefx to get https://github.com/mono/corefx/pull/395 (#19426)

Diff: ecde08600b...165f4b0341

Related android PR: https://github.com/xamarin/xamarin-android/pull/4540
2020-04-08 14:50:26 -04:00
Manuel de la Pena da0c009a39
[Bump Mono] Bump mono to match android to ecde086 (#8281)
Commits:

* mono/mono@ecde08600b: [runtime] Allocate the memory for gshared gparams from image sets. (#19361) (#19419)
* mono/mono@8fb9301292: [meta] Add mono_type_get_name_full to public API (#19415)
* mono/mono@7bfb441fb4: Fix Windows .msi build using newer xar
* mono/mono@e77cea1910: Fix Windows .msi build with recent cygwin updates

Complete diff: fda73998f9..ecde08600b
2020-04-03 13:10:19 -04:00
Manuel de la Pena 786bfc09f5
[Mono bump] But mono to match android. (#8259)
Commits:

* mono/mono@7bfb441fb4 Fix Windows .msi build using newer xar

Full diff: e77cea1910..fda73998f9

Related android PR: https://github.com/xamarin/xamarin-android/pull/4500
2020-04-01 15:15:41 -04:00
Manuel de la Pena a4e31d546a
[Mono Bump] Bump mono to pick fix for issue (#19389) (#8257)
Commits:

* mono/mono@e77cea1910 Fix Windows .msi build with recent cygwin updates.
* mono/mono@fda73998f9 Adding static to ss_req_acquire and ss_req_count.

Complete diff: beccf5ba43...e77cea1910
2020-04-01 13:06:54 -04:00
Manuel de la Pena 5230620392
[Mono] Bump mono to 2020-02 becc5fb to match android (#8219)
Commits:

* mono/mono@beccf5ba43: [2020-02] Use GArray instead of GList when getting custom attributes from an image (#19102)
  * mono/mono@5bea89d861: [llvm] Disable running the llvm verifier by default, it was enabled by mistake, and it takes a long time. (#19332)
  * mono/mono@4b0424cd68: [2020- 02][debugger] Implementing step through multithreaded code. (#19343)
  * mono/mono@2444b38b3c: [2020-02] [dim] Class overriding interface method that was already override by another interface (#19121)
  * mono/mono@93a2f4ea39: Fix suspend_policy that will be sent to debugger-libs, because on debugger-libs we want to resume the VM only when it's suspended, but we were sending the wrong suspend_policy in the case of EVENT_KIND_VM_START and mono is started with suspend=y. (#19330)
  * mono/mono@0565f6e2c0: Do not access unloading domains in debugger (case 1013579) (#19322)
  * mono/mono@b7196c45e8: [jit] Initialize correct class for tls fields (#19300) (#19313)
  * mono/mono@88c1989895: [2020-02] [merp] Add breadcrumb for StackHash (#19242)
  * mono/mono@d2be7389b1: [2020-02] [corlib] Suppress finalization of underlying console FileStreams (#19164)

Full diff: a7e29665d2...beccf5ba43
2020-03-30 07:24:52 -04:00
Manuel de la Pena 13e199a685
[Bump Mono] Bump mono to match android to a7e29665 (#8186)
Commits:

* [mono] Enter GC Unsafe mode in some string allocation functions (#19262) f0784b26dd
* Bump boringssl submodule c51a2eba84
* Bump nunitlite to get mono/NUnitLite#26 a7e29665d2

Full diff: d90665a422..a7e29665d2
2020-03-25 08:59:41 -04:00
Jo Shields b23c379dd8
Bump to mono:2020-02 (#7795)
Bump mono to 2020-02 head to be in sync with Android.

Co-authored-by: Imran Hameed <imhameed@microsoft.com>
Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: Sebastien Pouliot <sebastien.pouliot@gmail.com>
2020-03-20 10:38:47 -04:00
Manuel de la Pena c1301d679c
[d16-6][Mono] Bump mono to 2ff898 to match android. (#8069)
Commits are:

* [2019-12][runtime] Improve handling crashing signals (#19018) c6890f410c
* Bump mono-extensions 2517534847
* Update mono-extensions 13fc6948f3
* Update mono-extensions b27b2d7f61
* [2019-12] Bump msbuild to track mono-2019-12 2ff898859b

 Diff: b33fa1d00e..2ff898859b
Related android PR: https://github.com/xamarin/xamarin-android/pull/4367
2020-03-10 10:45:56 -04:00
Thays Grazia aead4cd408
Bump mono to use embedded ppdb. (#7998) 2020-02-27 22:14:03 +01:00
Manuel de la Pena c6650dfb14
[master] Bump mono to pickup needed nunitlite changes. (#7812)
* [master] Bump mono to pickup needed nunitlite changes.

Commits are:

* [interp] context can be uninitialized for get_resume_state callback (#18535) mono/mono@455cf7d
* [2019-12] [debugger] Native thread not executing managed code considered as terminated (#18504) mono/mono@a979811
* [jit] Compute has_references correctly for gshared types whose constraint is a generic valuetype. Also emit write barriers correctly for these types. (#18562) mono/mono@f9e5a6d
* [2019-12] Bump msbuild to track mono-2019-10 (#18577) mono/mono@01be275
* [runtime] Disable lldb backtrace display on osx, it hangs on attaching in lldb. (#18591) mono/mono@ef8188a
* configure.ac: remove AC_SEARCH_LIBS for libintl (#18595)  mono/mono@e55302c
* Bump bockbuild for Pango patch 1e2d68b
* [corlib] Split corlib xunit tests even more for iOS (#18620)  mono/mono@8b72dbb
* [2019-12] [merp] MONO_DEBUG=no-gdb-stacktrace shouldn't disable MERP (#18611) mono/mono@4c93e38
* [aot] Avoid inflating gparams with byreflike types during generic sharing. (#18682) mono/mono@0011444
* Update deprecated query parameter to header (#18705) mono/mono@e65846b
* [NUnitLite] Bump nunitlite submodule. (#18733)  mono/mono@36073a0

Diff: 2edccc52a7...36073a0c74

Other commits need for this to land"


* Add a MONO define so that we get the extensions written for mono.
* Update the sources on iphone to remove the TextUI which is not used.
* BONUS: Remove an annoying warning when compiling NUnitLite
* Update the templates too which are use by xharness.
```
warning CS0659: 'ResultState' overrides Object.Equals(object o) but does not override Object.GetHashCode()
```
2020-02-07 09:56:41 -05:00
Jo Shields f4ebf67d5d
Bump to mono:2019-12 (#7537) 2020-01-30 09:02:49 -05:00
Manuel de la Pena c5b22c541f
[Master][Bump] Bump mono to match android. (#7685)
Commits are:
* [domain] Don't add NULL runtime to runtimes list (#18265) dc5902c243
* [eglib] Don't define _FORTIFY_SOURCE on Cygwin builds (#18312)  5f0704ce37
* Socket.BeginMConnect() should not attempt connections on unsupported address families. 99e3aed6ec
* [2019-10] [metadata] Size 0 Blob heap is ok when resolving assembly refs (#18338) 2faea92a92
* [FileSystemWatcher] Fix wrong behaviour when move multiple files out of watched folder on mac (#41963) df42020fe6

Complete diff is: bfcac9bd30...df42020fe6
2020-01-07 17:16:14 -05:00
Manuel de la Pena 4c6181e904
[Test] Bump mono and use the new splited tests. (#7626)
Bump mono to get the new splited test dlls and add them to be ran in
xharness. Special logic is used for mscorlib so we make sure that all
the 'parts' of the test dll do have the same configurations.


Co-Authored-By: Waleed Chaudhry <54864665+wachaudh@users.noreply.github.com>
2019-12-23 18:39:41 -05:00
Alex Soto 28f8313b1b
Use the latest mono 2019-10 to get Xcode11.3 binaries 2019-12-17 19:36:07 -05:00
Alexander Köplinger 7bc1903f80 Bump mono to latest 2019-10 (#7574)
New commits in mono/mono:

* mono/mono@9bcfa60312 [2019-10] Bump msbuild to track mono-2019-10 (#18132)
* mono/mono@e6cd9a15cd [2019-10] [mini] Fix delegate trampoline virtual call via delgate Invoke (#18115)
* mono/mono@7c95e4bc48 [debugger] skip suspend for unattached threads (#18111)
* mono/mono@77147e7526 [2019-10] Bump msbuild+roslyn to track mono-2019-10 (#18093)
* mono/mono@d7337e5beb Bump to mono/corefx@f3815a9 (#18104)
* mono/mono@6ac11972db [2019-10] [threads] Add back mono_threads_attach_tools_thread as a public API (#18075)
* mono/mono@b687667619 Bump corefx to pick up https://github.com/mono/corefx/pull/370 (#18068)
* mono/mono@da605d8081 Remove DNS lookups of the local hostname in tests (#18059)
* mono/mono@a6e867fe96 Bump msbuild to track mono-2019-10 (#18045)
* mono/mono@3387bd4a26 Bump bockbuild to get https://github.com/mono/bockbuild/pull/136
* mono/mono@5dd74a60e8 Fix side effect.
* mono/mono@a36f07c803 Fix DIM in a generic interface. Fixes #17869
* mono/mono@08e5a9751a Bump msbuild to track mono-2019-10 (#18014)
* mono/mono@56a583ea5c [2019-10] [profiler] disable inlining when coverage profiler is used and fix allocation sizes (#17991)
* mono/mono@914ffea421 [sgen] Don't trigger collections during allocation of thread objects (#17997)

Diff: 18920a83f4..9bcfa60312
2019-12-13 11:59:16 -05:00
Jo Shields 5d4ada34c7 Bump to mono:2019-10 (#7192)
## Miscellaneous fixes

* Fixed
`/Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/builds/mono-ios-sdk-destdir/ios-sources/external/linker/src/linker/Linker.Steps/OutputStep.cs(110,15): error CS0246: The type or namespace name ‘OutputException’ could not be found (are you missing a using directive or an assembly reference?) [/Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tools/mmp/mmp.csproj]`
* Changed the name of the method that is used from linker. Because of this commit 6be26771b9
* Added `OutputException.cs` file on `mtouch.csproj`.
* Removing enter_gc_safe and exit_gc_safe because now it's already gc_safe in this part of code, after a mono change.
* Added known exceptions to LLVM exception list.
* Needs `ifdef` because of this https://github.com/mono/mono/pull/17260.
* Bump MIN_MONO_VERSION to 6.8.0.41 and point MIN_MONO_URL to the PR.
* Add ENABLE_IOS=1 and ENABLE_MAC=1.
* Added switch to disable packaged mono build
* [Tests] Ignore tests that fail on 32b.
    Ignore the test on 32b, and filled issue: https://github.com/mono/mono/issues/17752
* [Tests] Ignore a couple of tests causing OOM.
    Hopefully fixes https://github.com/xamarin/maccore/issues/1659 for good.
* Ignore `MM0135` test on Catalina+ because it needs Xcode 9.4.
* [monotouch-test] Add null checks for teardown when test didn't run because of a too early OS version.
* [CFNetwork]: Http 2.0 requires OS X 10.11 or later.
    Check whether `_HTTPVersion2_0` is available and fallback to HTTP 1.1 otherwise.

## Bring HttpClient from CoreFX

* #7346 
* This bumps Mono to use https://github.com/mono/mono/pull/17645 (which is the 2019-10 backport
of https://github.com/mono/mono/pull/17628).
* The big user-visible change is in regards to certificate validation, everything below are just
some minor adjustments to tests.

### SocketsHttpHandler

CoreFX uses a completely new `HttpClientHandler` implementation called `SocketsHttpHandler`,
which you can find at https://github.com/dotnet/corefx/tree/release/3.0/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler.

Since this is not based on the web stack anymore, it does not use any of the related APIs such
as `ServicePointManager` or `WebException`.

### Certificate Validation Changes

There is a new API called `HttpClientHandler.ServerCertificateCustomValidationCallback`.
- https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.servercertificatecustomvalidationcallback?view=netframework-4.8
- c1778515a3/src/System.Net.Http/src/System/Net/Http/HttpClientHandler.Unix.cs (L154)
- c1778515a3/src/System.Net.Http/src/System/Net/Http/HttpClientHandler.Windows.cs (L383)

The `ServicePointManager.ServerCertificateValidationCallback` is no longer invoked and on
certificate validation failure, `AuthenticationException` (from `System.Security.Authentication`)
is thrown instead of `WebException`.

At the moment, the `NSUrlSessionHandler` still uses it's own validation callback and also still
throws `WebException` on failure; we should probably look into making this consistent with the
other handlers.

### Minor adjustments related to internal Mono APIs

* `HttpContent.SerializeToStreamAsync()` is now `protected` (changed from `protected internal`).
  - src/Foundation/NSUrlSessionHandler.cs: changed overload accordingly.
  - src/System.Net.Http/CFContentStream.cs: likewise.

* `HttpHeaders.GetKnownHeaderKind()` is an internal Mono API.
   There is a new internal API called `System.Net.Http.PlatformHelper.IsContentHeader(key)`
   which exists in both the old as well as the new implementation.
   The correct way of doing it with the CoreFX handler is
   `HeaderDescriptor.TryGet (key, out var descriptor) && descriptor.HeaderType == HttpHeaderType.Content`

### Minor adjustments to tests.

* `HttpClientHandler.MaxRequestContentBufferSize` is now longer supported, you can set it to
  any non-negative value, the getter will always return 0.
  See c1778515a3/src/System.Net.Http/src/System/Net/Http/HttpClientHandler.Core.cs (L18).
  - tests/linker/ios/link sdk/HttpClientHandlerTest.cs: removed assertion from test.

* `HttpMessageInvoker.handler` is a `protected private` field - in the CoreFX handler, it is
  called `_handler` and `private`.  This is accessed via reflection by some of the tests, which are
  now using the new name.
  - tests/mmptest/src/MMPTest.cs: here
  - tests/mtouch/MTouch.cs: here

* tests/monotouch-test/System.Net.Http/MessageHandlers.cs:
  Adjust `RejectSslCertificatesServicePointManager` to reflect the certificate validation
  changes described above.
  - FIXME: There was an `Assert.Ignore()` related to `NSUrlSessionHandler` and macOS 10.10;
    I removed that to reenable the test because the description linked to an old issue in
    the private repo that was referenced by several "Merged" PR's, so it looked to me that
    this might have already been fixed - and I also didn't see why it would fail there.
2019-12-04 15:10:32 -05:00
Rolf Bjarne Kvinge cdfc36e839
Bump mono to get fix for mono/mono#17931. (#7525)
New commits in mono/mono:

* mono/mono@56325f4097 [arm] if mtriple is provided, do not set -march
* mono/mono@c4a1b40fbd [2019-08] [runtime] Treat calling a non-virtual method through… (#17961)
* mono/mono@0c9250280d [2019-08] bump msbuild+roslyn to track mono-2019-08 (#17954)
* mono/mono@14aac0c541 Bump msbuild to track mono-2019-08 (#17854)
* mono/mono@a77128ca79 [merp] Remove extraneous waitpid invocation (#17762)
* mono/mono@296a9afdb2 [MacSDK] Bump xamarin-gtk-theme.py to latest revision from private bockbuild (#17786)
* mono/mono@e59c3fbb68 Bump msbuild packages to 1e1d0f2caad3731357cca18b298536e514f5519b (#17724)

Diff: 062f0ab8ca..56325f4097
2019-12-03 13:59:58 +01:00
Vincent Dondain a558d84457 Merge branch 'xcode11.2' into master-merge-xcode11.2 2019-11-05 15:25:49 -05:00
Rolf Bjarne Kvinge 34f02ff0a0
Bump mono to a hash with archives and use them. (#7299)
* Bump mono to a hash with archives and use them.

New commits in mono/mono:

* mono/mono@6af4ae7635 [2019-06][ci] Add Xcode 11.2beta2 for XI/XM Mono SDK builds

Diff: 476d72b9e3..6af4ae7635

* Bump mono to get min iOS version fix.

New commits in mono/mono:

* mono/mono@3775d5ac0a [sdks] Bump min iOS version to 7.0.

Diff: 6af4ae7635..3775d5ac0a

* [xharness] Bump mtouch tests timeout to 3h, we have a couple of new PR bots which are old and slow.

The new PR bots are late 2012 mac minis, so quite slow.
2019-10-25 22:13:20 +02:00
Vincent Dondain 89516b94e5 [xcode11.2] Bump mono 2019-06@476d72b (#7260)
New commits in mono/mono:

* mono/mono@476d72b9e3 [IO] Remove read-only logic in mono_w32_get_disk_free_space
* mono/mono@bdc557612b [2019-06][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry (#17296)
* mono/mono@1e2d850ec4 [tests] Bump corefx to get Azure testhost change (#17275)
* mono/mono@703e9a2fad [2019-06] Add drawing type converters to mobile profiles (#17241)
* mono/mono@4ec605fc9b If there is a perform_wait_callback in the stack there will be another catch generated by the method called in the owner thread, so we don't need to throw as unhandled exception, we can continue and find the next catch.
* mono/mono@061c225621 [merp] exit_status is 0 if we ran the uploader successfully (#17186)
* mono/mono@07c23f2ca4 [crashing] Remove Mono signal handlers when starting to handle a crash

Diff: 5608fe0abb..476d72b9e3
2019-10-21 08:06:34 +02:00
Rolf Bjarne Kvinge f4563c2f92
Bump mono to get archives built with Xcode 11.1. (#7237)
* Bump mono to get archives built with Xcode 11.1.

New commits in mono/mono:

* mono/mono@b601371d5f Update MERP event type to MonoAppCrash
* mono/mono@6184ff007b [2019-08][ci] Use Xcode11.1 and 11.2beta2 for XI/XM Mono SDK builds (#17324)
* mono/mono@8969f2cc99 [2019-08] [merp] Include any managed methods in the 'unmanaged_frames' portion … (#17316)
* mono/mono@3009440108 [2019-08][merp] Don't install SIGTERM handler in EnableMicrosoftTelemetry (#17308)

Diff: df5e13f95d..b601371d5f

* Fix accidental/mysterious/captivating/incorrect merge solution selected by git when merging d16-4/xcode11.1 into master.
2019-10-17 23:10:23 +02:00
Rolf Bjarne Kvinge e7da76d103
Bump mono to get test fixes for xamarin/maccore#2021. (#7225)
Fixes https://github.com/xamarin/maccore/issues/2021.

New commits in mono/mono:

* mono/mono@df5e13f95d [tests] Bump corefx to get Azure testhost change (#17275)
* mono/mono@11e1499c22 [2019-08] [merp] Print missing status marker file for stage 1 (setup) (#17220)
* mono/mono@7dbad3c361 [arm] Fix fetching of method addresses (#17253)
* mono/mono@9a88a36789 [sgen] Fix invalid value passed to write barrier (#17247)
* mono/mono@0f241c975c [2019-08] Add drawing type converters to mobile profiles (#17240)
* mono/mono@7ebe1a1763 Update Roslyn to 3.4.0-beta2-19477-01
* mono/mono@b759449ba8 Bump msbuild to track mono-2019-08
* mono/mono@617f399efc [IO] Remove read-only logic in mono_w32_get_disk_free_space (#17211)
* mono/mono@77258ea112 [2019-08] [debugger][exception] Debugger breaks on handled exceptions (#17202)
* mono/mono@f83c321f88 Bump msbuild to track mono-2019-08 (#17193)
* mono/mono@1ecd094b44 [2019-08] [Mono.Debugger.Soft] Fix VirtualMachine detaching (#17077)
* mono/mono@54a33be9de [merp] Put thread into async context before running summarizer (#17197)
* mono/mono@72128bb00d Bump libgdiplus to 6.0.4
* mono/mono@65a972c033 Always do copy_stack_data on entering GC safe/unsafe mode. (#17184)
* mono/mono@9e6def1553 [merp] exit_status is 0 if we ran the uploader successfully (#17187)
* mono/mono@8a707cc012 [2019-08] [reflection] Only duplicate MonoMarshalSpec strings for custom types (#17189)
* mono/mono@bd72952cf8 [2019-08] [merp] Don't overrun buffer in copy_summary_string_safe … (#17178)
* mono/mono@b6efc0cc90 Bump msbuild to track xplat-master (#17132)
* mono/mono@2869cd5f67 Bump ikvm to get https://github.com/mono/ikvm-fork/pull/13 (#17170)
* mono/mono@a64a25695d [2019-08] [merp] Use macOS version not Darwin version in MERP reports (#17147)
* mono/mono@57f068438d [2019-08] [merp] Add API method that whitelists all native libraries (#17128)

Diff: 528103728f..df5e13f95d
2019-10-15 11:04:57 +02:00
Rolf Bjarne Kvinge 33e78af34e Merge remote-tracking branch 'origin/d16-3' into xcode11.1 (#7178)
* [xharness] Fix incorrect merge. (#7033)

Add new device tasks to the right list so that they're processed and marked as
ignored correctly later.

* Bump maccore for device scheduling fix (#7029)

New commits in xamarin/maccore:

* xamarin/maccore@3064e2c463 [device-builds] Fix if condition typo (double `[`) (#1986)
* xamarin/maccore@e8bdf7a70f [tests] Treat Xcode GM as beta so we don't have to update all devices to GM (#1964) (#1973)

Diff: a86e78a3a1..3064e2c463

* Use Xcode 11 final (#7073)

It's the same hash as Xcode 11 GM 2 but it's cleaner to actually use `Xcode11.app`.

In addition: the device bots are looking for "GM" and "beta" in the Xcode name to run on either the stable or beta pool.

* [builds] Stop shipping the 32-bit AOT compiler for Xamarin.Mac. (#7042)

* [d16-3] Bump mono 2019-06@5608fe0a (#7126)

* [d16-3] Bump mono 2019-06@5608fe0a

New commits in mono/mono:

* mono/mono@5608fe0abb [2019-06] Update NETStandard 2.1 APIs (#17081)
* mono/mono@a5b8d6fcb5 [2019-06] Fix time zone issue when jumping into DST (#17062)
* mono/mono@390e6e124f Revert "[metadata] Fix leaks when handling a few attributes (#16675) (#16851)"
* mono/mono@459dd927df [2019-06] Bump bockbuild to get https://github.com/mono/bockbuild/pull/121
* mono/mono@beb9a1b182 [sdks] Remove the mac32 build.
* mono/mono@747a919a06 [ci] Make ios/mac sdks archive URL more predictable
* mono/mono@114013096e [ci] Build iOS/Mac Mono sdks archive using Xcode 11
* mono/mono@10a24f3ea1 Implement WriteCore and ReadCore in DeflateStream
* mono/mono@a925846b1f [offsets-tool] Install clang into the user-specific python directory. (#16933)
* mono/mono@fe64a4765e [2019-06] Bump msbuild and sdk versions to 3.0.1xx latest (#16870)
* mono/mono@7293597b90 [corlib] Fix building nunit-lite twice (#16910)
* mono/mono@1648e88687 Rename bundle identifier for the various Mono.frameworks we create for Xamarin.iOS. Fixes xamarin/xamarin-macios#7005. (#16896)
* mono/mono@a6b5187d76 [metadata] Fix leaks when handling a few attributes (#16675) (#16851)
* mono/mono@7da9a041b3 [2019-06] Bump to mono/corefx@e79cf5b
* mono/mono@2b7050bdf3 [2019-06] Add RenamedEvent* to FSW sources from CoreFX (#16758)
* mono/mono@4f5ed502c6 [msbuild] pick up p4 versions
* mono/mono@f04ee2219d [2019-06][msbuid][roslyn] Bump msbuild and roslyn-binaries to pick up dotnet 3.0.100-p9 toolset
* mono/mono@6b4b99e571 Vtable [i] can be null so this should be check before use it. Fixes #16712

Diff: 7af64d1ebe..5608fe0abb

* [tests] Adjust to non-fat macOS libraries from mono.

* [monotouch-test] Fix UrlProtocolTest after a server we don't control changed its output. Fixes xamarin/maccore#2006. (#7157)

microsoft.com is doing user agent sniffing, and broke our our test since their
output is now different. Switch to example.com instead.

Fixes https://github.com/xamarin/maccore/issues/2006.
2019-10-07 20:51:21 -04:00
Alexander Köplinger fb1f73ef57 Bump mono to 2019-08@528103728fc2aedb7b6062e11255d39a0ed3f31c to add missing NS2.1 APIs (#7147)
See https://github.com/mono/mono/issues/17064.

The 2019-08 version of the fix adds a new assembly with NS2.1 APIs that we stubbed out in 2019-06: System.Data.DataSetExtensions.dll
2019-10-02 07:59:39 -04:00
Rolf Bjarne Kvinge 4d5d38be02
Drop the Xcode 9.4 dependency. (#7044) (#7135)
* Drop the Xcode 9.4 dependency. (#7044)

* Drop the Xcode 9.4 dependency.

Also bump mono to get the removal of the mac32 binaries.

New commits in mono/mono:

* mono/mono@beb9a1b182 [sdks] Remove the mac32 build.
* mono/mono@747a919a06 [ci] Make ios/mac sdks archive URL more predictable
* mono/mono@114013096e [ci] Build iOS/Mac Mono sdks archive using Xcode 11
* mono/mono@10a24f3ea1 Implement WriteCore and ReadCore in DeflateStream
* mono/mono@a925846b1f [offsets-tool] Install clang into the user-specific python directory. (#16933)
* mono/mono@fe64a4765e [2019-06] Bump msbuild and sdk versions to 3.0.1xx latest (#16870)
* mono/mono@7293597b90 [corlib] Fix building nunit-lite twice (#16910)
* mono/mono@1648e88687 Rename bundle identifier for the various Mono.frameworks we create for Xamarin.iOS. Fixes xamarin/xamarin-macios#7005. (#16896)
* mono/mono@a6b5187d76 [metadata] Fix leaks when handling a few attributes (#16675) (#16851)
* mono/mono@7da9a041b3 [2019-06] Bump to mono/corefx@e79cf5b
* mono/mono@2b7050bdf3 [2019-06] Add RenamedEvent* to FSW sources from CoreFX (#16758)
* mono/mono@4f5ed502c6 [msbuild] pick up p4 versions
* mono/mono@f04ee2219d [2019-06][msbuid][roslyn] Bump msbuild and roslyn-binaries to pick up dotnet 3.0.100-p9 toolset
* mono/mono@6b4b99e571 Vtable [i] can be null so this should be check before use it. Fixes #16712

Diff: 7af64d1ebe..beb9a1b182

* [tests] Add a fat macOS dylib for testing purposes.

Add a binary version of a fat macOS dylib (because we can't create one when we
need it since we can't create 32-bit slice anymore).

It was created like this (in tests/test-libraries):

	$ cat test.m
	int theUltimateAnswer ()
	{
		return 42;
	}

	$ /Applications/Xcode94.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang test.m -olibtest.i386.dylib -shared -isysroot /Applications/Xcode94.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -framework Foundation -framework CoreLocation -lz  -arch i386
	$ lipo -create libtest.i386.dylib .libs/macos/libtest.dylib -output libtest-fat.dylib

* [tests] Adjust XM tests to XM not having fat dylibs anymore.

* [tests] Adjust product tests to some libraries not being fat anymore.

* [tests] Don't treat an Xcode with the same major version number as old.

Fixes an issue in the MT0091 test, where it would fail on tvOS because the
test wanted to use an older Xcode, and we could end up returning Xcode 11.0
when the current Xcode is 11.1. Since the test depends on using the OS SDK as
it was designed for (technically using an OS SDK earlier than the latest), it
ended up failing because while the iOS SDK was bumped in Xcode 11.1, the tvOS
SDK was not.
2019-10-01 16:18:28 +02:00
Vincent Dondain 4ecb1b32b1 Bump mono 2019-08
This is to match Xamarin.Android

New commits in mono/mono:

* mono/mono@d8441deead [crashing] Remove Mono signal handlers when starting to handle a crash (#17078)
* mono/mono@7ae0f38fd7 [runtime] Respect runtime_version in mono_init_internal (#17086)
* mono/mono@61ca7fe3a4 [sdks] Bump min iOS version to 7.0. (#17070)

Diff: c99adb97ed..d8441deead
2019-09-30 13:30:28 -04:00
Alex Soto cd5917650e
[mono] Bump mono to match android (#7104)
* [mono] Bump mono to match android

4546440471...c99adb97ed

* [tests] Add workaround for xamarin/maccore#1996.
2019-09-26 08:39:49 -04:00
Vincent Dondain d4aae746dd [mono] bump mono/2019-08 (#7088)
New commits in mono/mono:

* mono/mono@4546440471 Add mono-hang-watchdog.in to tarball (#17018)
* mono/mono@4c31bdabf3 [2019-08] [debugger] New way to filter exceptions to support VSWin features (#17000)
* mono/mono@d73a286a2c [ci] Make ios/mac sdks archive URL more predictable
* mono/mono@dacef517fa [merp] Use function names even in 'private crashes' mode (#17003)
* mono/mono@d1ca1a5d2e [2019-08] [System.Xml] Fix deserialization issue (#17014)
* mono/mono@1d55b355f3 Correctly check for HAVE_STAT_BIRTHTIME in configure.ac checks for System.Native (#17001)
* mono/mono@bb522edb0d [2019-08] Restore Previous ExecutionContext Capture Behavior (#16997)
* mono/mono@7f7b5c9f3e [interp] avoid exception checkpoint when in thread is in GC Safe state (#16967)
* mono/mono@c87f99dd81 [ci] Fix typo in sdks-archive.groovy
* mono/mono@065499c2ef [ci] Fix typo in sdks-archive.groovy
* mono/mono@9f7b2c8d0a [ci] Fix typo in sdks-archive.groovy
* mono/mono@2c003ec71d [ci] Build iOS/Mac Mono sdks archive using Xcode 11
* mono/mono@e02e823ef7 [arm64_32] fix pointer size in CallInfo

Diff: 70d6903053..4546440471
2019-09-25 11:07:24 +02:00
Rolf Bjarne Kvinge 2adecee3d9
Drop the Xcode 9.4 dependency. (#7044)
* Drop the Xcode 9.4 dependency.

Also bump mono to get the removal of the mac32 binaries.

New commits in mono/mono:

* mono/mono@70d6903053 [2019-08] [merp] Use a separate program as the hang supervisor. (#16900)
* mono/mono@4bff2b6370 [offsets-tool] Install clang into the user-specific python directory.
* mono/mono@81894ec8ca Implement WriteCore and ReadCore in DeflateStream
* mono/mono@bfbf823ca1 [ci] Remove more XCODE32_DIR usages (#16964)
* mono/mono@ce01b20a4d Add net_4.8.xml to EXTRA_DIST and bump binary-reference-assemblies again
* mono/mono@7a587d7fa6 Add .NET 4.8 reference assemblies (#16912)
* mono/mono@35e454a8f6 [sdks] Remove the mac32 build. (#16936)
* mono/mono@75eb342f53 [2019-08] [System] Make FileSystemWatcher backend non-static (#16926)
* mono/mono@5881981f79 [2019-08] [mini] Add missing membars when initializing rgctx entries (#16909)
* mono/mono@6290b6cd6e Temporarily disable embedded ppdb data decompression (#16911)
* mono/mono@a0e7f9eaf2 [2019-08] [arm64_32] make "Debug Mode" work on Watch series 4 with --interpreter (#16886)
* mono/mono@6275840a7f Rename bundle identifier for the various Mono.frameworks we create for Xamarin.iOS. Fixes xamarin/xamarin-macios#7005. (#16901)
* mono/mono@25f6093283 [corlib] Fix building nunit-lite twice (#16895)
* mono/mono@7ec17ba1be [2019-08] [android sdk] Add aprofutil tool (#16884)
* mono/mono@f755f3b539 [metadata] Fix leaks when handling a few attributes (#16850)
* mono/mono@5f9a2db39b [2019-08] Fix infrequent hangs in test-runner. (#16854)
* mono/mono@f31f5ea1f1 [2019-08] [threads] do not convert NULL thread name (#16828)
* mono/mono@20308e6f87 [aot] Do not wrap tool_prefix path when calling strip (#16820)
* mono/mono@cecda47c48 [aprofutil] Add -p and -f options
* mono/mono@824cc12ac3 Bump to mono/corefx@e79cf5b
* mono/mono@b77dc06a7e [aprofutil] Install the tool correctly (#16112)
* mono/mono@1848d78d60 [aotprof-tool] Initial import of AOT profiler tool (#15384)
* mono/mono@da0086e304 [2019-08] Add RenamedEvent* to FSW sources from CoreFX (#16756)
* mono/mono@0297b21b03 [msbuild][roslyn] Bump msbuild and roslyn to pull in new versions (#16768)
* mono/mono@40631e3b9e [2019-08] [aot] move method_addresses to data.rel.so section to avoid text relocations (#16751)
* mono/mono@68b77674e2 Vtable [i] can be null so this should be check before use it. Fixes #16712
* mono/mono@4a0b4f41ed [mini] publish global patches after JitInfo has been added
* mono/mono@7a1f63fde6 [debugger][android] It was not initialising seq_points on MonoCompile on Android, so when was compiling dynamic methods, seq_points wasn't created and we got the assert when try to single step.

Diff: 29b1ac19c9..70d6903053

* [tests] Add a fat macOS dylib for testing purposes.

Add a binary version of a fat macOS dylib (because we can't create one when we
need it since we can't create 32-bit slice anymore).

It was created like this (in tests/test-libraries):

	$ cat test.m
	int theUltimateAnswer ()
	{
		return 42;
	}

	$ /Applications/Xcode94.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang test.m -olibtest.i386.dylib -shared -isysroot /Applications/Xcode94.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -framework Foundation -framework CoreLocation -lz  -arch i386
	$ lipo -create libtest.i386.dylib .libs/macos/libtest.dylib -output libtest-fat.dylib

* [tests] Adjust XM tests to XM not having fat dylibs anymore.

* [tests] Adjust product tests to some libraries not being fat anymore.

* One more test fix.
2019-09-24 13:40:18 +02:00
Jo Shields 926372c940 Bump to mono:2019-08 (#6723)
Included changes are:

* New Cecil API in 2019-08
* Permit new symbols from networkable AOT profiler in symbols test
* Bump Mono to include fix for zlib linking, and new Cecil API
* We need to link against zlib now, if using libmono.a
* [Tests] Ignore memory hungry tests in old devices. (#6913)
* Ignore certain tests that use too many resources in old devices.
* Add missing tests that use too much memory on 32b devices.
2019-09-09 09:44:03 -04:00
Manuel de la Pena b0784f5183 Bump mono to be in sync with android and pick a needed fix for them. 2019-09-04 18:00:13 -04:00
Manuel de la Pena 1756865c99
[d16-3] Bump mono for the laests mono fixes related to culture. (#6902) 2019-09-04 17:55:27 -04:00
Manuel de la Pena c4156bf206 [Master] Bump mono for the laests mono fixes related to culture. 2019-09-03 18:05:33 -04:00
Manuel de la Pena 3e3e980565
Bump mono to 643415 and be in sync with android. (#6835) 2019-08-23 20:39:40 +02:00
Manuel de la Pena f9d8e0d40b Bump mono to 643415 and be in sync with android. (#6836) 2019-08-22 22:47:41 -04:00
Manuel de la Pena 9b6705bbe3
Bump mono to match android to cc0632 (#6811) 2019-08-21 10:52:40 +02:00