Title: [250953] trunk/Source/WTF
Revision
250953
Author
[email protected]
Date
2019-10-09 19:23:05 -0700 (Wed, 09 Oct 2019)

Log Message

Remove some support for < iOS 13
https://bugs.webkit.org/show_bug.cgi?id=202371
<rdar://problem/55853960>

Reviewed by Youenn Fablet.

Remove some support for iOS versions less than 13.0.

Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
values >= 130000. This means that expressions like
"__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
"__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.

This removal is part of a series of patches effecting the removal of
dead code for old versions of iOS. This particular pass involves
changes in which Dean Jackson was involved. These changes are isolated
from other similar changes in order to facilitate the reviewing
process.

* wtf/FeatureDefines.h:
* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (250952 => 250953)


--- trunk/Source/WTF/ChangeLog	2019-10-10 02:02:19 UTC (rev 250952)
+++ trunk/Source/WTF/ChangeLog	2019-10-10 02:23:05 UTC (rev 250953)
@@ -1,3 +1,28 @@
+2019-10-09  Keith Rollin  <[email protected]>
+
+        Remove some support for < iOS 13
+        https://bugs.webkit.org/show_bug.cgi?id=202371
+        <rdar://problem/55853960>
+
+        Reviewed by Youenn Fablet.
+
+        Remove some support for iOS versions less than 13.0.
+
+        Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
+        and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
+        values >= 130000. This means that expressions like
+        "__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
+        "__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.
+
+        This removal is part of a series of patches effecting the removal of
+        dead code for old versions of iOS. This particular pass involves
+        changes in which Dean Jackson was involved. These changes are isolated
+        from other similar changes in order to facilitate the reviewing
+        process.
+
+        * wtf/FeatureDefines.h:
+        * wtf/Platform.h:
+
 2019-10-09  Daniel Bates  <[email protected]>
 
         Add support for CompactPointerTuple<..., OptionSet<...>>

Modified: trunk/Source/WTF/wtf/FeatureDefines.h (250952 => 250953)


--- trunk/Source/WTF/wtf/FeatureDefines.h	2019-10-10 02:02:19 UTC (rev 250952)
+++ trunk/Source/WTF/wtf/FeatureDefines.h	2019-10-10 02:23:05 UTC (rev 250953)
@@ -179,7 +179,7 @@
 #endif
 #endif
 
-#if PLATFORM(MACCATALYST) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
+#if PLATFORM(MACCATALYST) || PLATFORM(IOS)
 #if !defined(USE_UIKIT_KEYBOARD_ADDITIONS)
 #define USE_UIKIT_KEYBOARD_ADDITIONS 1
 #endif

Modified: trunk/Source/WTF/wtf/Platform.h (250952 => 250953)


--- trunk/Source/WTF/wtf/Platform.h	2019-10-10 02:02:19 UTC (rev 250952)
+++ trunk/Source/WTF/wtf/Platform.h	2019-10-10 02:23:05 UTC (rev 250953)
@@ -1444,7 +1444,7 @@
 #define HAVE_CG_FONT_RENDERING_GET_FONT_SMOOTHING_DISABLED 1
 #endif
 
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || PLATFORM(IOS_FAMILY)
 #define HAVE_CA_WHERE_ADDITIVE_TRANSFORMS_ARE_REVERSED 1
 #endif
 
@@ -1615,7 +1615,7 @@
 #define HAVE_TLS_PROTOCOL_VERSION_T 1
 #endif
 
-#if PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000
+#if PLATFORM(IOS) || PLATFORM(MACCATALYST)
 #define USE_UICONTEXTMENU 1
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to