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

868 Коммитов

Автор SHA1 Сообщение Дата
Alex Soto 16d5d68503 [UIKit] Updated UIKit to xcode8-beta6 (#636)
Expected extrospection test failures:

- ios.unclassified:!missing-field! UIApplicationInvalidInterfaceOrientationException not bound

Generator bugs:

- HACK: We have a generator bug(?) that won't allow overloads (AmbiguousMatchException) in protocols

tvOS/iOS 9 Introspection Expected failures (UIKit Only):

- [FAIL] UIKit.UIContentSizeCategoryExtensions.UIContentSizeCategoryUnspecified
Generated enum extensions do not honor availability on NSString properties

API Diff, expected changes (verified and correct):

Type Changed: UIKit.UIContentSizeCategory

Modified fields:

	ExtraExtraExtraLarge = 6 7
	ExtraExtraLarge = 5 6
	ExtraLarge = 4 5
	ExtraSmall = 0 1
	Large = 3 4
	Medium = 2 3
	Small = 1 2

Added values:

	AccessibilityExtraExtraExtraLarge = 12,
	AccessibilityExtraExtraLarge = 11,
	AccessibilityExtraLarge = 10,
	AccessibilityLarge = 9,
	AccessibilityMedium = 8,
	Unspecified = 0,
2016-08-22 08:44:43 -04:00
Sebastien Pouliot 9f2df4b2f3 [videotoolbox] DestinationICCProfile was already in XM so we can't fix the case (#637)
* [videotoolbox] Fix casing for DestinationICCProfile field

OTOH it was not fully exposed in the strong dictionary (fixed)
2016-08-21 18:51:02 -04:00
Vincent Dondain 5999d9cc4e [modelio] Update for iOS 10 beta 1 (#606) 2016-08-19 13:55:59 -04:00
Sebastien Pouliot b611414ef0 [tests] Add NSCameraUsageDescription to monotouch-test to avoid crash in AVFoundation. Fixes bug #43517 (#634) 2016-08-19 11:18:58 -04:00
Sebastien Pouliot c7abd28f2c [foundation] Fix NSDimension.BaseUnit on subclasses. Fixes #43444 (#623)
This is a static selector that needs to be overridden, which is not the
usual pattern in C#. We re-define it using [New] on subclasses.

Unit tests added for all NSDimension subclasses.

reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=43444
2016-08-19 08:27:23 -05:00
Sebastien Pouliot c0d1ec3b7b [tests] Fix intro failures reported from iOS 6.1 and 7.1 devices (#629)
Also fix warnings printed while executing:

> CoreText performance note: Client called CTFontCreateWithName() using name "Arial" and got font with PostScript name "ArialMT". For best performance, only use PostScript names when calling this API.
> CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.
2016-08-18 23:02:42 -04:00
Sebastien Pouliot edca0f3306 [foundation] Rename NSUnitMass.PoundsMass to NSUnitMass.Pounds. Fixes #43526 (#631) 2016-08-18 23:01:45 -04:00
Sebastien Pouliot a0fd00c083 [tests] Fix monotouch-test failures when executed on iOS 9.x. Fixes bug #43520 (#632) 2016-08-18 22:59:26 -04:00
Sebastien Pouliot df7f604aad [tests] Update xtro data files to get more accurate results (#630) 2016-08-18 22:02:42 -04:00
Chris Hamons e4e02bfd1c Merge branch 'cycle8' into xcode8 2016-08-18 14:52:43 -05:00
Chris Hamons 5c7670121a Bump maccore 2016-08-18 14:27:27 -05:00
Chris Hamons 6318b79211 Bump maccore 2016-08-18 14:24:36 -05:00
Jason Imison 39b13fecba Fix fsharp targets to detect 'F#' language. Fixes #43356 (#626) 2016-08-18 14:11:02 -04:00
Sebastien Pouliot e038b4c8cd [healthkit] Remove HKDocumentType from watchOS builds (#624)
It's marked as iOS only

> HK_CLASS_AVAILABLE_IOS_ONLY(10_0)

even if some other API, marked as available on watchOS 3, are exposing
the type. Those API are now removed from the watch platform assembly.

From Apple:

    You want to use this API on watchOS that we explicitly decided to restrict this to iOS only.

    Thank you for your feedback. Engineering has determined that this issue behaves as intended.

reference:
* radar #27865614
* https://trello.com/c/4soJeYEr
2016-08-18 13:54:58 -04:00
Manuel de la Pena a5f6564aaa [AVFoundation] Update bindings for Xcode 8. (#598)
[AVFoundation] Update bindings for Xcode 8.
2016-08-18 13:17:17 +02:00
Chris Hamons b54bcd6ae0 [XM] Fix xtro-sharpie issues (#620) 2016-08-17 20:11:05 -04:00
Sebastien Pouliot 241434a3a4 Bump versions after 4th preview 2016-08-17 15:51:26 -04:00
Sebastien Pouliot 7619702459 [registrar] Remove tvOS/simulator hack for ExternalAccessory (#619)
Apple now ships the required ExternalAccessory header files

references:
* commit 1190aac04c
  Author: Sebastien Pouliot <sebastien.pouliot@gmail.com>
  Date:   Sun Jul 24 10:44:19 2016 -0400
* rdar#27476259 https://trello.com/c/Okdw58IO
2016-08-16 20:49:22 -04:00
Sebastien Pouliot 1c7cd140c0 [tests] Fix introspection failures when running on iOS 9.3 (#615)
* ApiCMAttachmentTest
 	[FAIL] ApiCMAttachmentTest.CheckFailAttachments :   CGColorConverter.Handle

* SKNode added conformance to new (in iOS10) UIFocus protocol.
	[FAIL] Selector not found for SpriteKit.SKNode : didUpdateFocusInContext:withAnimationCoordinator:
	[FAIL] Selector not found for SpriteKit.SKNode : setNeedsFocusUpdate
	[FAIL] Selector not found for SpriteKit.SKNode : shouldUpdateFocusInContext:
	[FAIL] Selector not found for SpriteKit.SKNode : updateFocusIfNeeded
	[FAIL] Selector not found for SpriteKit.SKNode : preferredFocusedView

* HKWorkoutEvent conformance to NSCopying is new in iOS10
	[FAIL] Selector not found for HealthKit.HKWorkoutEvent : copyWithZone:

* HKDocumentType was added in iOS 10 (not iOS 8) and not watchOS 2 or 3

	ref: +HK_CLASS_AVAILABLE_IOS_ONLY(10_0)

	[FAIL] iOSApiProtocolTest.ApiProtocolTest.Coding : ObjCRuntime.RuntimeException : Wrapper type 'HealthKit.HKDocumentType' is missing its native ObjectiveC class 'HKDocumentType'.
2016-08-16 19:07:01 -04:00
Sebastien Pouliot 285756a083 [coretelephony] Re-enable CTCallCenter default ctor. Fixes #43329 (#617)
reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=43329

It was disable as it crashed our test suite and the crash report from
the simulators were not very helpful. The issue becomes clear from
device builds...

Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: dispatch_barrier_sync called on queue already owned by current thread
Abort Cause 6244246656

Filtered syslog:
None found

Thread 0 name:  tid_a07  Dispatch queue: CTCallCenter
Thread 0 Crashed:
0   libdispatch.dylib             	0x00000001839fdf60 _dispatch_barrier_sync_f_slow + 596
1   CoreTelephony                 	0x000000018756e7ec -[CTCallCenter callEventHandler] + 128
2   CoreTelephony                 	0x000000018756e7ec -[CTCallCenter callEventHandler] + 128
3   CoreTelephony                 	0x000000018756f51c __27-[CTCallCenter description]_block_invoke + 60
4   CoreTelephony                 	0x000000018756f79c ___ZN8dispatch9sync_implIU13block_pointerFP8NSStringvEEENSt3__15decayIDTclfp0_EEE4typeEP16dispatch_queue_sOT_NS5_17integral_constantIbLb0EEE_block_invoke + 32
5   libdispatch.dylib             	0x00000001839ed1c0 _dispatch_client_callout + 16
6   libdispatch.dylib             	0x00000001839fa860 _dispatch_barrier_sync_f_invoke + 84
7   libdispatch.dylib             	0x00000001839fde9c _dispatch_barrier_sync_f_slow + 400
8   CoreTelephony                 	0x000000018756f4d0 -[CTCallCenter description] + 128
9   introspection                 	0x000000010192b7b8 wrapper_managed_to_native_ObjCRuntime_Messaging_IntPtr_objc_msgSend_intptr_intptr (/<unknown>:1)
10  introspection                 	0x00000001012dbff8 Foundation_NSObject_get_Description (NSObject.g.cs:717)
11  introspection                 	0x00000001012d8e34 Foundation_NSObject_ToString (NSObject2.cs:703)

so calling `description` is broken and we need to exclude this from our
introspection tests for the type.
2016-08-16 17:26:06 -04:00
Sebastien Pouliot 9eca87665a Merge branch 'cycle8' into xcode8 2016-08-16 16:33:25 -04:00
Sebastien Pouliot db02df59f2 Revert "Update mono ref to latest mono-4.6.0-branch"
This reverts commit 9bb7593f37.

This caused the same issues as we saw on jenkins with PR #614

https://github.com/xamarin/xamarin-macios/pull/614
2016-08-16 16:26:56 -04:00
Alexander Köplinger 59125e6f9c [C8] Bump to latest Mono 4.6.0 commit (#602)
* [C8] Bump to latest Mono 4.6.0 commit

Brings in the netstandard updates from https://github.com/mono/mono/pull/3394
We also had to add a new assembly System.IdentityModel.dll to the mobile profiles while doing that work.

* Add System.IdentityModel to Sdk assemblies

Fixes the following mtouch test failure:

```
Xamarin.Linker.SdkTest.iOS_Classic :   BCL
  Expected:
  But was:  < "System.IdentityModel" >

at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message, System.Object[] args) <0x47bec88 + 0x00047> in :0
at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message) <0x47bec58 + 0x0001f> in :0
at Xamarin.Linker.SdkTest.BCL (System.String path) <0x47bccf0 + 0x003f3> in :0
at Xamarin.Linker.SdkTest.iOS_Classic () <0x47bcc50 + 0x0001b> in :0
```
2016-08-16 15:09:59 -04:00
Peter Collins 9bb7593f37 Update mono ref to latest mono-4.6.0-branch
d0fc1a66e2
2016-08-16 14:21:41 -04:00
Sebastien Pouliot 77d246790c [metalperformanceshaders] Update up to beta 5 (#605) 2016-08-16 12:00:49 -04:00
Aleksey Kliger (λgeek) 12a4f9f629 [C8] Bump mono, watch-mono (Fixes #43099) (#609) 2016-08-15 20:56:07 -04:00
Sebastien Pouliot 9fe13aaa58 Bump for Xcode8 beta 6 (#610)
* Bump for Xcode8 beta 6

* Bump maccore (to bump maciostools) and update mlaunch download location to run tests on the simulator
2016-08-15 20:19:51 -04:00
Sebastien Pouliot c7fb13d67c [tests] Wrench has mono 4.6 and it requires an explict reference to System.Core to compile introspection tests (#608) 2016-08-15 15:48:52 -04:00
Sebastien Pouliot f802a51b82 [foundation] Update up to beta 5 (#603) 2016-08-15 15:36:45 -04:00
Chris Hamons e482017fba [XM] Teach XM to add fobjc-runtime=macosx to clang 64-bit builds (#585)
- As requested by Rolf here https://bugzilla.xamarin.com/show_bug.cgi?id=42889
2016-08-15 14:34:35 -05:00
Chris Hamons 0fe8a18229 [XM] Ignore linking requests for extension projects (#575)
- Linking breaks extensions for as long as we have the "extensions must be use static registrar" hack.
- So let's ignore it with a warning. Better that random brokeness.
- https://bugzilla.xamarin.com/show_bug.cgi?id=43197
2016-08-15 14:34:24 -05:00
Sebastien Pouliot 4ba7810269 Merge branch 'cycle8' into xcode8 2016-08-15 10:09:33 -04:00
Mikayla Hutchinson 07c6835608 Remove leftover/broken import in F# targets 2016-08-15 10:06:16 -04:00
Sebastien Pouliot f2f4bc8ccf [tests] Add NSMicrophoneUsageDescription to monotouch-test. Fixes #42544 (#604)
New requirement for iOS10 on devices

https://bugzilla.xamarin.com/show_bug.cgi?id=42544
2016-08-13 13:04:08 -04:00
Martin Baulig 7b1a07bfeb [AppleTls]: Send server certificate and all intermediates.
(cherry picked from commit 5f063a6a2e603ea9e4384f5f2d3f22628115b014)
(cherry picked from commit bf9b64e6ec8a3b07c346db8909058ddb5e7eff81)
2016-08-13 10:13:33 +02:00
Martin Baulig 07ffea1be7 [AppleTls]: Moved MobileAuthenticatedStream into System.dll.
(cherry picked from commit 7f2a02e5243956d5be71fcb8d86e07ccd44dbfac)
(cherry picked from commit 5f4c21045855c5fed5888a14a17b918fb4ec4531)
2016-08-13 10:13:33 +02:00
Martin Baulig 621d1e7347 Bump mono and watch-mono to mono-4.6.0-branch commit 5200955033c4319de06d83df32be62199a2654c2.
This contains the Mono side of the BTLS Pre-Patch.

(cherry picked from commit 84185e986c5a2461e454db2081ad3adbbd888c4a)
2016-08-13 10:13:33 +02:00
Sebastien Pouliot c9633e3515 [coregraphics] Update up to beta 5 (#599)
Apple removed CGColorConverter even if it was publicly exposed in iOS 9.3,
not that I recall any API that consumed it...

It was replaced by a new, very close, type named CGColorConversionInfo and
the existing code and tests were updated to the new API.

So for `CGColorConverter` we're

* iOS: Obsoleted + code removal
* tvOS: Obsoleted + code removal
* watchOS: the API can be removed as it was not exposed in a stable release
* macOS: it was not enabled (did not work)

* [tests] Adjust ApiCMAttachmentTest so it knows how to create the new CGColorConversionInfo type
2016-08-12 13:45:09 +02:00
Sebastien Pouliot 849b9c7d9e [localauthentication] Update to beta 5 (#600)
Notes:

1. Availability macros were added for tvOS and watchOS but this framework
   was not added to those platforms.

2. Xcode 8 beta 1 added new constants

+// Credential types
+#define kLACredentialTypePasscode                          -1
+#define kLACredentialTypePassphrase                        -2
+#define kLACredentialCTKPIN                                -3

which don't match the existing LACredentialType enum -> rdar #27805510

ref: https://trello.com/c/pikF1BP2/55-27805510-lacredentialtype-enum-and-lacredentialtype-constants-don-t-match
2016-08-12 12:57:57 +02:00
Sebastien Pouliot 40db5d1ef2 Merge branch 'cycle8' into xcode8 2016-08-11 17:44:12 -04:00
Jose Gallardo 3ddc37b176 Merge pull request #594 from joj/cycle8
Modifying the way GAC elimination works so it will work in MSBuild (#…
2016-08-11 20:00:17 +02:00
Alex Soto 470dd75d3f [Passkit] Fix bug 43263 paymentAuthorizationController:didAuthorizePayment:completion: bound to class name, not DidAuthorizePayment (#597)
https://bugzilla.xamarin.com/show_bug.cgi?id=43263

Using the right method name DidAuthorizePayment amd availability
2016-08-11 08:24:36 -04:00
Manuel de la Pena 65ffc88aa5 [AVFoundation] Update bindings for XCode8. Focus on enums and structs. (#591) 2016-08-11 08:22:59 -04:00
Sebastien Pouliot 1a7c89c7f9 [watchos][spritekit] Enable methods from SKAction_SKWarpable (#596)
!missing-selector! +SKAction::animateWithWarps:times: not bound
!missing-selector! +SKAction::animateWithWarps:times:restore: not bound
!missing-selector! +SKAction::warpTo:duration: not bound
2016-08-10 14:59:30 -04:00
Sebastien Pouliot 9fb98d9297 [watchos][gamekit] Add missing API and adjust xtro data files for deprecations (#595)
reference (missing)
!missing-selector! +GKAchievement::reportAchievements:withCompletionHandler: not bound
2016-08-10 13:16:10 -04:00
Chris Hamons 0eaa82fbbc [XM] Xcode8b5 API changes (#582) 2016-08-10 11:28:31 -05:00
Chris Hamons 2d7ae82a38 [XM] Appkit and Foundation bindings in 8b4 (#574)
* [XM] Appkit and Foundation bindings in 8b4

- Filed https://bugzilla.xamarin.com/show_bug.cgi?id=43236 for the last open B4 AppKit issue.
2016-08-10 11:27:48 -05:00
Sebastien Pouliot f4e33f4fe6 [macos][cloudkit] Apple's radar #23904638 for CKFetchWebAuthTokenOperation seems fixed (#592)
references:
!missing-selector! CKFetchWebAuthTokenOperation::APIToken not bound
!missing-selector! CKFetchWebAuthTokenOperation::fetchWebAuthTokenCompletionBlock not bound
!missing-selector! CKFetchWebAuthTokenOperation::initWithAPIToken: not bound
!missing-selector! CKFetchWebAuthTokenOperation::setAPIToken: not bound
!missing-selector! CKFetchWebAuthTokenOperation::setFetchWebAuthTokenCompletionBlock: not bound
!missing-type! CKFetchWebAuthTokenOperation not bound
2016-08-10 12:07:20 -04:00
Sebastien Pouliot 75031a3504 [uikit] Some adjustments for watchOS and tvOS (#593)
watchOS:
!unknown-field! UIAccessibilityAssistiveTouchStatusDidChangeNotification bound
!unknown-field! UIAccessibilityHearingDevicePairedEarDidChangeNotification bound
!unknown-native-enum! UIAccessibilityCustomRotorDirection bound
!unknown-native-enum! UIAccessibilityHearingDeviceEar bound
!unknown-native-enum! UIDisplayGamut bound
!unknown-native-enum! UITextItemInteraction bound
!unknown-native-enum! UITimingCurveType bound
!unknown-native-enum! UITraitEnvironmentLayoutDirection bound
!unknown-native-enum! UIViewAnimatingPosition bound
!unknown-native-enum! UIViewAnimatingState bound

tvOS:
!unknown-field! UIAccessibilityHearingDevicePairedEarDidChangeNotification bound
!unknown-native-enum! UIAccessibilityHearingDeviceEar bound
!unknown-pinvoke! UIAccessibilityHearingDevicePairedEar bound
2016-08-10 12:01:38 -04:00
joj 44721a0a9e Modifying the way GAC elimination works so it will work in MSBuild (#540)
XBuild adds extra semi-colons to the string when serializing. I remove them via split to make MSBuild work.
2016-08-10 11:59:09 -03:00