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

2539 Коммитов

Автор SHA1 Сообщение Дата
Vincent Dondain dd54bc4509 [spritekit] Update for Xcode 8.3 beta 1 - part 3 (#1705)
- Fixes bug #52568: Missing SpriteKit API
(https://bugzilla.xamarin.com/show_bug.cgi?id=52568)

xtro revealed that some selectors were still missing after the "part 2" fix.

* [spritekit] Add missing selectors and clean up common.pending

Fixes bug #34946: [spritekit] Missing selectors
(https://bugzilla.xamarin.com/show_bug.cgi?id=34946)

Also as per https://github.com/xamarin/xamarin-macios/pull/1705#pullrequestreview-22328496
we find that there's more value in exposing those static methods (SKUniform::uniformWithName:*) than hiding them.

https://bugzilla.xamarin.com/show_bug.cgi?id=37727 was already fixed but we didn't remove
the added selectors from common.pending

The following selectors were already bound:
!missing-selector! +SKActions::falloffTo:duration: not bound
!missing-selector! +SKVideoNode::videoNodeWithFileNamed: not bound
!missing-selector! +SKVideoNode::videoNodeWithURL: not bound
2017-03-28 09:43:54 -05:00
Vincent Dondain 13972a104b [opengles] Add version check to EAGLContext.PresentRenderBufferTest (#1706)
Fix bug #52456: [iOS]EAGLContextTest.PresentRenderBufferTest failed on lower versions of iOS
(https://bugzilla.xamarin.com/show_bug.cgi?id=52456)
2017-03-28 09:42:24 -05:00
Sebastien Pouliot 9bdd163292 [macos][modelio] MDLAsset::initWithBufferAllocator: was added to macOS (10.12) (#1704)
reference (xtro):
osx.unclassified:!missing-selector! MDLAsset::initWithBufferAllocator: not bound
2017-03-28 09:42:12 -05:00
Sebastien Pouliot 2bc0262063 Revert "[modelio] All properties for MDLVertexAttributeData were turned read-only in iOS10 (#222)" (#1703)
This reverts commit 0b6ac445ce.

Apple reverted this change later (beta?)

references (xtro):
common.unclassified:!missing-selector! MDLVertexAttributeData::setDataStart: not bound
common.unclassified:!missing-selector! MDLVertexAttributeData::setFormat: not bound
common.unclassified:!missing-selector! MDLVertexAttributeData::setMap: not bound
common.unclassified:!missing-selector! MDLVertexAttributeData::setStride: not bound
2017-03-28 09:41:39 -05:00
Sebastien Pouliot b3673641f6 [macos][storekit] SKDownload::transaction was added to macOS (10.11) (#1702)
reference (xtro):
osx.unclassified:!missing-selector! SKDownload::transaction not bound
2017-03-28 09:38:54 -05:00
Sebastien Pouliot f261d901b1 [tests] Adjust monotouch-test not to crash on an Apple bug. Fixes #52162 (#1699)
iOS 10.3 simulator (i386 only) will crash executing CTLineTests.
EnumerateCaretOffsets test case.

This does not happen on 64 bits (simulator) or on device builds,
including 32 bits builds. Running iOS 10.1 simulator (with Xcode 8.3)
also runs without problems.

reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=52162
2017-03-28 09:38:18 -05:00
Sebastien Pouliot bcf27ce090 [security] Add more SecCertificate* API from beta1. Fixes #52505 (#1695)
They were thought to be macOS only but xtro corrected me, they are
new in iOS 10.3 even if some existed previously.

references (xtro):
!missing-pinvoke! SecCertificateCopyCommonName is not bound
!missing-pinvoke! SecCertificateCopyEmailAddresses is not bound
!missing-pinvoke! SecCertificateCopyNormalizedIssuerSequence is not bound
!missing-pinvoke! SecCertificateCopyNormalizedSubjectSequence is not bound
!missing-pinvoke! SecCertificateCopyPublicKey is not bound
!missing-pinvoke! SecCertificateCopySerialNumber is not bound

reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=52505
2017-03-28 09:34:52 -05:00
Vincent Dondain dd650f4a34 [mediaplayer] macOS update for Xcode 8.3 (#1693)
Headers say 10.12.3 and not 10.12.4, ran introspection-mac and the selector is indeed available on 10.12.3.
2017-03-28 09:32:25 -05:00
Vincent Dondain 6d7efb1405 [modelio] Fix common.unclassified for recent Xcode8.3 changes (#1692) 2017-03-28 09:31:10 -05:00
Sebastien Pouliot 375fd87f85 [tests][xtro] Run xtro comparison against the locally built assemblies, not the one installed on the system (#1691) 2017-03-28 09:30:55 -05:00
Alex Soto 11b338af8e [LocalAuthentication] Update to Xcode8.3 beta2 Mac (#1688) 2017-03-28 09:30:41 -05:00
Vincent Dondain cd8cf18aa5 [homekit] Update watchOS API availability for Xcode 8.3 (#1644)
- Fixes xtro tests.
- APIs where introduced in watchOS 3.2 but are actually available starting with 3.1.1
   - introspection-watchos device tests: https://gist.github.com/VincentDondain/f615571ddedd6c3aa770ccb85e0f265f

_Note: Failures are not related to the newly available APIs._
2017-03-28 09:30:29 -05:00
Timothy Risi 7d8faf9c0a Add a nullable attribute in Intents from Xcode 8.3 (#1671) 2017-03-28 09:30:20 -05:00
Sebastien Pouliot 25481f5af5 [security] Add new API for beta 1 (#1682)
There's a lot of noise from the header diff, e.g. tabs changed to spaces,
but very few actual changes.

Note that there's more macOS specific code to review but this PR
handles iOS, tvOS and watchOS changes.
2017-03-28 09:30:12 -05:00
Vincent Dondain 99e5bd70d1 [homekit] Fix enum breaking change (#1673)
Adding new enum values without numbering them in the middle of others will
change the numbering of the subsequent enum values.
2017-03-28 09:30:05 -05:00
Sebastien Pouliot 58ed0b1866 [audiotoolbox] Remove null check on sourceAudioUnit (#1675)
PR#1667 changed some code to allow null SourceAudioUnit - but it forgot
to remove the null check that throws an ArgumentNullException. Thanks
to Tim for spotting this.
2017-03-28 09:29:56 -05:00
Sebastien Pouliot d99d1b1dc0 [watchos][cloudkit] Update for beta 1 (#1659)
The CloudKit headers for watchOS were updated to match the ones from
iOS and tvOS (from previous Xcode) so this mostly remove some watch
specific code.

Apple also made some previously broken `init` to be
NS_DESIGNATED_INITIALIZER so those are now enabled for watchOS.
2017-03-28 09:29:49 -05:00
Alex Soto 3a1276a992 [VideoToolbox] Updated to Xcode 8.3 Beta 1
* Updated API to reflect Xcode 8.3 beta 1 changes
* This commit also fixes availability metadata to avoid duplicating it
  by moving member availability metadata into its container class where
  possible.
* Enables VideoToolbox tests for tvOS.
2017-03-28 09:29:36 -05:00
Alex Soto b1f9ac84bc [generator] Add availability info to StrongDictionary
We did not honor/reflect the availability information on the generated
code from StrongDictionary members/classes nor we would honor unavailability
attributes like NoiOS, NoTV and NoMac applied to members. This commit fixes
both scenarios
2017-03-28 09:29:26 -05:00
Sebastien Pouliot 97db1edcab [tvos][uikit] Fix two UITableViewDataSource that are not prohibited anymore (#1668)
Spotted by xtro

!missing-protocol-member! UITableViewDataSource::sectionIndexTitlesForTableView: not found
!missing-protocol-member! UITableViewDataSource::tableView:sectionForSectionIndexTitle:atIndex: not found

and it was in the header diff too

--- (nullable NSArray<NSString *> *)sectionIndexTitlesForTableView:(UITableView *)tableView __TVOS_PROHIBITED;                                                    // return list of section titles to display in section index view (e.g. "ABCD...Z#")
--- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index __TVOS_PROHIBITED;  // tell table which section corresponds to section title/index (e.g. "B",1))
-+- (nullable NSArray<NSString *> *)sectionIndexTitlesForTableView:(UITableView *)tableView;                               // return list of section titles to display in section index view (e.g. "ABCD...Z#")
-+- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index;  // tell table which section corresponds to section title/index (e.g. "B",1))
2017-03-28 09:29:17 -05:00
Sebastien Pouliot 3cd590deb6 [audiotoolbox] Allow SourceAudioUnit to be set to null (beta 2) (#1667)
Latest header files marks this file as nullable so we should let
our managed API accept null values.

> AudioUnit __nullable	sourceAudioUnit;
2017-03-28 09:29:03 -05:00
Sebastien Pouliot 63c98bcbde [metal] Add new MTL* API from Xcode 8.3 beta1 (#1666)
Covers iOS, tvOS and macOS (no Metal on watch yet)

Most new members are _marked_ as @required (but are not really) by
Apple. We cannot make them `abstract` as it would be a breaking change.
2017-03-28 09:28:53 -05:00
Sebastien Pouliot b05b55a8ed [tvos][mediaplayer] Update xtro definitions (#1654)
The new field and both selectors are not really part of tvOS.

The field is not used anywhere (from available API).

The selectors are on a category on a type that is not part of tvOS.
Sadly they do not get annotated directly and require external data.
2017-03-28 09:28:40 -05:00
Sebastien Pouliot 53645cc336 [tvos][storekit] Adjust StoreKit beta 1 bindings for tvOS (#1646) 2017-03-28 09:26:23 -05:00
Vincent Dondain b15d2e256b [mediaplayer] Update for iOS 10.3 beta 1 (#1627)
* introspection-ios

MPMusicPlayerControllerMutableQueue and MPMusicPlayerControllerQueue's headers show no trace of NSCoding, NSSecureCoding or NSMutableCopying therefore we're skipping them.
2017-03-28 09:24:06 -05:00
Vincent Dondain b7dd01c770 [modelio] Update for iOS 10.3 beta 1 (#1601) 2017-03-28 09:22:27 -05:00
Timothy Risi bf3a3fb991 Bind new mac-only APIs from xcode 8.3 (#1602) 2017-03-28 09:22:20 -05:00
Sebastien Pouliot f4fccb09d7 [tvos][videotoolbox] Enable VideoToolbox.framework on tvOS (#1626)
This is just a build enablement to see xtro results. API adjustments,
including availability attributes, remains to be done.
2017-03-28 09:22:10 -05:00
Alex Soto ce0d121062 [UIKit] Update for iOS 10.3 beta 1 (#1629) 2017-03-28 09:21:57 -05:00
Vincent Dondain 19e7a0f8b8 [spritekit] Update for iOS 10.3 beta 1 (#1628) 2017-03-28 09:21:42 -05:00
Rolf Bjarne Kvinge 2ad0a418d1 Bump min macOS version, since Xcode 8.3 requires macOS 10.12. (#1635) 2017-03-28 09:19:32 -05:00
Alex Soto f7b72669ec [PassKit] Update to iOS 10.3 beta 1 2017-03-28 09:16:49 -05:00
Sebastien Pouliot 2ee5201b84 [tests][monotouch] Generalize some tests to be independent of iOS version. Fixes #51801 (#1598)
The exact values are not what we need to test for and varies with
different OS versions - making tests fails for no good reason (i.e.
they are not canary used to detect changes)

reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=51801
2017-03-28 09:16:08 -05:00
Alex Soto 3fbaef107c [WebKit] Update to iOS 10.3 beta 1 2017-03-28 09:14:32 -05:00
Alex Soto 19872ff117 [WatchKit] Update to iOS 10.3 beta 1
Unfortunately adding the setter to CurrentTime property is a breaking
change so added a XAMCORE_4_0 check
2017-03-28 09:14:21 -05:00
Alex Soto 66b6bae037 [LocalAuthentication] Update to iOS 10.3 beta 1 2017-03-28 09:14:10 -05:00
Alex Soto 4d9774eeb1 [CoreVideo] Update to iOS 10.3 beta 1 2017-03-28 09:13:31 -05:00
Vincent Dondain 0e8521c9da [homekit] Update to iOS 10.3 beta 1 (#1584) 2017-03-28 09:13:15 -05:00
Alex Soto 8cfc8cdbf6 [iAd] Update to iOS 10.3 beta 1 2017-03-28 09:12:58 -05:00
Alex Soto 9cca3c9e7c [Contacts] Update to iOS 10.3 beta 1 2017-03-28 09:12:44 -05:00
Alex Soto e24788d46a [StoreKit] Update to iOS 10.3 beta 1 2017-03-28 09:12:33 -05:00
Vincent Dondain f3cd4a50d4 [opengles] Update to iOS 10.3 beta 1 (#1576) 2017-03-28 09:12:08 -05:00
Vincent Dondain 01039c8679 [foundation] Update to iOS 10.3 beta 1 (#1562) 2017-03-28 09:09:07 -05:00
Vincent Dondain 294f8185af [cfnetwork] Update for iOS 10.3 beta 1 (#1561) 2017-03-28 09:09:01 -05:00
Vincent Dondain 1bef4bbbd3 [callkit] Update to iOS 10.3 beta 1 (#1560) 2017-03-28 09:08:38 -05:00
Vincent Dondain 82fd0ea4c8 [Photos] Update to iOS 10.3 beta 1 2017-03-28 09:08:24 -05:00
Rolf Bjarne Kvinge 69e99dee6c [tests] Use the iPhone 6 simulator instead of the iPhone 5s simulator for 64-bit testing. (#1920)
Apparently Xcode 8.3 does not like the iPhone 5s simulator, and deletes it.

Every time Xcode is updated.

Which is slightly annoying when it affects the bots, since then iPhone 5s have
to be re-created on every bot.

So succumb to the pressure, and switch to using the iPhone 6 simulator instead.
2017-03-28 14:38:09 +02:00
Marek Safar decec3ee6e Bump mono 2017-03-28 11:18:03 +02:00
Rolf Bjarne Kvinge 8415874826 Bump system mono to get fix for #53481.
https://bugzilla.xamarin.com/show_bug.cgi?id=53481
2017-03-28 08:28:15 +02:00
Marek Safar d53bbd6b09 Bump mono 2017-03-27 23:49:13 +02:00