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

2497 Коммитов

Автор SHA1 Сообщение Дата
Sebastien Pouliot 2cf0a5ed95 Bump XI and XM versions now that we have branched for d15-2 (#1954) 2017-04-02 16:08:52 -05:00
Rolf Bjarne Kvinge b568b2541e [builds] Improve mono/llvm dependencies. (#1948)
* [builds] Improve mono/llvm dependencies.

* Create a list of all the files in the mono and llvm repositories, and save
  these lists as a Make variable (in a generated Makefile - .deps.*.mk). We
  don't list _all_ the files in each repository, because there are quite a few
  (55k for mono), and Make measurably takes a while to check all of them, so
  try to limit it to a sane subset, without risking missing changes to files
  that actually matters.

* Always create stamp files when we're done with mono builds.

* Modify the mono/llvm builds to depend on all the files in their
  repositories.

* Explicitly list the corresponding .stamp-build-* files as dependencies for
  various files that are produced by the mono builds, so that make knows how
  to build these files.

* Rewrite the *-facade-check targets to depend on the corresponding
  *_BCL_TARGETS, so that we can avoid running a submake to the same Makefile
  to execute the facade checks.

  It now takes a little while (less than a second on my machine, which is
  fine) for make to list all dependencies and get their timestamps, but if
  executing multiple submakes this adds up to a multi-second timewaste.

  So avoid the timewaste by not doing submakes, but instead use dependencies
  to enforce the required target execution ordering.

* Don't depend on nicely named intermediate targets, since won't prevent
  rebuilds:

      build-cross64: setup-cross64

  Since the `setup-cross64` file doesn't exist, `build-cross64` will always
  execute. Instead depend on the stamp file:

      build-cross64: .stamp-configure-cross64

  And now `build-cross64` will only rebuild if needed.

* Don't try to list all intermediate files as .SECONDARY dependencies, instead
  list none at all, which works as if all files were listed as dependencies.

* Some targets had to move later in the file, since variables used in dependencies:

       foo: $(VARIABLE)

  must be defined before that point in the file, as opposed to variables used in recipes:

       foo:
           $(MAKE) $(VARIABLE)

  can be defined anywhere in the Makefile.

* Simplify the targets that sign assemblies significantly.

There are a few end results:

* It's now possible to do `make install`, without doing `make all` first. This
  might seem weird, but that also ensures the more common `make all install`
  works properly.

* Remakes (without any mono/llvm changes) in build/ are much faster, because
  we now won't recurse into every mono build:

      $ time make all -C builds/ -j8
      [...]
      real  0m1.873s

  This even means that we might be able to make it a habit to remake in the
  root directory, which doesn't take forever now:

      $ time make all -j8
      [...]
      real  0m4.521s

  Unfortunately adding `make install` to the mix still does some useless
  stuff, and it ends up taking ~30 seconds to complete a full build:

      $ time make all install -j8
      [...]
      real  0m32.542s

* [msbuild] Don't verify the xml syntax of targets files unless the files change.

* [build] Don't depend on installed files.

Don't depend on installed files, because that causes a rebuild when installing
to a different directory (i.e. package creation).

* Bump maccore to get build improvements.

Rebuilds are now very fast:

    $ make all install -j8
    $ time make all install -j8
    real	0m5.735s

Less than 6s to figure out that nothing needs to be done.

And strangely flushing the disk cache doesn't make it much slower:

    $ sudo purge
    $ time make all install -j8
    real	0m7.309s

Which probably means that Make mostly reads file metadata, and not actual file
contents (which is good).
2017-03-31 20:23:38 +02:00
Rolf Bjarne Kvinge 3fed06c2be [mtouch] Don't open files for writing when it's not needed. (#1949)
This fixes a file sharing exception:

> MTOUCH: error MT1009: Could not copy the assembly '[...]/msbuild/tests/MyActionExtension/bin/iPhone/Debug/MyActionExtension.dll' to '[...]/msbuild/tests/MyTabbedApplication/obj/iPhone/Debug/mtouch-cache/32/Link/MyActionExtension.dll': Sharing violation on path [...]/msbuild/tests/MyActionExtension/bin/iPhone/Debug/MyActionExtension.pdb
2017-03-31 11:19:10 +02:00
Rolf Bjarne Kvinge 8248a91fed [tests] Fix msbuild-mac project to use a project reference to GuiUnit. (#1950)
xbuild will automatically find and build project references, while directly
referencing the assembly won't.
2017-03-31 11:19:00 +02:00
Rolf Bjarne Kvinge 2a7e1c5497 [tests][msbuild] Teach tests about new potential location for assemblies. (#1951) 2017-03-31 11:18:50 +02:00
Chris Hamons 1ec3849617 [macos] Fix msbuild issues with shprojj/projitem library (#1936)
- In some build cases this chunk of code:

    <ItemGroup Condition=" '$(NoCompilerStandardLib)' == 'true' and '$(NoStdLib)' != 'true' ">
          <!-- Note that unlike VB, C# does not automatically locate System.dll as a "standard library"
               instead the reference is always passed from the project. Also, for mscorlib.dll
               we need to provide the explicit location in order to maintain the correct behaviour
     -->
        <_ExplicitReference Include="$(FrameworkPathOverride)\mscorlib.dll" />
    </ItemGroup>

would trigger and force us to use mscorlib from system mono. That does not work well.
- By setting FrameworkPathOverride, we can get the right mscorlib
- However, that ItemGroup happens outside of a target, so we must move our setting to match for it to take effect
2017-03-30 15:04:21 -05:00
Sebastien Pouliot 8ffb553e9e [linker] Capture and show more information when a MT2001 error occurs (#1947) 2017-03-30 14:41:56 -05:00
Rolf Bjarne Kvinge e19426e073 [tests] Don't create test packages by default. (#1941)
* [tests] Don't create test packages by default.

Don't create test packages by default, instead add a new target to create test
packages. This new target is called on wrench, which means the packages will
still be created when needed, but they won't be built locally in every build
(and if a packaged test fails to build, it won't fail the entire build).

* [tests] Use a project reference instead of assembly reference for GuiUnit.exe

Use a project reference instead of assembly reference for GuiUnit.exe, so that
the GuiUnit reference is automatically built if necessary.

This also makes it required to build a sln for Classic (since mdtool can't
find referenced projects from a csproj).
2017-03-30 18:01:15 +02:00
Sebastien Pouliot 22a5cb5ab9 [runtime] Remove unicode character causing warnings at build time (#1945)
16:59:44 monotouch-debug.m:568:3: warning: treating Unicode character as whitespace [-Wunicode-whitespace]
16:59:44         } else if ((shmkey = ftok ("/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch", 0)) == -1) {
16:59:44          ^
2017-03-30 18:00:48 +02:00
Rolf Bjarne Kvinge fa8224cab0 Automatically reset dependencies after cleaning everything. (#1944)
mono-extensions is deleted when cleaning everything, but executing 'make
reset' will put it back again.
2017-03-30 18:00:32 +02:00
Rolf Bjarne Kvinge d5828ef1a0 Bump maccore to get documentation for the Runtime.AssemblyRegistration event. (#1940) 2017-03-30 14:37:28 +02:00
Alex Soto 3ba72b2136 [AVFoundation] Bug 52730 - Re-enable AVAudioSessionInterruptionEventArgs.WasSuspended (#1937)
https://bugzilla.xamarin.com/show_bug.cgi?id=52730

There is no need for bindas support here, by just using bool and
[NullAllowed] the generator does the right thing

```csharp
[CompilerGenerated]
public System.Boolean? WasSuspended {
	get {
		IntPtr value;
		if (k2 == IntPtr.Zero)
			k2 = ObjCRuntime.Dlfcn.GetIntPtr (Libraries.AVFoundation.Handle, "AVAudioSessionInterruptionWasSuspendedKey");
		if (Notification.UserInfo == null)
			return null;
		value = Notification.UserInfo.LowlevelObjectForKey (k2);

		if (value == IntPtr.Zero)
			return null;
		using (var nsn = Runtime.GetNSObject<NSNumber> (value))
			return nsn.BoolValue;
	}
}
```
2017-03-30 07:36:43 -05:00
Sebastien Pouliot 153056cf7f [mtouch] Provide a more accurate description of the MT0091 error (#1938)
The old one makes it sounds the linker is doing magic ;-)
2017-03-30 07:36:20 -05:00
Rolf Bjarne Kvinge fc28b434c2 [monotouch-test] Fix SystemSoundTest.FromFile's audio file to not take 23s. Fixes #54236. (#1942)
In a6b9c28975 I fixed SystemSoundTest.FromFile
to not crash randomly, and at the same time I added an assert to ensure that
the playback completion handler is called properly, with a 10s timeout.

Which won't work, because the audio file is 23s long.

There's no need for a 23s audio file, so the fix is simple: cut the audio file
to 0.3s instead.

https://bugzilla.xamarin.com/show_bug.cgi?id=54236
2017-03-30 14:33:36 +02:00
Rolf Bjarne Kvinge 6f2a93e8bb [tests] Change ProjectGuid of a few projects to make sure they're unique. (#1943) 2017-03-30 14:33:26 +02:00
Håvard Fossli 456b482839 Fixing formating typos for titles in README.md (#1939) 2017-03-30 10:01:43 +02:00
Sebastien Pouliot 743c28f7e0 Merge pull request #1872 from xamarin/mono-2017-02
* Bump to mono master

* [build] Profiles cleanup

* Remove 4.x profile dependency

* Replace mdbrebase tool with pathmap and fix broken debug symbols mapping in public builds

* Bump mono and linker submodule

* Add netstandard to the build

* [build] Register linker for submodule checks

* Bump mono

* [build] Add .NET Core open source key

* [build] Update debug symbols to pdb

* [msbuild] Remove smcs compiler overrides

* Update after another Cecil breaking change

* Fixes mmp execution during build to use correct Mono.Cecil. For some reason setting MONO_PATH does not work

* [linker] Update list of Facade assemblies

*  [mtouch] Copy pdb debug symbols when available

* [msbuild] Update test to reflect Mono.Dynamic.Interpreter.dll removal

* [tuner] Update System.Core rule

* [msbuild] Update few test expected debug symbols

* Fixes missing Mono.Security dependency

* Updates mtouch.csproj

* Switch to Mono 2017-02 branch

* Adds pdb handling to mtouch

* Bump linker

* Wire up configuration to MonoTouchSweepStep

* Mono branch name update

* Remove mdbrebase which is no longer needed (compiler does it now)

* Update monomac tuner

* Revert "[linker] Inline BinaryCompatibility.TargetsAtLeast_Desktop_V4_5[_1] (#1518)"

This reverts commit e72b654890.

because it's no longer needed with latest mono

* Bump maccore for mdoc path fix

* Add missing reference

* Bump linker

* Updates mmp.csproj files path

* [tests][mac] Terminate test processes with extreme prejudice. Fixes #52604.

https://bugzilla.xamarin.com/show_bug.cgi?id=52604

* Bump Xamarin Studio to get fix for bug #52648.

Bump Xamarin Studio to get fix for bug #52648 causing build failures.

* Update system Mono to 2017-02

* More mdb to pdb checks update

* Update tests to work with csc compiler

* Another system mono bump

* [tests] Fix mlaunch path, it's no longer shipped with Xamarin Studio. (#1842)

* Fixes tuner IL optimization for get_Size to work with short branches

* Update IntPtrSizeOptimization test to consider Debug mode IL output

* Xamarin.Mac.FSharp.targets - Fix imports to work correctly with ..

.. MSBuildExtensionsPath* .

`MSBuildExtensionsPath*` supports search paths only if the string
`$(MSBuildExtensionsPath)` (or *32/*64) appear in the `Project`
attribute of the `Import` element. Otherwise the value of the property
or the default value is used. So, restructure to conditionally import
rather than a import using a property with the final path.

* [msbuild] Index into the correct item array when printing an error message (#1792)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52860

When the ImageAssets contain an item that doesn't live within
a *.xcassets directory, index into ImageAssets[] rather than
items[] which hasn't been populated yet.

Also fixed the tagsList for-loop to use tagsList.Count instead
for correctness (even though tags.Count and tagsList.Count
should always be identical).

* [msbuild] Ignore .DS_Store files when cloning asset catalogs (#1776)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52851

The problem here is that the .DS_Store file was included in
the .csproj file but did not exist on disk, so when we went
to clone that file into the obj/ dir before running actool
on it, File.Copy() would fail because the file did not
actually exist.

Since these files are worthless anyway, we can safely ignore
them.

Also added logic to verify that files exist before copying
them in order to report a better error than an exception
stack trace.

* [msbuild] Make a build error more clearly worded (#1794)

Related to https://bugzilla.xamarin.com/show_bug.cgi?id=52847

* [msbuild] Remove an unused enum that causes confusion (#1798)

* [msbuild] sanity check TargetiOSDevice property for conflicts (#1799)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52847

If the device archs do not match the configuration, don't
do a device-specific build.

* [msbuild] Make sure to codesign appex dylibs (#1812)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=52745

Added a new CodesignNativeLibraries task that scans for
and then codesigns each *.dylib and *.metallib in the
app bundle (minus those in the PlugIns and Watch dirs).

* [msbuild] Run the _ComputeTargetArchitectures target before cleaning (#1828)

Some of the Clean steps need the _ComputeTargetArchitectures
target to run before they can properly do their thing because
they depend on DeviceSpecific paths.

Also added logic to rm -rf extension *.dSYM and framework *.dSYM
dirs in the container app bin dir (which fails on xbuild due to
a bug in xbuild... yay!)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53007

* [msbuild] ALWAYS log ibtool/actool exitCode != 0 as an error (#1840)

Log this as an error even if the log file does not exist and/or
is parseable.

Previously, it was possible that if the log file didn't exist
or it was perfectly validly formatted, we would never log that
error code and so it's possible that we wouldn't log *any*
error at all (e.g. empty log file).

* [msbuild] Added logging for all of the overridden MSBuild default tasks (#1829)

* [msbuild] Fixed PathUtils.AbsoluteToRelative() logic (#1861)

* [msbuild] Fixed PathUtils.AbsoluteToRelative() logic

Don't require the 'absolute' path argument to be a FullPath.

The code already calls Path.GetFullPath() on the 'absolute'
path anyway.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53176

* Fixed ResolveSymbolicLinks() to return the input path if realpath() fails

* [msbuild] Use stamp files to force container app's _CompileToNative (#1878)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53303

* Bump mono

* Another mono bump

* Mono bump

* Update .gitignore with pdb files

* Bump mono

* Mono bump

* Revert "Bump maccore for mdoc path fix"

This reverts commit 50f4564b6b.

* Bump maccore

* Bump mono

* Remove TlsProviderFactoryCallback

* Update linker tests after appletls merge

* Mono bump

* Bump mono to include fix for bug #53481

* Bump mono

* Bump system mono to get fix for #53481.

https://bugzilla.xamarin.com/show_bug.cgi?id=53481

* Bump mono

* Bump mono

* Remove Mono.Dynamic.Interpreter from mtouch tests
2017-03-29 14:55:47 -05:00
Vincent Dondain 5b36c1ce2b [modelio] Re-add original MDLMesh.CreateBox signature (#1935)
Type Changed: ModelIO.MDLMesh

Removed method:

    public static MDLMesh CreateBox (OpenTK.Vector3 dimensions, OpenTK.Vector3i segments, MDLGeometryType geometryType, bool inwardNormals, IMDLMeshBufferAllocator allocator);

---

Adding an optional argument (so not having the original signature anymore) would break binary compatibility.
2017-03-29 15:00:33 -04:00
Marek Safar 834d169706 Merge branch 'master' into mono-2017-02 2017-03-29 19:20:35 +02:00
Alex Soto 3f0ad8d686 [generator] Enable warnaserror for our bindings (#1929)
Enabled `warnaserror` in our SDK bindings
2017-03-29 11:02:03 -06:00
Rolf Bjarne Kvinge 3427fb224d [ObjCRuntime] Add assembly registration event. (#1933)
Add an assembly registration event, that allows apps to opt out of
Xamarin.Mac's default behavior to recursively load every assembly referenced
by the entry assembly.

This is only for Xamarin.Mac, since it does not make sense to have this API in
Xamarin.iOS because assemblies are statically registered at build time.
2017-03-29 17:25:28 +02:00
Marek Safar 95b8f2559f Remove Mono.Dynamic.Interpreter from mtouch tests 2017-03-29 16:23:28 +02:00
Rolf Bjarne Kvinge 3a1c5ea565 Enforce mono 4.8 until we've merged support for the newer mono. (#1934)
Otherwise things break left and right.
2017-03-29 15:21:26 +02:00
Alex Soto 018441a0cb [Intents] Remove breaking change in INPreferences get back DefaultCtor (#1932)
In Xcode8.3 branch I [introduced a breaking change](0) by adding
[DisableDefaultCtor] to `INPreferences`. While this change is
correct we need it to happen until XAMCORE_4_0 becomes a thing.

Fixes

```
Type Changed: Intents.INPreferences

Removed constructor:

    public INPreferences ();
```

[0]: 5511768914 (diff-efb680ffd3a9a21fd9c1c83fe8be84bfR2738)
2017-03-29 08:06:57 -05:00
Alex Soto ed505623be [tests] Fix RequiredMethodAsync test (#1931)
When merging https://github.com/xamarin/xamarin-macios/pull/1913 I
forgot to fix RequiredMethodAsync test, we now expect one instance of
a RequiredMethodAsync as an extension method
2017-03-29 11:12:56 +02:00
Marek Safar d42553136c Bump mono 2017-03-29 10:31:33 +02:00
Sebastien Pouliot 0dfcb1f09f Merge branch 'master' into mono-2017-02 2017-03-28 21:31:33 -05:00
Sebastien Pouliot abaced76e3 Merge pull request #1923 from spouliot/xcode83-master
Merge xcode8.3 in master
2017-03-28 21:27:18 -05:00
Sebastien Pouliot 6c702a15e9 [apidiff] Update XML references to what we're shipping in XI 10.8 / d15-1 (#1928) 2017-03-28 18:54:57 -05:00
Timothy Risi 923225369f [mmp] Remove check for null tls_provider since only appleTLS is supported (#1926) 2017-03-28 18:17:10 -05:00
Chris Hamons 3d32ca0c16 [macos] Remove ugly ObjC spam in clang invocation (#1927) 2017-03-28 18:16:51 -05:00
Sebastien Pouliot 18cee459d6 [tests][monotouch] Stop guessing values for CreateCylinder
It's different on all platforms/SDK versions so it's pointless to use
it inside tests.
2017-03-28 18:15:02 -05:00
Sebastien Pouliot f779f11ad3 [passkit] Adjust beta 2 typo fix for PassKit's PKPaymentNetwork[i|I]D[Credit].
Fix introspection tests w/beta 2
2017-03-28 18:14:21 -05:00
Rolf Bjarne Kvinge 1c232f6e20 [ModelIO] Fix API warning about exposing models.
A new method added in Xcode 8.3 triggeres a new warning in d15-1 about
exposing models instead of protocols in API.

Bind this method correctly (using a protocol), and add a compatibility
version.

Fixes this introspection error:

[FAIL] `MDLAsset.PlaceLightProbes` includes a parameter of type `MDLLightProbeIrradianceDataSource` which is a concrete type `[Model]` and not an interface `[Protocol]`
	[FAIL] iOSApiSignatureTest.ApiSignatureTest.ManagedSignature : 1 errors found in 3 signatures validated:
2017-03-28 18:07:08 -05:00
Sebastien Pouliot 7f650d08c3 [tests] Disable INIntentResolutionResultTests.cs on XM (it's not ready) 2017-03-28 16:31:49 -05:00
Vincent Dondain c0abf32083 Fix more merge issues 2017-03-28 15:10:38 -05:00
Alex Soto 8ef77344bc [Intents] Updated to Xcode 8.3 Beta1 and Beta2 (#1686)
Added more types to INIntentResolutionResultTests

Partial Test log:

[Runner executing:	Run Everything]
[MonoTouch Version:	10.3.99]
[Assembly:	Xamarin.WatchOS.dll (32 bits)]
[GC:	sgen]
[Apple Watch:	watchOS v3.2]
[Device Name:	iMacAlex]
[Device Locale:	en_US]
[Device Date/Time:	2/13/2017 11:45:10 PM]
[Bundle:	com.xamarin.monotouch-test.watchkitapp.watchkitextension]

 monotouchtest.dll

INIntentResolutionResultTests
	[PASS] INIntentResolutionResultTests.INBillPayeeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INBillTypeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INBooleanResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INCallRecordTypeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INCarAirCirculationModeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INCarAudioSourceResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INCarDefrosterResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INCarSeatResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INCarSignalOptionsResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INCurrencyAmountResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INDateComponentsRangeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INDateComponentsResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INDoubleResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INIntegerResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INIntentResolutionResultIsAbstractTest
	[PASS] INIntentResolutionResultTests.INMessageAttributeOptionsResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INMessageAttributeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INPaymentAccountResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INPaymentAmountResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INPaymentStatusResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INPersonResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INPlacemarkResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INRadioTypeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INRelativeReferenceResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INRelativeSettingResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INSpeakableStringResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INStringResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INTemperatureResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INWorkoutGoalUnitTypeResolutionResultPropertyTest
	[PASS] INIntentResolutionResultTests.INWorkoutLocationTypeResolutionResultPropertyTest
INIntentResolutionResultTests : 20 ms

* [Intent] Workaround for introspection tests

Right now introspection tests fail randomly on two test targets
iOSApiCtorInitTest and iOSApiSelectorTest so we are temporary
removing them from the test suite with the hope  to have them
fixed on the next beta
2017-03-28 14:40:10 -05:00
Sebastien Pouliot 0f4ee34457 Remove duplication code from merge 2017-03-28 13:14:38 -05:00
Sebastien Pouliot fe4ce3d7f8 Bump Xcode and SDK versions to match Xcode 8.3 2017-03-28 11:21:02 -05:00
Alex Soto 1db4202fc6 [ModelIO] Update to Xcode 8.3 Beta 4 (#1856) 2017-03-28 10:12:24 -05:00
Alex Soto e3f81f3c9d [UIKit] Update to Xcode8.3 beta 4 (#1855) 2017-03-28 10:12:17 -05:00
Alex Soto c94b822f3a [WatchConnectivity] Update to Xcode 8.3 Beta 5 (#1854) 2017-03-28 10:12:09 -05:00
Alex Soto 3dd153f351 [intents] Updated to Xcode8.3 Beta 5 (#1853)
Apple added API_UNAVAILABLE(watchos) to

+ (INSiriAuthorizationStatus)siriAuthorizationStatus
+ (void)requestSiriAuthorization:(void (^)(INSiriAuthorizationStatus status))handler

So we got the availability right :D
2017-03-28 10:11:51 -05:00
Vincent Dondain d819d25bff [modelio] Add missing MDLMesh constructors and fix xtro (#1826)
Fixes bug #52575: Missing ModelIO API
(https://bugzilla.xamarin.com/show_bug.cgi?id=52575)

We turn the MDLMesh constructors into static ones because we don't want to lose the shape name.
Also, the signatures of these constructors differ so it would not be possible to use an enum to differentiate the shapes.
2017-03-28 10:08:12 -05:00
Alex Soto efceb473f6 [msbuild] Allow extensions bundle other extensions (#1810)
watchOS 3.2 introduced SiriKit extension that must be bundled
inside the Watch App Extension (yep a extension inside another extension).

So the _ResolveAppExtensionReferences and _CopyAppExtensionsToBundle should
now be run on extension projects too.
2017-03-28 10:08:02 -05:00
Sebastien Pouliot 9686e6464b [tests][xtro] Some fixes, mostly data, so [ios|tvos|watchos].unclassified are empty (#1766)
Also reduce a bit the size of common.unclassified
2017-03-28 10:07:54 -05:00
Sebastien Pouliot 566a7a4dad [mmp] Map macOS 10.12.4 SDK with Xcode 8.3 (#1759)
This should stop errors like below to happen on wrench

```
Xamarin.Bundler.MonoMacException: The type 'AVFoundation.IAVContentKeyRecipient' (used as a parameter in AVFoundation.AVContentKeySession.Add) is not available in macOS 10.12.2 (it was introduced in macOS 10.12.4). Please build with a newer macOS SDK (usually done by using the most recent version of Xcode).
```
2017-03-28 10:06:22 -05:00
Sebastien Pouliot 130b269cce [avfoundation] Disable incorrect AVAudioSessionInterruptionEventArgs.WasSuspended (#1761)
The return type is wrong

> Value is a boolean NSNumber,

and cannot be bound as a `bool` but as a `NSNumber`, which makes it
closer to a `bool?` since it could be absent.

We'll re-enable it when merging `xcode8.3` on `master` so we can benefit
from Alex `[BindAs]` support, giving us a `bool?` on the visible API
2017-03-28 10:06:11 -05:00
Sebastien Pouliot 43413344ff [intents] Fix INPerson.SiriMatches as not available on macOS (#1760)
Mac introspection does not like it on wrench, which seems to
have a Sierra beta (or it would be ignored)

> [FAIL] Selector not found for Intents.INPerson : siriMatches

and xtro / headers can't see it being available on macOS either
2017-03-28 10:06:03 -05:00
Manuel de la Pena 8c94c974df [AVFoundation] Fix some minor issues with the Xcode 8.3 bindings. (#1757) 2017-03-28 10:01:04 -05:00