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

7102 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Pouliot 193ae8bfdf
[mediaaccessibility] Update for Xcode 11 beta 5 (#6733) 2019-08-07 19:40:32 -04:00
Oleg Demchenko 4d905a8914
Update msbuild/Xamarin.iOS.Tasks.Core/Xamarin.iOS.Common.targets
Co-Authored-By: Vincent Dondain <vidondai@microsoft.com>
2019-08-07 17:29:12 -04:00
Oleg Demchenko 3b293f5afe [vsts-938452] Add ALToolTaskBase.cs to Xamarin.MacDev.Tasks.Core.csproj 2019-08-07 16:10:32 -04:00
Oleg Demchenko 0fa3511948 [vsts-938452] Revert changes in Xamarin.MacDev.Tasks.Core.csproj 2019-08-07 16:10:21 -04:00
Oleg Demchenko 0b3ab2b777 [vsts-938452] Apply suggestion from Rolf 2019-08-07 16:10:09 -04:00
Oleg Demchenko be654adc70 [vsts-938452] Clean up file names and indentations 2019-08-07 16:09:58 -04:00
Oleg Demchenko 1cc7e073e6 [vsts-938452] Add UploadAppStoreBundle target 2019-08-07 16:09:45 -04:00
Oleg Demchenko b5ea7813a0 [vsts-938452] Add SesssionId to ALToolTaskBase 2019-08-07 16:09:32 -04:00
Oleg Demchenko 112247efb0 [vsts-938452] Change inheritance order of altool-task classes 2019-08-07 16:09:20 -04:00
Oleg Demchenko ffebb9ef5d [vsts-938452] Add altool tasks to Xamarin.iOS.Common.targets 2019-08-07 16:08:52 -04:00
Oleg Demchenko 46dfc93ed9 [vsts-938452] Refactor altool upload and verify tasks to actually work 2019-08-07 16:08:39 -04:00
Oleg Demchenko a610df25ab [vsts-938452] Output altool logs in xml format 2019-08-07 16:08:25 -04:00
Oleg Demchenko 751f171c2c [vsts-938452] Add altool upload and verify draft implementations 2019-08-07 16:08:12 -04:00
monojenkins eb77564659 [xcode11] Fix NLLanguageRecognizer crash (#6732)
The dispose of `nslang` was happening outside of the check if `nslang` is null. This was causing a crash when trying to recognise a string that contains just one number.
2019-08-07 13:08:27 -04:00
Sebastien Pouliot a45fd083b5
[coretext] Update for Xcode 11 beta 5 (#6731)
Beta 4 added some new API and constants
Beta 5 removed `CTFontManagerCopyRegisteredFontDescriptors` from all OS but iOS
2019-08-07 13:07:42 -04:00
Sebastien Pouliot 2e21980bf9
[passkit] Remove duplicated 'using' causing warnings at build time (#6727)
```
passkit.cs(16,7): warning CS0105: The using directive for 'Contacts' appeared previously in this namespace
```
2019-08-06 21:42:49 -04:00
Sebastien Pouliot a8ae4bbb63
[gamecontroller] Fix a few minor issues (#6728)
- Fix deprecation messages to point to an existing API;

- Add setters for `Value` properties instead of adding `SetValue` methods;

- Removing some `[TV (13,0)]` when the API was already available in previous tvOS versions. It's implied that type that existed in tvOS 9.0 (the first version) do not have (nor need) availability attributes. Decorating them as `13,0` sends an incorrect message to developers (since the API have been available for a while)

- Adding some `[TV (13,0)]` when a new API only mention iOS

reference: https://github.com/xamarin/xamarin-macios/pull/6589
2019-08-06 21:42:22 -04:00
Alex Soto d883febff0
[UIKit] Update bindings to Xcode 11 Beta 5 (#6717) 2019-08-06 07:53:08 -04:00
Alex Soto 239b75c28c
[PassKit] Update bindings to Xcode 11 Beta 5 (#6719) 2019-08-06 07:51:43 -04:00
Alex Soto 6d326cc281
[AuthenticationServices] Update bindings to Xcode 11 Beta 5 (#6718) 2019-08-06 07:51:22 -04:00
Jonathan CONTE eb61a04722 [xcode11] [VideoToolbox] bindings for beta 1-5 (#6645)
* new const bindings

* new const bindings beta 2

* delete todo files

* add kVTAlphaChannelMode_PremultipliedAlpha binding

* MacOS10.9 -> iOS10.9

* fix naming

* ajust platform availability according to apple doc

* add fields to StrongDictionary

* add fields to StrongDictionary

* Change GammaLevel type : float -> double

* Fix build and add smart enum to strong dictionary in VT

* Fix macOS availability
2019-08-06 05:29:11 -04:00
TJ Lambert 9301deb863 [GameController] Add Xcode 11 Beta 1-5 bindings (#6589)
* adding GameController, issue including GCMotion.cs

* pushing temp fix by removing struct headers

* removed few introduced statements

* adding my name to top of file

* fixed review issues

* fixing issues cont

* forgot the enums

* fixing format of Deprecated messages

* missed a couple onlyOn64

* adding attributes

* removing additions to existing struct

* changed deprecated messages and selector names

* removing extra whitespace

* Added the struct in the new order from apple

* addressed Rolfs changes

* removed a diff change
2019-08-05 14:47:22 -04:00
Manuel de la Pena d08ff59503
[API diff] Ignore the bcl autogenerated csproj. (#6715)
Related issue: https://github.com/xamarin/xamarin-macios/issues/6162
2019-08-05 16:58:27 +02:00
monojenkins 53979af5a8 Ignore the outgenerated projects until they are moved to their own dir. (#6713) 2019-08-05 16:56:32 +02:00
monojenkins deeeb3f407 [Tests] Ignore tests that only fail on tvOS devices. (#6709) 2019-08-02 20:35:41 +02:00
Whitney Schmidt 7b63a38698
[HealthKit] updates for beta 1 - beta 4 xcode11 (#6692)
* healthkit b1-b3 updates

* fixes for first round of comments

* remove whitespace noise

* move hkcategorytype enums

* update mono-touch tests, remove [designatedinitializer] attr

* alex nit fixes

* fix formatting for [Deprecated]

* update mono-touch tests with even more enums

* InsertQuantity -> Insert

* remove references to xcode13, which does not exist

* add HKCharacteristicTypeIdentifierActivityMoveMode to .ignore files
2019-08-02 14:06:22 -04:00
TJ Lambert 4863742abe [SoundAnalysis] Add Xcode11 Beta 5 binding (#6705)
* added error element

* Update src/soundanalysis.cs

Co-Authored-By: Alex Soto <alex@alexsoto.me>
2019-08-02 14:04:50 -04:00
Alex Soto 54c58a2a43
[tests] Fix api tests in macOS 10.15 (#6701)
Fixes

```
RegisterFontDescriptors_WithCallback (MonoTouchFixtures.CoreText.FontManagerTest.RegisterFontDescriptors_WithCallback)
System.NotImplementedException : The method or operation is not implemented.
    at TestRuntime.CheckExactXcodeVersion (System.Int32 major, System.Int32 minor, System.Int32 beta) [0x00185] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/common/TestRuntime.cs:175
    at MonoTouchFixtures.CoreText.FontManagerTest.RegisterFontDescriptors_WithCallback () [0x0000b] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/tests/monotouch-test/CoreText/FontManagerTest.cs:225
    at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
    at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.99.2.30/src/Xamarin.Mac/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:391
```
2019-08-02 08:19:21 -04:00
Whitney Schmidt 6bdb2c6107 add [BindAs] UIWindowSceneSessionRole for UIKit (#6703) 2019-08-01 20:01:14 -04:00
monojenkins ddef42880a [xcode11] [tests] wrench is long gone (#6696)
* [tests] wrench is long gone

* Use a different Url that works and ensure we get a nice message when we have a failure.

* Fix new callback test.
2019-07-31 22:11:35 -04:00
monojenkins 4aa0aaf989 [d16-3] [tests] wrench is long gone (#6697)
* [tests] wrench is long gone

* Use a different Url that works and ensure we get a nice message when we have a failure.

* Fix new callback test.
2019-07-31 20:05:12 -04:00
Manuel de la Pena a12e76f370
[d16-3] Bump mono to head (17ac7d) (#6682) 2019-08-01 01:25:03 +02:00
Alex Soto d10d7f0370
[xcode11] Bump to Xcode 11 Beta 5 (#6684)
* [xcode11] Bump to Xcode 11 Beta 5
2019-07-30 14:16:44 -04:00
monojenkins 55965fd8b8 [Introspection] ABRecord is abstract and cannot be instantiated. (#6685)
Fixes: https://github.com/xamarin/maccore/issues/1903
2019-07-30 14:14:56 +02:00
monojenkins 8015ece364 [mmp] Fix QTKit submission issue when linker is disabled (#6633)
- There is duplicate code so the QTKit exclusion is needed in two locations
- Patch from Sebastien
- Fix validated by customer submission to Apple
2019-07-29 09:31:30 -04:00
monojenkins 407d1100e4 [Tests] Ignore some tests on the CI due to the settings of the bots. (#6672)
In some cases some bots will return a proxy present, not because of the
PAC being parsed, but due to the bot settings. Ignore the tests that
expect no proxies in the CI fixes the issue.

Fixes https://github.com/xamarin/maccore/issues/1901
2019-07-29 13:55:56 +02:00
monojenkins 582ac0ac78 [d16-3] [CFNetwork] Expose methods that were ignored until the dependencies were present. (#6668)
We can know expose the methods. Bindings had to be updated considering
the fact that we have a scrut and the type of callbacks.

Fixes: https://github.com/xamarin/xamarin-macios/issues/6195
2019-07-29 11:23:33 +02:00
Rolf Bjarne Kvinge 5fdc25ebe7 [CFNetwork] Non-implementation of new API in Xcode 11 beta 1-4. (#6663)
The missing fields are all new fields in existing groups of fields, of which
we've bound none.

Continue the trend, and just update xtro.
2019-07-26 19:37:04 -04:00
Alex Soto 31467d21be
[d16-3] bump mono-2019-06 (#6662) 2019-07-26 15:16:27 -04:00
monojenkins a3139e49b8 [AddressBook] Make ABRecord non-abstract. Fixes #6654. (#6658)
A change in the linker made a potential problem show up as a registrar error
instead of a runtime exception.

The linker became smarter in d16-2, and will now remove interface
implementations in certain cases. In particular, the linker will remove
interface implementations for a type that is never instantiated (which means
there will never be any instances of that type, which means the interface
won't be needed).

The ABRecord was abstract, and as such there will never be any ABRecord
instances. If none of ABRecord's subclasses are used in the app, there won't
be instances of ABRecord subclasses either.

This meant the linker removed all of ABRecord's interfaces, including
INativeObject.

We have API that uses ABRecord in the signature. The registrar needs to know
if a particular type is an INativeObject, which is determined by checking if
the type implements the INativeObject interface. Since the INativeObject
interface implementation was removed, the registrar determined that the
ABRecord type in the signature is invalid, and showed an error:

    Error MT4136: The registrar cannot marshal the parameter type 'AddressBook.ABRecord' of the parameter 'address' in the method 'PassKit.PKPaymentAuthorizationViewController/_PKPaymentAuthorizationViewControllerDelegate.DidSelectShippingAddress(PassKit.PKPaymentAuthorizationViewController,AddressBook.ABRecord,PassKit.PKPaymentShippingAddressSelected)

The actual problem is not the linker change, but the fact that a signature
uses an abstract type. At runtime, this will cause problems if we ever need to
instantiate such a managed type: we can't. This is generally not a problem for
NSObject subclasses, because we can determine the runtime type of the object,
and that's usually [1] some other, non-abstract type. However, for
INativeObjects, we can't find a better type at runtime (because we can't
determine the runtime type of the object), so we're left with trying to
instantiate the exact type in the signature. If this is an abstract type,
things will go badly.

So make ABRecord non-abstract.

Fixes https://github.com/xamarin/xamarin-macios/issues/6654.

[1] Usually, but not always, as history has shown. See also https://github.com/xamarin/xamarin-macios/issues/4969.
2019-07-26 11:55:25 -04:00
Chris Hamons 4bb78eff6c
[package] Remove creation of files/symlinks under /Developer (#6652)
- Port of https://github.com/xamarin/xamarin-macios/pull/6529 to d16-3
2019-07-26 06:34:52 -07:00
Jonathan CONTE 414391a7e4 [xcode11] [IntentsUI] bindings for iOS beta1 (#6625)
* updated bindings

* updated bindings

* delete todo file

* fix iOS version on enum

* Add  to frameworks.sources to remove breaking change

* deleted INUICompat.cs and add [Unavailable (PlatformName.UIKitForMac)] on constructors

* Update intentsui.cs
2019-07-25 10:50:31 -04:00
Alex Soto d095f75471
[registrar] Fix a generics type issue with dynamic registrar (#6646)
* [registrar] Fix a generics type issue with dynamic registrar

Fixes xamarin/xamarin-macios#6567

This Fixes an issue in the registrar where the dynamic registrar
misses a case to check for a NSObject constraint triggered by UIKit's
`NSDiffableDataSourceSnapshot` object.

This also enables the rest of missing bindings in UIKit for Xcode 11 B4
which also works as a test case for the registrar fix. Without this fix
introspection test would throw an `AggregateException` and also
includes `NSDiffableDataSourceSnapshotTest` to check that the created
objects are usable.

* Check for Xcode 11 in tests

* Exclude the macOS in our UIKit tests ツ
2019-07-25 05:56:39 -04:00
Whitney Schmidt 67087c2282
add wifes to allowed strings (#6644) 2019-07-24 15:57:29 -04:00
Rolf Bjarne Kvinge 6f19d734b7
[generator] Remove support for Classic bindings. Partial fix for #6300. (#6643)
Partial fix for https://github.com/xamarin/xamarin-macios/issues/6300.
2019-07-24 09:01:40 -07:00
Rolf Bjarne Kvinge 6075a9aa5b
[mmp] Remove support for 32-bit apps. Partial fix for #6300. (#6642)
Partial fix for https://github.com/xamarin/xamarin-macios/issues/6300.
2019-07-24 09:01:14 -07:00
Rolf Bjarne Kvinge 5f6e2db886
[monotouch-test] Ignore the FontManagerTest.RegisterFontDescriptors_NoCallback test, it may crash. (#6639)
This fixes a crash when running xammac tests on macOS 10.15.
2019-07-24 07:10:39 -07:00
Rolf Bjarne Kvinge dc2c269f40
[tests] Use built-in feature checks to check for API non-crashyness. (#6640)
This also required adding a few missing Metal version enum values.

Fixes https://github.com/xamarin/maccore/issues/1800.
Fixes https://github.com/xamarin/maccore/issues/1801.
2019-07-24 07:10:10 -07:00
Rolf Bjarne Kvinge 57de81aaa1
[src] Remove the named macOS version attributes. (#6641)
They're only used in Classic, and Classic is dead, so these can now be
removed.
2019-07-24 07:09:21 -07:00
monojenkins 0443822a3f [xcode11] [Generator] Do not used harcoded 'error' var name, use the one in the declaration. (#6637) 2019-07-24 13:28:07 +02:00