Vincent Dondain
23386a9217
[mediaplayer] Update for iOS 10 beta 1 - Part 1 ( #386 )
...
- Includes tests.
- Add availability flags.
- Turn new fields into properties.
- Verify bindings on iOS 9.3.
- Added protection in MPNowPlayingInfoCenter if native fields
are not available (depending on the iOS version).
2016-07-14 08:45:30 -04:00
Marek Safar
c95b256d8d
Bump mono for netstandard 1.6 updates
2016-07-14 14:09:12 +02:00
Alex Soto
aef1775532
[Intents] Add Intents bindings from Xcode 8 b2
2016-07-14 04:02:12 -05:00
Alex Soto
15ff32ce38
[generator] Fixes Trampolines generation code for generic types
...
We generated invalid trampolines code when using generics
//
// This class bridges native block invocations that call into C#
//
static internal class SDActionArity1V36 {
static internal readonly DActionArity1V36 Handler = Invoke;
[MonoPInvokeCallback (typeof (DActionArity1V36))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Intents.INIntentResolutionResult<global::Intents.INRestaurantGuest>>) (descriptor->Target);
if (del != null)
**BAD -> del ( Runtime.GetNSObject<Intents.INIntentResolutionResult`1[[Intents.INRestaurantGuest, temp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]> (obj));
}
} /* class SDActionArity1V36 */
We now generate the right thing
//
// This class bridges native block invocations that call into C#
//
static internal class SDActionArity1V36 {
static internal readonly DActionArity1V36 Handler = Invoke;
[MonoPInvokeCallback (typeof (DActionArity1V36))]
static unsafe void Invoke (IntPtr block, IntPtr obj) {
var descriptor = (BlockLiteral *) block;
var del = (global::System.Action<global::Intents.INIntentResolutionResult<global::Intents.INRestaurantGuest>>) (descriptor->Target);
if (del != null)
**OK -> del ( Runtime.GetNSObject<global::Intents.INIntentResolutionResult<global::Intents.INRestaurantGuest>> (obj));
}
} /* class SDActionArity1V36 */
2016-07-13 22:27:38 -05:00
Sebastien Pouliot
f085b17b36
[tests] Add missing version check on AUViewController tests. Fixes #42440 ( #393 )
...
Type was introduced in iOS 9, so it fails on earlier versions.
https://bugzilla.xamarin.com/show_bug.cgi?id=42440
2016-07-13 23:10:35 -04:00
Sebastien Pouliot
cf27c2e7a8
Merge branch 'cycle8' into xcode8
2016-07-13 16:43:00 -04:00
Sebastien Pouliot
76e9b93807
[safariservices] Update for beta 2 ( #377 )
2016-07-13 13:42:31 -04:00
Sebastien Pouliot
d879b65835
[networkextension] Update (add NEPacket) for beta 2 ( #369 )
2016-07-13 12:59:47 -04:00
Sebastien Pouliot
eeb1d10713
[metalkit] Add new API from both beta 1 and beta 2 ( #383 )
2016-07-12 23:10:55 -04:00
Vincent Dondain
dd79e15f3b
[monotouch-test] Fix permissions in Info.plist ( #388 )
2016-07-12 20:34:49 -04:00
Sebastien Pouliot
90259562d1
Switch maccore to cycle8 branch
2016-07-12 16:46:37 -04:00
Sebastien Pouliot
2aea78a64e
[imageio] Update for beta 2 ( #379 )
...
kCGImageDestinationOptimizeColorForSharing has been verified to be
present on iOS 9.3 (like mentioned in the headers)
2016-07-12 16:21:30 -04:00
Miguel de Icaza
e5db2c57af
Bring new maccore with the doc stubs
2016-07-12 14:33:50 -04:00
Sebastien Pouliot
b0d0479681
Bump mono and watch-mono to the head of mono-4.6.0-branch
2016-07-12 13:20:16 -04:00
Sebastien Pouliot
d6e00781eb
[tests] Fix introspection tests running on an iOS 9.3 device ( #380 )
2016-07-12 09:46:41 -04:00
Sebastien Pouliot
2ac25415be
Enable CloudKit on watchOS builds ( #372 )
2016-07-11 08:43:37 -04:00
Sebastien Pouliot
e3a1342cf8
[tvmlkit][tvos] Update for beta 1 and beta 2 ( #371 )
2016-07-11 08:42:01 -04:00
Sebastien Pouliot
2fa473f9f7
[coreimage] Update for beta 2 ( #370 )
2016-07-11 08:41:10 -04:00
Sebastien Pouliot
b16a95b0d1
[tvos] Enable MultipeerConnectivity and ReplayKit frameworks, existing in iOS but just added in tvOS 10 ( #361 )
...
* Xcode 8 beta 2 tvOS SDK does not ship ExternalAccessory headers for the simulator (but the framework itself is present) so it's not yet enabled (causing registrar build issues)
https://trello.com/c/2e2VdbGR/49-27266975-externalaccessory-header-files-are-missing-for-appletvsimulator
* MapKit was not added for 9.2 - it's added now (and will be fixed in master/cycle8 later)
2016-07-10 11:15:45 -04:00
Vincent Dondain
491fdebca1
[homekit] Update for iOS 10 beta 2 ( #368 )
2016-07-08 21:35:06 -04:00
Sebastien Pouliot
6ea6fe471f
[replaykit] Update for beta 2 ( #367 )
2016-07-08 18:39:16 -04:00
Sebastien Pouliot
7c6181dc66
[tests] Fix UIColor unit tests (in classic only) ( #366 )
...
Does not affect the Jenkins bots (which don't run classic tests) but
fails on wrench (who still runs them right now). There's a difference
in how equality is checked between classic and unified and that expose
a, not really important, change in iOS10.
2016-07-08 16:54:24 -04:00
Vincent Dondain
8d9f38bd5f
[gamekit] Update for iOS 10 beta 2 ( #364 )
2016-07-08 13:31:29 -04:00
Sebastien Pouliot
ea9408e2cd
Merge pull request #363 from xamarin/xcode8-xmfixes
...
[XM] Fix introspection test by patching PHLivePhoto
2016-07-08 13:31:08 -04:00
Chris Hamons
cbd334ffc7
[XM] Teach ApiSelectorTest about NSCopying NSCoding additions in 10.12
2016-07-08 11:33:41 -05:00
Chris Hamons
ca5d090fe3
[XM] Fix introspection test by patching PHLivePhoto
2016-07-08 09:54:06 -05:00
Vincent Dondain
f786a588c1
[messages] Update for iOS 10 beta 2 ( #362 )
2016-07-08 10:27:49 -04:00
Chris Hamons
55eb0c8537
Fix bindings to pass introspection tests on 10.12 Xcode 8b1 ( #353 )
2016-07-08 09:09:10 -05:00
Sebastien Pouliot
6f8eb22100
[webkit] Small update for iOS 10 beta 2 ( #359 )
2016-07-08 08:46:36 -04:00
Sebastien Pouliot
6f9168a76d
[corelocation] Update for iOS 10 beta 2 ( #357 )
...
* Removed Description method bindings (and added compatibility stubs);
* StartUpdatingLocation is now allowed on watchOS (assuming 3.0)
2016-07-08 08:46:01 -04:00
Sebastien Pouliot
2b3d606b2c
[contacts] Added new CNContactPhoneticOrganizationNameKey constant/property for beta 2 ( #356 )
2016-07-08 08:45:15 -04:00
Vincent Dondain
839258d337
[gamekit] Update for iOS 10 beta1 ( #354 )
2016-07-08 08:44:44 -04:00
Sebastien Pouliot
223bc7a6d2
[coremotion] Update to remove CMSignificantElevationSample related API from beta 2 ( #358 )
2016-07-07 20:10:32 -04:00
Sebastien Pouliot
a4f01b8315
[multipeerconnectivity] Small update for iOS 10 beta 1 (no change in beta 2) ( #360 )
2016-07-07 20:08:24 -04:00
Sebastien Pouliot
0622ee8a74
Switch mono branch to 4.6.0 ( #355 )
2016-07-07 16:47:24 -04:00
Sebastien Pouliot
afb3ea1e3f
Bump Xcode version to beta 2 ( #349 )
...
Fix issues with monotouch-tests with beta2
* TLSMaximumSupportedProtocol returns Unknown, which also means default,
instead of SslProtocol.Tls_1_2
* Setting NSZone.Name crash the app
* The MDLMesh tests are broken in a different way than beta1
* [callkit] Disable CTCallCenter default ctor as it breaks introspection
> [FAIL] Default constructor not allowed for CoreTelephony.CTCallCenter : SIGILL
The exception, that we catch, puts the process in an unstable state.
This cause weird results and crash later (wrong dispatch queue on main
thread) when testing MapKit.
Crashed Thread: 0 tid_a07 Dispatch queue: CTCallCenter
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000004
Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x4:
-->
__TEXT 0000000000097000-00000000004d2000 [ 4332K] r-x/rwx SM=COW /Users/USER/Library/Developer/CoreSimulator/Devices/9446B344-62A2-42A8-A8EE-9FE7AC6BA5C8/data/Containers/Bundle/Application/81183608-DADF-4226-B7FE-4B43759D679A/introspection.app/introspection
Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: dispatch_barrier_sync called on queue already owned by current thread
abort() called
CoreSimulator 278 - Device: iPhone 5 - Runtime: iOS 10.0 (14A5297c) - DeviceType: iPhone 5
Some beta2 adjustments (removals) to get green tests and be able to merge it so bindings of beta2 can start
* [tests] NEFlowMetaData conformance to NSSecureCoding and NSCopying is new in beta2 (and check fails on OSX 10.11)
* [uikit] Add [UIScrollView|UITableViewController].refreshControl to fix monotouch-test build
UIRefreshControlHosting was removed in beta2 but we still need the
refreshControl property on UIScrollView and UITableViewController
to build monotouch-test
2016-07-07 13:10:24 -04:00
Sebastien Pouliot
cd35ba77ac
[photos] Update for iOS 10 beta 1 ( #348 )
...
Also enable photos.framework on tvOS and macOS - but minimal (no tests failure) support for macOS 10.12. This does not include any macOS specific API
2016-07-06 23:24:31 -04:00
Sebastien Pouliot
88bccb268d
[tests] Change location to download mlaunch, old one is not available anymore ( #352 )
2016-07-06 17:04:08 -04:00
Sebastien Pouliot
0178aa048b
[coreanimation] Update for iOS 10 beta 1 ( #350 )
...
* kCAEmitterBehaviorSimpleAttractor is new on macOS too (even if it's
not decorated as such in the header files)
2016-07-06 13:42:13 -04:00
Sebastien Pouliot
d8c113db09
[glkit] Small update for iOS 10 beta 1 ( #351 )
...
Note: new API in beta1 are also only available on macOS 10.12 (not identified as such in the header files)
2016-07-06 11:19:21 -04:00
Vincent Dondain
c8c27a01b2
[coretext] Update for iOS 10 beta1 ( #346 )
2016-07-05 16:49:59 -04:00
Sebastien Pouliot
648ac646fe
[pushkit] Small update for iOS 10 beta 1 ( #347 )
...
Other changes are due to the introduction of a PKPushType to offer
some type safety.
typedef NSString *PKPushType NS_STRING_ENUM;
We already use a type (or the same name) to hold the constants.
2016-07-04 22:54:38 -04:00
Sebastien Pouliot
5388f5d02f
[coregraphics] Added new CGColorSpace API from iOS 10 beta 1 ( #337 )
...
Also updated unit tests.
2016-07-04 21:57:30 -04:00
Vincent Dondain
13dfd6677e
[corebluetooth] Update for iOS 10 beta 1 ( #342 )
...
- Filled radar://27160443 for CBUUIDValidRangeString being
different than CBUUIDCharacteristicValidRangeString on macOS.
2016-07-04 20:58:20 -04:00
Sebastien Pouliot
f773ee27fb
[wkwebkit] Update for iOS 10 beta 1 ( #345 )
...
Also adjust introspection tests for the new NSSecureCoding
conformance of some existing types.
2016-07-04 20:46:57 -04:00
Sebastien Pouliot
07366dd5bc
[corespotlight] Update for iOS 10 beta 1 ( #344 )
2016-07-04 19:18:46 -04:00
Sebastien Pouliot
8b7be4a01b
[coremotion] Update for iOS 10 beta 1 ( #338 )
2016-07-04 19:18:11 -04:00
Sebastien Pouliot
54c098b14e
[notificationcenter] Update for iOS 10 beta 1 ( #323 )
...
* [notificationcenter] Update for iOS 10 beta 1
Also includes UIKit helpers for UIVibrancyEffect
2016-07-04 19:17:28 -04:00
Sebastien Pouliot
418965b4e7
Merge pull request #252 from dalexsoto/usernotifications2
...
[UserNotifications/UI] Add UserNotifications/UI framework xcode 8 beta 1
2016-07-04 16:49:03 -04:00
Sebastien Pouliot
ce9843de12
Merge pull request #309 from spouliot/networkextensions-b1
...
[networkextension] Small update for iOS 10 beta 1
2016-07-04 15:58:14 -04:00