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

1100 Коммитов

Автор SHA1 Сообщение Дата
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 3924a30c4b
[AppKit] Allow NSGraphicsContext.CurrentContext to be null (#9842)
- Fixes https://github.com/xamarin/xamarin-macios/issues/9827

Co-authored-by: Chris Hamons <chris.hamons@xamarin.com>
2020-10-09 15:33:37 -05:00
Chris Hamons 05303cfec3
[AppKit] Allow NSGraphicsContext.CurrentContext to be null (#9838)
- Fixes https://github.com/xamarin/xamarin-macios/issues/9827
2020-10-09 13:44:34 -05:00
Alex Soto 1efee685f9
[CoreGraphics] Update bindings to Xcode 12.2 Beta 2 (#9828) 2020-10-09 06:34:00 -04:00
Alex Soto ef7515d190
[Foundation] Update up to Xcode 12.2 Beta 2 (#9826)
* [Foundation] Update up to Xcode 12.2 Beta 2

* Update src/foundation.cs
2020-10-09 06:32:52 -04:00
Sebastien Pouliot c5a43ac2b7
[oslog] New framework in macOS 11 (#9820)
Fix https://github.com/xamarin/xamarin-macios/issues/9480
2020-10-08 16:33:03 -04:00
Alex Soto 340ab9f8cb
[HealthKit] Update bindings up to Xcode 12.2 Beta 2 (#9822) 2020-10-08 15:54:48 -04:00
Sebastien Pouliot 030e1476cd
[xcode12.2][qtkit] Stub removed API. Fix #7704 (#9815)
Xamarin.Mac only supports 64 bits - since the supported macOS and
Xcode have dropped 32bits last year.

QTKit headers were removed but we still had bindings code generated
and kept to avoid braking changes.

This is now replaced by stubs, which are a smaller (no code and less
metadata).

```
Current Xamarin.Mac.dll 23,990,784 bytes
QTKit-stubbed XM.dll    23,843,840 bytes
Difference                 146,944 bytes
```

reference: https://github.com/xamarin/xamarin-macios/issues/7704
2020-10-08 14:22:38 -04:00
Sebastien Pouliot 8c174308c2
[photos] Update for Xcode 12.2 beta 2 (#9813) 2020-10-08 08:04:42 -04:00
Alex Soto d3d278e367
[CoreFoundation] Update bindings up to Xcode 12.2 Beta 2 (#9720)
* [CoreFoundation] Update bindings to Xcode 12.2

* Fix NRE

* Add tests for manual API

* Oops, fix spacing
2020-10-08 06:38:38 -04:00
Sebastien Pouliot 97b25bb56f
[security] Update for Xcode 12.2 beta 2 (#9812) 2020-10-07 21:45:10 -04:00
Sebastien Pouliot 95c929e487
[mlcompute] Update for Xcode 12.2 beta 2 (#9806) 2020-10-07 20:25:17 -04:00
monojenkins fc158cb67d
correct the nullability attributes for the Photos framework (#9805)
Co-authored-by: Ryan Pendleton <me@ryanp.me>
2020-10-07 16:51:55 -04:00
Alex Soto afa9f62ce0
[VideoSubscriberAccount] Update bindings up to Xcode 12.2 Beta 2 (#9794) 2020-10-07 11:53:56 -04:00
Sebastien Pouliot 9f78daee75
[xcode12.2][tests][xtro] Add enum member/values checks. Fix #7527 (#9691) (#9796)
Figure out if
* we're missing enum values (easy to workaround, but annoying for developers)
* we expose enum values that are not defined natively (potential bugs)

reference: https://github.com/xamarin/xamarin-macios/issues/7527

backport of #9691 with additional macOS and xcode12.2 fixes
2020-10-07 10:58:27 -04:00
Alex Soto 01540ae5e0
[ImageIO] Update bindings up to Xcode 12.2 Beta 2 (#9793)
* [ImageIO] Update bindings up to Xcode 12.2 Beta 2

* Remove not needed case
2020-10-06 14:45:52 -04:00
Alex Soto 0ccb75f0d3
[FileProvide] Update bindings up to Xcode 12.2 Beta 2 (#9791) 2020-10-06 12:38:47 -04:00
Alex Soto 73778ebe60
[CoreImage] Update bindings up to Xcode 12.2 Beta 2 (#9790) 2020-10-06 09:52:19 -04:00
Alex Soto 82215f8d94
[CarPlay] Update bindings to Xcode 12.2 Beta 2 (#9788) 2020-10-06 08:21:51 -04:00
monojenkins 89a36cf511
[xcode12.2] [tests][xtro] Check for missing/extra [Appearance]. Fix #7136 (#9785)
based on the header's `UI_APPEARANCE_SELECTOR` decorations

Fix https://github.com/xamarin/xamarin-macios/issues/7136
2020-10-05 21:58:59 -04:00
monojenkins 6018db4d39
[xcode12.2] [tests][xtro] Consider class (static) methods when checking for deprecation. Fix #9026 (#9781)
ref: https://github.com/xamarin/xamarin-macios/issues/9026
2020-10-05 16:00:51 -04:00
Sebastien Pouliot d7f8825119
[tests][xtro] Add enum member/values checks. Fix #7527 (#9691)
Figure out if
* we're missing enum values (easy to workaround, but annoying for developers)
* we expose enum values that are not defined natively (potential bugs)

reference: https://github.com/xamarin/xamarin-macios/issues/7527
2020-10-05 15:57:18 -04:00
Sebastien Pouliot 9e192d1eff
[xcode12.2][tests][xtro] Check for deprecated p/invokes (C API) (#9773)
We already had support for ObjC API but nothing reported missing
availability attributes for p/invokes, used in manual bindings

Backport of #9700 which adds fixes for missing [Deprecated] inside Xamarin.Mac.dll
2020-10-05 08:12:45 -04:00
Alex Soto 5deee9ea95
[xcode12.2] Initial bump to Xcode 12.2 Beta 2 (#9730)
* [xcode12.2] Initial bump to Xcode 12.2 Beta 2

* Add tvOS specific checks for exact Xcode check
2020-10-02 18:33:38 -04:00
Sebastien Pouliot 144f926cea
[tests][xtro] Check for missing/extra [Appearance]. Fix #7136 (#9765)
based on the header's `UI_APPEARANCE_SELECTOR` decorations

Fix https://github.com/xamarin/xamarin-macios/issues/7136
2020-10-02 13:51:55 -04:00
Alex Soto 94dc5ebd5d
[CarPlay] Update bindings to Xcode 12.2 Beta 1 (#9719)
* [CarPlay] Update bindings to Xcode 12.2 Beta 1

CPEntity docs got removed https://developer.apple.com/documentation/carplay/cpentity
so it is very likely that Apple will keep this out from the API.

* Better obsolete and hide it from autocompletion

* Fix

* Ups I broke it again...

* Apply feedback
2020-10-01 15:22:45 -04:00
Sebastien Pouliot 3cb3d60e2b
[tests][xtro] Consider class (static) methods when checking for deprecation. Fix #9026 (#9743)
ref: https://github.com/xamarin/xamarin-macios/issues/9026
2020-10-01 08:02:09 -04:00
Ryan Pendleton bcfbed9ae6
[Photos] Correct nullability attributes for the Photos framework (#9740) 2020-10-01 08:42:44 +02:00
Manuel de la Pena c72f27f939
[Viso] Clean xtro files. (#9747) 2020-10-01 00:35:04 -04:00
Sebastien Pouliot 4a050c5ae6
[tests][xtro] Check for deprecated p/invokes (C API) (#9700)
We already had support for ObjC API but nothing reported missing
availability attributes for p/invokes, used in manual bindings
2020-09-30 09:57:37 -04:00
Manuel de la Pena 844178acd6
[Network] Partial bindings of Network for Xcode 12 beta 6. (#9623)
Bound part of the API and added tests to those method that could be correctly ran as part of the unit tests. Other methods should have to be tested via a sample app.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-09-28 18:22:42 -04:00
Manuel de la Pena 34fc106bad [xtro] Fix osome ignores. 2020-09-24 11:56:12 -04:00
Manuel de la Pena dcb0c93ab0 [Xcode12] Bring xcode 12 changes into main. 2020-09-23 16:05:22 -04:00
Rolf Bjarne Kvinge 8bda9174fd
Bump to Xcode 12.2 beta 1. (#9665)
* Bump to Xcode 12.2 beta 1.

* [tests] Fix xtro and intro

* Fix wrong availability

* Fix monotouch tests

* Disable watchOS tests and bump iOS version to the right one

watchOS tests have been disabled because Xcode 12.2 Beta is
broken, you cannot create a watch app and deploy, Xcode just
crashes when you try to list simulators, If you try to use
our tools at the moment of deploying we get:

> error HE0046: Failed to install the app 'app' on the device 'watchOS 7.1 (18R5552f) - Apple Watch Series 6 - 44mm': Unable To Install ???app???

* Fix macOS check and bump both versions to satisfy commit distance check, luckily we have infinite numbers!!

Co-authored-by: Alex Soto <alex@alexsoto.me>
2020-09-23 08:11:26 -04:00
monojenkins ccc8f89d53 [d16-8] [SBApplication][Bug] SBApplication.FromBundleIdentifier<T> should return null when bundle ID is unknown (#9668)
* SB updates + tests

Co-authored-by: Whitney Schmidt <whschm@microsoft.com>
2020-09-18 18:19:23 -04:00
Manuel de la Pena eb9b690fe0 Merge xcode12 into d16-8. 2020-09-18 17:51:52 -04:00
Whitney Schmidt f8eca9fb53
[SBApplication][Bug] SBApplication.FromBundleIdentifier<T> should return null when bundle ID is unknown (#9620)
* update SB bindings, add unit tests
2020-09-18 11:18:26 -04: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 a8c5216148
[xcode12] Introspection-based fixes for Big Sur (#9632) 2020-09-15 08:56:24 -04: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
Rolf Bjarne Kvinge 1d3c9f4a04
[UIKit] Sprinkle NullAllowed on UIImage according to Apple's headers. Fixes #9597. (#9598)
Fixes https://github.com/xamarin/xamarin-macios/issues/9597.
2020-09-09 08:49:08 +02: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
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 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
Manuel de la Pena 010a71cda5
[VideoToolBox] Update framework to xcode 12 beta 5. (#9457) 2020-08-24 17:39:35 -04:00
TJ Lambert b106e47dac
[AppKit] Update bindings to Xcode 12 Beta 5 (#9456) 2020-08-24 09:52:51 -05: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
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
Whitney Schmidt a498449350
beta 5 updates (#9431) 2020-08-20 20:26:45 -04:00
Alex Soto 04ed08d636
[UIKit] Update bindings to Xcode 12 Beta 5 (#9419) 2020-08-20 15:51:21 -04:00
Sebastien Pouliot 0fff9b08e2
[foundation] Update for Xcode 12 beta 5 (#9413) 2020-08-20 11:36:51 -04:00
Sebastien Pouliot 98126462ec
[coreml] Update for Xcode 12 beta 5 (#9411) 2020-08-20 11:35:55 -04:00
Sebastien Pouliot 59d9634f1c
[scenekit] Update for Xcode 12 beta 5 (#9412)
The single new API was added in the bump PR
https://github.com/xamarin/xamarin-macios/pull/9406/files#diff-502c663627e50cc079cad31767bcb779R3200

but the xtro .todo was not entirely removed, so here it is.
2020-08-20 11:21:25 -04:00
Alex Soto 236936c035
[xcode12] Xcode 12 Beta 5 Initial bump (#9406) 2020-08-20 08:39:46 -04:00
Manuel de la Pena add9f54722
[CoreData] Update framework for Xcode 12 beta 4. (#9405)
Co-authored-by: Whitney Schmidt <whschm@microsoft.com>
2020-08-19 20:09:35 -04:00
Manuel de la Pena d168637be4
[CoreTelephony] Update framework for Xcode 12. (#9398) 2020-08-19 13:01:05 -04:00
Dorothy Tam 3dad70a503
[AppTrackingTransparency] Add support for Xcode 12 beta 4 (#9385)
Co-authored-by: Dorothy Tam <dtam@switch.tv>
2020-08-19 15:54:04 +02:00
Manuel de la Pena 5ba2042409
[StoreKit] Update framework to Xcode 12 beta 4. (#9387)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-08-18 20:22:36 -04:00
Manuel de la Pena bf32c513fb
[IntentsUI] Update framework to Xcode 12 beta 4. (#9391) 2020-08-18 10:47:38 -04:00
Sebastien Pouliot 0571e90038
[xcode12] Update xtro to ignore unsuported frameworks (#9394)
Mostly macOS but some ExposureNotification got "exposed" in tvOS
2020-08-18 08:56:00 -04:00
Sebastien Pouliot e7d605c128
[passkit] Update for Xcode 12 beta 4 (#9218) 2020-08-17 20:01:41 -04:00
Sebastien Pouliot af3083a121
[quicklookthumbnailing] Update for Xcode 12 beta 4 (#9388) 2020-08-17 13:43:00 -04:00
monojenkins 3efecd09ac
[d16-8] [Submission] Fix all the selectors that apple warns about. (#9382)
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.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2020-08-17 09:34:06 -04:00
Sebastien Pouliot f920686313
[sensorkit] Update for Xcode 12 beta 4 (#9378)
beta 3 included a ton of bad update of availability. While it correctly
changed `13` to `14`, is also added `API_UNAVAILABLE(ios` to everything

```diff
-SR_EXTERN API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(ios, watchos) API_UNAVAILABLE(tvos, macos)
```

Those were corrected (lot of noise) if beta 4, along with few API
changes.
2020-08-17 08:23:06 -04:00
Manuel de la Pena 09fa8266be
[ScreenTime] New framework for Xcode 12 up to beta 4. (#9379) 2020-08-15 11:04:23 -04:00
Manuel de la Pena 7e7caa00a6
[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-14 14:53:01 -04:00
Manuel de la Pena 1be4b57cbe
[AVFoundation] Update framework for Xcode 12 beta 4. (#9354)
Co-authored-by: Whitney Schmidt <whschm@microsoft.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-08-13 17:09:47 -04:00
Whitney Schmidt fb665c8c68
[NearbyInteraction][Xcode12] Add manual binding for NINearbyObjectDirectionNotAvailable (#9346)
* nearby interaction manual update + test
2020-08-12 15:43:00 -04:00
Whitney Schmidt 6ff4eb6c97
[Xcode12][NearbyInteraction] New framework, updated through beta 4 (#9336)
* add new framework for xcode12
2020-08-10 16:06:02 -04:00
Manuel de la Pena 9405c5e46b
[MapKit] Update the framework to Xcode 12 beta 4. (#9314)
* [MapKit] Update the framework to Xcode 12 beta 4.

* Apply suggestions from code review

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Address reviews.

* Add ignore to init test because we should use the Create method.

* Fix failing tests.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-08-10 09:58:09 -04:00
Manuel de la Pena dd0beaaed4
[MLComputet] Update the bindings for Xcode 12 beta 4. (#9335) 2020-08-08 00:09:57 -04:00
Alex Soto a292a2ea10
[UIKit] Update bindings to Xcode 12 Beta 4 (#9331) 2020-08-07 22:17:29 -04:00
Alex Soto 5d657f0cde
[Foundation] Update bindings to Xcode 12 Beta 4 (#9328) 2020-08-07 22:16:19 -04:00
Manuel de la Pena 5d2f117877
[CoreMidi] Update framework for Xcode 12 beta 4. (#9326) 2020-08-07 18:15:36 -04:00
Manuel de la Pena 7eeb550504
[WatchKit] Update framework to xcode 12 beta 4. (#9327) 2020-08-07 18:15:15 -04:00
Whitney Schmidt 1f77d1bf2b
[GameController][Xcode12] Updates through beta 4 (#9265)
* commit for GameController Xcode12
2020-08-07 11:16:25 -04:00
Whitney Schmidt 205412f8a0
[HomeKit][Xcode12] Update for beta 3 (#9270)
* HK updates for Xcode12
2020-08-07 11:15:39 -04:00
Alex Soto 4755af7351
[CoreMotion] Update bindings to Xcode 12 Beta 4 (#9316) 2020-08-07 09:29:36 -04:00
Alex Soto f0590a8ee5
[AuthenticationServices] Update bindings to Xcode 12 Beta 4 (#9302) 2020-08-06 18:29:22 -04:00
Alex Soto cf8d5599ee
[CoreGraphics] Update bindings to Xcode 12 Beta 3 & 4 (#9299) 2020-08-06 16:08:18 -04:00
Alex Soto 1215f65ae6
[CoreFoundation] Update bindings to Xcode 11 Beta 4 (#9297) 2020-08-06 16:00:22 -04:00
Whitney Schmidt d1bff45739
[PhotosUI][Xcode12] Update for beta 4 (#9285)
* update for beta 4
2020-08-06 11:29:30 -04:00
Alex Soto c467926813
[AppKit] Update bindings to Xcode 12 Beta 4 (#9287) 2020-08-06 05:58:17 -04:00
Alex Soto 42eaa54108
[xcode12] Initial bump to Xcode 12 Beta 4 (#9272)
* [xcode12] Bump to Xcode 12 Beta 4

* [Tests] Disable Trust_FullChain and Trust2_FullChain tests

These tests started showing a different error than the one we expect
I'll let our security expert chime in
2020-08-05 13:25:01 -04:00
Manuel de la Pena 57212bce8e
[CoreHaptics] Update framework for Xcode 12 beta 3. (#9273)
Update the framework to include Xcode beta3 and add support for tvOS.
As of Xcode12 beta 3 it cannot yet be compiled on macOS X, please refer
to https://github.com/xamarin/maccore/issues/2261
2020-08-05 11:43:44 -04:00
Manuel de la Pena f6b2f55353
[ClassKit] Update to Xcode12 beta 3. (#9274) 2020-08-05 06:07:49 -04:00
Rolf Bjarne Kvinge 5327564109
[AppKit/UIKit] Merge the definitions of NS[Mutable]ParagraphStyle. (#9261)
* Reduces code duplication.
* Makes the macOS versions thread-safe (the iOS versions have been thread-safe
  for years: 2c6a5303a7).
* A few parameters names were different in the definitions; I chose to keep the ones in Xamarin.iOS, since they looked better.
* Xamarin.Mac had two methods, SetTextBlocks and SetTextLists, in place of an actual property override (for the mutable setter), this was fixed to be an actual property overload, and compat methods were implemented.
* xtro needed an update to cope with multiple static methods for the same selector.
2020-08-04 14:25:24 +02:00
Whitney Schmidt c999bd5f57
[HealthKit][Xcode12] Update beta 1 (no b2, b3 changes) (#9249)
* HealthKit updates for Xcode12
2020-07-30 16:41:38 -04:00
Rolf Bjarne Kvinge dc2404de51
[tests] Migrate the xtro sharpie project to use package references. (#9240)
This also bumps Mono.Cecil to the latest available version (that way we use
the same version as in other tests).
2020-07-30 16:19:08 +02:00
Alex Soto b3194f5d57
[UIKit] Update bindings to Xcode 12 Beta 3 (#9224)
* [UIKit] Update bindings to Xcode 12 Beta 3

* Update src/uikit.cs
2020-07-30 09:39:52 -04:00
Alex Soto 3107356250
[Intents] Update bindings from Xcode 12 Beta 1 to Beta 3 (#9220)
* [Intents] Update bindings from Xcode 12 Beta 1 to Beta 3

* Apply suggestions from code review

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Implement feedback

* Fix more feedback

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-30 09:36:59 -04:00
Alex Soto 4d23d42ea3
[AppKit] Update bindings to Xcode 12 Beta 3 (#9232) 2020-07-30 09:33:29 -04:00
Manuel de la Pena e821b2708a
[CoreMIDI] Add support for Xcode 12 beta 3. (#9125) 2020-07-29 16:51:45 -04:00
Sebastien Pouliot c7f6ca0506
[mediaplayer] Update for Xcode 12 beta 3 (#9214)
tvOS mostly catch up with (much older) iOS changes
2020-07-29 13:36:43 -04:00
Sebastien Pouliot e8de7afd4d
[mlcompute] New Xcode 12 framework. Up-to-date with beta 3 (#9208)
Framework not shipped for iOS/tvOS simulators - even if it's available
on macOS...

Feedback FB8132074 / https://github.com/xamarin/maccore/issues/2271
2020-07-28 20:55:28 -04:00
Whitney Schmidt 8fc88096ad
Revert "[Xcode12] HealthKit b1 update (#9152)" (#9217)
This reverts commit 74e8421f2c.
2020-07-28 14:04:31 -04:00
Whitney Schmidt 74e8421f2c
[Xcode12] HealthKit b1 update (#9152)
* HealthKit updates for beta 3
2020-07-28 14:03:56 -04:00
Whitney Schmidt 0f7aa312e1
[CoreVideo][Xcode12] Update through beta 3 (#9209)
* corevideo changes
2020-07-27 19:44:37 -04:00
Whitney Schmidt 0e4749c207
[Xcode12][GameKit] Update for beta 1-2 (#9126)
* initial gamekit commit for xcode12
2020-07-27 11:12:02 -04:00
Alex Soto 5289facd04 [xcode11.6] Bump to final version of Xcode 11.6 (#9112) 2020-07-26 18:27:06 -04:00
Alex Soto f9c2a62127 [MetalPerformanceShaders] Neural Networks Update to Xcode 11 (#8844)
* [MetalPerformanceShaders] Neural Networks Update to Xcode 11

This includes updates from PRs xamarin/xamarin-macios#6932, xamarin/xamarin-macios#6935 and xamarin/xamarin-macios#7461

It adds new functionality to the neural network components.
This is still not the complete API for 11.3

* Update src/metalperformanceshaders.cs

Co-Authored-By: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Make changes requested by @rolfbjarne

* Fix binding of default random distribution creation

The parameterless function creates new
default distributions and is not a property.
It is a counterpart of CreateUniform.

* Expose public APIs for MPSCnnConvolutionTransposeNode

These APIs are public and documented at: https://developer.apple.com/documentation/metalperformanceshaders/mpscnnconvolutiontransposenode/2942641-initwithsource?language=objc

I have also tested that they work.

* Reintroduce compat API.

* Fix acronym casing.

* Fix introspection tests.

* Fix xtro.

* One last xtro issue.

* Fix more xtro.

* Another introspection fix.

Co-authored-By: Frank A. Krueger <fak@praeclarum.org>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Apply suggestions from code review

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Apply feedback

* Please the typo guardians

Co-authored-by: Frank A. Krueger <fak@praeclarum.org>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-26 18:27:06 -04:00
Alex Soto ac42dad8de [xcode11.6] Initial bump to support Xcode 11.6 Beta 1 2020-07-26 18:27:06 -04:00
monojenkins 8c587f89a3
[generator] Add nullability `?` when [BindAs] is used with an array type (#9185)
Fix two false positives in AVFoundation.
Needed for xcode12 too (to be backported)
2020-07-25 11:30:42 -04:00
Sebastien Pouliot e47e10addf
[corebluetooth] Update for Xcode 12 beta 3 (#9186)
Apple removed the 10.16 API instead of marking them for 11.0 ?!?
2020-07-24 18:16:46 -04:00
Sebastien Pouliot 04e84477b2
[uniformtypeidentifiers] Update for Xcode 12 beta 3 (#9181) 2020-07-24 13:38:44 -04:00
Sebastien Pouliot ecedb498c7
[generator] Add nullability `?` when [BindAs] is used with an array type (#9179)
Fix two false positives in AVFoundation.
2020-07-24 11:50:26 -04:00
Sebastien Pouliot 1497988e21
[wkwebkit] Update for Xcode 12 beta 3 (#9178) 2020-07-24 11:45:47 -04:00
Sebastien Pouliot 142ff3127b
[xcode12] Bump for beta 3 (#9162)
* Disable iOS 32bits simulator based tests
2020-07-24 08:52:33 -04:00
Alex Soto 250c372cad [xcode11.6] Bump to final version of Xcode 11.6 (#9112) 2020-07-22 15:44:42 -04:00
Alex Soto 5d6b8057ed [MetalPerformanceShaders] Neural Networks Update to Xcode 11 (#8844)
* [MetalPerformanceShaders] Neural Networks Update to Xcode 11

This includes updates from PRs xamarin/xamarin-macios#6932, xamarin/xamarin-macios#6935 and xamarin/xamarin-macios#7461

It adds new functionality to the neural network components.
This is still not the complete API for 11.3

* Update src/metalperformanceshaders.cs

Co-Authored-By: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Make changes requested by @rolfbjarne

* Fix binding of default random distribution creation

The parameterless function creates new
default distributions and is not a property.
It is a counterpart of CreateUniform.

* Expose public APIs for MPSCnnConvolutionTransposeNode

These APIs are public and documented at: https://developer.apple.com/documentation/metalperformanceshaders/mpscnnconvolutiontransposenode/2942641-initwithsource?language=objc

I have also tested that they work.

* Reintroduce compat API.

* Fix acronym casing.

* Fix introspection tests.

* Fix xtro.

* One last xtro issue.

* Fix more xtro.

* Another introspection fix.

Co-authored-By: Frank A. Krueger <fak@praeclarum.org>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Apply suggestions from code review

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Apply feedback

* Please the typo guardians

Co-authored-by: Frank A. Krueger <fak@praeclarum.org>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-22 15:44:42 -04:00
Alex Soto 10059f1add [xcode11.6] Initial bump to support Xcode 11.6 Beta 1 2020-07-22 15:44:42 -04:00
Sebastien Pouliot 038db0fa51
[metrickit] Update for Xcode 12 beta 2 (#9151) 2020-07-22 13:32:06 -04:00
Sebastien Pouliot 52e51bccfc
[corewlan] Update for Xcode 12 beta 2 (#9156) 2020-07-22 13:30:47 -04:00
Sebastien Pouliot 5cdfa2ebd6
[devicecheck] Update for Xcode 12 beta 2 (#9145) 2020-07-21 19:21:18 -04:00
Sebastien Pouliot f36b2ae7b8
[sensorkit] Update for Xcode 12 beta 2 (#9142) 2020-07-21 13:12:51 -04:00
Sebastien Pouliot 819acdaad3
[mediaplayer] Update for Xcode 12 beta 2 (#9136) 2020-07-21 08:45:38 -04:00
Sebastien Pouliot 38fb1018a7
[naturallanguage] Update for Xcode 12 beta 2 (#9133) 2020-07-20 16:15:00 -04:00
Alex Soto 0221d22239 [xcode11.6] Bump to final version of Xcode 11.6 (#9112) 2020-07-18 18:19:53 -04:00
Alex Soto 7768cc8f05 [MetalPerformanceShaders] Neural Networks Update to Xcode 11 (#8844)
* [MetalPerformanceShaders] Neural Networks Update to Xcode 11

This includes updates from PRs xamarin/xamarin-macios#6932, xamarin/xamarin-macios#6935 and xamarin/xamarin-macios#7461

It adds new functionality to the neural network components.
This is still not the complete API for 11.3

* Update src/metalperformanceshaders.cs

Co-Authored-By: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Make changes requested by @rolfbjarne

* Fix binding of default random distribution creation

The parameterless function creates new
default distributions and is not a property.
It is a counterpart of CreateUniform.

* Expose public APIs for MPSCnnConvolutionTransposeNode

These APIs are public and documented at: https://developer.apple.com/documentation/metalperformanceshaders/mpscnnconvolutiontransposenode/2942641-initwithsource?language=objc

I have also tested that they work.

* Reintroduce compat API.

* Fix acronym casing.

* Fix introspection tests.

* Fix xtro.

* One last xtro issue.

* Fix more xtro.

* Another introspection fix.

Co-authored-By: Frank A. Krueger <fak@praeclarum.org>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Apply suggestions from code review

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Apply feedback

* Please the typo guardians

Co-authored-by: Frank A. Krueger <fak@praeclarum.org>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-18 18:19:53 -04:00
Alex Soto 772e6518e6 [xcode11.6] Initial bump to support Xcode 11.6 Beta 1 2020-07-18 18:19:53 -04:00
Sebastien Pouliot 1966e155cf
[coreml] Update for Xcode 12 beta 2 (#9124) 2020-07-17 17:46:47 -04:00
Chris Hamons fbcbdcde77
[AppKit] Xcode 12.0 Beta 1 (#9106)
* [AppKit] Xcode 12.0 Beta 1

* Apply suggestions from code review

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>

* More code review changes

* Apply suggestions from code review

Co-authored-by: Alex Soto <alex@alexsoto.me>

* Code review changes

* Apply suggestions from code review

Co-authored-by: Whitney Schmidt <whschm@microsoft.com>

* Remove unnecessary 10.7 mac attribute

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
Co-authored-by: Whitney Schmidt <whschm@microsoft.com>
2020-07-17 15:19:31 -05:00
Sebastien Pouliot 59bd868952
[wkwebkit] Update for Xcode 12 beta 2 (#9113) 2020-07-16 20:35:00 -04:00
Sebastien Pouliot 486ded93dc
[mediasetup] Update for Xcode 12 beta 2 (#9087)
The framework is not available (binary or even headers) for the iOS
simulator, only devices.

As such `tools/mtouch/Makefile` is not updated with a `-weak-framework`

Tracked with
* https://github.com/xamarin/maccore/issues/2266
* https://feedbackassistant.apple.com/feedback/8001312
2020-07-16 20:34:19 -04:00
Manuel de la Pena f5d61b4db4
[CoreNFC] Add support for xcode 12 beta 1. (#9089) 2020-07-16 18:50:22 -04:00
Sebastien Pouliot 376ad7444d
[authenticationservices] Update for Xcode 12 beta 2 (#9099) 2020-07-16 11:53:02 -04:00
Sebastien Pouliot 3c2e4d619a
[foundation] Update for Xcode12 beta 2 (#9095)
Some backlog from Xcode11 still exists and requires generator changes
Tracked in https://github.com/xamarin/xamarin-macios/issues/8943
2020-07-15 16:59:19 -04:00
Manuel de la Pena 2b35db02ae
[Accessibility] Add new Framework from Xcode 12 beta 1. (#9086)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-15 16:29:15 -04:00
Manuel de la Pena 061f6a7cba
[CoreMedia] Add xcode12 beta 1 support. (#9081) 2020-07-14 15:09:35 -04:00
Manuel de la Pena cc3a04b173
[Contacts] Add support for Xcode 12 beta 1. (#9080) 2020-07-14 15:09:10 -04:00
Manuel de la Pena 8bb60059e5
[ClockKit] Add support for Xcode 12 beta 1. (#9010)
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: Alex Soto <alex@alexsoto.me>
2020-07-14 11:12:26 -04:00
Manuel de la Pena 6aceb81539
[CloudKit] Add support for Xcode 12 beta 2. (#9075)
Added support for the Xcode 12 beta 2. There are a number of methods
that should be obsoleted, but have not been. Added issue
https://github.com/xamarin/maccore/issues/2265 to let apple now and
track it.
2020-07-14 06:32:56 -04:00
Sebastien Pouliot 3fed5d74d5
[corefoundation] Update for Xcode 12 beta 2 (#9074)
Only constants part of unbound `kCFUrl*` group as they are also part of
`NSUrl` inside `Foundation.framework`.
2020-07-13 22:18:35 -04:00
Sebastien Pouliot 100357b419
[imageio] Update for Xcode 12 beta 2 (#9069) 2020-07-13 16:49:51 -04:00
Sebastien Pouliot 3eeb15ff72
[coregraphics] Update for Xcode 12 beta 2 (#9070) 2020-07-13 16:36:40 -04:00
Whitney Schmidt 4ac7540d75
[Xcode12][PhotosUI] Update for beta 1 (#9059)
* Xcode 12 beta 1 update
2020-07-13 14:47:18 -04:00
Sebastien Pouliot 8a57e7daf6
[coretext] Update for Xcode 12 beta 2 (#9062) 2020-07-13 08:41:14 -04:00
Whitney Schmidt 32c82f3f95
[xcode12][pencilkit] Update for beta 1 (add macOS support, new apis for iOS) (#8982)
* PencilKit changes for xcode12
2020-07-10 14:30:57 -04:00
Sebastien Pouliot 41e204f81f
[coremotion] Update for Xcode 12 beta 2 (#9056) 2020-07-10 13:56:09 -04:00
Alex Soto 802bd4e069
[UIKit] Update bindings to Xcode 12 Beta 2 (#8992) 2020-07-10 13:21:18 -04:00
Whitney Schmidt 79f33e494a
[Xcode12][Photos] Update for beta1 (no beta2 changes) (#9045)
* photo updates for xcode12
2020-07-10 11:05:26 -04:00
Sebastien Pouliot 83fd7694ff
[scenekit] Update for Xcode 12 beta 2 (#9051) 2020-07-10 08:58:24 -04:00
Sebastien Pouliot 05cff07082
[xcode12] Update for Xcode 12 beta 2 (#9052) 2020-07-10 08:56:23 -04:00
Sebastien Pouliot 5246bacb19
[safariservices] Update for Xcode 12 beta 2 (#9053) 2020-07-10 08:55:03 -04:00
Sebastien Pouliot 829eb27986
[spritekit] Update for Xcode 12 beta 2 (#9047) 2020-07-09 15:34:21 -04:00
Sebastien Pouliot 017160caf0
[corespotlight] Update for Xcode 12 beta 2 (#9044) 2020-07-09 11:17:44 -04:00
Sebastien Pouliot e5100b74d3
[uniformtypeidentifiers] Update for Xcode 12 beta 2 (#9039)
Includes support for `UTType`-based `[Field]` in the generator as an
hundred (or so) of them were added. Unit test shows the field-based
properties are working as expected.
2020-07-09 08:50:57 -04:00
Manuel de la Pena f76253b0a8
[CallKit] Add support for Xcode 12 beta 1. (#9004)
There are two method not bound due to a dependency on AVAudioSession that
does not seem to be exposed on Mac OS X.

Related issue: https://github.com/xamarin/maccore/issues/2257

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-08 22:53:47 -04:00
Sebastien Pouliot 5bf1073cdb
[corebluetooth] Update for Xcode 12 beta 2 (#9037) 2020-07-08 17:27:02 -04:00
monojenkins 9c8d1cc5f2
[tests][xtro] Fix NSUrl-based categories (#9034)
We were using the managed name, e.g. `NSUrl`, instead of the native name,
e.g. `NSURL`, when dealing with categories.

To fix this we must resolve the type and this caused issues as other
assemblies (e.g. OpenTK) were not already loaded/cached and some type
could not be resolved (and this throw exceptions)

The runner now loads all assemblies before starting to visit them.

The fix solved a known issue (iOS-NetworkExtension.ignore), some API
that were already bound (common-Foundation.ignore) and also caught an
additional API where we missed a `[NullAllowed]` on a return value
2020-07-08 13:23:43 -04:00
Sebastien Pouliot 1b09465acf
[tests][xtro] Fix NSUrl-based categories (#9029)
We were using the managed name, e.g. `NSUrl`, instead of the native name,
e.g. `NSURL`, when dealing with categories.

To fix this we must resolve the type and this caused issues as other
assemblies (e.g. OpenTK) were not already loaded/cached and some type
could not be resolved (and this throw exceptions)

The runner now loads all assemblies before starting to visit them.

The fix solved a known issue (iOS-NetworkExtension.ignore), some API
that were already bound (common-Foundation.ignore) and also caught an
additional API where we missed a `[NullAllowed]` on a return value
2020-07-08 09:26:54 -04:00
Sebastien Pouliot de306cd96d
Bump for Xcode 12 beta 2 (#9027)
* [arkit] Remove fields (from beta2) to fix introspection
* [tests][introspection] AVMutableMediaSelection is as bad as it's non mutable parent
* [tools] Update IsFrameworkBroken (remove CoreAudioTypes and MediaPlayer)
* [tests][monotouch-test] MKPinAnnotationView seems fixed in beta 2
* [tests][xtro] Update ARKit todo (with previous fix)
2020-07-08 09:26:24 -04:00
Manuel de la Pena c0781c4a13
[CoreLocation] Add support for Xcode 12 beta 1. (#9001)
A number of APIs added and deprecated in the same release. We will see
that is that about.

The status property move to be a instance property in CLLocationManager,
we expose those and add a deprecation warning. That needs to be ignored in xtro due to issue https://github.com/xamarin/xamarin-macios/issues/9026


Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-07 17:55:15 -04:00
Manuel de la Pena 93103e23ed
[CFNetwork] Add support for xcode 12 beta 1. (#9006) 2020-07-07 17:53:50 -04:00
Sebastien Pouliot 579ef29d52
[replaykit] Update for xcode12 beta 1 (#9025) 2020-07-07 13:45:52 -04:00
Manuel de la Pena 5fae175cf6
[ARKit] Add support for Xcode 12 beta 1. (#9002)
PInvoke that is missing is due to a dependency with Visio which is not
yet updated.



Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-07-07 09:37:16 -04:00
Manuel de la Pena bae53fac16
[AVKit] Add support for Xcode 12 beta 1. (#9005) 2020-07-06 10:57:31 -04:00
Manuel de la Pena 599249fd27
[ClassKit] Add support for Xcode 12 beta 1. (#9008) 2020-07-06 10:56:54 -04:00
Manuel de la Pena 347a4959b1
[AddSupport] Updting binding xcode 12 beta 1. (#8999) 2020-07-06 10:55:40 -04:00
Sebastien Pouliot ae548380c4
[xcode12][security] Update for beta 1 (#8969) 2020-06-29 15:02:16 -04:00
Sebastien Pouliot c21caece19
[xcode12][usernotificationui] Update for beta 1 (add macOS support) (#8970) 2020-06-26 21:54:25 -04:00
Sebastien Pouliot e582c501c0
[xcode12][notificationcenter] Update for beta 1 (#8968) 2020-06-26 20:01:34 -04:00
Sebastien Pouliot 039f58c876
[xcode12][linkpresentation] Update for beta 1 (add tvOS support) (#8965) 2020-06-26 20:00:54 -04:00
Sebastien Pouliot c188f593fe
[xcode12][watchkit] Update for beta 1 (#8967) 2020-06-26 20:00:16 -04:00
Sebastien Pouliot b6c3e1a84f
[xcode12][tvmlkit] Update for beta 1 (#8966) 2020-06-26 17:14:35 -04:00
Sebastien Pouliot 1bb720b687
[xcode12][appclip] Update for beta 1 (#8964) 2020-06-26 17:13:30 -04:00
Sebastien Pouliot f427b5e91d
[xcode12] Bump for beta 1 (#8935)
Known issues https://github.com/xamarin/xamarin-macios/issues/8943
2020-06-26 14:02:44 -04:00
monojenkins bf4b5f4db8
[xcode12] [ImageIO] Update bindings for Xcode11 (#8942) 2020-06-25 15:28:29 -04:00
monojenkins 5f71492418
[xcode12] [AppKit] NSTextView allows passing nil to PasteAsPlainText and PasteAsRichText. (#8923)
* [AppKit] NSTextView allows passing nil to PasteAsPlainText and PasteAsRichText.

This is documented in Apple's documentation, their headers, and even proved
experimentally.

* Update xtro.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2020-06-23 08:53:47 +02:00
Sebastien Pouliot 76a61f1290
[runtime] Remove internal memcpy p/invoke (#8890)
* Replace `memcpy` with `Buffer.MemoryCopy`
* Add cecil-based test to make sure we're not p/invoke into it again (nor any other MS banned API)
* Remove `memcpy` from xtro ignore file
2020-06-19 09:41:54 -04:00
Rolf Bjarne Kvinge 7a97cc9f31
[AppKit] NSTextView allows passing nil to PasteAsPlainText and PasteAsRichText. (#8873)
* [AppKit] NSTextView allows passing nil to PasteAsPlainText and PasteAsRichText.

This is documented in Apple's documentation, their headers, and even proved
experimentally.

* Update xtro.
2020-06-18 10:57:23 +02:00
Rolf Bjarne Kvinge 95e42b9266
Rename master to main. (#8851)
* 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'.
* Bump maccore

    New commits in xamarin/maccore:

    * xamarin/maccore@ed6d146822 Rename 'master' to 'main'. (#2233)

    Diff: 424fa26148..ed6d146822
2020-06-16 15:51:44 +02:00
monojenkins c22a1a72c5
[sharpie] Bump version of sharpie and accommodate xtro to new output (#8760)
Co-authored-by: Alex Soto <alex@alexsoto.me>
2020-06-04 15:17:09 -04:00
Alex Soto 80210e9663
[sharpie] Bump version of sharpie and accommodate xtro to new output (#8759) 2020-06-04 14:11:30 -04:00
Rolf Bjarne Kvinge 952037b7a3
[tests] Remove Classic code from all tests. (#8707) 2020-05-29 16:43:06 +02:00
Rolf Bjarne Kvinge 2b2f1d08dc
[tests] Remove Classic code from all tests. (#8702) 2020-05-28 16:35:09 +02:00
Alex Soto 1614d569cc
[d16-7] Merge Xcode11.5 Support and include provisionator changes (#8645)
New commits in xamarin/maccore:

* xamarin/maccore@ef861db73e [devops] Enhance Xcode renaming script (#2208)

Diff: 92a06f7303..ef861db73e
2020-05-21 14:11:27 -04:00
Alex Soto 5dc1b55dc6
[master] Merge Xcode11.5 Support and include provisionator changes (#8643)
New commits in xamarin/maccore:

* xamarin/maccore@4bfce64847 Update README.md
* xamarin/maccore@24682998f7 [devops] Enhance Xcode renaming script (#2206)
* xamarin/maccore@e03f16b862 [Localization][Mlaunch] Fix watchos timeout issue (#2196)

Diff: ad1696d6f3..4bfce64847
2020-05-21 12:16:33 -04:00
monojenkins bced85e1af
[corelocation] Adds platform specific nullability attributes to CoreLocation (#8503)
Co-authored-by: Cosmin Stirbu <stirbucosmin@gmail.com>
2020-05-04 14:59:08 -04:00
monojenkins 09a5d7a111
[d16-7][avfoundation] Added nullability attributes to AVFoundation (#8495)
* Added nullability attributes to AVFoundation

* Revert AVPlayerItem FromAsset nullability attributes changes to keep existing tests passing and allow backwards compatibility

* Documents common-AVFoundation.ignore entry related to Foundation.NSNumber[] AVFoundation.AVVideoCompositionInstruction::get_RequiredSourceTrackIDs()

!extra-null-allowed! 'Foundation.NSNumber[] AVFoundation.AVVideoCompositionInstruction::get_RequiredSourceTrackIDs()' has a extraneous [NullAllowed] on return type

Co-authored-by: Cosmin Stirbu <stirbucosmin@gmail.com>
2020-05-04 11:00:45 -04:00
Cosmin Stirbu e164c4d38f Adds platform specific nullability attributes to CoreLocation 2020-05-04 17:30:46 +03:00
Cosmin Stirbu f17dd4fc18
[avfoundation] Added nullability attributes to AVFoundation (#8490)
* Added nullability attributes to AVFoundation

* Revert AVPlayerItem FromAsset nullability attributes changes to keep existing tests passing and allow backwards compatibility

* Documents common-AVFoundation.ignore entry related to Foundation.NSNumber[] AVFoundation.AVVideoCompositionInstruction::get_RequiredSourceTrackIDs()

!extra-null-allowed! 'Foundation.NSNumber[] AVFoundation.AVVideoCompositionInstruction::get_RequiredSourceTrackIDs()' has a extraneous [NullAllowed] on return type
2020-05-04 08:35:13 -04:00