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

4208 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 15e3bf39ce
[d15-7] [jenkins] Create comment file for PR builds. (#3799) (#3859)
* [jenkins] Create comment file for PR builds. (#3799)

* [jenkins] Create comment file for PR builds.

* [tools] Create stamp file after doing things that might modify files we care about. (#3864)

We have consistency checks to verify that no unexpected files are modified
done when comparing APIs in for a pull request.

Unfortunately the check didn't take into account that checking out the
revision to do the API check against might modify some of the files in the
consistency check itself, thus triggering the consistency check.

Fix this by only verify timestamps of files modified after checkout out the
revision, which is the only thing we care about anyway.

For examples see PR #3855 or PR #3850.

* [jenkins] Don't succeed if something went wrong when creating API or generator diff. (#3865)

Ref: https://github.com/xamarin/xamarin-macios/pull/3855#issuecomment-378441993
2018-04-05 07:37:08 +02:00
Vincent Dondain 3955be3f12 [arkit] Add missing ARHitTestResultType binding (#3872) (#3873)
- Fixes #3870: Missing ARHitTestResultType.EstimatedVerticalPlane binding for ARKit 1.5
(https://github.com/xamarin/xamarin-macios/issues/3870)
2018-04-04 20:22:01 -04:00
Manuel de la Pena 1110d8fcb3
[Foundation] Ensure we do raise 401 on NTLM when no creds are present. (#3866)
* [Foundation] Ensure we do raise 401 on NTLM when no creds are present. Fixes #3742

The code was not executing the completionHandler in those case were the
user did not provide the creds. We should try to get the creds and use
them or call the cb with the proposed creds.
2018-04-04 16:31:04 +02:00
Sebastien Pouliot aef999f3ed
[apidiff] Update XML references (#3851)
* XI 11.9 (stable) comes from `xcode9.3`
* XM 4.2.1 (stable) comes from `d15-6`
2018-04-03 16:58:04 -04:00
Rolf Bjarne Kvinge 4f9140dcb1 Build on Wrench 2018-04-03 13:07:32 +02:00
Sebastien Pouliot dd39753bc6
[mtouch] Use full path to mono-symbolicate instead of UseShellExecute (#3825) (#3834)
Fix https://github.com/xamarin/xamarin-macios/issues/3653 differently as
`UseShellExecute` cannot be used when redirecting output so the original
fix [1] caused an exception which affected it from both macOS and windows
(thru XMA) instead of being an issue only with the later.

It's not clear how the original [1] fix was validated successfully, it's
possible than an older version of mono did not throw (since that
limitation seems windows specific).

[1] https://github.com/xamarin/xamarin-macios/pull/3781
2018-04-02 10:06:56 -04:00
Vincent Dondain 77ac25f3b0
Merge pull request #3835 from VincentDondain/d15-7-merge-xcode9.3
Merge xcode 9.3 into d15-7
2018-03-30 19:42:26 -04:00
Vincent Dondain 260da1b5b4 [introspection] Fix ApiAvailabilityTest macOS max version 2018-03-30 15:59:59 -04:00
Vincent Dondain 94af4c6713 [xtro] Fix xcode9.3 merge issues 2018-03-30 12:26:58 -04:00
Vincent Dondain c83238c994 [apidiff] Update XML references to xcode9.3 branch
- Fixes merge issue.
2018-03-30 11:37:57 -04:00
Vincent Dondain e90c86d2e4 [arkit] Add missing ImageIO using 2018-03-29 23:40:29 -04:00
Alex Soto dc03a42cd3
Remove XamCore. and a couple of nint/nuint enums 2018-03-29 19:46:17 -06:00
Alex Soto 0b2e65599a
Remove diff noise from merge 2018-03-29 18:27:04 -06:00
Vincent Dondain 9eb48678a3 Bump maccore for d15-7 (xcode9.3 merge) 2018-03-29 19:39:03 -04:00
Vincent Dondain 7ece2f6db1 Merge branch 'xcode9.3' into d15-7-merge-xcode9.3 2018-03-29 19:31:53 -04:00
Vincent Dondain d34f1fbbd7 Merge branch 'xcode9.3' into d15-7-merge-xcode9.3 2018-03-29 19:31:01 -04:00
Sebastien Pouliot f62de4722b
Bump Xcode 9.3 to the final/released version (#3833)
* [tests] Tweak tests as NKIssue/NKAssetDownload now respond to NS[Secure]Coding without any mention in header files
2018-03-29 17:58:55 -04:00
Sebastien Pouliot eb1d787574
Bump mono to head of 2017-12 (#3821)
Commit list for mono/mono:

* mono/mono@bf27e25446 Remove suspicious mono_gchandle_free
* mono/mono@4e276971c0 Fix the ios sdk build. (#7823)
* mono/mono@1075824929 Fix Android build for toolchain (#7819)
* mono/mono@2dbce94d6f Disable the interpreter on ios device builds. (#7796)

Diff: 1f09e9af88...bf27e25446
2018-03-27 21:31:31 -04:00
Sebastien Pouliot bc5df7c4ed
Merge pull request #3816 from spouliot/xcode93-merge-sr3
Merge d15-6 SR3 into xcode9.3
2018-03-26 17:48:22 -04:00
Sebastien Pouliot dda3ef4b5d Merge branch 'd15-6' into xcode93-merge-sr3 2018-03-26 14:28:12 -04:00
Alex Soto cdfd18e8a9
Merge pull request #3813
[AppKit] Backport some NullAllowed fixes from master to d15-7
2018-03-24 11:06:54 -06:00
Alex Soto cc41ecd60c [Appkit] Adds NullAllowed to NSTableCellView.ObjectValue (#3793)
Fixes xamarin/xamarin-macios#3792

`null` is allowed in `NSTableCellView.ObjectValue` property according to header definition:

```
@property (nullable, strong) id objectValue;
```
2018-03-23 18:02:25 -06:00
Alex Soto a04b482273 [AppKit] Adds [NullAllowed] to NSGridCell.ContentView (#3779)
Fixes xamarin/xamarin-macios#3777

The Objective-C definition is:

```
@property (strong,nullable) __kindof NSView *contentView;
```
2018-03-23 18:00:49 -06:00
Alex Soto f25fa009c6 [AppKit] Adds [NullAllowed] to NSTableView.RegisterNib (#3778)
Fixes xamarin/xamarin-macios#3776
2018-03-23 18:00:26 -06:00
Manuel de la Pena 2530d5a99f [mtouch] Pass ShellExecute true in CopyMSymData. Fixes #3653 (#3809)
https://github.com/xamarin/xamarin-macios/issues/3653
2018-03-23 14:59:21 -04:00
Sebastien Pouliot a44a558d8d
Bump mono to head of 2017-12 branch (#3806)
Commit list for mono/mono:

* mono/mono@1f09e9af88 Fix Android build for mxe (#7783)
* mono/mono@847a2de1d0 Fix Android build on Linux (#7776)
* mono/mono@beb137dd79 Fix Android build (#7770)
* mono/mono@d95eaa61b1 Revert "Disable a flaky test."
* mono/mono@f3a6da6d94 Bump corefx to bring a fix for #7696
* mono/mono@264e0d4bb2 Disable a flaky test.
* mono/mono@2eba668040 Fix partially shared constrained calls in llvmonly mode.
* mono/mono@607e20ee6c Avoid aot-ing the bcl libs twice in make fullaotcheck/llvmonlycheck.
* mono/mono@47631c34a7 [2017-12] [sgen] Use current nursery size when computing allowance (#7653)
* mono/mono@942eb2b779 Revert "Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413" (#7704)
* mono/mono@225ba3efa4 Merge pull request #7687 from mono/backport-gh-7584-2017-12
* mono/mono@7bdd7b1738 Bump version to 5.10.1 (#7690)
* mono/mono@42672fbcb2 [System.Net] Replace use of obsolete `SupportsIPv6` property.
* mono/mono@129dc324e7 [2017-12] [sdks] Fix concurrent building of MonoAotOffsetsDumper.exe + Simplify building of support library (#7667)
* mono/mono@dac6077561 Increase the buffer size in emit_exception_debug_info ().
* mono/mono@3141c9490d [sdks] IOS fixes. (#7617) (#7628)
* mono/mono@e3466bc325 Replace mono_msec_boottime() with CoreCLR implementation. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=58413

Diff: a7adb18ce2...1f09e9af88
2018-03-23 13:31:34 -04:00
Chris Hamons 3627e87344 [mmp][mtouch] Better guard framework SDK checks (#3757) (#3796)
- https://github.com/xamarin/xamarin-macios/issues/3725
- These frameworks "CoreAudioKit Metal MetalKit MetalPerformanceShaders CoreNFC DeviceCheck"
 were special cased, but that special case did do an SDK check.
- Create a helper method to share check
- Add test for MM0135
2018-03-21 21:00:23 -04:00
Jeffrey Stedfast 8690c7f44a [msbuild] Correctly determine whenther Xamarin.Mac builds require a provisioning profile (#3710) (#3733)
Fixes issue #3674

The problem is that the Xamarin.Mac targets did not set the
RequireProvisioningProfile property on the DetectSigningIdentity
task which meant that it defaulted to 'false'.

When that property is 'false', the DetectSigningIdentity logic
would shortcut to not doing a provisioning profile lookup.

This was therefor causing the build to not use a provisioning
profile which caused the build to improperly codesign the app
bundle.
2018-03-20 16:12:27 -05:00
Manuel de la Pena 6629a41bf9
[Foundation] Ensure that we do not dispose the needed data in the NSUrlSessionHandler (#3782) 2018-03-20 17:51:24 +01:00
mdbech 81c9b49641 [security] Adding new SecAccessControlCreateFlags (#3735)
- Add new `BiometryAny` and `BiometryCurrentSet` enum values.
- Add `[Advice]` attribute on old values with message suggesting the use of "biometric" values.
- Add comments explaining why we didn't use newer availability attributes on new APIs.
2018-03-15 10:35:23 -04:00
Alex Soto b6dbebe9d3
[monotouch-tests] Adds mono's WeakAttribute tests (#3739)
* [monotouch-tests] Adds mono's WeakAttribute tests

* Embrace watchOS

Unfortunately this revealed that WeakAttribute is not working for watchOS

* Port mono's WeakAttribute test to our test runner

Test Ported:
5bdaef7e5f/mono/tests/weak-fields.cs

* Fix object leaks and implement suggested approach from 4b9ade0c59

* Remove debug spew and fix formating on header
2018-03-15 08:29:46 -06:00
Chris Hamons c761782049 Fix XM xcode9.3 package version (#3748) 2018-03-15 08:27:00 -05:00
Sebastien Pouliot 9ff86d8426
Bump mono and Xamarin.MacDev to head of their branches (#3736)
* Bump mono and Xamarin.MacDev to head of their branches

Commit list for xamarin/Xamarin.MacDev:

* xamarin/Xamarin.MacDev@e79c9d0 Merge pull request #23 from xamarin/master-to-d15-7-cps
* xamarin/Xamarin.MacDev@cd2823e Add NFC entitlement key to EntitlementKeys (#22)
* xamarin/Xamarin.MacDev@df960c4 Add AllKeys property and GetEntitlementsKeys method (#20)
* xamarin/Xamarin.MacDev@f5e89be Add missing data protection entitlement key (#19)

Diff: 2cff0d7412...e79c9d07a3

Commit list for mono/mono:

* mono/mono@131c3dd675 Add icall to configure MERP options / enable it
* mono/mono@c836aa14af Add optional Microsoft Telemetry unmanaged dumper
* mono/mono@5dae72b19b Update source file location from commit d4816ef1abcfc5b3dea41a87fe5a7a4c4a3781ed
* mono/mono@4050681098 [tests] Disable delegate-15.exe in the full-aot profile. (#7529) (#7564)

Diff: ef8ab4986a...131c3dd675

* Bump mono

Commit list for mono/mono:

* mono/mono@a7adb18ce2 only target macOS, HOST_DARWIN includes iOS etc. as well

Diff: 131c3dd675...a7adb18ce2
2018-03-14 11:12:52 -05:00
Rolf Bjarne Kvinge 98837dbfd0
[ObjCRuntime] Don't double-retain blocks. (#3717) (#3730)
First there was darkness; no blocks were retained.

Then came the light; and all blocks were retained [1]

Forever.

But all that once is, must one day not be,
and thus the light gave way to darkness,
and blocks were only retained as long as need be [2].

But before there was a balance, there was a crossroad.

In some places the light shone forever,
and all blocks were retained.

In other places there was a balance,
and the light shone only as long as needed.

A desire to unify arose.

Alas, it could not be.

It was a bright and sunny day

When a merge failed [3].

And all blocks were retained. Twice.

Once [here][4] and once [there][5].

For many years we could not see.

Until a dark and rainy night,
when an awareness arose.

And the desire to unify the balance could finally be fulfilled.

[1]: 6efca92acb
[2]: a22f877539
[3]: befa0477cf
[4]: 5158a3c001/src/ObjCRuntime/Runtime.cs (L858)
[5]: 5158a3c001/runtime/runtime.m (L2091)
2018-03-13 19:24:44 +01:00
Jeffrey Stedfast 37c1337587 [msbuild] Correctly determine whenther Xamarin.Mac builds require a provisioning profile (#3726)
Fixes issue #3674

The problem is that the Xamarin.Mac targets did not set the
RequireProvisioningProfile property on the DetectSigningIdentity
task which meant that it defaulted to 'false'.

When that property is 'false', the DetectSigningIdentity logic
would shortcut to not doing a provisioning profile lookup.

This was therefor causing the build to not use a provisioning
profile which caused the build to improperly codesign the app
bundle.
2018-03-13 08:15:03 -05:00
Sebastien Pouliot 0c7c49a625
Bump mono to head of 2017-12 to pick [Weak] fix (#3722)
Commit list for mono/mono:

* mono/mono@ef8ab4986a Fix the clearing of bits in the gc descriptor bitmap when using weak fields. Fixes #7378.

Diff: 266326d7c2...ef8ab4986a
2018-03-12 12:54:18 -05:00
Rolf Bjarne Kvinge cfacbe0943
Bump maccore to get mlaunch fix. (#3721)
Commit list for xamarin/maccore:

* xamarin/maccore@712a6bed5b Bump maciostools to get mlaunch fixes. (#672)

Diff: 46f3aebfdd...712a6bed5b
2018-03-12 17:07:49 +01:00
Rolf Bjarne Kvinge 15a0f94384
[mtouch] When loading cached linked results, we need to propagate the 'RemoveDynamicRegistrar' value to code-sharing extensions. (#3708) (#3711) 2018-03-09 23:15:01 +01:00
Sebastien Pouliot 3979d081b4
Merge pull request #3712 from spouliot/backport-test-fixes-d15-6
[tests] Backport test fixes so bots don't report them on every backports
2018-03-09 14:54:16 -05:00
Rolf Bjarne Kvinge 8125d45498 Bump mono to get fix for mono/mono#7364. (#3706) (#3709)
Commit list for mono/mono:

* mono/mono@266326d7c2 Move the check for open constructed types later in mono_jit_compile_method_with_opt (), this function can receive gshared methods in llvmonly mode. (#7505)
* mono/mono@89cc3619d5 Use runtime template for iOS
* mono/mono@05453b1c80 Use runtime template for Android
* mono/mono@0938bbc98c Create common runtime compilation template
* mono/mono@c06eb62b14 Have RELEASE be empty when CONFIGURATION != 'release'
* mono/mono@0fb02c88cd Move common targets
* mono/mono@d4aa545f56 [metadata] An array is not an IEnumerator`1
* mono/mono@ff7f5576d2 [test] An array is not an IEnumerator`1
* mono/mono@d5d67eab6a [metadata] Add IEnumerator`1 to MonoDefaults struct
* mono/mono@15d76bf5e2 Revert "[profiler] Correctly encode counter type/unit/variance values."
* mono/mono@f3ac8fdeb3 Fix for gcc 4.4; nominal support for older. attribute(deprecated(message)) was introduced in gcc 4.5. attribute(deprecated) was introduced in gcc 4.0? pragma GCC diagnostic 4.2? https://github.com/mono/mono/issues/7408 (#7436)
* mono/mono@1f48672a90 Fixes decoding of CMS/PKCS #7 messages with an explicit cryptographic object identifier

Diff: becded2606...266326d7c2
2018-03-09 14:41:30 -05:00
Alex Soto fd746c47fa
[Backport 15-7][monotouch-test] Stop MidiThruConnectionTests.FindTest from randomly failing (#3702)
* [monotouch-test] Stop MidiThruConnectionTests.FindTest from randomly failing (#3696)

Fixes xamarin/maccore#658

When a MidiThruConnection is created but for some reason is not disposed
the system keeps it alive even between app/simulator restarts, if you want
to clean the connections you must reset contents and settings from simulator.

In order to avoid this test from failing randomly and since the intent of the
test is to check if `MidiThruConnection.Find` works we change the assert to
`>= 2` since this is at least the number of connections we expect.

* [monotouch-test] Enhance MidiThruConnectionTests.FindTest from #3696 comments (#3700)
2018-03-09 12:49:33 -06:00
Alex Soto 60a81256b9 [Backport][monotouch-test] Stop MidiThruConnectionTests.FindTest from randomly failing (#3703)
Fixes xamarin/maccore#658

When a MidiThruConnection is created but for some reason is not disposed
the system keeps it alive even between app/simulator restarts, if you want
to clean the connections you must reset contents and settings from simulator.
Which is a bit harder when the issues happens on the macOS.
2018-03-09 13:06:09 -05:00
Rolf Bjarne Kvinge c9e257922c [tests] Fix NSDataTest.Https to use a site with a valid and complete certificate chain. Fixes #644. (#3549)
Fixes https://github.com/xamarin/maccore/issues/644.
2018-03-09 13:05:18 -05:00
Sebastien Pouliot 109cf736a8 [tests] Skip High Sierra image filters in Classic tests. Fixes #622. (#3308) (#3671)
Skip High Sierra image filters in Classic introspection tests, since the
Classic bindings won't be updated.

https://github.com/xamarin/maccore/issues/622
2018-03-09 13:04:43 -05:00
Brendan Zagaeski 71902a15bf Bump mono to get fix for mono/mono#7472. (#3701)
Fixes https://github.com/mono/mono/issues/7472.

Commit list for mono/mono:

* mono/mono@145ca6391f [d15-6-2017-10] Only null check target for delegate if method is not static. (#7477)
* mono/mono@835a98d855 Bump bockbuild to get curl error changes
* mono/mono@bbd88d02b2 Bump bockbuild for mono/bockbuild#62 (#7208)
* mono/mono@1eac626536 Pass TRUE for 'repeat' of send variants. This matches behavior of receive variants. Fixes blocking send call where Win32 returns WSAEWOULDBLOCK.
* mono/mono@33652b57eb Bump bockbuild to get new gtk+ repo location
* mono/mono@3f39812cb9 [2017-10] [reference-assemblies] Fix public key for some newer v4.7.1 facades (#6864)

Diff: da1e498884...145ca6391f
2018-03-09 13:02:05 -05:00
Alex Soto 06d390ce3e [Backport][monotouch-test] Stop MidiThruConnectionTests.FindTest from randomly failing (#3703)
Fixes xamarin/maccore#658

When a MidiThruConnection is created but for some reason is not disposed
the system keeps it alive even between app/simulator restarts, if you want
to clean the connections you must reset contents and settings from simulator.
Which is a bit harder when the issues happens on the macOS.
2018-03-09 08:12:18 -05:00
Brendan Zagaeski 0feae1cba0 Bump XI to 11.8.1 (and XM to 4.2.1) (#3704)
This updates the revision number in preparation for the next servicing
release from the `d15-6` branch.
2018-03-09 08:07:54 -05:00
Chris Hamons c1a42fe3d0
Update CODEOWNERS files (#3455) (#3694) 2018-03-08 09:33:54 -06:00
Chris Hamons 2444f23e13
Update CODEOWNERS files (#3455) (#3695) 2018-03-08 09:33:45 -06:00
Alex Soto 8ba51035d1
[MetalPerformanceShaders] Make macOS intro happy (#3692)
Xcode 9.3 removed both selectors from MPSCnnBinaryKernel, reported radar https://trello.com/c/7EAM0qk1
but apple says this was intentional.

Since this API is not final we need to review it as part of
https://github.com/xamarin/xamarin-macios/issues/3553
2018-03-07 17:49:11 -06:00