Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to mono:2018-08 #4596

Merged
merged 113 commits into from
Dec 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
95bcaa9
Bump to mono:2018-06
directhex Jun 15, 2018
69f8d32
Merge branch 'master' into mono-2018-06
marek-safar Jul 10, 2018
8ad6666
Bump mono
marek-safar Jul 11, 2018
e20975b
Updates compression to work with the public span
marek-safar Jul 14, 2018
c044c6b
Bump mono
marek-safar Jul 14, 2018
9935c1c
Fixes pointer check logic in Deflater
marek-safar Jul 15, 2018
d5e029a
Bump mono
marek-safar Jul 15, 2018
559ef82
Fixes pointer check logic in Deflater
marek-safar Jul 16, 2018
8121c7b
Bump mono
marek-safar Jul 19, 2018
fe4b215
Bump Mono
marek-safar Jul 23, 2018
ce95d2a
[runtime] always use `mono_jit_set_aot_mode` (#4491)
lewurm Jul 24, 2018
b183101
Merge branch 'master' into mono-2018-06
marek-safar Jul 25, 2018
4bacab3
Testing with Zoltan's patch
marek-safar Jul 26, 2018
3b18aee
Include libmono-system-native on Xamarin.Mac
alexischr Jul 19, 2018
b456a32
Bump Mono
lewurm Jul 30, 2018
609f7b6
Revert 4bacab3d5c7fa86a0e6437f64bb9f08ea3d0741b, it doesn't fix the i…
vargaz Jul 28, 2018
bda2b14
Bump mono
marek-safar Aug 1, 2018
fdf3536
Merge branch 'master' into mono-2018-06
marek-safar Aug 1, 2018
9946fbd
[tests] Adjust the MT0137 test for mcs change in behavior.
rolfbjarne Aug 2, 2018
fc561b2
[msbuild] Fix parsing of json parser errors to handle trailing period…
rolfbjarne Aug 2, 2018
db6b3b7
Bump mono
marek-safar Aug 7, 2018
3eeff7e
Merge branch 'mono-2018-06' of github.com:xamarin/xamarin-macios into…
marek-safar Aug 7, 2018
6c5544e
[builds] Install the old llvm binaries into the LLVM36 directory and …
vargaz Aug 7, 2018
3901d8e
Bump mono
marek-safar Aug 8, 2018
878c9d5
Bump to mono:2018-08
directhex Aug 8, 2018
84a815b
Initialize Dependency Injector.
Jul 17, 2018
204e5fc
Fix typo
directhex Aug 9, 2018
8076525
Merge remote-tracking branch 'origin/mono-2018-06' into mono-2018-08
BrzVlad Aug 21, 2018
f668561
Fix llvm build
BrzVlad Aug 21, 2018
24c6999
Reflect latest X509CertificateImpl changes
BrzVlad Aug 22, 2018
cf20539
Use same compile flags also for link
BrzVlad Aug 23, 2018
a49aff1
Bump mono
BrzVlad Aug 23, 2018
279fea8
Bump mono
BrzVlad Aug 24, 2018
6fdcb8d
Assembly.LoadFile accepts only absolute path
BrzVlad Aug 29, 2018
b3245a6
Bump mono
marek-safar Aug 29, 2018
c844903
Merge remote-tracking branch 'origin/master' into mono-2018-06
marek-safar Aug 29, 2018
dc0ccb3
[jenkins] Don't give VSTS a fake branch. (#4667)
rolfbjarne Aug 21, 2018
d491fd4
Assembly.LoadFile accepts only absolute path
BrzVlad Aug 29, 2018
f69a8fc
[linker] Add new Facade (System.Threading.Tasks.Extensions).
rolfbjarne Aug 30, 2018
bd1ddd5
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Aug 31, 2018
4b69b19
[linker] Add new Facade (System.Threading.Tasks.Extensions).
rolfbjarne Aug 30, 2018
0a45654
[tests] Reference GuiUnit_Net_4_5 using a project reference.
rolfbjarne Aug 31, 2018
ce5331f
Merge remote-tracking branch 'origin/master' into mono-2018-06
rolfbjarne Aug 31, 2018
c7654a0
[mono-sdks] Necessary changes to unify the LLVM provisioning for both…
luhenry Sep 2, 2018
a285ec7
Bump Mono
marek-safar Sep 5, 2018
28347f9
Merge remote-tracking branch 'origin/master' into mono-2018-06
rolfbjarne Sep 6, 2018
cdbf122
[mtouch] add mixed-mode support (#4751)
lewurm Sep 11, 2018
aa6b803
Bump Mono
marek-safar Sep 13, 2018
7a4ee2e
[linker] Updates SDKs facades list
marek-safar Sep 13, 2018
a5df51d
Bump mono
marek-safar Sep 13, 2018
ac8fd9e
[msbuild] Adds facades which might override default nuget version to …
marek-safar Sep 13, 2018
6ae54bc
Bump mono to pick up hybrid suspend fixes
lambdageek Sep 13, 2018
fc7cba2
Merge remote-tracking branch 'origin/master' into mono-2018-08
lambdageek Sep 13, 2018
b233837
[builds] Fix target name in llvm36 provisioning
lambdageek Sep 13, 2018
dd845b3
Revert "[builds] Fix target name in llvm36 provisioning"
lambdageek Sep 13, 2018
d2655d9
Revert "Fix llvm build"
lambdageek Sep 13, 2018
08ef9dd
[mono-sdks] Necessary changes to unify the LLVM provisioning for both…
luhenry Sep 2, 2018
e79db29
Bump mono
lambdageek Sep 14, 2018
ec02eb8
Merge remote-tracking branch 'origin/master' into mono-2018-06
marek-safar Sep 18, 2018
16481d4
Merge remote-tracking branch 'origin/mono-2018-06' into mono-2018-08
lambdageek Sep 20, 2018
642d0db
Bump mono
lambdageek Sep 20, 2018
8eaf097
Merge remote-tracking branch 'origin/master' into mono-2018-08
lambdageek Sep 20, 2018
9a18529
Revert "Use same compile flags also for link"
lambdageek Sep 20, 2018
52f7de3
Bump mono to pick up mono/mono@1a309a7b456a5eef5a45bdd39f0770432d536a93
lambdageek Sep 21, 2018
de86392
[mmptest] System.Core doesn't depend on Mono.Posix in 2018-08
lambdageek Sep 26, 2018
f0f1332
Bump mono and minimum system mono
lambdageek Sep 26, 2018
c19f0f7
[security]: Make `SecCertificate` work with the latest runtime code.
Sep 27, 2018
4108405
Merge pull request #4888 from baulig/work-seccert
Sep 28, 2018
ac60f49
Bump mono
lambdageek Oct 2, 2018
b2686bb
Bump VSmac min version to 7.7.0.1373
lambdageek Oct 2, 2018
02867e5
Revert "Bump VSmac min version to 7.7.0.1373"
lambdageek Oct 2, 2018
53d51dc
Bump to a VSfM version that can build XM Classic projects.
rolfbjarne Oct 1, 2018
40569a2
Bump mono system dependency
marek-safar Oct 3, 2018
aba7b00
Bump mono
lambdageek Oct 3, 2018
2a55b53
Bump mono
marek-safar Oct 7, 2018
dc19dfa
Bump mono
marek-safar Oct 8, 2018
d003a9b
[monotouch-test] Disable X509Certificate(byte[]) tests on watchOS (#4…
lambdageek Oct 8, 2018
6ed588b
Bump mono
lambdageek Oct 8, 2018
45d5d77
Bump mono
lambdageek Oct 9, 2018
d063c53
[tests] Disable link-preserve-calendar-1 until we can upgrade it to b…
rolfbjarne Oct 10, 2018
cef512d
Merge remote-tracking branch 'origin/master' into mono-2018-08
lambdageek Oct 10, 2018
25ae88f
Bump mono
lambdageek Oct 11, 2018
0249138
Merge remote-tracking branch 'origin/master' into mono-2018-08
lambdageek Oct 15, 2018
8feb753
Merge branch 'master' into mono-2018-08
spouliot Oct 15, 2018
c308071
Revert "[monotouch-test] Disable X509Certificate(byte[]) tests on wat…
Oct 16, 2018
d2bcd4b
Bump Mono.
Oct 17, 2018
63025fe
[security]: `NATIVE_APPLE_CERTIFICATE` should now be defined on watch…
Oct 24, 2018
545c7bf
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Oct 24, 2018
0ebc514
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Oct 25, 2018
cca50fe
Mono 2018-08 requires macOS 10.9+, so Xamarin.Mac must as well.
rolfbjarne Oct 24, 2018
04b7c94
Bump min mono version for XM system apps.
rolfbjarne Oct 25, 2018
3f5aceb
Bump guiunit to get updated min macOS version.
rolfbjarne Oct 25, 2018
2755245
[tests] More min macOS version setting to 10.9.
rolfbjarne Oct 25, 2018
36209e5
Remove 10.7 & 10.8 availability attributes, since they're redundant now.
rolfbjarne Oct 25, 2018
0b27eef
Bump mono
marek-safar Oct 25, 2018
7449e51
[2018-08][watchos] Use mono_dangerous_add_raw_internal_call for watch…
lambdageek Oct 26, 2018
93e7286
[mmptest] Less hardcoding.
rolfbjarne Oct 26, 2018
82e0c73
Bump minimum mono one that has 'mono_dangerous_add_raw_internal_call'.
rolfbjarne Oct 26, 2018
7425218
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Oct 30, 2018
08813ef
Bump mono
marek-safar Oct 30, 2018
600da05
Bump system mono dependency
marek-safar Oct 30, 2018
f8a254d
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Nov 16, 2018
8578b9d
Merge remote-tracking branch 'origin/master' into mono-2018-08
marek-safar Nov 19, 2018
e94ac22
Merge remote-tracking branch 'origin/master' into mono-2018-08
marek-safar Nov 19, 2018
3ef1224
Fixes building mono tests
marek-safar Nov 19, 2018
ece0324
Merge remote-tracking branch 'origin/master' into mono-2018-08
marek-safar Nov 19, 2018
ee34784
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Nov 19, 2018
e6035b2
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Nov 20, 2018
5c71a9f
[ImageCaptureCore] Remove redundant availability attribute.
rolfbjarne Nov 20, 2018
74b966e
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Nov 20, 2018
23b7847
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Nov 26, 2018
428310c
[mtouch] Clear the MONO_THREADS_SUSPEND environment variable before c…
rolfbjarne Nov 27, 2018
4e3dec7
Merge remote-tracking branch 'origin/master' into mono-2018-08
rolfbjarne Nov 27, 2018
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 @@ -8,7 +8,7 @@
[submodule "external/mono"]
path = external/mono
url = ../../mono/mono.git
branch = 2018-06
branch = 2018-08
[submodule "external/opentk"]
path = external/opentk
url = ../../mono/opentk.git
Expand Down
12 changes: 6 additions & 6 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ XCODE94_URL=http://xamarin-storage/bot-provisioning/xcodes/Xcode_9.4.xip
XCODE94_DEVELOPER_ROOT=/Applications/Xcode94.app/Contents/Developer

# Minimum Mono version for building XI/XM
MIN_MONO_VERSION=5.16.0.5
MAX_MONO_VERSION=5.16.99
MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-06/7/7627a5f9eeba0fd846731ad0c498556f55be1a34/MonoFramework-MDK-5.16.0.5.macos10.xamarin.universal.pkg
MIN_MONO_VERSION=5.18.0.185
MAX_MONO_VERSION=5.18.99
MIN_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-08/149/ea740d2bc8d58d9c0ee44ef0ba15ccddeafbe227/MonoFramework-MDK-5.18.0.185.macos10.xamarin.universal.pkg

# Minimum Mono version for Xamarin.Mac apps using the system mono
MIN_XM_MONO_VERSION=5.14.0.136
MIN_XM_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-04/111/07c8f25fe536dbb7e244f965aa3f9a871f41e953/MonoFramework-MDK-5.14.0.136.macos10.xamarin.universal.pkg
MIN_XM_MONO_VERSION=5.18.0.185
MIN_XM_MONO_URL=https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2018-08/149/ea740d2bc8d58d9c0ee44ef0ba15ccddeafbe227/MonoFramework-MDK-5.18.0.185.macos10.xamarin.universal.pkg

# Minimum Visual Studio version
MIN_VISUAL_STUDIO_URL=https://bosstoragemirror.azureedge.net/vsmac/7a/7aff2dc1f28d711d11d63d79b2a4c49cda217189/VisualStudioForMac-Preview-7.7.0.1470.dmg
Expand Down Expand Up @@ -83,7 +83,7 @@ TVOS_SDK_VERSION=12.1

# Minimum OS versions for running XI/XM apps.
MIN_IOS_SDK_VERSION=6.0
MIN_OSX_SDK_VERSION=10.7
MIN_OSX_SDK_VERSION=10.9
MIN_WATCHOS_SDK_VERSION=2.0
MIN_WATCH_OS_VERSION=1.0
MIN_TVOS_SDK_VERSION=9.0
Expand Down
2 changes: 0 additions & 2 deletions Versions-mac.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<dict>
<key>macOS</key>
<array>
<string>10.7</string>
<string>10.8</string>
<string>10.9</string>
<string>10.10</string>
<string>10.11</string>
Expand Down
2 changes: 1 addition & 1 deletion external/mono
Submodule mono updated 1623 files
5 changes: 5 additions & 0 deletions runtime/exports.t4
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@
"const void *", "method"
),

new Export (true, "void", "mono_dangerous_add_raw_internal_call",
"const char *", "name",
"const void *", "method"
),

new Export ("MonoMethodSignature *", "mono_method_signature",
"MonoMethod *", "method"
),
Expand Down
25 changes: 22 additions & 3 deletions runtime/runtime.m
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,25 @@
uint8_t flags;
};

static void
xamarin_add_internal_call (const char *name, const void *method)
{
/* COOP: With cooperative GC, icalls will run, like manageed methods,
* in GC Unsafe mode, avoiding a thread state trandition. In return
* the icalls must guarantee that they won't block, or run indefinitely
* without a safepoint, by manually performing a transition to GC Safe
* mode. With backward-compatible hybrid GC, icalls run in GC Safe
* mode and the Mono API functions take care of thread state
* transitions, so don't need to perform GC thread state transitions
* themselves.
*
*/
if (xamarin_is_gc_coop)
mono_dangerous_add_raw_internal_call (name, method);
else
mono_add_internal_call (name, method);
}

id
xamarin_get_nsobject_handle (MonoObject *obj)
{
Expand Down Expand Up @@ -881,7 +900,7 @@ -(void) xamarinSetGCHandle: (int) gc_handle;

mono_gc_toggleref_register_callback (gc_toggleref_callback);

mono_add_internal_call (xamarin_use_new_assemblies ? "Foundation.NSObject::RegisterToggleRef" : PRODUCT_COMPAT_NAMESPACE ".Foundation.NSObject::RegisterToggleRef", (const void *) gc_register_toggleref);
xamarin_add_internal_call (xamarin_use_new_assemblies ? "Foundation.NSObject::RegisterToggleRef" : PRODUCT_COMPAT_NAMESPACE ".Foundation.NSObject::RegisterToggleRef", (const void *) gc_register_toggleref);
mono_profiler_install ((MonoProfiler *) prof, NULL);
mono_profiler_install_gc (gc_event_callback, NULL);
}
Expand Down Expand Up @@ -1359,8 +1378,8 @@ -(void) xamarinSetGCHandle: (int) gc_handle;
nsvalue_class = get_class_from_name (platform_image, foundation, "NSValue", true);
nsstring_class = get_class_from_name (platform_image, foundation, "NSString", true);

mono_add_internal_call (xamarin_use_new_assemblies ? "Foundation.NSObject::xamarin_release_managed_ref" : PRODUCT_COMPAT_NAMESPACE ".Foundation.NSObject::xamarin_release_managed_ref", (const void *) xamarin_release_managed_ref);
mono_add_internal_call (xamarin_use_new_assemblies ? "Foundation.NSObject::xamarin_create_managed_ref" : PRODUCT_COMPAT_NAMESPACE ".Foundation.NSObject::xamarin_create_managed_ref", (const void *) xamarin_create_managed_ref);
xamarin_add_internal_call (xamarin_use_new_assemblies ? "Foundation.NSObject::xamarin_release_managed_ref" : PRODUCT_COMPAT_NAMESPACE ".Foundation.NSObject::xamarin_release_managed_ref", (const void *) xamarin_release_managed_ref);
xamarin_add_internal_call (xamarin_use_new_assemblies ? "Foundation.NSObject::xamarin_create_managed_ref" : PRODUCT_COMPAT_NAMESPACE ".Foundation.NSObject::xamarin_create_managed_ref", (const void *) xamarin_create_managed_ref);

runtime_initialize = mono_class_get_method_from_name (runtime_class, "Initialize", 1);

Expand Down
2 changes: 1 addition & 1 deletion src/AVFoundation/AVCaptureVideoPreviewLayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public partial class AVCaptureVideoPreviewLayer {

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

Expand Down
1 change: 0 additions & 1 deletion src/AVFoundation/AVTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ public static class AVUtilities {
[DllImport (Constants.AVFoundationLibrary)]
static extern /* CGRect */ RectangleF AVMakeRectWithAspectRatioInsideRect (/* CGSize */ SizeF aspectRatio, /* CGRect */ RectangleF boundingRect);

[Mac (10,7)]
public static RectangleF WithAspectRatio (this RectangleF self, SizeF aspectRatio)
{
return AVMakeRectWithAspectRatioInsideRect (aspectRatio, self);
Expand Down
3 changes: 0 additions & 3 deletions src/AVFoundation/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,15 +310,13 @@ public enum AVAssetImageGeneratorResult : long {

#if !XAMCORE_3_0 || MONOMAC
[NoTV]
[Mac (10,7)] // N/A in iOS
[Native]
// NSInteger - AVCaptureDevice.h
public enum AVCaptureDeviceTransportControlsPlaybackMode : long {
NotPlaying, Playing
}

[NoTV, NoWatch]
[Mac (10,7)] // N/A in iOS
[Native]
// NSInteger - AVCaptureSession.h
public enum AVVideoFieldMode : long {
Expand Down Expand Up @@ -694,7 +692,6 @@ public enum AVMovieWritingOptions : ulong
}

[NoiOS][NoTV][NoWatch]
[Mac (10,7)]
[Native]
public enum AVContentAuthorizationStatus : long {
Unknown,
Expand Down
23 changes: 11 additions & 12 deletions src/AppKit/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1994,13 +1994,13 @@ public enum NSOpenGLContextParameter : ulong {
SurfaceOrder = 235,
SurfaceOpacity = 236,

[Mac (10, 7)] SurfaceBackingSize = 304,
[Mac (10, 7)] ReclaimResources = 308,
[Mac (10, 7)] CurrentRendererID = 309,
[Mac (10, 7)] GpuVertexProcessing = 310,
[Mac (10, 7)] GpuFragmentProcessing = 311,
[Mac (10, 7)] HasDrawable = 314,
[Mac (10, 7)] MpsSwapsInFlight = 315
SurfaceBackingSize = 304,
ReclaimResources = 308,
CurrentRendererID = 309,
GpuVertexProcessing = 310,
GpuFragmentProcessing = 311,
HasDrawable = 314,
MpsSwapsInFlight = 315
}

public enum NSSurfaceOrder {
Expand All @@ -2012,10 +2012,10 @@ public enum NSSurfaceOrder {
public enum NSOpenGLPixelFormatAttribute : uint { // uint32_t NSOpenGLPixelFormatAttribute
AllRenderers = 1,
DoubleBuffer = 5,
[Mac (10, 7)] TripleBuffer = 3,
TripleBuffer = 3,
#if !XAMCORE_4_0
[Obsolete ("Use 'TripleBuffer' instead.")]
[Mac (10, 7)] TrippleBuffer = TripleBuffer,
TrippleBuffer = TripleBuffer,
#endif
Stereo = 6,
AuxBuffers = 7,
Expand Down Expand Up @@ -2057,7 +2057,7 @@ public enum NSOpenGLPixelFormatAttribute : uint { // uint32_t NSOpenGLPixelForma
AcceleratedCompute = 97,

// Specify the profile
[Mac (10, 7)] OpenGLProfile = 99,
OpenGLProfile = 99,
VirtualScreenCount = 128,

[Deprecated (PlatformName.MacOSX, 10, 5)]
Expand Down Expand Up @@ -2096,7 +2096,7 @@ public enum NSOpenGLGlobalOption : uint {
FormatCacheSize = 501,
ClearFormatCache = 502,
RetainRenderers = 503,
[Mac (10, 7)] UseBuildCache = 506,
UseBuildCache = 506,
[Deprecated (PlatformName.MacOSX, 10, 4)]
ResetLibrary = 504
}
Expand Down Expand Up @@ -2405,7 +2405,6 @@ public enum NSWindowAnimationBehavior : long {
Default = 0, None = 2, DocumentWindow, UtilityWindow, AlertPanel
}

[Mac (10, 7)]
[Native]
public enum NSTextFinderAction : long {
ShowFindInterface = 1,
Expand Down
1 change: 0 additions & 1 deletion src/AppKit/NSAccessibility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public static CGPoint GetPointInView (NSView parentView, CGPoint point)
return NSAccessibilityPointInView (parentView, point);
}

[Mac (10,7)]
[DllImport (Constants.AppKitLibrary)]
static extern void NSAccessibilityPostNotificationWithUserInfo (IntPtr element, IntPtr notification, IntPtr userInfo);

Expand Down
2 changes: 1 addition & 1 deletion src/AppKit/NSColor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public override string ToString ()
}
}

[Mac (10, 8)][Obsolete ("Use 'UnderPageBackgroundColor' instead.")]
[Obsolete ("Use 'UnderPageBackgroundColor' instead.")]
public static NSColor UnderPageBackground {
get {
return UnderPageBackgroundColor;
Expand Down
4 changes: 0 additions & 4 deletions src/AppKit/NSStringAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,11 @@ public bool? MarkedClauseSegment {
set { Set (NSStringAttributeKey.MarkedClauseSegment, value); }
}

[Mac (10, 7)]
public NSTextLayoutOrientation? VerticalGlyphForm {
get { return (NSTextLayoutOrientation?)GetInt32Value (NSStringAttributeKey.VerticalGlyphForm); }
set { SetNumberValue (NSStringAttributeKey.VerticalGlyphForm, (int?)value); }
}

[Mac (10, 8)]
public NSTextAlternatives TextAlternatives {
get { return Get (NSStringAttributeKey.TextAlternatives, handle => new NSTextAlternatives (handle)); }
set { SetNativeValue (NSStringAttributeKey.TextAlternatives, value); }
Expand Down Expand Up @@ -520,13 +518,11 @@ public bool? MarkedClauseSegment {
set { Set (NSAttributedString.MarkedClauseSegmentAttributeName, value); }
}

[Mac (10, 7)]
public NSTextLayoutOrientation? VerticalGlyphForm {
get { return (NSTextLayoutOrientation?)GetInt32Value (NSAttributedString.VerticalGlyphFormAttributeName); }
set { SetNumberValue (NSAttributedString.VerticalGlyphFormAttributeName, (int?)value); }
}

[Mac (10, 8)]
public NSTextAlternatives TextAlternatives {
get { return Get (NSAttributedString.TextAlternativesAttributeName, handle => new NSTextAlternatives (handle)); }
set { SetNativeValue (NSAttributedString.TextAlternativesAttributeName, value); }
Expand Down
7 changes: 1 addition & 6 deletions src/AppKit/XEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@

namespace AppKit {

[Mac (10, 7)]
[Native]
public enum NSTextLayoutOrientation : long {
Horizontal,
Vertical
}

#if !XAMCORE_2_0
[Mac (10, 7), Flags]
[Flags]
[Native]
public enum NSTableViewAnimationOptions : ulong {
EffectFade = 0x1,
Expand All @@ -33,22 +32,19 @@ public enum NSTableViewAnimationOptions : ulong {
}
#endif

[Mac (10, 7)]
[Native]
public enum NSPrintRenderingQuality : long {
Best,
Responsive
}

[Mac (10, 7)]
[Native]
public enum NSCorrectionIndicatorType : long {
Default = 0,
Reversion,
Guesses
}

[Mac (10, 7)]
[Native]
public enum NSCorrectionResponse : long {
None,
Expand All @@ -59,7 +55,6 @@ public enum NSCorrectionResponse : long {
Reverted
}

[Mac (10, 7)]
[Native]
public enum NSTextFinderMatchingType : long {
Contains = 0,
Expand Down
2 changes: 0 additions & 2 deletions src/AudioToolbox/AudioQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1296,11 +1296,9 @@ public AudioQueueStatus GetSourceAudio (uint numberOfFrames, ref AudioTimeStamp
out flags, out parentNumberOfFrames, (IntPtr) data);
}

[Mac (10,8)]
[DllImport (Constants.AudioToolboxLibrary)]
extern static AudioQueueStatus AudioQueueProcessingTapGetQueueTime (IntPtr inAQTap, out double outQueueSampleTime, out uint outQueueFrameCount);

[Mac (10,8)]
public AudioQueueStatus GetQueueTime (out double sampleTime, out uint frameCount)
{
return AudioQueueProcessingTapGetQueueTime (TapHandle, out sampleTime, out frameCount);
Expand Down
1 change: 0 additions & 1 deletion src/CoreFoundation/CFProxySupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ public NSObject AutoConfigurationHTTPResponse {
}
#endif

[Mac (10,7)]
public NSString AutoConfigurationJavaScript {
get {
if (AutoConfigurationJavaScriptKey == null)
Expand Down
11 changes: 0 additions & 11 deletions src/CoreGraphics/CGPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public CGPath ()
handle = CGPathCreateMutable ();
}

[Mac(10,7)]
public CGPath (CGPath reference, CGAffineTransform transform)
{
if (reference == null)
Expand Down Expand Up @@ -571,25 +570,21 @@ extern unsafe static IntPtr CGPathCreateCopyByDashingPath (
/* CGFloat */ nfloat [] lengths,
/* size_t */ nint count);

[Mac(10,7)]
public CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths)
{
return CopyByDashingPath (transform, lengths, 0);
}

[Mac(10,7)]
public unsafe CGPath CopyByDashingPath (CGAffineTransform transform, nfloat [] lengths, nfloat phase)
{
return MakeMutable (CGPathCreateCopyByDashingPath (handle, &transform, phase, lengths, lengths == null ? 0 : lengths.Length));
}

[Mac(10,7)]
public CGPath CopyByDashingPath (nfloat [] lengths)
{
return CopyByDashingPath (lengths, 0);
}

[Mac(10,7)]
public unsafe CGPath CopyByDashingPath (nfloat [] lengths, nfloat phase)
{
var path = CGPathCreateCopyByDashingPath (handle, null, phase, lengths, lengths == null ? 0 : lengths.Length);
Expand All @@ -604,13 +599,11 @@ public unsafe CGPath Copy ()
[DllImport (Constants.CoreGraphicsLibrary)]
unsafe extern static IntPtr CGPathCreateCopyByStrokingPath (/* CGPathRef */ IntPtr path, CGAffineTransform *transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, /* CGFloat */ nfloat miterLimit);

[Mac(10,7)]
public unsafe CGPath CopyByStrokingPath (CGAffineTransform transform, nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, nfloat miterLimit)
{
return MakeMutable (CGPathCreateCopyByStrokingPath (handle, &transform, lineWidth, lineCap, lineJoin, miterLimit));
}

[Mac(10,7)]
public unsafe CGPath CopyByStrokingPath (nfloat lineWidth, CGLineCap lineCap, CGLineJoin lineJoin, nfloat miterLimit)
{
return MakeMutable (CGPathCreateCopyByStrokingPath (handle, null, lineWidth, lineCap, lineJoin, miterLimit));
Expand All @@ -630,13 +623,11 @@ public CGPath CopyByTransformingPath (CGAffineTransform transform)
[DllImport (Constants.CoreGraphicsLibrary)]
unsafe extern static IntPtr CGPathCreateWithEllipseInRect (CGRect boundingRect, CGAffineTransform *transform);

[Mac(10,7)]
static public unsafe CGPath EllipseFromRect (CGRect boundingRect, CGAffineTransform transform)
{
return MakeMutable (CGPathCreateWithEllipseInRect (boundingRect, &transform));
}

[Mac(10,7)]
static public unsafe CGPath EllipseFromRect (CGRect boundingRect)
{
return MakeMutable (CGPathCreateWithEllipseInRect (boundingRect, null));
Expand All @@ -645,13 +636,11 @@ static public unsafe CGPath EllipseFromRect (CGRect boundingRect)
[DllImport (Constants.CoreGraphicsLibrary)]
unsafe extern static IntPtr CGPathCreateWithRect (CGRect boundingRect, CGAffineTransform *transform);

[Mac(10,7)]
static public unsafe CGPath FromRect (CGRect rectangle, CGAffineTransform transform)
{
return MakeMutable (CGPathCreateWithRect (rectangle, &transform));
}

[Mac(10,7)]
static public unsafe CGPath FromRect (CGRect rectangle)
{
return MakeMutable (CGPathCreateWithRect (rectangle, null));
Expand Down
Loading