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

3660 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Pouliot 5f220b7549
[coreimage] Update for Xcode 12.1 GM (#9886) 2020-10-15 13:53:20 -04:00
Sebastien Pouliot 8497df4c93
[avfoundation] Update for Xcode 12.1 GM (#9887) 2020-10-15 13:07:12 -04:00
Sebastien Pouliot a16e29d994
[videotoolbox] Update for Xcode 12.1 GM (#9884) 2020-10-15 11:37:58 -04:00
Sebastien Pouliot 714876d55f
[coretelephony] Update for Xcode 12.1 GM (#9878) 2020-10-14 22:22:55 -04:00
Sebastien Pouliot 3a35c2425c
[xcode12.1] Bump for GM (#9876) 2020-10-14 20:06:20 -04:00
monojenkins 4804009a65
[Tests] Fix a test that crashes on devices due to possible bonjour services present. (#9869)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2020-10-14 14:52:46 -04:00
Manuel de la Pena 4028e53d98
[Cecil] Try to fix tests by stating the version in the console runner. (#9655)
Try to fix the issue by stating the version of the runner. This change
will not be needed when we merge with main.

fixes https://github.com/xamarin/maccore/issues/2315
2020-09-17 09:03:20 -04:00
Rolf Bjarne Kvinge 2071a13aa4
[mtouch] Refactor how we detect and avoid broken frameworks when building for the simulator. (#9647)
* Use the existing information we have in the Frameworks class to determine
  whether a particular framework works in the simulator or not.
* Show a warning (MX5223) when we run into such a framework, but only if
  the linker is enabled (otherwise we'll often get warnings for API the developer
  doesn't use).
2020-09-17 13:31:29 +02:00
Alex Soto bfc98f8059
[xcode12] Initial bump for Xcode 12 GM (#9644)
* [xcode12] Initial bump for Xcode 12 GM

* [tests][intro] We cannot load CoreNFC framework on iOS simulator anymore

* [tests][xtro] New Metal API are not abstract (before XAMCORE_4_0)

* [tests][intro] Fix crash when CSLocalizedString 'description' selector is called

* [tests][xtro] Add support for excluding platforms

Based on `Make.config` variables `INCLUDE_[IOS|TVOS|WATCH|MAC]`

This required moving some entries (common -> macOS) to keep the
sanitizer happy.

* [xtro] Ignore Intents watchOS differences since they will likely match iOS in the future

* Update to use Xcode 12 GMb instead of the old GM

* [tests][xtro] Remove OSLog for iOS and tvOS (changed in GM)

* [tests][msbuild] Disable FrameworkListTest based on the active/disabled platforms

* [tests][msbuild] Track new directory/file inside CoreML projects

* [mlaunch] Bump maccore and disable mlaunch if mac build is disabled

New commits in xamarin/maccore:

* xamarin/maccore@ba332d4d07 Disable mlaunch if Mac is not built (#2314)

Diff: 87a96d21c9..ba332d4d07

Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com>
2020-09-16 11:41:44 +02:00
Sebastien Pouliot 9f7a57ec65
[xcode12][tests] Fix typos (#9640) 2020-09-15 13:09:18 -04:00
Sebastien Pouliot 25c361f43e
[xcode12][intro] Fix running introspection on old macOS versions (#9638)
Most fixes are inside Intents. Some types were not available on macOS
and marked as such, except it backfired.

* Adding `[NoMac]` on `XAMCORE_4_0` was fine
* Adding `[Obsolete]` outside `XAMCORE_4_0` was fine
* Removing the `[Mac (x,y)]` was not quite fine. It's true (since it was never on macOS) but removing it means it default to the oldest (10.9) macOS version we support. This is what the introspection tests were expecting.

Adding an `[Obsoleted (..., 10,0, ...)]` solve this.
2020-09-15 12:59:21 -04:00
Sebastien Pouliot a8c5216148
[xcode12] Introspection-based fixes for Big Sur (#9632) 2020-09-15 08:56:24 -04:00
Alex Soto 8383b14382
[xcode12] Rename master to main (#9631)
* Fix links that point to master to point to main instead.
* Implement support in the sample tester for specifying the default branch for
  each sample repo.
* Fix various text / documentation to say 'main' instead of 'master.'
* Push to 'main' instead of 'master' in xamarin-macios-data.
* Fix xharness to make 'main' the special branch with regards to documentation tests as opposed to 'master'.
* Fix various CI to use 'main' instead of 'master'.

This is a backport of PR #9561
2020-09-15 07:09:29 -04:00
monojenkins ee0516d46a
[Foundation] Fix NSUrl's implicit Uri operators. Fixes #9607. (#9611)
Calling Uri.PathAndQuery is not allowed on a relative Uri, which made the
previous Uri -> NSUrl implicit operator always throw if given a relative
NSUrl.

So I fixed that, added several tests, and found another issue (it turns out
that 'url.RelativePath == url.Path' is not a reliable way to detect absolute
urls, because it's true for relative urls as well) and fixed that too.

Fixes https://github.com/xamarin/xamarin-macios/issues/9607.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-09-14 08:08:12 +02:00
Manuel de la Pena 2147976458
[Metal] Update framework for xcode 12 beta 6. (#9569)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-09-11 16:06:22 -04:00
Manuel de la Pena 5a9139bcd6
[AudioToolbox] Update API to xcode 12 beta 6. (#9603)
The most important changes in the API are ignored until we fix issue https://github.com/xamarin/xamarin-macios/issues/9602
2020-09-11 10:36:54 -04:00
Manuel de la Pena 31659d61ad
[NetworkExtensions] Update framework to Xcode12 beta 6. (#9585)
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-09-08 13:07:34 -04:00
Sebastien Pouliot 0de4daa1e6
[fileprovider] Update for Xcode 12 beta 6 (#9581)
* [fileprovider] Update for Xcode 12 beta 6

This was quite noisy. Apple removed all API marked as
`FILEPROVIDER_API_AVAILABILITY_V3`.

```
```

Most were bound but they were (majority) decorated with `[NoiOS]` and
`[NoMac]` so they did not generated any bindings.

A few of them were modified or just became macOS-only.

Deprecation warnings also needed to be updated.
2020-09-04 15:46:49 -04:00
Whitney Schmidt efe8abd606
[CarPlay] [Xcode 12] Update through beta 6 (#9479)
* carplay initial updates through beta 6
2020-08-28 13:45:43 -04:00
Alex Soto 4129224408
[Vision] Update bindings to Xcode 12 Beta 1 - 6 (#9523)
* [Vision] Update bidnings to Xcode 12 Beta 1 - 6

* Add feedback

* fix assert messages

* Fix error message

* Apply feedback and stop all the 🤦
2020-08-28 10:57:22 -04:00
monojenkins 7f01fcd68c
[tests] Disable currently broken System.Tests.DateTimeTests mono tests (#9540)
Details in https://github.com/mono/mono/issues/16623#issuecomment-678248447

This affects all internal bots running mscorlib xunit tests

Done at type level since it seems we can't ignore individual tests
when unicode/RTL is used in the string output

ref: https://github.com/xamarin/maccore/issues/2296
2020-08-28 09:06:14 -04:00
Sebastien Pouliot 1f37a5c40e
[xcode12][tests][xtro] Update xtro files (#9541) 2020-08-28 09:05:34 -04:00
Whitney Schmidt ff846de168
updates for beta 6 (#9522) 2020-08-27 10:36:28 -04:00
Sebastien Pouliot 2235cac953
Revert "[MTouch] Add a workaround for a failing tests in the Xcode 12 betas. (#9073)" (#9519)
This reverts commit c170ba2fe0.

This was fixed with beta 5/6, i.e. return to "normal"

Fix https://github.com/xamarin/maccore/issues/2263
2020-08-26 20:43:21 -04:00
Sebastien Pouliot 19701c6292
[uikit] Enable Intents API for tvOS (#9503) 2020-08-26 08:54:46 -04:00
Alex Soto 561214eb07
[xcode12] Bump PR for Xcode 12 Beta 6 (#9507) 2020-08-26 00:46:10 -04:00
Manuel de la Pena 26c4a88e68
[Accelerate] Ignore the new bindings for Xcode12 beta 5. (#9500)
Checked and the other functions that are similar to the new ones are not
bound. We only do this framework partially, so I'm adding them to the
ignore until we have a customer that requires them.
2020-08-25 19:25:58 -04:00
Manuel de la Pena 9c134344a8
[CallKit] Ignore framework on Mac OS X. (#9499) 2020-08-25 19:25:31 -04:00
Manuel de la Pena 420279b4e4
[ClockKit] Ignore framework on iOS. (#9495) 2020-08-25 16:27:27 -04:00
Manuel de la Pena 0c74444094
[CoreHaptics] Ignore framework on MacOS X due to issues in the headers. (#9490)
Although the headers are present, the framework cannot be used since the
header references AVAudioSession and is a class that is not present in
MacOS X
2020-08-25 12:58:10 -04:00
TJ Lambert ea4c5efc5b
[OSLog] moving the todo selectors into ignore files (#9482)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2020-08-25 09:54:47 -05:00
Sebastien Pouliot 6879dcf8bb
[tests][security] Re-enable two disabled tests after validation (#9483) 2020-08-25 08:46:57 -04:00
Manuel de la Pena 010a71cda5
[VideoToolBox] Update framework to xcode 12 beta 5. (#9457) 2020-08-24 17:39:35 -04:00
monojenkins cc65a73493
[xcode12] [Bug] Fix AVAudioFormat failure on older OS (#9474)
* fix_avaudioformat_monotouch_failure

Co-authored-by: Whitney Schmidt <whschm@microsoft.com>
2020-08-24 13:58:56 -04:00
TJ Lambert b106e47dac
[AppKit] Update bindings to Xcode 12 Beta 5 (#9456) 2020-08-24 09:52:51 -05:00
Sebastien Pouliot 869b6ab081
[tests][monotouch-test] Re-enable SystemSoundTest (#9453)
Works with beta 5
part of https://github.com/xamarin/xamarin-macios/issues/8943
2020-08-24 08:48:11 -04:00
Sebastien Pouliot c82b7bd15e
[tests][monotouch-test] Re-enable some ARKit tests (#9454)
Things are a bit better with beta 5
part of #8943
2020-08-24 08:46:27 -04:00
Sebastien Pouliot de107bc26d
[tests][monotouch-test] Re-enable some disabled tests from beta 3 (#9455)
Seems to work fine with beta 5
part of #8943
2020-08-24 08:45:06 -04:00
Manuel de la Pena a19b0f2c75
[Submission] Fix all the selectors that apple warns about. (#9268) (#9408)
* [Submission] Fix all the selectors that apple warns about. (#9268)

We have noticed the following message from Apple when performing
submissions with Xamarin.iOS:

> ITMS-90338: Non-public API usage - The app references non-public
> selectors in WcBc.iOS: behaviorTypes, convolutionState,
> discoverAllContactUserInfosWithCompletionHandler:,
> discoverAllContactsCompletionBlock,
> discoverUserInfoWithEmailAddress:completionHandler:,
> discoverUserInfoWithUserRecordID:completionHandler:,
> discoverUserInfosCompletionBlock, displayContact, drawableResizesAsynchronously,
> encodeToCommandBuffer:sourceImage:convolutionState:,
> encodeToCommandBuffer:sourceImage:destinationImage:state:,
> getProperty:onChannel:responseHandler:, hasProperty:onChannel:responseHandler:,
> initWithEmailAddresses:userRecordIDs:, initWithMIDIEntity:dataReadyHandler:,
> initWithZoneID:options:, initWithZoneID:subscriptionID:options:,
> isPublicDatabase, mouseUpAction, newDrawable, propertyChangedCallback,
> removeAllAppearanceStreams, replaceTextStorage:, retrieveConnectedPeripherals,
> retrievePeripherals:, setDiscoverAllContactsCompletionBlock:,
> setDiscoverUserInfosCompletionBlock:, setDrawableResizesAsynchronously:,
> setEditedMask:, setMouseUpAction:, setMovieControlMode:,
> setProperty:onChannel:responseHandler:, setPropertyChangedCallback:,
> setSocketFamily:, setTemporaryAttributes:forCharacterRange:, setUserRecordIDs:,
> sourceOffset, subscriptionOptions, takeBackgroundColorFrom:, takePasswordFrom:,
> temporalAntialiasingEnabled, userRecordIDs. If method names in your source code
> match the private Apple APIs listed above, altering your method names will help
> prevent this app from being flagged in future submissions. In addition, note
> that one or more of the above APIs may be located in a static library that was
> included with your app. If so, they must be removed. For further information,
> visit the Technical Support Information at http://developer.apple.com/support/technical/

All of them have been removed but without a break in the API excep
"initWithMIDIEntity:dataReadyHandler:" wich does look like an error on
Apples side.

Empty stubs are used as much as possible except on those cases in which
a handler is called or an output variable should be modified (buffer,
out param) to minimize the users surprise at runtime.
2020-08-21 16:30:51 -04:00
Manuel de la Pena f476dea2c2
[Gamekit] Update framework for xcode12 beta 5. (#9445) 2020-08-21 12:51:08 -04:00
Manuel de la Pena 91ce8b18cb
[ARKit] Update framework to Xcode 12 beta 5. (#9402)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-08-21 10:37:15 -04:00
TJ Lambert f31baa28f6
[AutomaticAssessmentConfiguration] Update Binding to Xcode 12 beta 5
Co-authored-by: TJ Lambert <tj.lambert@microsoft.com>
2020-08-21 09:36:56 -05:00
Manuel de la Pena cbdbbaf381
Merge pull request #9436 from xamarin/backport-test-importer-fixes
[Harness] Backport test importer fixes
2020-08-21 09:34:20 -04:00
Sebastien Pouliot 7896de9de6
[security] Update xtro files (for old, deprecated macOS API) (#9425) 2020-08-21 09:31:37 -04:00
Manuel de la Pena 019a7ef6f6
[CoreLocation] Update framework to Xcode 12 beta 5. (#9427)
Co-authored-by: Whitney Schmidt <whschm@microsoft.com>
2020-08-21 00:06:33 -04:00
Alex Soto f90876412d
[ScreenTime] Update bindings to Xcode 12 Beta 5 (#9430) 2020-08-20 22:05:14 -04:00
Alex Soto 8848fab8a3
[Intents] Update bindings to Xcode 12 Beta 5 (#9426) 2020-08-20 22:04:52 -04:00
Manuel de la Pena dbaaa51786 [Harness] Use readers over paths. (#8534)
As issue https://github.com/xamarin/xamarin-macios/issues/8533 states,
not all loggers support the BullPath property, all of them do support
the GetReader one. We move the creation of the failures to use the
readers and reduce the chances of getting an exception.

fixes: https://github.com/xamarin/xamarin-macios/issues/8533
2020-08-20 21:35:03 -04:00
Rolf Bjarne Kvinge b0efe7356c [xharness] Don't replace existing files, instead add new files, when providing human-readable logs. (#9123)
This makes understanding what's going on much easier.
2020-08-20 21:32:57 -04:00
Rolf Bjarne Kvinge 1faa7447a5 [xharness] Don't try to write cleaned xml into the same file as the dirty xml was. (#9122) 2020-08-20 21:30:59 -04:00