-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[replaykit] Add new FinishBroadcast method to RPBroadcastSampleHandler from Xcode 8.2 beta 1 #1101
Conversation
…r from Xcode 8.2 beta 1
Build success |
|
||
[iOS (10,2)][TV (10,1)] | ||
[Export ("finishBroadcastWithError:")] | ||
void FinishBroadcast (NSError error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if you are missing out
on the error param?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, - (void)finishBroadcastWithError:(NSError *)error;
. Header description suggest you're sopping the broadcast so it's likely up to the caller to say why (using an NSError
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also intro signature check should spot that... at least for a type but it would not for delegates so it's good to comment on them :)
LGTM 👍 |
* Bump Xcode to 8.2 and update API files to match C8SR1 (#1096) * Bump Xcode to 8.2 and update API files to match C8SR1 * [tests] Tweak tests so there's no failure when running against Xcode 8.2 and the new SDK * [homekit] Update for iOS 10.2 beta 1 (#1088) - Also use smart enums for HMServiceType, HMCharacteristicType and HMAccessoryCategoryType. * [watchconnectivity] Small API update for Xcode 8.2 beta 1 (#1097) * [uikit] Small update for Xcode 8.2 beta 1 (#1098) * UICloudSharingPermissionOptions is not part in watchOS. It's an enum so it's not a big issue (worth a breaking change) -> XAMCORE_4_0 * Remove TODO on UICloudSharingController as Apple fixed our rdar 27929711 * [watchos][passkit] Small update for Xcode 8.2 beta 1 (#1099) As suspected CanAddFelicaPass is part of watchOS 3.1, closing our reported rdar 28608634 * [generator] Add more control over generated enums/fields (#836) This allows us to convert some existing manual conversion code into generated code and never miss a new constant being added [1]. The additional control comes in two forms: * allow [Field (null)]: a null NSString constant will return this enum value instead of throwing an ArgumentNullException; * a new `[DefaultEnumValue]` attribute allow marking the constant to be returned if the enum value is not known; [1] Vincent found some missing in HomeKit when adding the new ones from iOS 10. This commits also adds documentation for the existing (missing) and new attributes. * [generator] Allow identical (numeric) values in smart enums. Fixes #46285 (#1102) Considering the following binding code: public enum HMAccessoryCategoryType { [Field ("HMAccessoryCategoryTypeGarageDoorOpener")] DoorOpener, GarageDoorOpener = DoorOpener, } We must 1. Ensure that `HMAccessoryCategoryType.DoorOpener.GetConstant () == HMAccessoryCategoryType.GarageDoorOpener.GetConstant ()`; This is done by using the numeric value of the enum member (instead of the name) 2. Ensure that `HMAccessoryCategoryTypeExtensions.GetValue ("HMAccessoryCategoryTypeGarageDoorOpener")` always return the same enum value, i.e. it can **not** change between XI versions (e.g. due to reflection ordering) as it could break comparison code; This is done by only adding a map to the member that has a [Field] and means that: 2.1. the _favorite_ enum member should be the one with the [Field]; and 2.2. a [Field] value can only be used once per enum (or else we report an BI1046 error). This also solve the duplicate code generation for the constant loading code; Reference: * https://bugzilla.xamarin.com/show_bug.cgi?id=46285 * [watchos][watchkit] Small updates for Xcode 8.2 beta 1 (#1103) Normally the removal of `HandleAction` would be a breaking change (and require a stub). However Xamarin.WatchOS.dll is not final before C9 so this fix will be backported to `master` and `cycle9` branches. * [generator] Copy [Obsolete] attributes on smart enums. Fixes #46292 (#1104) Covers attributes on the type itself and on its members. Reference: * https://bugzilla.xamarin.com/show_bug.cgi?id=46292 * [tvos][storekit] Small update for Xcode 8.2 beta 1 (#1113) Effectively there's no API change, but a new (for tvOS) header was added even if it does not include stuff added to tvOS. This requires a few updates for xtro to gives correct results. Also added comments in bindings since this makes things clearer. * [replaykit] Add new FinishBroadcast method to RPBroadcastSampleHandler from Xcode 8.2 beta 1 (#1101) * [Photos] Update Photos to Xcode 8.2 Beta 1 (#1106) * [security] Add two new constants to SSLSessionConfig from Xcode 8.2 beta 1 (#1100) * [videosubscriberaccount] Small update for Xcode 8.2 beta 1 (#1115) * [messages] Update to iOS 10.2 beta 1 (#1112) * [modelio] Update for iOS 10.2 beta 1 (#1126) * [spritekit] Update for iOS 10.2 beta 1 (#1111) * [mtouch] Add workarounds for file descriptor leak in System.Diagnostics.Process. (#1137) This is a backport of these commits from master: 4d06d05, 1fdd17e and 39ec76e. It fixes this mtouch test: 1) Test Error : MTouchTests.MTouch.ScriptedTests [...] error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com System.IO.IOException: Too many open files at System.Diagnostics.Process.CreatePipe (System.IntPtr& read, System.IntPtr& write, System.Boolean writeDirection) [0x00094] in /private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch-c8sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Diagnostics/Process.cs:659 at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x0012c] in /private/tmp/source-mono-4.6.0-c8sr0/bockbuild-mono-4.6.0-branch-c8sr0/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/System/System.Diagnostics/Process.cs:716 * [homekit] Update for tvOS 10.1 beta 1 (#1139) - Also add missing HMCharacteristicTypeSecuritySystemAlarmType. * [mediaplayer] Enable MediaPlayer on macOS (#1138) - Enable some MediaPlayer-related UIKit APIs. - tools/common/Frameworks.cs fix to handle build version digit. - Lots of [NoMac] and [Mac (10,12,2)]. * [homekit] Remove bugzilla comments (#1152) Since bug #46292: "[generator] Obsolete attribute doesn't make it to generated file for smart enums" and #46285: "[generator] Smart enum does not handle 2 equal values" are both fixed, the comments can be removed. Also we don't need to have the [Field] attribute on 2 enum values anymore. * [Mac 10.12.2] CloudKit nullability info (#1153) * [mediaplayer] Fixes due to xtro tests (#1160) - MPMusicPlayerController_MPPlaybackControl category isn't available on tvOS. - Add missing `MPMediaPlaylist` selectors. * Bump to Xcode 8.2 beta 2. (#1193) * [Intents] Update to Xcode 8.2 Beta 1 (#1192) * [CloudKit] Update bindings for Xcode 8.2 (#1197) * [HomeKit] Update to Xcode 8.2 Beta 2 * [Photos] Update Photos to Xcode 8.2 Beta 2 * [Homekit] Remove Apple's Suplhur typo from ApiTypoTest * [Intents] Update to Xcode 8.2 Beta 2 * [passkit] Update for iOS 10.2 beta 2 * [AVFoundation] Update bindings for Xcode 8.2 (#1196) * [AVFoundation] Update bindings for Xcode 8.2 * Fix typo. * Move property to the correct class. * [homekit] Add "[NoWatch]" to "[WatchOS (3,1,1)]" APIs (#1219) As xtro pointed out (see https://gist.github.com/spouliot/b634e5d1a5590a629d6c6c00e4eadbef) APIs that were marked as available for watchOS 3.1.1 weren't in fact available. Note: it's not impossible that a future version of Xcode actually adds those. We'll then be able to just revert this commit. * [homekit] Add back properties removed when dropping manual enum code (#1226) references: * API diff @ https://jenkins.mono-project.com/job/xamarin-macios-pr-builder/2071/API_diff/ * commit 0504586 * [opentk] Bump to remove deprecated glGetQueryObjectivEXT symbol (#1239) reference: !unknown-pinvoke! glGetQueryObjectivEXT bound * [cloudkit][watchos] Re-introduce [DesignatedInitializer] on CKFetchWebAuthTokenOperation (#1240) Header files were not updated (in Xcode 8.2) for watchOS 3.1 so some changes should be delayed (in case the fork is permanent) reference: !missing-designated-initializer! CKFetchWebAuthTokenOperation::initWithAPIToken: is missing an [DesignatedInitializer] attribute * [tests][xtro] Fix category name mapping (e.g. casing) (#1244) reference: !missing-selector! NSMutableURLRequest::bindToHotspotHelperCommand: not bound * [tests][xtro] Update data files (#1245) * [AVKit] Add missing enum for Xcode 8.2 beta 1. (#1246) * [AVKit] Add missing enum for Xcode 8.2 beta 1. * As per review, move away from the enum implementation, add a static class with the valid strings. * [intents] Add obsoleted default ctor for INRideDriver and INRideStatus (#1262) Xcode 8.2 (beta 1) changed the default `init` to throw the following `NSInvalidArgumentException Reason: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]` So we introduce compatibility stubs to avoid the native exception, warn the developers and maintain binary compatibility * [apidiff] Update xml definitions to match C8SR1 (stable) (#1263) * [networkextension] Fix some API that works only from an extension with specific entitlements (#1158) * Enable default constructor on NEPacketTunnelProvider * NEPacketTunnelNetworkSettings needs the same constructor as parent class * skip NEPacketTunnelProvider in ctor init test From @VincentDondain `NEPacketTunnelProvider *a = [[NEPacketTunnelProvider alloc] init];` return `nil` without these entitlements: ``` <key>com.apple.developer.networking.networkextension</key> <array> <string>packet-tunnel-provider</string> <string>app-proxy-provider</string> <string>content-filter-provider</string> </array> ``` Note: you're also supposed to call it from its "extension process" otherwise you get: `NEProvider objects cannot be instantiated from non-extension processes.` Hence from an iOS App Extension that has the `com.apple.networkextension.packet-tunnel` extension point. * [networkextension] Mark NEPacketTunnelNetworkSettings default .ctor obsolete (#1267) The returned instance cannot be used [1]. However removing it would be a breaking change so we're obsoleting the API (until a new version of the profile). [1] #1158 (comment) * Merge pull request #936 from VincentDondain/master-fix-bug-44874 [networkextension] Enable default contructor on NETunnelProviderManager * Merge xcode82 into cycle8-xi for C8SR2
Commit list for xamarin/Xamarin.MacDev: * xamarin/Xamarin.MacDev@49a17b1 VSTS 702327: Launch image sizes for iPhone XS Max and iPhone XR (xamarin#35) * xamarin/Xamarin.MacDev@95599c5 Added new Xcode10 Watch Complication values (xamarin#34) * xamarin/Xamarin.MacDev@59b15be Use Version.TryParse * xamarin/Xamarin.MacDev@2dd5fa0 Merge pull request xamarin#32 from xamarin/vsts-692176 * xamarin/Xamarin.MacDev@a97390f VSTS-692176: Add missing AutoFill Credential Provider entitlement * xamarin/Xamarin.MacDev@19b14f6 Added API to get the recommended Xcode version value Diff: xamarin/Xamarin.MacDev@39ea45b...49a17b1 Commit list for mono/mono: * mono/mono@4d7b7ab3751 [ci] Fix Windows .msi build * mono/mono@21dc7470bc7 [bcl] avoid false pinning in GCTest (xamarin#11534) * mono/mono@d9779c1df6d [interp] accept typed-by-ref as return type from a JIT call (xamarin#11538) * mono/mono@e7e14a79297 [interp] transform delegate invoke in method body too (xamarin#11549) * mono/mono@cadeaf43dad [ci] Switch to new syntax of Azure Storage plugin Diff: mono/mono@709b46e...4d7b7ab Commit list for xamarin/maccore: * xamarin/maccore@e73094e632 Update maciostools to head (xamarin#1117) * xamarin/maccore@4902ebbdbd Merge pull request xamarin#1105 from xamarin/swift-o-matic-optional-virtual-constructor * xamarin/maccore@76ecea4760 Added IsOptional property. * xamarin/maccore@77d93295bd Added a test where the init fails to ensure both paths work. * xamarin/maccore@3d989b1ca4 Support for optional constructors in virtual classes. * xamarin/maccore@bfdc782d0e Merge pull request xamarin#1100 from xamarin/swift-o-matic-constructor-mulligan * xamarin/maccore@cf8025724d Added field and prop for ClassHandle * xamarin/maccore@dc2e3f32fe Trimmed down ObjC constructors. * xamarin/maccore@b53827c151 [SoM] Document CI a bit. (xamarin#1101) * xamarin/maccore@46d01c8c10 [SoM] Provision XI and Mono as well. (xamarin#1099) * xamarin/maccore@b4455eafcb bye bye old code. * xamarin/maccore@34730dfeac Lots of changes for constructor refactoring. * xamarin/maccore@bd09006725 Merge pull request xamarin#1096 from xamarin/swift-o-matic-required-init * xamarin/maccore@2af91dc79a Label those asserts! * xamarin/maccore@ea5b501a47 It looks like cmake isn't there? * xamarin/maccore@b50285719f Support for required init methods * xamarin/maccore@6e7187da41 [install-qa-provisioning-profiles] Create directory before trying to create files in it. (xamarin#1095) * xamarin/maccore@8addb4a338 Merge pull request xamarin#1092 from xamarin/swift-o-matic-objc-methods * xamarin/maccore@9dc7111497 Removed dead code, added nfloat. * xamarin/maccore@663279065d Removed dead code. * xamarin/maccore@3852918abc Added code to import C# methods defined in ObjC bindings. Diff: https://github.com/xamarin/maccore/compare/b35c3a8d7682c8482c7c749d7c1670b3d4bbed5c...e73094e6322531bcefdef95b4ec8654f596c4ae9
Commit list for xamarin/Xamarin.MacDev: * xamarin/Xamarin.MacDev@49a17b1 VSTS 702327: Launch image sizes for iPhone XS Max and iPhone XR (#35) * xamarin/Xamarin.MacDev@95599c5 Added new Xcode10 Watch Complication values (#34) * xamarin/Xamarin.MacDev@59b15be Use Version.TryParse * xamarin/Xamarin.MacDev@2dd5fa0 Merge pull request #32 from xamarin/vsts-692176 * xamarin/Xamarin.MacDev@a97390f VSTS-692176: Add missing AutoFill Credential Provider entitlement * xamarin/Xamarin.MacDev@19b14f6 Added API to get the recommended Xcode version value Diff: xamarin/Xamarin.MacDev@39ea45b...49a17b1 Commit list for mono/mono: * mono/mono@4d7b7ab3751 [ci] Fix Windows .msi build * mono/mono@21dc7470bc7 [bcl] avoid false pinning in GCTest (#11534) * mono/mono@d9779c1df6d [interp] accept typed-by-ref as return type from a JIT call (#11538) * mono/mono@e7e14a79297 [interp] transform delegate invoke in method body too (#11549) * mono/mono@cadeaf43dad [ci] Switch to new syntax of Azure Storage plugin Diff: mono/mono@709b46e...4d7b7ab Commit list for xamarin/maccore: * xamarin/maccore@e73094e632 Update maciostools to head (#1117) * xamarin/maccore@4902ebbdbd Merge pull request #1105 from xamarin/swift-o-matic-optional-virtual-constructor * xamarin/maccore@76ecea4760 Added IsOptional property. * xamarin/maccore@77d93295bd Added a test where the init fails to ensure both paths work. * xamarin/maccore@3d989b1ca4 Support for optional constructors in virtual classes. * xamarin/maccore@bfdc782d0e Merge pull request #1100 from xamarin/swift-o-matic-constructor-mulligan * xamarin/maccore@cf8025724d Added field and prop for ClassHandle * xamarin/maccore@dc2e3f32fe Trimmed down ObjC constructors. * xamarin/maccore@b53827c151 [SoM] Document CI a bit. (#1101) * xamarin/maccore@46d01c8c10 [SoM] Provision XI and Mono as well. (#1099) * xamarin/maccore@b4455eafcb bye bye old code. * xamarin/maccore@34730dfeac Lots of changes for constructor refactoring. * xamarin/maccore@bd09006725 Merge pull request #1096 from xamarin/swift-o-matic-required-init * xamarin/maccore@2af91dc79a Label those asserts! * xamarin/maccore@ea5b501a47 It looks like cmake isn't there? * xamarin/maccore@b50285719f Support for required init methods * xamarin/maccore@6e7187da41 [install-qa-provisioning-profiles] Create directory before trying to create files in it. (#1095) * xamarin/maccore@8addb4a338 Merge pull request #1092 from xamarin/swift-o-matic-objc-methods * xamarin/maccore@9dc7111497 Removed dead code, added nfloat. * xamarin/maccore@663279065d Removed dead code. * xamarin/maccore@3852918abc Added code to import C# methods defined in ObjC bindings. Diff: https://github.com/xamarin/maccore/compare/b35c3a8d7682c8482c7c749d7c1670b3d4bbed5c...e73094e6322531bcefdef95b4ec8654f596c4ae9
No description provided.