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

20 Коммитов

Автор 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 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
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
Alex Soto 9728897c86 WIP [iOS10, UIKit] More work (#566) 2016-08-06 11:06:39 -04:00
Vincent Dondain 7446afb5b7 [uikit] NSLayoutContraint fixes (#435)
- Fix missing [Internal] attribute.
- Fix styling.
2016-07-19 18:33: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 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 dde6a06fcd [uikit] Fix new UICollectionViewDataSourcePrefetching and UIContentSizeCategoryAdjusting protocols (#277)
The two later failure reports (references) were not prefixed with [FAIL]
so they were filtered out by in the bot results.

references:
	[FAIL] iOSApiProtocolTest.ApiProtocolTest.GeneralCase : 2 types do not really conform to the protocol interfaces
[FAIL] Could not load UIKit.UICollectionViewDataSourcePrefetching
[FAIL] Could not load UIKit.UIContentSizeCategoryAdjusting
2016-06-25 12:43:36 -04:00
Miguel de Icaza 35e17d7d97 Merge pull request #237 from migueldeicaza/xcode8-uikit
Xcode8 uikit
2016-06-24 21:54:28 -04:00
Miguel de Icaza b15bce8a8f [ios10,uikit] Address various issues identified by Sebastien 2016-06-21 23:23:52 -04:00
Sebastien Pouliot 45cfe49763 [uikit] Fix UIGraphicsPdfRenderer* type names (#251)
The native name use `PDF` but this was not provided to the generator.

This also explains why `init` returned `nil` - it was not the common
unavailability of the selector, but the incorrect type name used.

references:
!unknown-type! UIGraphicsPdfRenderer bound
!unknown-type! UIGraphicsPdfRendererContext bound
!unknown-type! UIGraphicsPdfRendererFormat bound
2016-06-21 17:14:54 -04:00
Miguel de Icaza 06c59838c1 [ios10,uikit] More API updates 2016-06-19 21:53:43 -04:00
Sebastien Pouliot 7c688482e8 [uikit] Remove [BaseType] from type are that only [Protocol] (#231)
and not a [Model] as it's not required and also cause failures,
which we need to investigate (and report an error or fix).

* UIRefreshControlHosting
* UITableViewDataSourcePrefetching

reference:
[FAIL] iOSApiProtocolTest.ApiProtocolTest.GeneralCase : 2 types do not really conform to the protocol interfaces
2016-06-18 06:42:12 -07:00
Miguel de Icaza 10e744e4de Merge pull request #204 from migueldeicaza/xcode8-uikit
[Review][iOS10,UIKit] Small API introductions.
2016-06-17 11:21:38 -07:00
Miguel de Icaza ad7f24e969 [iOS10,UIKit] Small API introductions.
Of note: NSLayoutConstraints.cs provides the generic methods, as the
generator currently does not know how to either annotate generic
return types (necesary to build), nor does it have "where" support.

UITraitCollection - re-indented to follow the tab convention.
2016-06-17 10:46:57 -04:00
Sebastien Pouliot a633b79684 [uikit] Fix issues found with introspection tests (#221)
Some types can't call `init` and return valid instances, some returns
nil and gives an invalid handle and one fails (throws) [1]

references:
[FAIL] UIKit.UIGraphicsPdfRenderer : Handle
[FAIL] UIKit.UIGraphicsPdfRendererContext : Handle
[FAIL] UIKit.UIGraphicsPdfRendererFormat : Handle
[FAIL] Default constructor not allowed for UIKit.UIPresentationController : Objective-C exception thrown. Name: NSInvalidArgumentException Reason: Don't call -[UIPresentationController init].
2016-06-17 07:10:43 -07:00
Miguel de Icaza ae3532f38c [uikit] Implement feedback from review 2016-06-14 23:35:05 -07:00
Miguel de Icaza 50458be3af [ios10,UIKit] UIGraphicsRenderer 2016-06-14 15:53:41 -07:00
Manuel de la Pena 173f7e4891 [Fix] Fix bug 24078 by adding the required attrs to generate the events. 2016-05-14 12:47:46 +02:00
Rolf Bjarne Kvinge 5830166c63 Build the platform assemblies. 2016-04-24 14:47:26 -04:00