Skip to content

Commit

Permalink
Merge branch 'xcode14' into xcode14-foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
chamons authored Jul 29, 2022
2 parents 0cb5a30 + 4276c90 commit 3947c57
Show file tree
Hide file tree
Showing 106 changed files with 25,033 additions and 23,892 deletions.
4 changes: 2 additions & 2 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ MACCATALYST_NUGET_VERSION_FULL=$(MACCATALYST_NUGET_VERSION_NO_METADATA)+$(NUGET_

# Xcode version should have both a major and a minor version (even if the minor version is 0)
XCODE_VERSION=14.0
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_14_beta_3.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_14.0.0-beta3.app/Contents/Developer
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_14_beta_4.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_14.0.0-beta4.app/Contents/Developer
XCODE_PRODUCT_BUILD_VERSION:=$(shell /usr/libexec/PlistBuddy -c 'Print :ProductBuildVersion' $(XCODE_DEVELOPER_ROOT)/../version.plist 2>/dev/null || echo " $(shell tput setaf 1 2>/dev/null)The required Xcode ($(XCODE_VERSION)) is not installed in $(basename $(basename $(XCODE_DEVELOPER_ROOT)))$(shell tput sgr0 2>/dev/null)" >&2)

# Tell both Xcode and our build logic which Xcode we're using.
Expand Down
2 changes: 1 addition & 1 deletion src/metalperformanceshadersgraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ interface MPSGraphDevice
// @interface MPSGraphExecutableExecutionDescriptor : NSObject
[TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof(NSObject))]
interface MPSGraphExecutableExecutionDescriptor
interface MPSGraphExecutableExecutionDescriptor : NSCopying
{
// @property (readwrite, atomic) MPSGraphExecutableScheduledHandler _Nonnull scheduledHandler;
[Export ("scheduledHandler", ArgumentSemantic.Assign)]
Expand Down
8 changes: 8 additions & 0 deletions tests/introspection/ApiSelectorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,14 @@ protected virtual bool Skip (Type type, string selectorName)
break;
}
break;
case "MPSGraphExecutableExecutionDescriptor":
switch (selectorName) {
case "copyWithZone:":
if (!TestRuntime.CheckXcodeVersion (14, 0))
return true;
break;
}
break;
case "UIControl":
#if __MACCATALYST__
switch (selectorName) {
Expand Down
2 changes: 2 additions & 0 deletions tests/introspection/iOS/iOSApiSelectorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ protected override bool CheckResponse (bool value, Type actualType, MethodBase m
return !TestRuntime.CheckXcodeVersion (8, 0);
case "HMLocationEvent":
return !TestRuntime.CheckXcodeVersion (9, 0);
case "MPSGraphExecutableExecutionDescriptor":
return TestRuntime.CheckXcodeVersion (14, 0);
#if __WATCHOS__
case "INParameter":
// NSCopying conformance added in Xcode 10
Expand Down
2,514 changes: 0 additions & 2,514 deletions tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-CHIP.todo

This file was deleted.

5,047 changes: 4,860 additions & 187 deletions tests/xtro-sharpie/api-annotations-dotnet/common-CHIP.ignore

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
!missing-selector! ASAuthorizationController::cancel not bound
!missing-selector! ASAuthorizationController::performAutoFillAssistedRequests not bound
!missing-selector! ASAuthorizationController::performRequestsWithOptions: not bound
!missing-field! ASAuthorizationProviderAuthorizationOperationDirectRequest not bound
2,864 changes: 0 additions & 2,864 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-CHIP.todo

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!missing-pinvoke! CFStringCreateStringWithValidatedFormat is not bound
!missing-pinvoke! CFStringCreateStringWithValidatedFormatAndArguments is not bound
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!missing-selector! CSSearchableIndex::fetchDataForBundleIdentifier:itemIdentifier:contentType:completionHandler: not bound
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!missing-enum-value! CTFontOptions native value kCTFontOptionsPreventAutoDownload = 2 not bound
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@
!missing-selector! DDDevice::txtRecordData not bound
!missing-selector! DDDevice::url not bound
!missing-selector! DDDiscoverySession::reportEvent: not bound
!missing-selector! DDEvent::eventType not bound
!missing-selector! DDEventDevicesPresent::devicesPresent not bound
!missing-type! DDDevice not bound
!missing-type! DDDeviceEvent not bound
!missing-type! DDDiscoverySession not bound
!missing-type! DDEvent not bound
!missing-type! DDEventDevicesPresent not bound
!missing-selector! DDDeviceEvent::device not bound
!missing-selector! DDDeviceEvent::initWithEventType:device: not bound
!missing-enum! DDDeviceMediaPlaybackState not bound
!missing-pinvoke! DDDeviceMediaPlaybackStateToString is not bound
!missing-selector! DDDevice::mediaContentSubtitle not bound
!missing-selector! DDDevice::mediaContentTitle not bound
!missing-selector! DDDevice::mediaPlaybackState not bound
!missing-selector! DDDevice::setMediaContentSubtitle: not bound
!missing-selector! DDDevice::setMediaContentTitle: not bound
!missing-selector! DDDevice::setMediaPlaybackState: not bound
!missing-selector! DDDeviceEvent::eventType not bound
38 changes: 37 additions & 1 deletion tests/xtro-sharpie/api-annotations-dotnet/iOS-Foundation.todo
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,40 @@
!missing-selector! NSOrderedSet::differenceFromOrderedSet:withOptions:usingEquivalenceTest: not bound
!missing-selector! NSOrderedSet::orderedSetByApplyingDifference: not bound
!missing-type! NSOrderedCollectionChange not bound
!missing-type! NSOrderedCollectionDifference not bound
!missing-type! NSOrderedCollectionDifference not bound
!missing-type! NSPresentationIntent not bound
!extra-enum-value! Managed value 1024 for NSUrlBookmarkResolutionOptions.WithSecurityScope is available for the current platform while the value in the native header is not
!extra-enum-value! Managed value 2 for NSItemProviderRepresentationVisibility.Group is available for the current platform while the value in the native header is not
!extra-enum-value! Managed value 2048 for NSUrlBookmarkCreationOptions.WithSecurityScope is available for the current platform while the value in the native header is not
!extra-enum-value! Managed value 4096 for NSUrlBookmarkCreationOptions.SecurityScopeAllowOnlyReadAccess is available for the current platform while the value in the native header is not
!deprecated-attribute-missing! NSURLComponents::percentEncodedHost missing a [Deprecated] attribute
!deprecated-attribute-missing! NSURLComponents::setPercentEncodedHost: missing a [Deprecated] attribute
!missing-enum-value! NSActivityOptions native value NSActivityAnimationTrackingEnabled = 35184372088832 not bound
!missing-enum-value! NSActivityOptions native value NSActivityTrackingEnabled = 70368744177664 not bound
!missing-enum-value! NSActivityOptions native value NSActivityUserInteractive = 1095233437695 not bound
!missing-field! NSMarkdownSourcePositionAttributeName not bound
!missing-protocol-member! NSURLSessionTaskDelegate::URLSession:didCreateTask: not found
!missing-selector! NSAttributedStringMarkdownParsingOptions::appliesSourcePositionAttributes not bound
!missing-selector! NSAttributedStringMarkdownParsingOptions::setAppliesSourcePositionAttributes: not bound
!missing-selector! NSAttributedStringMarkdownSourcePosition::endColumn not bound
!missing-selector! NSAttributedStringMarkdownSourcePosition::endLine not bound
!missing-selector! NSAttributedStringMarkdownSourcePosition::initWithStartLine:startColumn:endLine:endColumn: not bound
!missing-selector! NSAttributedStringMarkdownSourcePosition::rangeInString: not bound
!missing-selector! NSAttributedStringMarkdownSourcePosition::startColumn not bound
!missing-selector! NSAttributedStringMarkdownSourcePosition::startLine not bound
!missing-selector! NSInvocation::invokeUsingIMP: not bound
!missing-selector! NSMutableURLRequest::requiresDNSSECValidation not bound
!missing-selector! NSMutableURLRequest::setRequiresDNSSECValidation: not bound
!missing-selector! NSURLComponents::encodedHost not bound
!missing-selector! NSURLComponents::setEncodedHost: not bound
!missing-selector! NSURLSessionConfiguration::requiresDNSSECValidation not bound
!missing-selector! NSURLSessionConfiguration::setRequiresDNSSECValidation: not bound
!missing-selector! NSXPCConnection::activate not bound
!missing-selector! NSXPCListener::activate not bound
!missing-type! NSAttributedStringMarkdownSourcePosition not bound
!missing-selector! +NSString::localizedStringWithValidatedFormat:validFormatSpecifiers:error: not bound
!missing-selector! +NSString::stringWithValidatedFormat:validFormatSpecifiers:error: not bound
!missing-selector! NSString::initWithValidatedFormat:validFormatSpecifiers:arguments:error: not bound
!missing-selector! NSString::initWithValidatedFormat:validFormatSpecifiers:error: not bound
!missing-selector! NSString::initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error: not bound
!missing-selector! NSString::initWithValidatedFormat:validFormatSpecifiers:locale:error: not bound
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@
!missing-selector! GCPhysicalInputElementCollection::elementForAlias: not bound
!missing-selector! GCPhysicalInputElementCollection::objectForKeyedSubscript: not bound
!missing-type! GCPhysicalInputElementCollection not bound
!missing-field! GCInputButtonL4 not bound
!missing-field! GCInputButtonL5 not bound
!missing-field! GCInputButtonR4 not bound
!missing-field! GCInputButtonR5 not bound
1 change: 1 addition & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-GameKit.todo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!deprecated-attribute-missing! GKBasePlayer::playerID missing a [Deprecated] attribute
2 changes: 2 additions & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!missing-selector! HMAccessorySetupRequest::matterPayload not bound
!missing-selector! HMAccessorySetupRequest::setMatterPayload: not bound
14 changes: 6 additions & 8 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-MetalFX.todo
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
!missing-enum! MTLFXSpatialScalerColorProcessingMode not bound
!missing-enum! MTLFXSpatialScalerVersion not bound
!missing-enum! MTLFXTemporalScalerVersion not bound
!missing-protocol! MTLFXSpatialScaler not bound
!missing-protocol! MTLFXTemporalScaler not bound
!missing-selector! MTLFXSpatialScalerDescriptor::colorProcessingMode not bound
Expand All @@ -18,11 +16,8 @@
!missing-selector! MTLFXSpatialScalerDescriptor::setOutputHeight: not bound
!missing-selector! MTLFXSpatialScalerDescriptor::setOutputTextureFormat: not bound
!missing-selector! MTLFXSpatialScalerDescriptor::setOutputWidth: not bound
!missing-selector! MTLFXSpatialScalerDescriptor::setVersion: not bound
!missing-selector! MTLFXSpatialScalerDescriptor::version not bound
!missing-selector! MTLFXTemporalScalerDescriptor::colorTextureFormat not bound
!missing-selector! MTLFXTemporalScalerDescriptor::depthTextureFormat not bound
!missing-selector! MTLFXTemporalScalerDescriptor::enableInputContentProperties not bound
!missing-selector! MTLFXTemporalScalerDescriptor::inputContentMaxScale not bound
!missing-selector! MTLFXTemporalScalerDescriptor::inputContentMinScale not bound
!missing-selector! MTLFXTemporalScalerDescriptor::inputHeight not bound
Expand All @@ -34,7 +29,6 @@
!missing-selector! MTLFXTemporalScalerDescriptor::outputWidth not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setColorTextureFormat: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setDepthTextureFormat: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setEnableInputContentProperties: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setInputContentMaxScale: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setInputContentMinScale: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setInputHeight: not bound
Expand All @@ -43,7 +37,11 @@
!missing-selector! MTLFXTemporalScalerDescriptor::setOutputHeight: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setOutputTextureFormat: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setOutputWidth: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setVersion: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::version not bound
!missing-type! MTLFXSpatialScalerDescriptor not bound
!missing-type! MTLFXTemporalScalerDescriptor not bound
!missing-selector! +MTLFXSpatialScalerDescriptor::supportsDevice: not bound
!missing-selector! +MTLFXTemporalScalerDescriptor::supportsDevice: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::isAutoExposureEnabled not bound
!missing-selector! MTLFXTemporalScalerDescriptor::isInputContentPropertiesEnabled not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setAutoExposureEnabled: not bound
!missing-selector! MTLFXTemporalScalerDescriptor::setInputContentPropertiesEnabled: not bound
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,34 @@
!missing-type! MPSGraphGRUDescriptor not bound
!missing-type! MPSGraphLSTMDescriptor not bound
!missing-type! MPSGraphSingleGateRNNDescriptor not bound
!missing-enum! MPSGraphResizeNearestRoundingMode not bound
!missing-selector! MPSGraph::cumulativeMaximumWithTensor:axis:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeMaximumWithTensor:axis:name: not bound
!missing-selector! MPSGraph::cumulativeMaximumWithTensor:axisTensor:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeMaximumWithTensor:axisTensor:name: not bound
!missing-selector! MPSGraph::cumulativeMinimumWithTensor:axis:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeMinimumWithTensor:axis:name: not bound
!missing-selector! MPSGraph::cumulativeMinimumWithTensor:axisTensor:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeMinimumWithTensor:axisTensor:name: not bound
!missing-selector! MPSGraph::cumulativeProductWithTensor:axis:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeProductWithTensor:axis:name: not bound
!missing-selector! MPSGraph::cumulativeProductWithTensor:axisTensor:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeProductWithTensor:axisTensor:name: not bound
!missing-selector! MPSGraph::cumulativeSumWithTensor:axis:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeSumWithTensor:axis:name: not bound
!missing-selector! MPSGraph::cumulativeSumWithTensor:axisTensor:exclusive:reverse:name: not bound
!missing-selector! MPSGraph::cumulativeSumWithTensor:axisTensor:name: not bound
!missing-selector! MPSGraph::resizeBilinearWithGradientTensor:input:centerResult:alignCorners:layout:name: not bound
!missing-selector! MPSGraph::resizeBilinearWithGradientTensor:input:scaleOffsetTensor:layout:name: not bound
!missing-selector! MPSGraph::resizeBilinearWithTensor:sizeTensor:centerResult:alignCorners:layout:name: not bound
!missing-selector! MPSGraph::resizeBilinearWithTensor:sizeTensor:scaleOffsetTensor:layout:name: not bound
!missing-selector! MPSGraph::resizeNearestWithGradientTensor:input:nearestRoundingMode:centerResult:alignCorners:layout:name: not bound
!missing-selector! MPSGraph::resizeNearestWithGradientTensor:input:scaleOffsetTensor:nearestRoundingMode:layout:name: not bound
!missing-selector! MPSGraph::resizeNearestWithTensor:sizeTensor:nearestRoundingMode:centerResult:alignCorners:layout:name: not bound
!missing-selector! MPSGraph::resizeNearestWithTensor:sizeTensor:scaleOffsetTensor:nearestRoundingMode:layout:name: not bound
!missing-selector! MPSGraph::resizeTensor:sizeTensor:scaleOffsetTensor:mode:layout:name: not bound
!missing-selector! MPSGraph::resizeWithGradientTensor:input:scaleOffsetTensor:mode:layout:name: not bound
!missing-selector! MPSGraph::sortWithTensor:axis:descending:name: not bound
!missing-selector! MPSGraph::sortWithTensor:axis:name: not bound
!missing-selector! MPSGraph::sortWithTensor:axisTensor:descending:name: not bound
!missing-selector! MPSGraph::sortWithTensor:axisTensor:name: not bound
6 changes: 6 additions & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-PDFKit.todo
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@
!missing-field! PDFDocumentBurnInAnnotationsOption not bound
!missing-field! PDFDocumentSaveTextFromOCROption not bound
!missing-protocol! PDFPageOverlayViewProvider not bound
!extra-designated-initializer! PDFPage::initWithImage: is incorrectly decorated with an [DesignatedInitializer] attribute
!missing-field! PDFPageImageInitializationOptionCompressionQuality not bound
!missing-field! PDFPageImageInitializationOptionMediaBox not bound
!missing-field! PDFPageImageInitializationOptionRotation not bound
!missing-field! PDFPageImageInitializationOptionUpscaleIfSmaller not bound
!missing-selector! PDFPage::initWithImage:options: not bound
19 changes: 0 additions & 19 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-PassKit.todo
Original file line number Diff line number Diff line change
Expand Up @@ -158,23 +158,4 @@
!missing-type! PKVehicleConnectionSession not bound
!missing-field! PKPaymentNetworkBancomat not bound
!missing-field! PKPaymentNetworkBancontact not bound
!missing-selector! PKIdentityDocument::rawElements not bound
!missing-selector! PKIdentityDocumentAgeThreshold::isAtLeastYearsOld not bound
!missing-selector! PKIdentityDocumentAgeThreshold::years not bound
!missing-selector! PKIdentityDocumentIssuingAuthority::ISOCountryCode not bound
!missing-selector! PKIdentityDocumentIssuingAuthority::jurisdiction not bound
!missing-selector! PKIdentityDocumentIssuingAuthority::name not bound
!missing-selector! PKIdentityDocumentRawElements::address not bound
!missing-selector! PKIdentityDocumentRawElements::age not bound
!missing-selector! PKIdentityDocumentRawElements::ageThreshold not bound
!missing-selector! PKIdentityDocumentRawElements::dateOfBirth not bound
!missing-selector! PKIdentityDocumentRawElements::documentExpirationDate not bound
!missing-selector! PKIdentityDocumentRawElements::documentNumber not bound
!missing-selector! PKIdentityDocumentRawElements::issuingAuthority not bound
!missing-selector! PKIdentityDocumentRawElements::name not bound
!missing-selector! PKIdentityDocumentRawElements::portraitImageData not bound
!missing-type! PKIdentityDocumentAgeThreshold not bound
!missing-type! PKIdentityDocumentIssuingAuthority not bound
!missing-type! PKIdentityDocumentRawElements not bound
!missing-selector! +PKIdentityElement::documentIssueDateElement not bound
!missing-selector! PKIdentityDocumentRawElements::documentIssueDate not bound
2 changes: 2 additions & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-PushToTalk.todo
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@
!missing-type! PTChannelManager not bound
!missing-type! PTParticipant not bound
!missing-type! PTPushResult not bound
!missing-enum! PTTransmissionMode not bound
!missing-selector! PTChannelManager::setTransmissionMode:forChannelUUID:completionHandler: not bound
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@
!missing-selector! SWCollaborationView::setManageButtonTitle: not bound
!missing-selector! SWCollaborationView::setShowManageButton: not bound
!missing-selector! SWHighlightCenter::collaborationHighlightForIdentifier:error: not bound
!missing-selector! SWHighlightCenter::collaborationHighlightForURL:error: not bound
!missing-selector! SWHighlightCenter::getSignedIdentityProofForCollaborationHighlight:usingData:completionHandler: not bound
!missing-selector! SWHighlightCenter::highlightForURL:error: not bound
!missing-selector! SWHighlightCenter::postNoticeForHighlightEvent: not bound
!missing-selector! SWHighlightChangeEvent::changeEventTrigger not bound
!missing-selector! SWHighlightChangeEvent::highlightURL not bound
Expand All @@ -80,3 +78,6 @@
!missing-type! SWHighlightPersistenceEvent not bound
!missing-selector! SWCollaborationView::cloudSharingControllerDelegate not bound
!missing-selector! SWCollaborationView::setCloudSharingControllerDelegate: not bound
!missing-selector! +SWHighlightCenter::isSystemCollaborationSupportAvailable not bound
!missing-selector! SWHighlightCenter::getCollaborationHighlightForURL:completionHandler: not bound
!missing-selector! SWHighlightCenter::getHighlightForURL:completionHandler: not bound
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@
!missing-type! SWSignedPersonIdentityProof not bound
!missing-type! SWStartCollaborationAction not bound
!missing-type! SWUpdateCollaborationParticipantsAction not bound
!missing-selector! SWCollaborationOptionsPickerGroup::selectedOptionIdentifier not bound
!missing-selector! SWCollaborationOptionsPickerGroup::setSelectedOptionIdentifier: not bound
!missing-type! SWCollaborationOptionsPickerGroup not bound
Loading

0 comments on commit 3947c57

Please sign in to comment.