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

940 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 1c8a8db412 [runtime] Make sure to call mono_gc_init_finalizer_thread for watchOS. Fixes #42780. (#504)
https://bugzilla.xamarin.com/show_bug.cgi?id=42780
2016-07-28 09:56:55 +02:00
Rolf Bjarne Kvinge 22921dd8b7 [runtime] Fix a crash that occurs when Objective-C holds weak references. Fixes #39236. (#501)
Fix xamarin_switch_gchandle to not crash if the gchandle happens
to point to null (a collected object).

https://bugzilla.xamarin.com/show_bug.cgi?id=39236
2016-07-27 17:43:28 +02:00
Zoltan Varga be511f0abd Bump mono to pick up the fix for #42750. (#499) 2016-07-27 10:57:43 +02:00
Sebastien Pouliot afe6c788a2 [tests][xtro] Update some data files (#496) 2016-07-26 15:58:52 -04:00
Sebastien Pouliot 8f657bbd38 [passkit] Update for beta 1-2 for iOS and watchOS (#487) 2016-07-26 15:57:26 -04:00
Sebastien Pouliot c37f450a09 Merge branch 'cycle8' into xcode8 2016-07-26 11:41:45 -04:00
Rolf Bjarne Kvinge 774fdf80b6 [runtime] Set base directory and config file name for extensions. Fixes #42784. (#493)
The base directory and config file name is normally set automatically
when we ask Mono to execute the Main function, but in the case of extensions,
there is no Main function, so these values are not set, causing some
features (reflection-only assembly load) to not work correctly.

https://bugzilla.xamarin.com/show_bug.cgi?id=42784
2016-07-26 11:39:33 -04:00
Rolf Bjarne Kvinge abd5d1ba46 Use dlsym for user assemblies on iOS. (#492)
We tried disabling dlsym for all assemblies on iOS, but it turned
out to break a significant amount of customer code [1].

So re-enable it, but only for user assemblies (since we control
all assemblies we ship and can thus make sure those work with
dlsym disabled).

https://trello.com/c/guig1MF2/623-re-enable-dlsym-for-ios
2016-07-26 11:39:18 -04:00
Sebastien Pouliot 5ffdbf8095 [photosui] Minor change in beta2 (nothing before or after) (#494) 2016-07-26 11:34:07 -04:00
Vincent Dondain edbc04b720 [homekit] Add iOS 10 beta 2 missing bindings (#481)
- Made an API available for tvOS.
- Annotated ios.pending with things already bound.
2016-07-25 15:03:11 -04:00
Chris Hamons 88d83532ef [XM] Fix static registrar on 10.12 by teaching it that QTKit is dead (#472) 2016-07-25 11:58:28 -05:00
Sebastien Pouliot d8d1fff94a [tvos][photos] Decorate API with [TV (10,0)] (#478)
xtro results do not show any missing/extra API
2016-07-25 11:38:25 -04:00
Sebastien Pouliot fbbdb0a594 [tvos][replaykit] Decorate API with [TV (10,0)] (#477)
xtro results do not show any missing/extra API
2016-07-25 10:12:14 -04:00
Sebastien Pouliot cb38c14bf8 Merge branch 'cycle8' into xcode8 2016-07-25 08:28:26 -04:00
Rolf Bjarne Kvinge 45001cda7d Add multiple new assemblies to the list of known SDK assemblies. (#475)
Fixes the Sdk test:

    Errors and Failures:
    1) Test Failure : Xamarin.Linker.SdkTest.iOS_Classic
         BCL
      Expected: <empty>
      But was:  < "System.Net.Http.WinHttpHandler", "System.Numerics.Vectors", "System.Reflection.Context", "System.Reflection.DispatchProxy", "System.Runtime.InteropServices.RuntimeInformation", "System.Security", "System.Xml.XPath.XmlDocument" >

    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message, System.Object[] args) <0x39ec5e0 + 0x00047> in <filename unknown>:0
    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message) <0x39ec5b0 + 0x0001f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.BCL (System.String path) <0x39ea8a8 + 0x003f3> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.iOS_Classic () <0x39ea808 + 0x0001b> in <filename unknown>:0

    2) Test Failure : Xamarin.Linker.SdkTest.iOS_Unified
         BCL
      Expected: <empty>
      But was:  < "System.Net.Http.WinHttpHandler", "System.Numerics.Vectors", "System.Reflection.Context", "System.Reflection.DispatchProxy", "System.Runtime.InteropServices.RuntimeInformation", "System.Security", "System.Xml.XPath.XmlDocument" >

    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message, System.Object[] args) <0x39ec5e0 + 0x00047> in <filename unknown>:0
    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message) <0x39ec5b0 + 0x0001f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.BCL (System.String path) <0x39ea8a8 + 0x003f3> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.iOS_Unified () <0x39ede58 + 0x0001b> in <filename unknown>:0

    3) Test Failure : Xamarin.Linker.SdkTest.tvOS
         BCL
      Expected: <empty>
      But was:  < "System.Net.Http.WinHttpHandler", "System.Numerics.Vectors", "System.Reflection.Context", "System.Reflection.DispatchProxy", "System.Runtime.InteropServices.RuntimeInformation", "System.Security", "System.Xml.XPath.XmlDocument" >

    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message, System.Object[] args) <0x39ec5e0 + 0x00047> in <filename unknown>:0
    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message) <0x39ec5b0 + 0x0001f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.BCL (System.String path) <0x39ea8a8 + 0x003f3> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.tvOS () <0x39eded8 + 0x0001b> in <filename unknown>:0

    4) Test Failure : Xamarin.Linker.SdkTest.watchOS
         BCL
      Expected: <empty>
      But was:  < "System.Net.Http.WinHttpHandler", "System.Numerics.Vectors", "System.Reflection.Context", "System.Reflection.DispatchProxy", "System.Runtime.InteropServices.RuntimeInformation", "System.Security", "System.Xml.XPath.XmlDocument" >

    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message, System.Object[] args) <0x39ec5e0 + 0x00047> in <filename unknown>:0
    at NUnit.Framework.CollectionAssert.IsEmpty (IEnumerable collection, System.String message) <0x39ec5b0 + 0x0001f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.BCL (System.String path) <0x39ea8a8 + 0x003f3> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.watchOS () <0x39edf58 + 0x0001b> in <filename unknown>:0
2016-07-25 08:19:58 -04:00
Rolf Bjarne Kvinge 8f685cba8f [mtouch tests] Improve Sdk tests to list all failing assemblies instead of failing on the first one. (#474) 2016-07-25 08:18:49 -04:00
Sebastien Pouliot edd081e4d2 [tvos][multipeerconnectivity] Decorate API with [TV (10,0)] (#473)
xtro results do not show any missing/extra API
2016-07-25 08:15:41 -04:00
Sebastien Pouliot 1190aac04c [tvos][externalaccessory] Enable framework on platform (#470)
* Enable ExternalAccessory for tvOS and teach the static registrar about the lack of simulator headers.
2016-07-24 10:44:19 -04:00
Sebastien Pouliot 7a5f89e7a8 [clockkit][watchos] Update for beta 1-3 (#459)
`getPlaceholderTemplateForComplication:withHandler:` was @required in
watchOS 2.x but is now deprecated and downgraded to @optional in
watchOS 3 (betas)

This is a breaking change but we have not released our final watchOS 2.x
bits yet so it make sense to backport this change (unless Apple reverts
it before 3.0 is released)
2016-07-22 17:13:49 -04:00
Rolf Bjarne Kvinge 90f56133f9 [monotouch-test] Tweak UrlSessionTest.DownloadDataAsync to not crash the process if exceptions occur. (#466) 2016-07-22 17:11:45 -04:00
Chris Hamons 5ddc619589 [XM] Update bindings and tests for Xcode8b3 (#467)
* [XM] AppKit Xcode8 Beta3 changes

* [XM] Update intents.cs with macOS attributes

* [XM] Fix bindings caught by introspection test

* [XM] Fix classic introspection tests by marking safariservices as 64-bit only

* [XM] Async upgrade

* [XM] Fix apitest on classic by noting IntentsLibrary is 64-bit only
2016-07-22 17:10:23 -04:00
Sebastien Pouliot 5a9d8240c2 [watchos][gamekit] Enable GameKit on watchOS (#452)
Apple does not (yet?) ship the headers for GameKit on the watch simulator (radar [1]). The static registrar was tweaked to skip this on the simulator.

[1] https://trello.com/c/Okdw58IO/51-27476259-gamekit-header-files-are-missing-for-watchsimulator
2016-07-22 13:35:59 -04:00
Rolf Bjarne Kvinge 59aae5425f [registrar] Make sure we include the headers for NS[U]Integer / CGFloat to compile. Fixes #42673. (#465)
https://bugzilla.xamarin.com/show_bug.cgi?id=42673
2016-07-22 19:11:09 +02:00
Sebastien Pouliot a112163980 [watchkit] Update for beta 1 to 3 (mostly for watchOS) (#461)
Only WKInterfaceSCNScene and WKInterfaceSKScene remains pending

!missing-type! WKInterfaceSCNScene not bound
!missing-type! WKInterfaceSKScene not bound
2016-07-22 11:22:15 -04:00
Chris Hamons 2190f8b33d [XM] - Fix protocol bindings that had BaseType but no Model (#460)
- https://trello.com/c/9JANewiM
- My analysis was incorrect, the binding was wrong and the test caught it.
- If you have [Model] you must have [BaseType], and if you don't want [Model] you must not use [BaseType]
2016-07-22 15:58:17 +02:00
Alex Soto 958861869c [UserNotifications] Fix xtro test results and bug in UNNotificationResponse (#455)
* ActionIdentifier from UNNotificationResponse class can be
  a NSString defined in UNNotificationActionIdentifier but can
  also be a custom defined identifier so we can't really strong type it
* Renamed enums to use the same name as defined in the header because
  we don't really know how this framework will evolve over time
  and there is a chance that the current naming can create confusion
  in the long run so we play safe here
2016-07-22 08:11:28 -04:00
Alex Soto c27c86e03d [CallKit] Fix xtro test issues (#454) 2016-07-22 08:09:48 -04:00
Rolf Bjarne Kvinge 9b3c97042d Add System.Security.Cryptography.[Algorithms|Primitives] to the list of known SDK assemblies. (#445) (#462)
Fixes the Sdk test:

    Errors and Failures:
    1) Test Failure : Xamarin.Linker.SdkTest.iOS_Classic
         System.Security.Cryptography.Algorithms
      Expected: True
      But was:  False

    at Xamarin.Linker.SdkTest.Facades (System.String path) <0x30d4640 + 0x0006f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.iOS_Classic () <0x30d2808 + 0x0004b> in <filename unknown>:0

    2) Test Failure : Xamarin.Linker.SdkTest.iOS_Unified
         System.Security.Cryptography.Algorithms
      Expected: True
      But was:  False

    at Xamarin.Linker.SdkTest.Facades (System.String path) <0x30d4640 + 0x0006f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.iOS_Unified () <0x30d5558 + 0x0004b> in <filename unknown>:0

    3) Test Failure : Xamarin.Linker.SdkTest.tvOS
         System.Security.Cryptography.Algorithms
      Expected: True
      But was:  False

    at Xamarin.Linker.SdkTest.Facades (System.String path) <0x30d4640 + 0x0006f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.tvOS () <0x30d55d8 + 0x0004b> in <filename unknown>:0

    4) Test Failure : Xamarin.Linker.SdkTest.watchOS
         System.Security.Cryptography.Algorithms
      Expected: True
      But was:  False

    at Xamarin.Linker.SdkTest.Facades (System.String path) <0x30d4640 + 0x0006f> in <filename unknown>:0
    at Xamarin.Linker.SdkTest.watchOS () <0x30d5658 + 0x0004b> in <filename unknown>:0
2016-07-22 08:04:58 -04:00
Alex Soto 329648c08c Merge pull request #453 from dalexsoto/intents
[Intents] Fix xtro tests feedback
2016-07-21 13:49:57 -05:00
Sebastien Pouliot 7637658e28 Merge branch 'cycle8' into xcode8 2016-07-21 11:40:41 -04:00
Sebastien Pouliot 72d0658344 [security][tvos] Remove SecSharedCredential API (#457)
Xcode8 SDK (for tvOS 10) marked those API with __TVOS_UNAVAILABLE making
them only available on iOS.

Since the API are not yet released in stable (C8) so we can removing
them  proactively. It will be easier to add them back later (if the
situation change) than removing/obsoleting them.
2016-07-21 11:37:28 -04:00
Chris Hamons 900d13c13f Build System.Security for XM Mobile (#451)
- Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=42692
2016-07-21 09:05:57 -05:00
Alex Soto e207c6a6b9 [Intents] Fix xtro tests feedback
* Fixed macOS availability attributes where it made sense
* Added inconclusive members to mac.pending and opened radar://27463602
  https://trello.com/c/BPdUlTlg about it
* iOS xtro reported members that got deprecated and introduced on iOS 10
  so added that to pending and those members are not bound
2016-07-20 22:02:14 -05:00
Sebastien Pouliot 31aa2959cd [tests][monotouch-tests] Skip UrlSessionTest.CreateDataTaskAsync as all cases fails on watchOS 3 beta 3 (#449) 2016-07-20 13:44:51 -04:00
Vincent Dondain 9db2699932 [gamekit] Update for iOS 10 beta 3 (#447) 2016-07-20 13:42:44 -04:00
Sebastien Pouliot d597db891a Merge branch 'cycle8' into xcode8 2016-07-20 08:57:04 -04:00
Sebastien Pouliot abdb35b467 [wkwebkit] Update for beta 3 (#442) 2016-07-20 08:26:34 -04:00
Sebastien Pouliot 1c0a6de524 [metalkit] Remaining changes for beta 3 (#441) 2016-07-20 08:26:02 -04:00
Sebastien Pouliot 08a883a937 [coreimage] Update for beta 3 (#440) 2016-07-20 08:24:14 -04:00
Sebastien Pouliot 5fd99350df [tests] Fix MoviePlayerControllerTest for it's classic only test (broke on iOS 10 beta 3) (#443) 2016-07-20 08:15:09 -04:00
Vincent Dondain c87be8b279 [mediaplayer] Update for iOS 10 beta 3 (#446) 2016-07-20 08:14:50 -04:00
Vincent Dondain 8bd6a02399 [messageui] Update for iOS 10 beta 1 & 3 (#431)
The enums are not untyped anymore but are NSInteger.
2016-07-20 08:12:46 -04:00
Aleksey Kliger (λgeek) 276d4de9a9 Bump watch-mono (#436)
To include mono/mono@f1417d0c92

Fixes bugzilla 42625 for Cycle 8
2016-07-20 09:49:26 +02:00
Vincent Dondain 1ac08e5899 [homekit] Update for iOS 10 beta 3 (#432) 2016-07-19 23:12:15 -04:00
Sebastien Pouliot ed22afaccf [mapkit] Update for beta 3 (#438) 2016-07-19 20:14:51 -04:00
Sebastien Pouliot 3d6766f5e1 [corelocation] Update for beta 3 (#439) 2016-07-19 20:14:20 -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 308db4d1ea Merge branch 'cycle8' into xcode8 2016-07-19 14:27:59 -04:00
Rolf Bjarne Kvinge 40137dcfb6 [xharness] Don't use variables (isSimulator) before they've been initialized. (#433)
Fixes an issue where we would try to fetch crash logs from device when
running in the simulator.
2016-07-19 14:16:02 -04:00
Alexander Köplinger c50322f4dc [build] Update list of installed assemblies (#430)
(cherry picked from commit 1edab27b38)
2016-07-19 18:53:32 +02:00