Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
bb2d0ab
Bump Xcode to 8.2 and update API files to match C8SR1 (#1096)
spouliot Nov 2, 2016
0504586
[homekit] Update for iOS 10.2 beta 1 (#1088)
VincentDondain Nov 3, 2016
d6591b1
[watchconnectivity] Small API update for Xcode 8.2 beta 1 (#1097)
spouliot Nov 3, 2016
67ac045
[uikit] Small update for Xcode 8.2 beta 1 (#1098)
spouliot Nov 3, 2016
e978a9f
[watchos][passkit] Small update for Xcode 8.2 beta 1 (#1099)
spouliot Nov 3, 2016
d68476b
[generator] Add more control over generated enums/fields (#836)
spouliot Sep 15, 2016
0f73730
[generator] Allow identical (numeric) values in smart enums. Fixes #4…
spouliot Nov 3, 2016
6b62f14
[watchos][watchkit] Small updates for Xcode 8.2 beta 1 (#1103)
spouliot Nov 3, 2016
3434174
[generator] Copy [Obsolete] attributes on smart enums. Fixes #46292 (…
spouliot Nov 3, 2016
807d223
Merge pull request #1105 from spouliot/xcode82-update-generator
spouliot Nov 3, 2016
40cd522
[tvos][storekit] Small update for Xcode 8.2 beta 1 (#1113)
spouliot Nov 3, 2016
ce30a5c
[replaykit] Add new FinishBroadcast method to RPBroadcastSampleHandle…
spouliot Nov 3, 2016
019685e
[Photos] Update Photos to Xcode 8.2 Beta 1 (#1106)
dalexsoto Nov 3, 2016
57467f7
[security] Add two new constants to SSLSessionConfig from Xcode 8.2 b…
spouliot Nov 4, 2016
2a99e30
[videosubscriberaccount] Small update for Xcode 8.2 beta 1 (#1115)
spouliot Nov 4, 2016
7aa3a42
[messages] Update to iOS 10.2 beta 1 (#1112)
VincentDondain Nov 7, 2016
c198dc6
[modelio] Update for iOS 10.2 beta 1 (#1126)
VincentDondain Nov 7, 2016
2f679a9
[spritekit] Update for iOS 10.2 beta 1 (#1111)
VincentDondain Nov 7, 2016
7063960
Merge branch 'cycle8-xi' into xcode8.2
spouliot Nov 8, 2016
350be88
[mtouch] Add workarounds for file descriptor leak in System.Diagnosti…
rolfbjarne Nov 8, 2016
9fd5cce
[homekit] Update for tvOS 10.1 beta 1 (#1139)
VincentDondain Nov 8, 2016
ad35854
[mediaplayer] Enable MediaPlayer on macOS (#1138)
VincentDondain Nov 9, 2016
f18a30b
[homekit] Remove bugzilla comments (#1152)
VincentDondain Nov 10, 2016
5fdade9
[Mac 10.12.2] CloudKit nullability info (#1153)
Nov 10, 2016
d3f4f36
[mediaplayer] Fixes due to xtro tests (#1160)
VincentDondain Nov 10, 2016
679c8bc
Bump to Xcode 8.2 beta 2. (#1193)
rolfbjarne Nov 15, 2016
73bbd1a
[Intents] Update to Xcode 8.2 Beta 1 (#1192)
dalexsoto Nov 15, 2016
55f0a97
[CloudKit] Update bindings for Xcode 8.2 (#1197)
Nov 15, 2016
be24bc5
[HomeKit] Update to Xcode 8.2 Beta 2
dalexsoto Nov 16, 2016
93cbc40
[Photos] Update Photos to Xcode 8.2 Beta 2
dalexsoto Nov 16, 2016
0d0e90b
[Homekit] Remove Apple's Suplhur typo from ApiTypoTest
dalexsoto Nov 16, 2016
aa99552
Merge pull request #1200 from dalexsoto/photos
dalexsoto Nov 16, 2016
ad5aaa3
Merge pull request #1199 from dalexsoto/homekit
dalexsoto Nov 16, 2016
ea8b2b5
[Intents] Update to Xcode 8.2 Beta 2
dalexsoto Nov 16, 2016
6e961df
[passkit] Update for iOS 10.2 beta 2
VincentDondain Nov 17, 2016
a0b5d40
Merge pull request #1201 from dalexsoto/intents
dalexsoto Nov 18, 2016
4fb6b57
Merge pull request #1210 from VincentDondain/passkit-b2
dalexsoto Nov 18, 2016
aa6c0ab
[AVFoundation] Update bindings for Xcode 8.2 (#1196)
Nov 18, 2016
44d24ef
[homekit] Add "[NoWatch]" to "[WatchOS (3,1,1)]" APIs (#1219)
VincentDondain Nov 23, 2016
dfdd5e0
[homekit] Add back properties removed when dropping manual enum code …
spouliot Nov 23, 2016
a0c094e
[opentk] Bump to remove deprecated glGetQueryObjectivEXT symbol (#1239)
spouliot Nov 25, 2016
4306e14
[cloudkit][watchos] Re-introduce [DesignatedInitializer] on CKFetchWe…
spouliot Nov 25, 2016
96cc3d5
[tests][xtro] Fix category name mapping (e.g. casing) (#1244)
spouliot Nov 25, 2016
f74cf25
[tests][xtro] Update data files (#1245)
spouliot Nov 25, 2016
dbba86f
[AVKit] Add missing enum for Xcode 8.2 beta 1. (#1246)
Nov 25, 2016
8364feb
[intents] Add obsoleted default ctor for INRideDriver and INRideStatu…
spouliot Nov 29, 2016
66a69d7
[apidiff] Update xml definitions to match C8SR1 (stable) (#1263)
spouliot Nov 29, 2016
bc22e95
[networkextension] Fix some API that works only from an extension wit…
batmaninpink Nov 29, 2016
b314ab3
[networkextension] Mark NEPacketTunnelNetworkSettings default .ctor o…
spouliot Nov 30, 2016
ed4ec78
Merge pull request #936 from VincentDondain/master-fix-bug-44874
dalexsoto Oct 4, 2016
74daadc
Merge branch 'xcode8.2' into cycle8-xi-xcode82
spouliot Dec 13, 2016
5acf040
Merge xcode82 into cycle8-xi for C8SR2
spouliot Dec 13, 2016
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
18 changes: 9 additions & 9 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PACKAGE_HEAD_REV=$(shell git rev-parse HEAD)
# on wrench, because wrench technically builds hashes, not branches)
#
#
PACKAGE_HEAD_BRANCH=xcode8.1
PACKAGE_HEAD_BRANCH=cycle8-xi
ifeq ($(BUILD_REVISION),)
CURRENT_BRANCH:=$(shell git rev-parse --abbrev-ref HEAD)
else
Expand All @@ -40,21 +40,21 @@ IOS_PRODUCT=Xamarin.iOS
IOS_PACKAGE_NAME=Xamarin.iOS
IOS_PACKAGE_NAME_LOWER=$(shell echo $(IOS_PACKAGE_NAME) | tr "[:upper:]" "[:lower:]")
# NEVER customize IOS_PACKAGE_VERSION itself, other parts (mtouch, web updater) are using the IOS_PACKAGE_VERSION_* variables
IOS_PACKAGE_VERSION=10.2.1.$(IOS_COMMIT_DISTANCE)
IOS_PACKAGE_VERSION=10.3.1.$(IOS_COMMIT_DISTANCE)
IOS_PACKAGE_VERSION_MAJOR=$(word 1, $(subst ., ,$(IOS_PACKAGE_VERSION)))
IOS_PACKAGE_VERSION_MINOR=$(word 2, $(subst ., ,$(IOS_PACKAGE_VERSION)))
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.1
XCODE_VERSION=8.1
XCODE_URL=http://xamarin-storage/bot-provisioning/Xcode_8.1.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode81.app/Contents/Developer
# 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

# Minimum Mono version
MIN_MONO_VERSION=4.6.1.5
MAX_MONO_VERSION=4.6.99
MAX_MONO_VERSION=4.8.0.269
MIN_MONO_URL=http://download.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-4.6.1.5.macos10.xamarin.universal.pkg

# Minimum Xamarin Studio version
Expand All @@ -67,10 +67,10 @@ MIN_OSX_BUILD_VERSION=10.11
MIN_OSX_VERSION_FOR_IOS=10.10
MIN_OSX_VERSION_FOR_MAC=10.10

IOS_SDK_VERSION=10.1
IOS_SDK_VERSION=10.2
OSX_SDK_VERSION=10.12
WATCH_SDK_VERSION=3.1
TVOS_SDK_VERSION=10.0
TVOS_SDK_VERSION=10.1

MIN_IOS_SDK_VERSION=6.0
MIN_OSX_SDK_VERSION=10.7
Expand Down
38 changes: 38 additions & 0 deletions runtime/bindings-generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,44 @@ static IEnumerable<FunctionData> GetFunctionData ()
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (float, Vector2, nuint, nuint, nuint, int, bool, IntPtr)",
Prefix = "simd__",
Variants = Variants.NonStret,
ReturnType = Types.IntPtr,
Parameters = new ParameterData[] {
new ParameterData { TypeData = Types.Float },
new ParameterData { TypeData = Types.Vector2 },
new ParameterData { TypeData = Types.NUInt },
new ParameterData { TypeData = Types.NUInt },
new ParameterData { TypeData = Types.NUInt },
new ParameterData { TypeData = Types.Int32 },
new ParameterData { TypeData = Types.Bool },
new ParameterData { TypeData = Types.IntPtr },
},
}
);

data.Add (
new FunctionData {
Comment = " // IntPtr func (float, Vector2, nuint, nuint, nuint, Int64, bool, IntPtr)",
Prefix = "simd__",
Variants = Variants.NonStret,
ReturnType = Types.IntPtr,
Parameters = new ParameterData[] {
new ParameterData { TypeData = Types.Float },
new ParameterData { TypeData = Types.Vector2 },
new ParameterData { TypeData = Types.NUInt },
new ParameterData { TypeData = Types.NUInt },
new ParameterData { TypeData = Types.NUInt },
new ParameterData { TypeData = Types.Int64 },
new ParameterData { TypeData = Types.Bool },
new ParameterData { TypeData = Types.IntPtr },
},
}
);

data.Add (
new FunctionData {
Comment = " // bool func (Vector2i, IntPtr, IntPtr, IntPtr, IntPtr)",
Expand Down
2 changes: 2 additions & 0 deletions src/AVKit/Enums.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using XamCore.ObjCRuntime;
using XamCore.Foundation;

namespace XamCore.AVKit {

Expand All @@ -24,4 +25,5 @@ public enum AVKitError : nint {
PictureInPictureStartFailed = -1001
}
#endif

}
1 change: 1 addition & 0 deletions src/Constants.mac.cs.in
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,6 @@ namespace MonoMac {
// macOS 10.12
public const string PhotosLibrary = "/System/Library/Frameworks/Photos.framework/Photos";
public const string IntentsLibrary = "/System/Library/Frameworks/Intents.framework/Intents";
public const string MediaPlayerLibrary = "/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer";
}
}
57 changes: 0 additions & 57 deletions src/HomeKit/HMAccessoryCategory.cs

This file was deleted.

179 changes: 0 additions & 179 deletions src/HomeKit/HMCharacteristic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,185 +8,6 @@ namespace XamCore.HomeKit {
[TV (10,0)]
partial class HMCharacteristic
{
public HMCharacteristicType CharacteristicType {
get {
var s = _CharacteristicType;
// safety in case the field does not exists / cannot be loaded / new in future iOS versions...
if (s == null)
return HMCharacteristicType.None;
if (s == HMCharacteristicTypeInternal.PowerState)
return HMCharacteristicType.PowerState;
if (s == HMCharacteristicTypeInternal.Hue)
return HMCharacteristicType.Hue;
if (s == HMCharacteristicTypeInternal.Saturation)
return HMCharacteristicType.Saturation;
if (s == HMCharacteristicTypeInternal.Brightness)
return HMCharacteristicType.Brightness;
if (s == HMCharacteristicTypeInternal.TemperatureUnits)
return HMCharacteristicType.TemperatureUnits;
if (s == HMCharacteristicTypeInternal.CurrentTemperature)
return HMCharacteristicType.CurrentTemperature;
if (s == HMCharacteristicTypeInternal.TargetTemperature)
return HMCharacteristicType.TargetTemperature;
if (s == HMCharacteristicTypeInternal.CurrentHeatingCooling)
return HMCharacteristicType.CurrentHeatingCooling;
if (s == HMCharacteristicTypeInternal.TargetHeatingCooling)
return HMCharacteristicType.TargetHeatingCooling;
if (s == HMCharacteristicTypeInternal.CoolingThreshold)
return HMCharacteristicType.CoolingThreshold;
if (s == HMCharacteristicTypeInternal.HeatingThreshold)
return HMCharacteristicType.HeatingThreshold;
if (s == HMCharacteristicTypeInternal.CurrentRelativeHumidity)
return HMCharacteristicType.CurrentRelativeHumidity;
if (s == HMCharacteristicTypeInternal.TargetRelativeHumidity)
return HMCharacteristicType.TargetRelativeHumidity;
if (s == HMCharacteristicTypeInternal.CurrentDoorState)
return HMCharacteristicType.CurrentDoorState;
if (s == HMCharacteristicTypeInternal.TargetDoorState)
return HMCharacteristicType.TargetDoorState;
if (s == HMCharacteristicTypeInternal.ObstructionDetected)
return HMCharacteristicType.ObstructionDetected;
if (s == HMCharacteristicTypeInternal.Name)
return HMCharacteristicType.Name;
if (s == HMCharacteristicTypeInternal.Manufacturer)
return HMCharacteristicType.Manufacturer;
if (s == HMCharacteristicTypeInternal.Model)
return HMCharacteristicType.Model;
if (s == HMCharacteristicTypeInternal.SerialNumber)
return HMCharacteristicType.SerialNumber;
if (s == HMCharacteristicTypeInternal.Identify)
return HMCharacteristicType.Identify;
if (s == HMCharacteristicTypeInternal.RotationDirection)
return HMCharacteristicType.RotationDirection;
if (s == HMCharacteristicTypeInternal.RotationSpeed)
return HMCharacteristicType.RotationSpeed;
if (s == HMCharacteristicTypeInternal.OutletInUse)
return HMCharacteristicType.OutletInUse;
if (s == HMCharacteristicTypeInternal.Version)
return HMCharacteristicType.Version;
if (s == HMCharacteristicTypeInternal.Logs)
return HMCharacteristicType.Logs;
if (s == HMCharacteristicTypeInternal.AudioFeedback)
return HMCharacteristicType.AudioFeedback;
if (s == HMCharacteristicTypeInternal.AdminOnlyAccess)
return HMCharacteristicType.AdminOnlyAccess;
if (s == HMCharacteristicTypeInternal.MotionDetected)
return HMCharacteristicType.MotionDetected;
if (s == HMCharacteristicTypeInternal.CurrentLockMechanismState)
return HMCharacteristicType.CurrentLockMechanismState;
if (s == HMCharacteristicTypeInternal.TargetLockMechanismState)
return HMCharacteristicType.TargetLockMechanismState;
if (s == HMCharacteristicTypeInternal.LockMechanismLastKnownAction)
return HMCharacteristicType.LockMechanismLastKnownAction;
if (s == HMCharacteristicTypeInternal.LockManagementControlPoint)
return HMCharacteristicType.LockManagementControlPoint;
if (s == HMCharacteristicTypeInternal.LockManagementAutoSecureTimeout)
return HMCharacteristicType.LockManagementAutoSecureTimeout;
// iOS 9
if (s == HMCharacteristicTypeInternal.AirParticulateDensity)
return HMCharacteristicType.AirParticulateDensity;
if (s == HMCharacteristicTypeInternal.AirParticulateSize)
return HMCharacteristicType.AirParticulateSize;
if (s == HMCharacteristicTypeInternal.AirQuality)
return HMCharacteristicType.AirQuality;
if (s == HMCharacteristicTypeInternal.BatteryLevel)
return HMCharacteristicType.BatteryLevel;
if (s == HMCharacteristicTypeInternal.CarbonDioxideDetected)
return HMCharacteristicType.CarbonDioxideDetected;
if (s == HMCharacteristicTypeInternal.CarbonDioxideLevel)
return HMCharacteristicType.CarbonDioxideLevel;
if (s == HMCharacteristicTypeInternal.CarbonDioxidePeakLevel)
return HMCharacteristicType.CarbonDioxidePeakLevel;
if (s == HMCharacteristicTypeInternal.CarbonMonoxideDetected)
return HMCharacteristicType.CarbonMonoxideDetected;
if (s == HMCharacteristicTypeInternal.CarbonMonoxideLevel)
return HMCharacteristicType.CarbonMonoxideLevel;
if (s == HMCharacteristicTypeInternal.CarbonMonoxidePeakLevel)
return HMCharacteristicType.CarbonMonoxidePeakLevel;
if (s == HMCharacteristicTypeInternal.ChargingState)
return HMCharacteristicType.ChargingState;
if (s == HMCharacteristicTypeInternal.ContactState)
return HMCharacteristicType.ContactState;
if (s == HMCharacteristicTypeInternal.CurrentSecuritySystemState)
return HMCharacteristicType.CurrentSecuritySystemState;
if (s == HMCharacteristicTypeInternal.CurrentHorizontalTilt)
return HMCharacteristicType.CurrentHorizontalTilt;
if (s == HMCharacteristicTypeInternal.CurrentLightLevel)
return HMCharacteristicType.CurrentLightLevel;
if (s == HMCharacteristicTypeInternal.CurrentPosition)
return HMCharacteristicType.CurrentPosition;
if (s == HMCharacteristicTypeInternal.CurrentVerticalTilt)
return HMCharacteristicType.CurrentVerticalTilt;
if (s == HMCharacteristicTypeInternal.FirmwareVersion)
return HMCharacteristicType.FirmwareVersion;
if (s == HMCharacteristicTypeInternal.HardwareVersion)
return HMCharacteristicType.HardwareVersion;
if (s == HMCharacteristicTypeInternal.HoldPosition)
return HMCharacteristicType.HoldPosition;
if (s == HMCharacteristicTypeInternal.InputEvent)
return HMCharacteristicType.InputEvent;
if (s == HMCharacteristicTypeInternal.LeakDetected)
return HMCharacteristicType.LeakDetected;
if (s == HMCharacteristicTypeInternal.OccupancyDetected)
return HMCharacteristicType.OccupancyDetected;
if (s == HMCharacteristicTypeInternal.OutputState)
return HMCharacteristicType.OutputState;
if (s == HMCharacteristicTypeInternal.PositionState)
return HMCharacteristicType.PositionState;
if (s == HMCharacteristicTypeInternal.SmokeDetected)
return HMCharacteristicType.SmokeDetected;
if (s == HMCharacteristicTypeInternal.SoftwareVersion)
return HMCharacteristicType.SoftwareVersion;
if (s == HMCharacteristicTypeInternal.StatusActive)
return HMCharacteristicType.StatusActive;
if (s == HMCharacteristicTypeInternal.StatusFault)
return HMCharacteristicType.StatusFault;
if (s == HMCharacteristicTypeInternal.StatusJammed)
return HMCharacteristicType.StatusJammed;
if (s == HMCharacteristicTypeInternal.StatusLowBattery)
return HMCharacteristicType.StatusLowBattery;
if (s == HMCharacteristicTypeInternal.StatusTampered)
return HMCharacteristicType.StatusTampered;
if (s == HMCharacteristicTypeInternal.TargetSecuritySystemState)
return HMCharacteristicType.TargetSecuritySystemState;
if (s == HMCharacteristicTypeInternal.TargetHorizontalTilt)
return HMCharacteristicType.TargetHorizontalTilt;
if (s == HMCharacteristicTypeInternal.TargetPosition)
return HMCharacteristicType.TargetPosition;
if (s == HMCharacteristicTypeInternal.TargetVerticalTilt)
return HMCharacteristicType.TargetVerticalTilt;
// iOS 10.0
if (s == HMCharacteristicTypeInternal.StreamingStatus)
return HMCharacteristicType.StreamingStatus;
if (s == HMCharacteristicTypeInternal.SetupStreamEndpoint)
return HMCharacteristicType.SetupStreamEndpoint;
if (s == HMCharacteristicTypeInternal.SupportedVideoStreamConfiguration)
return HMCharacteristicType.SupportedVideoStreamConfiguration;
if (s == HMCharacteristicTypeInternal.SupportedAudioStreamConfiguration)
return HMCharacteristicType.SupportedAudioStreamConfiguration;
if (s == HMCharacteristicTypeInternal.SupportedRtpConfiguration)
return HMCharacteristicType.SupportedRtpConfiguration;
if (s == HMCharacteristicTypeInternal.SelectedStreamConfiguration)
return HMCharacteristicType.SelectedStreamConfiguration;
if (s == HMCharacteristicTypeInternal.Volume)
return HMCharacteristicType.Volume;
if (s == HMCharacteristicTypeInternal.Mute)
return HMCharacteristicType.Mute;
if (s == HMCharacteristicTypeInternal.NightVision)
return HMCharacteristicType.NightVision;
if (s == HMCharacteristicTypeInternal.OpticalZoom)
return HMCharacteristicType.OpticalZoom;
if (s == HMCharacteristicTypeInternal.DigitalZoom)
return HMCharacteristicType.DigitalZoom;
if (s == HMCharacteristicTypeInternal.ImageRotation)
return HMCharacteristicType.ImageRotation;
if (s == HMCharacteristicTypeInternal.ImageMirroring)
return HMCharacteristicType.ImageMirroring;

return HMCharacteristicType.None;
}
}

public bool SupportsEventNotification {
get {
foreach (var p in Properties){
Expand Down
Loading