Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
584782f
Bump version to avoid conflicts with SR0
spouliot Oct 7, 2016
8065394
Bump mono and watch-mono to include Mono.Data.Sqlite fix for #44349 (…
spouliot Oct 13, 2016
ec01be0
[mtouch] Fix NRE when optimizing bindings. Fixes #44701 (#900)
spouliot Sep 27, 2016
26328e0
Bump mono to latest and update watch-mono to match
spouliot Oct 14, 2016
295da87
Merge branch 'xcode8.1' into cycle8-xi
spouliot Oct 26, 2016
a8465ba
Bump to latest revision and final version of Xcode 8.1
spouliot Oct 28, 2016
37afde6
[msbuild] Add watch-companion to UIRequiredDeviceCapabilities for wat…
VincentDondain Oct 31, 2016
098d386
Bump watch/mono (only) to get fix for bug #45847.
rolfbjarne Oct 31, 2016
316e533
Bump [watch-]mono to have PR #3860 -> [profiler] Fix regression causi…
spouliot Oct 31, 2016
44931ae
[msbuild] Fixed IsWatchExtension state property (#913) (#1092)
VincentDondain Nov 1, 2016
1d0df24
[msbuild] Validate that WatchOS2 App Extensions do not have watch-com…
jstedfast Nov 1, 2016
ba3ab9c
Bump mono to get System.Net.Http test fixes. (#1108)
rolfbjarne Nov 4, 2016
a921456
Set maximum mono version to the Cycle 8 mono version. (#1118)
rolfbjarne Nov 4, 2016
613233e
Bump mono to get System test fixes. (#1129)
rolfbjarne Nov 8, 2016
fde0c73
Fix xamarin_log to not treat % as format specifiers. Fixes #45046. (#…
rolfbjarne Dec 1, 2016
1bd30d1
[opentk] Bump to remove deprecated glGetQueryObjectivEXT symbol (#1239)
spouliot Nov 25, 2016
c4710f6
[avfoundation] Fix incorrect selector for AVPlayerItemVideoOutput .ct…
spouliot Dec 7, 2016
070338a
[msbuild] Don't rm -rf the .dSYM dir in the _CompileToNative target (…
jstedfast Dec 7, 2016
abfcd1a
Improve UIScreen Capture() support for complex views (#1235)
christianhelle Nov 24, 2016
65ed76b
Bump [watch-]mono to get fix for #45140. (#1330)
rolfbjarne Dec 12, 2016
bffcc0a
[tests] Add missing test file for backport in c4710f69. (#1332)
rolfbjarne Dec 12, 2016
5a79811
Merge xcode8.2 into cycle8-xi (#1345)
spouliot Dec 13, 2016
d8b8f90
Bump mono
chamons Dec 13, 2016
cedc1c0
Bump mono for build fix
chamons Dec 14, 2016
e793b1e
[security] Remove port number from TLS Server Name Identification (SN…
spouliot Dec 9, 2016
e8ed5ef
Bump [watch-]mono to the latest revision
spouliot Dec 14, 2016
201b1ef
[apidiff] Update XI references XML to 10.3 (Xcoe 8.2 support)
spouliot Dec 14, 2016
d663e83
Bump [watch-]mono to include mono_mach_arch_get_thread_fpstate_size i…
spouliot Dec 16, 2016
8b53676
Bump mono to include mono_mach_arch_get_thread_fpstate_size implement…
spouliot Dec 16, 2016
7beaef4
[linker] Update mscorlib.xml to preserve generic collection interface…
spouliot Dec 20, 2016
8c28e2d
Request CI build.
rolfbjarne Dec 20, 2016
a6aea4b
Bump to Xcode 8.3 beta 1 (#1556)
VincentDondain Jan 26, 2017
ea3a246
Updated PACKAGE_HEAD_BRANCH to reflect the the right branch and incre…
dalexsoto Jan 26, 2017
594ef83
Merge pull request #1564 from xamarin/xcode83-dalexsoto
dalexsoto Jan 26, 2017
c0c78b7
[Photos] Update to iOS 10.3 beta 1
VincentDondain Jan 25, 2017
aecbf47
[callkit] Update to iOS 10.3 beta 1 (#1560)
VincentDondain Jan 27, 2017
d87af9b
[cfnetwork] Update for iOS 10.3 beta 1 (#1561)
VincentDondain Jan 27, 2017
ddadbb5
[foundation] Update to iOS 10.3 beta 1 (#1562)
VincentDondain Jan 27, 2017
e11b53d
[xharness] Get the INCLUDE_ make variables and disable tests accordin…
rolfbjarne Jan 27, 2017
e3a4ea7
Disable Mac bits since xcode8.3 is cycle8-xi based (#1575)
VincentDondain Jan 27, 2017
7747ad1
[opengles] Update to iOS 10.3 beta 1 (#1576)
VincentDondain Jan 27, 2017
29130ac
[StoreKit] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
d7bf1e5
[Contacts] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
2ac4b66
[iAd] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
775b3e8
[homekit] Update to iOS 10.3 beta 1 (#1584)
VincentDondain Jan 30, 2017
d4b5ca7
[CoreVideo] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
b4099ec
Re-enable XM (#1588)
spouliot Jan 31, 2017
a1747e5
[LocalAuthentication] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
c17c198
[WatchKit] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
2beb389
[WebKit] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
4c2e85b
[tests][macos][intro] Fix XM classic introspection tests. Fixes #5206…
spouliot Jan 31, 2017
f4983f9
[XM] Rework binding project test to try to fix build machine issues (…
chamons Jan 17, 2017
cd7bc91
Update version prefix to 10.3.99.* to be unique (wrt stable builds) b…
spouliot Jan 31, 2017
fd964fe
[tests][monotouch] Generalize some tests to be independent of iOS ver…
spouliot Feb 1, 2017
3fd79be
[tests][macos][apitest] Fix MediaPlayerLibrary for unified. Fixes #51…
spouliot Feb 1, 2017
9b659bb
[PassKit] Update to iOS 10.3 beta 1
dalexsoto Jan 26, 2017
fad0346
Bump maccore to get an mlaunch build fix. (#1622)
rolfbjarne Feb 3, 2017
116cdc2
Bump min macOS version, since Xcode 8.3 requires macOS 10.12. (#1635)
rolfbjarne Feb 3, 2017
fde791e
[spritekit] Update for iOS 10.3 beta 1 (#1628)
VincentDondain Feb 3, 2017
b0e2879
[UIKit] Update for iOS 10.3 beta 1 (#1629)
dalexsoto Feb 3, 2017
7af0e34
[tvos][videotoolbox] Enable VideoToolbox.framework on tvOS (#1626)
spouliot Feb 3, 2017
602a102
Bind new mac-only APIs from xcode 8.3 (#1602)
Feb 6, 2017
23ba6df
[modelio] Update for iOS 10.3 beta 1 (#1601)
VincentDondain Feb 6, 2017
23d1dcf
[mediaplayer] Update for iOS 10.3 beta 1 (#1627)
VincentDondain Feb 6, 2017
784587b
[tvos][storekit] Adjust StoreKit beta 1 bindings for tvOS (#1646)
spouliot Feb 7, 2017
eca4930
Bump Xcode 8.3 to beta 2 (#1645)
spouliot Feb 7, 2017
6b57ee9
[watchos][spritekit] Add part of SKVideoNode (#1649)
spouliot Feb 7, 2017
56c8680
[tvos][mediaplayer] Update xtro definitions (#1654)
spouliot Feb 8, 2017
a1cfd6b
[generator] Add availability info to StrongDictionary
dalexsoto Feb 9, 2017
4661c51
[VideoToolbox] Updated to Xcode 8.3 Beta 1
dalexsoto Feb 9, 2017
f5ad09d
[metal] Add new MTL* API from Xcode 8.3 beta1 (#1666)
spouliot Feb 9, 2017
9b378ee
[audiotoolbox] Allow SourceAudioUnit to be set to null (beta 2) (#1667)
spouliot Feb 9, 2017
1533e34
[tvos][uikit] Fix two UITableViewDataSource that are not prohibited a…
spouliot Feb 9, 2017
bb77cb5
Merge pull request #1669 from dalexsoto/videotoolbox
dalexsoto Feb 9, 2017
59e66fa
[watchos][cloudkit] Update for beta 1 (#1659)
spouliot Feb 10, 2017
2aa28ca
[audiotoolbox] Remove null check on sourceAudioUnit (#1675)
spouliot Feb 10, 2017
a25131a
[homekit] Fix enum breaking change (#1673)
VincentDondain Feb 10, 2017
7f0cab8
[security] Add new API for beta 1 (#1682)
spouliot Feb 13, 2017
1643a87
Add a nullable attribute in Intents from Xcode 8.3 (#1671)
Feb 13, 2017
b4f043f
[homekit] Update watchOS API availability for Xcode 8.3 (#1644)
VincentDondain Feb 13, 2017
07d391b
Update reference to maccore
VincentDondain Feb 13, 2017
0baf77a
[LocalAuthentication] Update to Xcode8.3 beta2 Mac (#1688)
dalexsoto Feb 14, 2017
23a99e4
[tests][xtro] Run xtro comparison against the locally built assemblie…
spouliot Feb 14, 2017
237bcaa
[modelio] Fix common.unclassified for recent Xcode8.3 changes (#1692)
VincentDondain Feb 14, 2017
e41b09b
[mediaplayer] macOS update for Xcode 8.3 (#1693)
VincentDondain Feb 14, 2017
ed4cc5d
[security] Add more SecCertificate* API from beta1. Fixes #52505 (#1695)
spouliot Feb 15, 2017
5511768
[Intents] Updated to Xcode 8.3 Beta1 and Beta2 (#1686)
dalexsoto Feb 15, 2017
41a1305
[Tests] Avoid NRE in MediaItemTest.DefaultValues test
dalexsoto Dec 15, 2016
70a0978
[Tests] GraphicsRendererTest.ImageDefaultFormat test changed default …
dalexsoto Dec 16, 2016
4cd0b3b
[spritekit] Update for Xcode 8.3 beta 1 - part 2 (#1694)
VincentDondain Feb 15, 2017
b502bd7
[tests] Adjust monotouch-test not to crash on an Apple bug. Fixes #52…
spouliot Feb 15, 2017
7d51f5c
[mlaunch] Bump maccore so wrench bots can build mlaunch for testing (…
spouliot Feb 15, 2017
cd63349
[macos][storekit] SKDownload::transaction was added to macOS (10.11) …
spouliot Feb 16, 2017
acbc54a
Revert "[modelio] All properties for MDLVertexAttributeData were turn…
spouliot Feb 16, 2017
d686401
[macos][modelio] MDLAsset::initWithBufferAllocator: was added to macO…
spouliot Feb 16, 2017
127acb4
[opengles] Add version check to EAGLContext.PresentRenderBufferTest (…
VincentDondain Feb 16, 2017
e6d28dd
[spritekit] Update for Xcode 8.3 beta 1 - part 3 (#1705)
VincentDondain Feb 16, 2017
3fe969f
Revert "[tests] Adjust monotouch-test not to crash on an Apple bug. F…
spouliot Feb 20, 2017
6e0d7d0
[coretext] Use [MarshalAs (UnmanagedType.I1)] on `bool` parameters us…
spouliot Feb 20, 2017
3bfe615
Merge pull request #1727 from spouliot/bug52162-v2
spouliot Feb 21, 2017
2ca5082
[imageio] Re-enable fixed kCGImagePropertyExifSubsecTimeOriginal (#1728)
spouliot Feb 21, 2017
63bbfd2
[tests][xtro] Add optional generation of bindings for API in xtro's M…
spouliot Feb 21, 2017
000d78a
Add Intents and VideoToolbox to registrar and fix version check (#1733)
dalexsoto Feb 21, 2017
5a66bac
[build] Bump to use Xcode8.3 beta 3 (#1736)
spouliot Feb 21, 2017
b406e23
[homekit] Update for xcode8.3 beta 3 (breaking change) (#1739)
VincentDondain Feb 21, 2017
c0dabe8
[tests][intro] Add mapping for SecAccessControl on macOS (#1737)
spouliot Feb 22, 2017
d53a8ea
[Intents] Update to Xcode 8.3 Beta 3 (#1741)
dalexsoto Feb 22, 2017
5c3f518
[AVFoundation] Update bindings for Xcode 8.3 (#1713)
Feb 22, 2017
3b004e3
Merge `cycle9` into `xcode8.3` (#1749)
spouliot Feb 23, 2017
1009bb4
Bump maccore and update the mlaunch in xharness. (#1755)
rolfbjarne Feb 23, 2017
8ef6efc
[AVFoundation] Fix some minor issues with the Xcode 8.3 bindings. (#1…
Feb 24, 2017
8797209
[intents] Fix INPerson.SiriMatches as not available on macOS (#1760)
spouliot Feb 24, 2017
360eb82
[avfoundation] Disable incorrect AVAudioSessionInterruptionEventArgs.…
spouliot Feb 24, 2017
061b757
[mmp] Map macOS 10.12.4 SDK with Xcode 8.3 (#1759)
spouliot Feb 24, 2017
5f81191
[introspection] Remove intro checks on watch (#1768)
dalexsoto Feb 25, 2017
2fecbf7
[tests][xtro] Some fixes, mostly data, so [ios|tvos|watchos].unclassi…
spouliot Feb 25, 2017
4b91f9c
[msbuild] Allow extensions bundle other extensions (#1810)
dalexsoto Mar 1, 2017
78e3ae2
[modelio] Add missing MDLMesh constructors and fix xtro (#1826)
VincentDondain Mar 6, 2017
db4a7c1
[msbuild] Fix metal targets for Xcode8 (#1838) (#1839)
VincentDondain Mar 7, 2017
2c2c236
Bump to Xcode 8.3 beta 4. (#1845)
rolfbjarne Mar 9, 2017
b74cef2
[intents] Updated to Xcode8.3 Beta 5 (#1853)
dalexsoto Mar 9, 2017
d0a11b9
[WatchConnectivity] Update to Xcode 8.3 Beta 5 (#1854)
dalexsoto Mar 10, 2017
50b5b35
[UIKit] Update to Xcode8.3 beta 4 (#1855)
dalexsoto Mar 10, 2017
3ec27cf
[ModelIO] Update to Xcode 8.3 Beta 4 (#1856)
dalexsoto Mar 10, 2017
370f0b6
Bump to Xcode 8.3 beta 5 (#1891)
dalexsoto Mar 22, 2017
9434d4a
[foundation] Fix POST/PUT issues with NSUrlSessionHandler. Fixes #526…
spouliot Mar 7, 2017
2fed1f3
[registrar] Fix generic argument check to allow INativeObject. Fixes …
rolfbjarne Mar 9, 2017
9311e21
[mtouch] Disable fastdev for projects with more than one binding libr…
rolfbjarne Mar 9, 2017
293c814
Fixes for XM 4.5 and netstandard13 and updated comments (#1758) (#1777)
chamons Mar 9, 2017
e53ae04
Bump mono to get fix for bug #52300. (#1860)
rolfbjarne Mar 10, 2017
75af287
[foundation] Honor the cancellation token win the async requests in N…
Mar 22, 2017
5da34f6
[Foundation] Ensure that if a request is canceled we cancel the NSUrl…
Mar 23, 2017
86dbc5d
Merge pull request #1917 from spouliot/additional-cycle9-merge
spouliot Mar 27, 2017
336b176
Merge branch 'xcode8.3' into d15-1-xcode83
spouliot Mar 28, 2017
1347ff9
Fix merge failure by removing duplicated variables.
rolfbjarne Mar 28, 2017
e3c56e0
[tests][mtouch] Fix xcode8.3 merge failures.
rolfbjarne Mar 28, 2017
8ead5a9
[tests] Fix merge failure causing duplicated code.
rolfbjarne Mar 28, 2017
b2b24f4
[AppKit] Fix xcode 8.3 merge failure.
rolfbjarne Mar 28, 2017
31e40ad
[ModelIO] Fix API warning about exposing models.
rolfbjarne Mar 28, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[submodule "external/mono"]
path = external/mono
url = ../../mono/mono.git
branch = mono-4.6.0-branch
branch = mono-4.8.0-branch
[submodule "external/fsharp"]
path = external/fsharp
url = ../../fsharp/fsharp.git
Expand Down
24 changes: 12 additions & 12 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -47,34 +47,34 @@ IOS_PACKAGE_VERSION_REV=$(word 3, $(subst ., ,$(IOS_PACKAGE_VERSION)))
IOS_PACKAGE_VERSION_BUILD=$(IOS_COMMIT_DISTANCE)
IOS_PACKAGE_UPDATE_ID=$(shell printf "2%02d%02d%02d%03d" $(IOS_PACKAGE_VERSION_MAJOR) $(IOS_PACKAGE_VERSION_MINOR) $(IOS_PACKAGE_VERSION_REV) $(IOS_PACKAGE_VERSION_BUILD))

# Xcode 8.2
XCODE_VERSION=8.2
XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_8.2.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode82.app/Contents/Developer
# Xcode 8.3
XCODE_VERSION=8.3
XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_8.3.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode83.app/Contents/Developer

# Minimum Mono version
MIN_MONO_VERSION=4.8.0.269
MAX_MONO_VERSION=4.8.99
MIN_MONO_URL=http://bosstoragemirror.blob.core.windows.net/wrench/mono-4.8.0/e5/e51aa0a7043a8185e264d6332ac7bc1f8f87cd39/MonoFramework-MDK-4.8.0.269.macos10.xamarin.universal.pkg

# Minimum Xamarin Studio version
MIN_XAMARIN_STUDIO_URL=https://files.xamarin.com/~rolf/XamarinStudio-6.1.0.4373.dmg
MIN_XAMARIN_STUDIO_URL=https://bosstoragemirror.blob.core.windows.net/wrench/monodevelop-lion-cycle8-mlaunch-xcode83-fix-clone/77/776f2e6f2c16460204aa92f566caacf2da49259c/XamarinStudio-6.1.5.3.dmg
MIN_XAMARIN_STUDIO_VERSION=6.1.0.4373
MAX_XAMARIN_STUDIO_VERSION=6.3.0.9999
MAX_XAMARIN_STUDIO_VERSION=6.4.0.9999

# Minimum CMake version
MIN_CMAKE_URL=https://cmake.org/files/v3.6/cmake-3.6.2-Darwin-x86_64.dmg
MIN_CMAKE_VERSION=2.8.8

# Minimum OSX versions
MIN_OSX_BUILD_VERSION=10.11
MIN_OSX_VERSION_FOR_IOS=10.11
MIN_OSX_VERSION_FOR_MAC=10.11
MIN_OSX_BUILD_VERSION=10.12
MIN_OSX_VERSION_FOR_IOS=10.10
MIN_OSX_VERSION_FOR_MAC=10.10

IOS_SDK_VERSION=10.2
IOS_SDK_VERSION=10.3
OSX_SDK_VERSION=10.12
WATCH_SDK_VERSION=3.1
TVOS_SDK_VERSION=10.1
WATCH_SDK_VERSION=3.2
TVOS_SDK_VERSION=10.2

MIN_IOS_SDK_VERSION=6.0
MIN_OSX_SDK_VERSION=10.7
Expand Down
5 changes: 5 additions & 0 deletions Versions-ios.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<string>10.0</string>
<string>10.1</string>
<string>10.2</string>
<string>10.3</string>
</array>
<key>tvOS</key>
<array>
Expand All @@ -30,6 +31,7 @@
<string>9.2</string>
<string>10.0</string>
<string>10.1</string>
<string>10.2</string>
</array>
<key>watchOS</key>
<array>
Expand All @@ -39,6 +41,7 @@
<string>2.2</string>
<string>3.0</string>
<string>3.1</string>
<string>3.2</string>
</array>
</dict>
<key>RecommendedXcodeVersion</key>
Expand Down Expand Up @@ -99,6 +102,8 @@
<dict>
<key>com.apple.watchkit</key>
<string>2.0</string>
<key>com.apple.intents-service</key>
<string>3.2</string>
</dict>
</dict>
<key>Features</key>
Expand Down
2 changes: 1 addition & 1 deletion external/Touch.Unit
2 changes: 1 addition & 1 deletion mk/xamarin.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ifdef ENABLE_XAMARIN
NEEDED_MACCORE_VERSION := 0334305b8a8e829d6f27aadbe6b4784b11c19d9e
NEEDED_MACCORE_VERSION := 4f5fc1f377ba37915c58e02b5f2c7477cf4a52d4
NEEDED_MACCORE_BRANCH := d15-1

MACCORE_DIRECTORY := maccore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public string SdkVersion {
get; set;
}

[Output]
public bool IsXcode8 {
get; set;
}

#endregion Outputs

public override bool Execute ()
Expand All @@ -60,6 +65,8 @@ public override bool Execute ()
EnsureXamarinSdkRoot ();
EnsureSdkPath ();

IsXcode8 = AppleSdkSettings.XcodeVersion.Major >= 8;

return !Log.HasLoggedErrors;
}

Expand Down
13 changes: 11 additions & 2 deletions msbuild/Xamarin.Mac.Tasks/Xamarin.Mac.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,21 @@ Copyright (C) 2014 Xamarin. All rights reserved.
<Target Name="_ForgeMetal" Condition="'$(_CanOutputAppBundle)' == 'true' And '@(_SmeltedMetal)' != ''" DependsOnTargets="_SmeltMetal"
Inputs="@(_SmeltedMetal)" Outputs="$(IntermediateOutputPath)metal\default.metal-ar">
<ArTool
Condition="'$(IsMacEnabled)' == 'true'"
Condition="'$(IsMacEnabled)' == 'true' and '$(_IsXcode8)' == 'false'"
SessionId="$(BuildSessionId)"
Items="@(_SmeltedMetal)"
Archive="$(IntermediateOutputPath)metal\default.metal-ar">
</ArTool>

<CreateItem Include="$(IntermediateOutputPath)metal\default.metal-ar">
<!-- If !Xcode8 -->
<CreateItem Include="$(IntermediateOutputPath)metal\default.metal-ar"
Condition="'$(_IsXcode8)' == 'false'">
<Output TaskParameter="Include" ItemName="_ForgedMetal" />
</CreateItem>

<!-- Else -->
<CreateItem Include="@(_SmeltedMetal)"
Condition="'$(_IsXcode8)' == 'true'">
<Output TaskParameter="Include" ItemName="_ForgedMetal" />
</CreateItem>
</Target>
Expand Down Expand Up @@ -453,6 +461,7 @@ Copyright (C) 2014 Xamarin. All rights reserved.
<Output TaskParameter="SdkBinPath" PropertyName="_SdkBinPath" />
<Output TaskParameter="SdkDevPath" PropertyName="_SdkDevPath" />
<Output TaskParameter="SdkUsrPath" PropertyName="_SdkUsrPath" />
<Output TaskParameter="IsXcode8" PropertyName="_IsXcode8" />
</DetectSdkLocations>
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ public bool SdkIsSimulator {
get; set;
}

[Output]
public bool IsXcode8 {
get; set;
}

#endregion Outputs

public PlatformFramework Framework {
Expand All @@ -92,6 +97,8 @@ public override bool Execute ()

SdkIsSimulator = (architectures & (TargetArchitecture.i386 | TargetArchitecture.x86_64)) != 0;

IsXcode8 = AppleSdkSettings.XcodeVersion.Major >= 8;

EnsureAppleSdkRoot ();
EnsureXamarinSdkRoot ();
switch (Framework) {
Expand Down
17 changes: 13 additions & 4 deletions msbuild/Xamarin.iOS.Tasks.Core/Xamarin.iOS.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -529,12 +529,20 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
Inputs="@(_SmeltedMetal)" Outputs="$(DeviceSpeficicIntermediateOutputPath)metal\default.metal-ar">
<ArTool
SessionId="$(BuildSessionId)"
Condition="'$(IsMacEnabled)' == 'true'"
Condition="'$(IsMacEnabled)' == 'true' and '$(_IsXcode8)' == 'false'"
Items="@(_SmeltedMetal)"
Archive="$(DeviceSpecificIntermediateOutputPath)metal\default.metal-ar">
</ArTool>

<CreateItem Include="$(DeviceSpecificIntermediateOutputPath)metal\default.metal-ar">
<!-- If !Xcode8 -->
<CreateItem Include="$(DeviceSpecificIntermediateOutputPath)metal\default.metal-ar"
Condition="'$(_IsXcode8)' == 'false'">
<Output TaskParameter="Include" ItemName="_ForgedMetal" />
</CreateItem>

<!-- Else -->
<CreateItem Include="@(_SmeltedMetal)"
Condition="'$(_IsXcode8)' == 'true'">
<Output TaskParameter="Include" ItemName="_ForgedMetal" />
</CreateItem>
</Target>
Expand Down Expand Up @@ -589,6 +597,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
<Output TaskParameter="SdkUsrPath" PropertyName="_SdkUsrPath" />
<Output TaskParameter="SdkPlatform" PropertyName="_SdkPlatform" />
<Output TaskParameter="SdkIsSimulator" PropertyName="_SdkIsSimulator" />
<Output TaskParameter="IsXcode8" PropertyName="_IsXcode8" />
</DetectSdkLocations>
</Target>

Expand Down Expand Up @@ -1396,7 +1405,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
</PrepareResourceRules>
</Target>

<Target Name="_SeparateAppExtensionReferences" BeforeTargets="AssignProjectConfiguration" Condition="'$(IsAppExtension)' == 'false'">
<Target Name="_SeparateAppExtensionReferences" BeforeTargets="AssignProjectConfiguration">
<CreateItem Include="@(ProjectReference)" PreserveExistingMetadata="true" Condition="'%(Identity)' != '' And '%(ProjectReference.IsAppExtension)' == 'true'">
<Output ItemName="_AppExtensionReference" TaskParameter="Include" />
</CreateItem>
Expand Down Expand Up @@ -1501,7 +1510,7 @@ Copyright (C) 2013-2016 Xamarin. All rights reserved.
</DetectDebugNetworkConfiguration>
</Target>

<Target Name="_CopyAppExtensionsToBundle" Condition="'$(IsAppExtension)' == 'false'" DependsOnTargets="_ResolveAppExtensionReferences">
<Target Name="_CopyAppExtensionsToBundle" DependsOnTargets="_ResolveAppExtensionReferences">
<MakeDir SessionId="$(BuildSessionId)" Condition="'$(IsMacEnabled)' == 'true' And '@(_ResolvedAppExtensionReferences)' != ''" Directories="$(_AppBundlePath)PlugIns" />

<Ditto
Expand Down
64 changes: 64 additions & 0 deletions runtime/bindings-generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,22 @@ static IEnumerable<FunctionData> GetFunctionData ()
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (Vector3, Vector3i, bool, nint, IntPtr)",
Prefix = "simd__",
Variants = Variants.NonStret,
ReturnType = Types.IntPtr,
Parameters = new ParameterData[] {
new ParameterData { TypeData = Types.Vector3 },
new ParameterData { TypeData = Types.Vector3i },
new ParameterData { TypeData = Types.Bool },
new ParameterData { TypeData = Types.NInt },
new ParameterData { TypeData = Types.IntPtr },
},
}
);

data.Add (
new FunctionData {
Comment = " // void func (Vector3, Vector3)",
Expand Down Expand Up @@ -1428,6 +1444,21 @@ static IEnumerable<FunctionData> GetFunctionData ()
);

// Required for ModelIO
data.Add (
new FunctionData {
Comment = " // IntPtr func (Vector3, bool, nint, IntPtr)",
Prefix = "simd__",
Variants = Variants.NonStret,
ReturnType = Types.IntPtr,
Parameters = new ParameterData[] {
new ParameterData { TypeData = Types.Vector3 },
new ParameterData { TypeData = Types.Bool },
new ParameterData { TypeData = Types.NInt },
new ParameterData { TypeData = Types.IntPtr },
},
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (Vector3, Vector2i, bool, IntPtr, IntPtr)",
Expand Down Expand Up @@ -1505,6 +1536,24 @@ static IEnumerable<FunctionData> GetFunctionData ()
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (Vector3, Vector2i, bool, bool, bool, nint, IntPtr)",
Prefix = "simd__",
Variants = Variants.NonStret,
ReturnType = Types.IntPtr,
Parameters = new ParameterData[] {
new ParameterData { TypeData = Types.Vector3 },
new ParameterData { TypeData = Types.Vector2i },
new ParameterData { TypeData = Types.Bool },
new ParameterData { TypeData = Types.Bool },
new ParameterData { TypeData = Types.Bool },
new ParameterData { TypeData = Types.NInt },
new ParameterData { TypeData = Types.IntPtr },
},
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (Vector3, Vector2i, int, bool, nint, IntPtr)",
Expand All @@ -1522,6 +1571,21 @@ static IEnumerable<FunctionData> GetFunctionData ()
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (Vector3, Vector2i, nint, IntPtr)",
Prefix = "simd__",
Variants = Variants.NonStret,
ReturnType = Types.IntPtr,
Parameters = new ParameterData[] {
new ParameterData { TypeData = Types.Vector3 },
new ParameterData { TypeData = Types.Vector2i },
new ParameterData { TypeData = Types.NInt },
new ParameterData { TypeData = Types.IntPtr },
},
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (IntPtr, Vector2d, Vector2d, Vector2i, bool)",
Expand Down
37 changes: 37 additions & 0 deletions src/AVFoundation/AVCaptureVideoPreviewLayer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#if !WATCH && !TVOS

using System;

using XamCore.Foundation;
using XamCore.CoreFoundation;
using XamCore.ObjCRuntime;
using XamCore.AudioToolbox;

namespace XamCore.AVFoundation {
public partial class AVCaptureVideoPreviewLayer {

public enum InitMode {
WithConnection,
[iOS (8,0), Mac (10,2)]
WithNoConnection,
}

public AVCaptureVideoPreviewLayer (AVCaptureSession session, InitMode mode) : base (NSObjectFlag.Empty)
{
switch (mode) {
case InitMode.WithConnection:
InitializeHandle (InitWithConnection (session));
break;
case InitMode.WithNoConnection:
InitializeHandle (InitWithNoConnection (session));
break;
default:
throw new ArgumentException (nameof (mode));
}
}

public AVCaptureVideoPreviewLayer (AVCaptureSession session) : this (session, InitMode.WithConnection) {}
}
}

#endif
Loading