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

5656 Коммитов

Автор SHA1 Сообщение Дата
Alexander Köplinger c6a2710bc0 Really remove extra-linker-defs.xml from mono-native 2019-02-07 12:27:08 +01:00
Alexander Köplinger 4f72e55fce Fix mmp codestripping test 2019-02-07 00:28:42 +01:00
Alexander Köplinger 42c0b1e474 Merge branch 'master' into mono-2018-10
# Conflicts:
#	external/mono
2019-02-07 00:06:17 +01:00
Alexander Köplinger dbba1edd5b Update mono.native corlib test 2019-02-06 23:10:02 +01:00
Alexander Köplinger 4e9714aa1d Bump mono 2019-02-06 23:09:41 +01:00
Sebastien Pouliot 2c3fd9b781
Bump mono to head of 2018-08 (#5560)
Commit list for mono/mono:

* mono/mono@163f45d81c [corlib] Fix GetFrames_AsyncCalls test not to block
* mono/mono@208d5a5f1b Avoid recursive extracting redundant frames from captured traces.
* mono/mono@bcc1b83e82 Add back missing stack frames to mono MERP reports (#12741)
* mono/mono@7a3ce9849f Bump corert
* mono/mono@13204572a4 [arm/ios] workaround for faulty vcmp.f64 insn

Diff: 2359cba40e...163f45d81c
2019-02-06 14:09:05 -05:00
Manuel de la Pena b87be1576b
[Foundation] Remove possible race condition with the NSUrlSessionHandler. Fixes #5511 (#5557)
The SendAsync method in the NSUtlSessionHandler is not handling the
cancellation token correctly. Moving the Register to nearly the end of
the method (just before returning the task) ensures that if we got a
already cancelled token, we execute in a sync manner the cleanup.

Using the IsCancellationRequested in this method is less optimal
because we would have to check several times:

1. When SencAsync receives the token and before it creates the inflight
data.
2. When we are going to resume the data. Since we might have created the
inflight data and at that point an other thread cancelled the request.

Fixes: https://github.com/xamarin/xamarin-macios/issues/5511
2019-02-06 17:00:44 +01:00
Rolf Bjarne Kvinge 6c6afbccb2
Always set variables to allow for downloading mono package. (#5559)
Even if we don't end up using those variable during a normal build (when
building from source), it can still be useful that commands like `make download`
continue to work.

It also fixes a make warning:

    Making all in builds
    Makefile:16: warning: overriding commands for target `downloads/'
    Makefile:9: warning: ignoring old commands for target `downloads/'
2019-02-06 15:47:32 +01:00
Rolf Bjarne Kvinge 22c8ca5090
[docs] Make PreserveSmartEnumConversionsSubStep use unique error codes and improve ExceptionalSubStep error documentation. (#5555)
* Make PreserveSmartEnumConversionsSubStep use error codes that are not
  already used elsewhere: this isn't obvious at first, but all
  ExceptionalSubStep errors use a range of error numbers (10 numbers from NNN0
  to NNN9), so we need to reserve that entire range. In this case there were
  other errors using some of the numbers of the range for PreserveSmartEnumConversionsSubStep.
* Make sure there are anchor links for all the variations of each ExceptionalSubStep error.
2019-02-06 15:31:49 +01:00
Alexander Köplinger 3661e7869a Remove not needed xharness code 2019-02-06 01:15:56 +01:00
Alexander Köplinger 45453198f7 Bump mono 2019-02-06 01:13:38 +01:00
Alexander Köplinger 8829aa0c39 Merge branch 'master' into mono-2018-10
# Conflicts:
#	tests/xharness/Harness.cs
2019-02-05 21:38:47 +01:00
Alexander Köplinger a67e2b270e Remove accidentally committed debugging helper 2019-02-05 15:08:47 +01:00
Rolf Bjarne Kvinge 6bc475e624
[xharness] Rework BCL test importation to not bail out completely if something went wrong. (#5540)
Rework BCL test importation to generate projects that won't compile instead of
giving up completely in case of generation failure.

This means that xharness can still be used for non-BCL tests even if the
generation of the BCL tests fail.
2019-02-05 12:55:46 +01:00
Alexander Köplinger 1c97aba973 Fix mono native copying when no linkcontext is available
When we're using cached linker output we can't access LinkContext.
Instead we need to cache the required values ourselves.
2019-02-05 11:37:02 +01:00
Alexander Köplinger c4052955a8 Remove zlib-helper from runtime/
It is now built as part of mono: 5187b0bdaa
2019-02-05 01:46:02 +01:00
Rolf Bjarne Kvinge 65e35b13f6
[introspection] Don't report each broken P/Invoke more than once. (#5539) 2019-02-04 15:22:19 +01:00
Rolf Bjarne Kvinge 6af4f139c2
[tests] Use latest version of NUnit for test projects to get support for parallelized tests. (#5538)
* [tests] Use latest version of NUnit for test projects to get support for parallelized tests.

* [xharness] Automatically find the correct nunit-console executable for NUnit tests.
2019-02-04 15:22:00 +01:00
Rolf Bjarne Kvinge 736cb90ac6
[mtouch/mmp] Avoid a few clang warnings in the generated pinvoke code. (#5541) 2019-02-04 15:20:44 +01:00
Alexander Köplinger 68657484bb Merge branch 'master' into mono-2018-10 2019-02-04 15:11:58 +01:00
Alexander Köplinger 86b79d2a1a Bump mono submodule 2019-02-04 15:09:55 +01:00
Alexander Köplinger a428c7adba Bump Mono pkg 2019-02-04 15:09:20 +01:00
Alexander Köplinger eec48fc869 Revert "DON'T MERGE DON'T MERGE Add workaround for https://github.com/mono/mono/issues/12724"
This reverts commit 2e924a40c8.
2019-02-04 14:40:48 +01:00
Rolf Bjarne Kvinge db01babe71
[tests] Set the correct environment variables when executing msbuild from the mtouch tests. (#5534)
This is usually not a problem, because these variables are already set when
running from the command-line or xharness. However, it shows up when running
tests directly from VSfM.
2019-02-04 07:59:29 +01:00
Sebastien Pouliot cf86b3e1ef
[mtouch] Use the 'repl' assemblies when the interpreter is enabled (#5535) 2019-02-01 15:55:27 -05:00
Rolf Bjarne Kvinge fa09467f8a
[msbuild] Add space to arguments when adding a newline at the end as well. (#5533)
Example (previous behavior):

    args.Add ("-a");
    args.AddLine ("-b")
    args.Add ("-c");

would result in:

    -a-b
    -c

which is obviously not correct.

New result:

    -a -b
    -c

which is much better.
2019-02-01 20:31:13 +01:00
Rolf Bjarne Kvinge 703058f99b
[msbuild] Use AddLine when adding --interpreter to mtouch arguments. (#5532)
So that it matches the rest if the arguments.
2019-02-01 20:21:08 +01:00
Alexander Köplinger b105a5dd6f Improve copying of libmono-native 2019-02-01 20:10:58 +01:00
Alexander Köplinger a2b35f1482 Remove unnecessary processing of _SystemNative_RealPath 2019-02-01 20:04:03 +01:00
Alexander Köplinger d612d3ec27 bugzilla -> github 2019-02-01 19:47:55 +01:00
Alexander Köplinger 8081626eda Improve copying of libmono-native 2019-02-01 19:40:50 +01:00
Alexander Köplinger 216f337d19 Bump expected dylib count in mmptest 2019-02-01 13:59:47 +01:00
Alexander Köplinger ef5d85d4ae Consider GSS as a known framework in mmptest 2019-02-01 13:46:47 +01:00
Alexander Köplinger 2e924a40c8 DON'T MERGE DON'T MERGE Add workaround for https://github.com/mono/mono/issues/12724 2019-02-01 13:33:23 +01:00
Alexander Köplinger 5c0a5cf36b Ignore _NetSecurityNative_ public symbols in mtouch tests
They are expected from System.Net.Security.Native
2019-02-01 12:55:55 +01:00
Alexander Köplinger 726f7d2b98 Add System.Data reference to introspection-mac.csproj 2019-02-01 12:47:00 +01:00
Rolf Bjarne Kvinge 510bb0b1cd
[mtouch] Add logging overloads that don't format the input. (#5525)
Sometimes we just Log a string without any format arguments. This works fine,
until the string comes from the user, and happen to contain braces, in which
case an invalid format exception is thrown.

Adding Log overloads that doesn't take format arguments (nor formats its
input) avoids this problem.
2019-02-01 07:43:15 +01:00
Rolf Bjarne Kvinge 204361d62e
[xharness] Simplify code slightly. (#5506) 2019-01-31 18:28:38 +01:00
Alexander Köplinger f8661c8f87 Bump mono 2019-01-31 18:22:45 +01:00
Marius Ungureanu b357624861
[NSString] Add overloads which are optimized for substring handling (#5517)
* [NSString] Add overloads which are optimized for substring handling

Fixes #5134
2019-01-31 19:09:13 +02:00
Alexander Köplinger ac08cc42af Merge branch 'master' into mono-2018-10
# Conflicts:
#	external/mono
2019-01-31 16:42:51 +01:00
Alexander Köplinger 9773296f2d Bump mono 2019-01-31 16:41:08 +01:00
Alexander Köplinger ef2842a598 Add Mono.CSharp back to xammac 2019-01-31 16:39:34 +01:00
Alexander Köplinger 6f206386d8 Consider GSS as a known framework in mmptest 2019-01-31 16:29:31 +01:00
Alexander Köplinger e25499395d Link with GSS framework in mmp when Mono.Native is used 2019-01-31 14:32:21 +01:00
Alexander Köplinger acc513aba5 Add System.Net.Security.Native to mmp 2019-01-31 14:32:00 +01:00
Sebastien Pouliot faee79b2d9
Bump mono to head of 2018-08 (#5521)
Commit list for mono/mono:

* mono/mono@2359cba40e [coop] Fix deadlock when unwinding
* mono/mono@a4956c837e [2018-08] Native Crash Stability Fix Batch (#12565)
* mono/mono@d4d4fb7987 [eglib]Fix memory leak in `g_find_program_in_path()`. #11615.
* mono/mono@9939c1a656 [System]Fix race condition in `SystemDependencyProvider.Initialize()`. #12538.
* mono/mono@b0c4390d60 [runtime] Don't probe aot cache on android
* mono/mono@725ba2a252 Fix https://github.com/mono/mono/issues/12461.
* mono/mono@1dee62626d [2018-08 Android,AOT] Support dumping AOT offsets with Android NDK r17+ (#12454) (#12465)
* mono/mono@146c8191fb [x86] Set the LLVM data layout.
* mono/mono@5d3077c7bc [arm] Set the LLVM data layout, without it, opt seems to make incorrect optimizations.
* mono/mono@5266e6a8f1 [2018-08][debugger][backport] Fix crash when there is a generic struct with a field that is an enumerator (#12410)
* mono/mono@0d988bc696 Bump API snapshot submodule
* mono/mono@e6285d015b Bump corefx

Diff: 51c4f45402...2359cba40e
2019-01-30 16:50:28 -05:00
Alexander Köplinger 8fcd679eff Keep track of mono files in mono/external too 2019-01-30 18:37:19 +01:00
Alexander Köplinger ef62228b2c Bump mono 2019-01-30 13:48:26 +01:00
Alexander Köplinger 6ec120acf6 Bump mono 2019-01-30 13:43:45 +01:00