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

796 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Pouliot 21891ea3bc [spritekit] Replace incorrect TV (it's TVOS) condition to fix SKNode (#569)
references:
!missing-protocol-conformance! SKNode should conform to UIFocusItem
!wrong-base-type! SKNode expected UIResponder actual NSObject
2016-08-08 11:51:25 -04:00
Sebastien Pouliot 54b9bbdfbd [usernotifications] Remove incorrect (and unneeded) TV conditional (#570) 2016-08-07 13:29:16 -04:00
Sebastien Pouliot 64c20c07bd [intents] Enable API using NSMeasurement<UnitType> (#568)
Due to how bindings are defined, e.g. using an [BaseType] attribute for
hierarchy, we cannot restrict the generic types in them. IOW

	interface NSMeasurement<UnitType> where UnitType : NSUnit {

fails when using like

		NSMeasurement<NSUnitTemperature> Temperature { get; }

because `NSUnitTemperature` is not a subclass of `UnitType` in the
bindings and thus this must become something like

	interface NSMeasurement<UnitType> {

to compile (bindings). From there a partial class (for the product
assembly) can be used to add the _correct_ constraint...

Sadly does not work as the generator will default to NSObject when no
constraint is given :(

That will be fixed, in the generator, in a separate commit/PR.
2016-08-07 13:25:54 -04:00
Sebastien Pouliot 3590034537 [foundation] Add more bindings (but not complete, WIP) including NSMeasurement that is now needed by some Intents.framework API (#556) 2016-08-07 10:27:34 -04:00
Alex Soto 9728897c86 WIP [iOS10, UIKit] More work (#566) 2016-08-06 11:06:39 -04:00
Sebastien Pouliot 921b254adc [watchos][scenekit] Enable SceneKit on watchOS (#563)
* Enable some SceneKit-related WatchKit API
* Enable some SceneKit-related SpriteKit API
* Enable some SceneKit-related Foundation API
* Fix generator to include `using SceneKit;` on watchOS
* Adjust xtro tests since watchOS headers include some stuff that's not available in reality
* Lots of [Watch (3,0)] attributes
2016-08-06 10:59:16 -04:00
Chris Hamons a3c7029c6a [XM] Fix "random" crash in introspection tests (#565)
- Hopefully kill https://bugzilla.xamarin.com/show_bug.cgi?id=42267
2016-08-05 16:14:37 -05:00
Sebastien Pouliot 0dd2d40cdc Bump versions numbers post preview #2 2016-08-05 15:32:15 -04:00
Alex Soto 1d212536b4 [Intents] Update to Xcode8 Beta 4 (#555)
* TODO: We need to bind NSMeasurement<T> in order to enable some members
2016-08-05 14:52:04 -04:00
Alex Soto 58a0e6136a [Scenekit] Update SceneKit to Xcode8 Beta 4 (#552)
* Fixed reports of xtro tests
* Fixed some members that are @required members of an existing protocol (XAMCORE_4_0)
* Added some new typo fixes to Intrespection tests
* Fixed SCNNode.EnumerateChildNodes delegate signature
2016-08-05 08:23:02 -04:00
Sebastien Pouliot b146861389 [tests] Fix LinkSDK DllImportTest on newer OS (#554)
Latest iOS 10, tvOS 10 and watchOS 3 uses a newer libsqlite version.

It's not clear is macOS 10.12 also does (and that could affect the
test when using the simulators)
2016-08-04 20:00:52 -04:00
Sebastien Pouliot 01d1ebac48 [spritekit] Fix small breaking changes that sneaked in PR #498 (part 2) (#553)
Somehow I missed the last two missing 'virtual' in PR #548 ?!?
2016-08-04 17:06:38 -04:00
Sebastien Pouliot 3841d90ed9 [watchos][watchkit] Uncomment WKInterfaceSKScene now that SpriteKit is enable on watchOS (#551) 2016-08-04 14:32:09 -04:00
Sebastien Pouliot 937eb70686 Merge branch 'cycle8' into xcode8 2016-08-04 13:26:08 -04:00
Sebastien Pouliot 2037c5f581 [apidiff] Update definitions to C7SR1 (current stable) (#550)
Also enable tvOS when updating references (Makefile)
2016-08-04 13:23:06 -04:00
Vincent Dondain 83e117af74 [Make.config] Update Mono and XS max version (#547) 2016-08-04 13:17:38 -04:00
Sebastien Pouliot f6345bdaef [spritekit] Fix small breaking changes that sneaked in PR #498 (#548)
* Add missing 'virtual' on SpriteKit.SKUniform properties
2016-08-04 13:16:38 -04:00
Sebastien Pouliot 9c5137ade9 [gameplaykit] Re-expose old SIMD methods removed by PR #220 (#549)
They are now usused, but are public in classic, hence a breaking change.

	public static void xamarin_simd__void_objc_msgSendSuper_Vector2i (IntPtr receiver, IntPtr selector, OpenTK.Vector2i arg1);
	public static void xamarin_simd__void_objc_msgSend_Vector2i (IntPtr receiver, IntPtr selector, OpenTK.Vector2i arg1);
2016-08-04 13:16:22 -04:00
Rolf Bjarne Kvinge 08882e2e9c [tests] Add explicit reference to System.Core. (#545) 2016-08-04 16:55:40 +02:00
Chris Hamons 52a8642d2c [XM] Teach mmp to set rpath we we copy frameworks into bundle Framework dir (#506)
- https://bugzilla.xamarin.com/show_bug.cgi?id=42846
2016-08-04 08:35:23 -05:00
Sebastien Pouliot a16167d816 [watchos][spritekit] Enable SpriteKit for watchOS (#543)
A few things are left partially disabled as they requires SceneKit and AVFoundation

!missing-selector! SK3DNode::autoenablesDefaultLighting not bound
!missing-selector! SK3DNode::hitTest:options: not bound
!missing-selector! SK3DNode::isPlaying not bound
!missing-selector! SK3DNode::loops not bound
!missing-selector! SK3DNode::pointOfView not bound
!missing-selector! SK3DNode::sceneTime not bound
!missing-selector! SK3DNode::scnScene not bound
!missing-selector! SK3DNode::setAutoenablesDefaultLighting: not bound
!missing-selector! SK3DNode::setLoops: not bound
!missing-selector! SK3DNode::setPlaying: not bound
!missing-selector! SK3DNode::setPointOfView: not bound
!missing-selector! SK3DNode::setSceneTime: not bound
!missing-selector! SK3DNode::setScnScene: not bound
!missing-selector! SKAudioNode::avAudioNode not bound
!missing-selector! SKAudioNode::initWithAVAudioNode: not bound
!missing-selector! SKAudioNode::initWithFileNamed: not bound
!missing-selector! SKAudioNode::initWithURL: not bound
!missing-selector! SKAudioNode::setAvAudioNode: not bound
!missing-selector! SKScene::audioEngine not bound
2016-08-04 12:11:41 +02:00
Vincent Dondain ddd1988f64 [spritekit] Update for iOS 10 beta 1 (#498)
* [spritekit] Update for iOS 10 beta 1

* [spritekit] Add missing MarshalDirective

* [runtime] Add missing simd function signatures

- Add matrix_float2x2 and matrix_float3x3 natives types.

* [introspection] Fix ApiSignatureTest

- We now avoid checking {?=[X]} encoded signatures.
- We now calculate the right size for matrix_float2x2, matrix_float3x3 and matrix_float4x4.
- Fix SKWarpGeometryGrid wrong bindings revealed by tests (IntPtr instead of Vector2).

* [monotouch-test] Add SKUniform and SKWarpGeometryGrid tests
2016-08-03 19:12:07 +02:00
Sebastien Pouliot f46cd3bf8d [homekit] Make HMCameraSource abstract - like it's documented in the header files (#535) 2016-08-02 21:50:37 -04:00
Sebastien Pouliot 32a590e52c [wkwebkit] Update for beta 4 (#526) 2016-08-02 21:14:08 -04:00
Sebastien Pouliot eab578af88 [callkit] Update for beta 4 (#531) 2016-08-02 21:13:54 -04:00
Sebastien Pouliot 158156a05d [intentsui] Update for beta 4 (Apple typo fix only) (#534) 2016-08-02 18:50:17 -04:00
Sebastien Pouliot c460ee1d31 Merge pull request #533 from spouliot/un-b4
[usernotifications] Update for beta 4
2016-08-02 17:36:30 -04:00
Sebastien Pouliot be0d1dcf31 Merge pull request #527 from spouliot/corespotlight-b4
[corespotlight] Update for beta 4
2016-08-02 17:04:53 -04:00
Sebastien Pouliot a063cf54c7 [usernotifications] Update for beta 4
* Mostly removal of ArgumentSemantic on value types;

* Removal of "minimalActions"
2016-08-02 16:18:54 -04:00
Miguel de Icaza c16047695f Bump maccore, for ios-api-docs 2016-08-02 16:13:11 -04:00
Sebastien Pouliot 27e5b298e2 Merge pull request #524 from spouliot/coreimage-b4
[coreimage] Update for beta 4
2016-08-02 16:04:09 -04:00
Sebastien Pouliot 95f107ae92 Merge pull request #525 from spouliot/watchkit-b4
[watchkit] Update for beta 4
2016-08-02 15:49:28 -04:00
Jason Imison 61e940080b Merge pull request #529 from xamarin/cycle8-fix42828
Add F# targets to Xamarin.Mac.FSharp.targets
2016-08-02 20:16:31 +01:00
nosami 5df2224f71 Add F# targets to Xamarin.Mac.FSharp.targets 2016-08-02 20:14:55 +01:00
Sebastien Pouliot 4daf66be58 [corespotlight] Update for beta 4 2016-08-02 15:00:29 -04:00
Sebastien Pouliot 60f4bcce1d [watchkit] Update for beta 4
* Remove `setTaskCompleted` from 3 types as it's already defined in the
  base type;

* Fix `URL` to `Url` in WKUrlSessionRefreshBackgroundTask type name
2016-08-02 14:43:33 -04:00
Sebastien Pouliot f72fc73904 [coreimage] Update for beta 4 2016-08-02 14:37:54 -04:00
Sebastien Pouliot c99bca8695 Merge pull request #518 from spouliot/beta4-bump
Bump Xcode to beta 4 to run tests against the newest toolchain and SDKs
2016-08-02 13:59:24 -04:00
Sebastien Pouliot 6be6e6652a Merge pull request #1 from rolfbjarne/beta4-bump-mlaunch
[xharness] Get new mlaunch for beta 4.
2016-08-02 13:04:28 -04:00
Jason Imison 720941d475 Merge pull request #522 from xamarin/cycle8-fix42828
Cycle8 fix42828
2016-08-02 17:24:42 +01:00
Rolf Bjarne Kvinge 395a497281 [xharness] Fail properly if we fail to load simulators. (#520) 2016-08-02 18:24:34 +02:00
Rolf Bjarne Kvinge 2c892e2b02 [xharness] Get new mlaunch for beta 4. 2016-08-02 18:15:54 +02:00
nosami a90fe3ce8a Fix the other FSharp templates. Fixes #42828 2016-08-02 16:59:56 +01:00
nosami f7c84735c8 Fixes #42828 2016-08-02 16:59:44 +01:00
Chris Hamons 798aca0767 [XM] Fix static registrar.
Rip out all 64-bit registration in 32-bit XM.
2016-08-02 17:44:10 +02:00
Sebastien Pouliot 3f0d43debf [foundation] Adding new iOS 10 API (part 1) (#503)
- Split in two to ease review;

- Unit tests added for NSUrlSessionTaskMetrics and
  NSUrlSessionTaskTransactionMetrics as they don't respond to selectors
  like expected (but just like other NSUrlSession* types)
2016-08-02 08:03:35 -04:00
Rolf Bjarne Kvinge 1090852823 Bump Touch.Unit to get a fix for an infinite loop. (#521) 2016-08-02 07:53:11 -04:00
Sebastien Pouliot 5391a94e35 [callkit] Partial update for beta 4 (to fix tests)
Introspection signature tests failed as a NSString (bound as a `string`) was
replaced by a int64_t
2016-08-01 22:23:02 -04:00
Sebastien Pouliot 5af2be454a [intents] Partial update for beta 4 (to fix tests)
Fix introspection failures

[FAIL] Selector not found for Intents.INBookRestaurantReservationIntent : restaurantMarketingPreferences
[FAIL] Selector not found for Intents.INBookRestaurantReservationIntent : setRestaurantMarketingPreferences:
[FAIL] Selector not found for Intents.INGetAvailableRestaurantReservationBookingDefaultsIntentResponse : restaurantMarketingPreferences
[FAIL] Selector not found for Intents.INGetAvailableRestaurantReservationBookingDefaultsIntentResponse : setRestaurantMarketingPreferences:
[FAIL] Selector not found for Intents.INListRideOptionsIntentResponse : supportsApplePayForPayment
[FAIL] Selector not found for Intents.INListRideOptionsIntentResponse : setSupportsApplePayForPayment:
[FAIL] Selector not found for Intents.INRequestRideIntent : initWithPickupLocation:dropOffLocation:rideOptionName:partySize:paymentMethodName:usesApplePayForPayment:
[FAIL] Selector not found for Intents.INRequestRideIntent : paymentMethodName
[FAIL] Selector not found for Intents.INRequestRideIntent : usesApplePayForPayment
2016-08-01 22:18:13 -04:00
Sebastien Pouliot 068bc8b7a4 [healthkit] Update for beta 4
Fix introspection failure

[FAIL] HKWorkoutEvent conforms to NSCopying but does not implement INSCopying

as conformance for NSCopying was added in beta 4 (it's the only change)

HealthKit-iOS-Beta4.md:-@interface HKWorkoutEvent : NSObject <NSSecureCoding>
HealthKit-iOS-Beta4.md:+@interface HKWorkoutEvent : NSObject <NSSecureCoding, NSCopying>
2016-08-01 22:17:13 -04:00